Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73352f13c22898f0de2d6cc31dffe6c8878b64bc 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-ssh7817849050376927823.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh10554885539651843432.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh699946187772895355.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh5373492571626011807.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11655340464714524228.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1809 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/dry_app-rfid-llrp-inventory_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/jenkins-gitclient-ssh1528678175430891059.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 73352f13c22898f0de2d6cc31dffe6c8878b64bc (main) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73352f13c22898f0de2d6cc31dffe6c8878b64bc # timeout=10 Commit message: "feat: migrate service to V2 (#54)" > git rev-list --no-walk 73352f13c22898f0de2d6cc31dffe6c8878b64bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T16:12:41.580Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T16:12:41.640Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T16:12:41.656Z] ========================================================= [2022-01-19T16:12:41.656Z] EdgeX Global Pipelines Version Info [2022-01-19T16:12:41.656Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:12:42.793Z] ------------------- [2022-01-19T16:12:42.793Z] stable info: [2022-01-19T16:12:42.793Z] ------------------- [2022-01-19T16:12:42.793Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T16:12:42.793Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T16:12:42.793Z] Message: update stable to v1.0.219 [2022-01-19T16:12:43.398Z] ------------------- [2022-01-19T16:12:43.398Z] experimental info: [2022-01-19T16:12:43.398Z] ------------------- [2022-01-19T16:12:43.398Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T16:12:43.398Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T16:12:43.398Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T16:12:43.523Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-01-19T16:12:43.532Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-01-19T16:12:43.540Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T16:12:43.549Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T16:12:43.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T16:12:43.567Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T16:12:43.576Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T16:12:43.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T16:12:43.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T16:12:43.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T16:12:43.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T16:12:43.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-01-19T16:12:43.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T16:12:43.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T16:12:43.644Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T16:12:43.655Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T16:12:43.666Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T16:12:43.676Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T16:12:43.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T16:12:43.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-19T16:12:43.700Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T16:12:43.709Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T16:12:43.717Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T16:12:43.735Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T16:12:43.747Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T16:12:43.759Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T16:12:43.774Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-19T16:12:43.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-19T16:12:43.807Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-19T16:12:43.825Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73352f13c22898f0de2d6cc31dffe6c8878b64bc [Pipeline] echo [2022-01-19T16:12:43.844Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73352f1 [Pipeline] echo [2022-01-19T16:12:43.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T16:12:43.909Z] provisioning config files... [2022-01-19T16:12:43.921Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8768849457770155998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:12:44.226Z] ---> docker-login.sh [2022-01-19T16:12:44.226Z] nexus3.edgexfoundry.org:10001 [2022-01-19T16:12:44.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:44.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:44.491Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:44.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:44.491Z] [2022-01-19T16:12:44.491Z] Login Succeeded [2022-01-19T16:12:44.491Z] nexus3.edgexfoundry.org:10002 [2022-01-19T16:12:44.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:44.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:44.491Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:44.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:44.491Z] [2022-01-19T16:12:44.491Z] Login Succeeded [2022-01-19T16:12:44.491Z] nexus3.edgexfoundry.org:10003 [2022-01-19T16:12:44.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:44.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:44.491Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:44.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:44.491Z] [2022-01-19T16:12:44.491Z] Login Succeeded [2022-01-19T16:12:44.491Z] nexus3.edgexfoundry.org:10004 [2022-01-19T16:12:44.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:44.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:44.752Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:44.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:44.752Z] [2022-01-19T16:12:44.752Z] Login Succeeded [2022-01-19T16:12:44.752Z] docker.io [2022-01-19T16:12:44.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:45.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:45.017Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:45.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:45.017Z] [2022-01-19T16:12:45.017Z] Login Succeeded [2022-01-19T16:12:45.017Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T16:12:45.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T16:12:45.493Z] + git rev-list -1 --merges 73352f13c22898f0de2d6cc31dffe6c8878b64bc~1..73352f13c22898f0de2d6cc31dffe6c8878b64bc [Pipeline] echo [2022-01-19T16:12:45.523Z] -----------> git rev-list -1 --merges 73352f13c22898f0de2d6cc31dffe6c8878b64bc~1..73352f13c22898f0de2d6cc31dffe6c8878b64bc 73352f13c22898f0de2d6cc31dffe6c8878b64bc [false] [Pipeline] sh [2022-01-19T16:12:45.821Z] + git log --format=format:%s -1 73352f13c22898f0de2d6cc31dffe6c8878b64bc [Pipeline] echo [2022-01-19T16:12:45.836Z] ========================================================= [2022-01-19T16:12:45.836Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T16:12:45.836Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T16:12:46.174Z] + git log --format=format:%s -1 73352f13c22898f0de2d6cc31dffe6c8878b64bc [Pipeline] echo [2022-01-19T16:12:46.187Z] [semverPrep] GIT_COMMIT: 73352f13c22898f0de2d6cc31dffe6c8878b64bc, Commit Message: feat: migrate service to V2 (#54) [Pipeline] echo [2022-01-19T16:12:46.202Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T16:12:46.619Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T16:12:46.619Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T16:12:46.619Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T16:12:46.619Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T16:12:46.619Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T16:12:46.619Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T16:12:46.619Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:12:47.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T16:12:47.043Z] [2022-01-19T16:12:47.043Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:12:47.356Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T16:12:47.356Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T16:12:47.356Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T16:12:47.356Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T16:12:47.356Z] 4c7163046ea9: Pulling fs layer [2022-01-19T16:12:47.356Z] 0c2d73faf560: Pulling fs layer [2022-01-19T16:12:47.356Z] 0c2d73faf560: Waiting [2022-01-19T16:12:47.356Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T16:12:47.356Z] 3e5f54012d9b: Download complete [2022-01-19T16:12:47.356Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T16:12:47.356Z] a0d0a0d46f8b: Download complete [2022-01-19T16:12:47.356Z] 4c7163046ea9: Verifying Checksum [2022-01-19T16:12:47.356Z] 4c7163046ea9: Download complete [2022-01-19T16:12:47.356Z] 0c2d73faf560: Verifying Checksum [2022-01-19T16:12:47.356Z] 0c2d73faf560: Download complete [2022-01-19T16:12:47.624Z] a0d0a0d46f8b: Pull complete [2022-01-19T16:12:47.624Z] 3e5f54012d9b: Pull complete [2022-01-19T16:12:47.888Z] 4c7163046ea9: Pull complete [2022-01-19T16:12:48.149Z] 0c2d73faf560: Pull complete [2022-01-19T16:12:48.149Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T16:12:48.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T16:12:48.149Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T16:12:48.222Z] prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container [2022-01-19T16:12:48.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T16:12:48.879Z] $ docker top 2cce53e097d796357a76a3d337985205bedb98d71b6bde6f4475fdb81eb10747 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T16:12:48.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T16:12:48.970Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T16:12:49.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T16:12:49.067Z] $ docker exec 2cce53e097d796357a76a3d337985205bedb98d71b6bde6f4475fdb81eb10747 ssh-agent [2022-01-19T16:12:49.169Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadoLlJ/agent.14 [2022-01-19T16:12:49.169Z] SSH_AGENT_PID=22 [2022-01-19T16:12:49.180Z] Running ssh-add (command line suppressed) [2022-01-19T16:12:49.287Z] Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7234089454773236199.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7234089454773236199.key) [2022-01-19T16:12:49.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T16:12:49.595Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T16:12:49.608Z] $ docker exec --env ******** --env ******** 2cce53e097d796357a76a3d337985205bedb98d71b6bde6f4475fdb81eb10747 ssh-agent -k [2022-01-19T16:12:49.694Z] unset SSH_AUTH_SOCK; [2022-01-19T16:12:49.695Z] unset SSH_AGENT_PID; [2022-01-19T16:12:49.695Z] echo Agent pid 22 killed; [2022-01-19T16:12:49.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T16:12:49.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T16:12:49.730Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T16:12:49.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T16:12:49.848Z] $ docker exec 2cce53e097d796357a76a3d337985205bedb98d71b6bde6f4475fdb81eb10747 ssh-agent [2022-01-19T16:12:49.956Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlJLJME/agent.56 [2022-01-19T16:12:49.956Z] SSH_AGENT_PID=63 [2022-01-19T16:12:49.962Z] Running ssh-add (command line suppressed) [2022-01-19T16:12:50.048Z] Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8281419747227698012.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8281419747227698012.key) [2022-01-19T16:12:50.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T16:12:50.359Z] + git semver init [2022-01-19T16:12:50.359Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T16:12:50.359Z] # $GIT_DIR = /w/workspace/dry_app-rfid-llrp-inventory_main/.git [2022-01-19T16:12:50.359Z] # $GIT_WORK_TREE = /w/workspace/dry_app-rfid-llrp-inventory_main [2022-01-19T16:12:50.359Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T16:12:50.359Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T16:12:50.359Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T16:12:50.359Z] # $SEMVER_BRANCH = main [2022-01-19T16:12:50.359Z] # $SEMVER_TEMP = /tmp/semver-978513039 [2022-01-19T16:12:50.359Z] # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP [2022-01-19T16:12:51.748Z] # '/tmp/semver-978513039' -> '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver' [2022-01-19T16:12:51.748Z] # -> Force: false [2022-01-19T16:12:51.748Z] # $SEMVER_DIR = /w/workspace/dry_app-rfid-llrp-inventory_main/.semver [Pipeline] } [2022-01-19T16:12:51.759Z] $ docker exec --env ******** --env ******** 2cce53e097d796357a76a3d337985205bedb98d71b6bde6f4475fdb81eb10747 ssh-agent -k [2022-01-19T16:12:51.864Z] unset SSH_AUTH_SOCK; [2022-01-19T16:12:51.864Z] unset SSH_AGENT_PID; [2022-01-19T16:12:51.865Z] echo Agent pid 63 killed; [2022-01-19T16:12:51.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T16:12:52.186Z] + git semver [Pipeline] } [2022-01-19T16:12:52.200Z] $ docker stop --time=1 2cce53e097d796357a76a3d337985205bedb98d71b6bde6f4475fdb81eb10747 [2022-01-19T16:12:53.514Z] $ docker rm -f 2cce53e097d796357a76a3d337985205bedb98d71b6bde6f4475fdb81eb10747 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T16:12:53.874Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T16:12:54.126Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T16:12:54.130Z] [edgeXSemver]: initialized semver on version 1.0.1-dev.4 [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 [2022-01-19T16:12:54.288Z] provisioning config files... [2022-01-19T16:12:54.300Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8801369424165994808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:12:54.620Z] ---> docker-login.sh [2022-01-19T16:12:54.620Z] nexus3.edgexfoundry.org:10001 [2022-01-19T16:12:54.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:54.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:54.620Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:54.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:54.620Z] [2022-01-19T16:12:54.620Z] Login Succeeded [2022-01-19T16:12:54.620Z] nexus3.edgexfoundry.org:10002 [2022-01-19T16:12:54.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:54.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:54.881Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:54.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:54.881Z] [2022-01-19T16:12:54.881Z] Login Succeeded [2022-01-19T16:12:54.881Z] nexus3.edgexfoundry.org:10003 [2022-01-19T16:12:54.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:54.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:54.881Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:54.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:54.881Z] [2022-01-19T16:12:54.881Z] Login Succeeded [2022-01-19T16:12:54.881Z] nexus3.edgexfoundry.org:10004 [2022-01-19T16:12:54.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:55.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:55.143Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:55.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:55.143Z] [2022-01-19T16:12:55.143Z] Login Succeeded [2022-01-19T16:12:55.143Z] docker.io [2022-01-19T16:12:55.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:12:55.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:12:55.404Z] Configure a credential helper to remove this warning. See [2022-01-19T16:12:55.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:12:55.404Z] [2022-01-19T16:12:55.404Z] Login Succeeded [2022-01-19T16:12:55.404Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T16:12:55.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T16:12:55.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T16:12:55.499Z] ========================================================= [2022-01-19T16:12:55.499Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T16:12:55.499Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:12:55.815Z] + 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 . [2022-01-19T16:12:55.815Z] Sending build context to Docker daemon 9.874MB [2022-01-19T16:12:55.815Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2022-01-19T16:12:55.815Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T16:12:55.815Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T16:12:55.815Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T16:12:55.815Z] 666ba61612fd: Pulling fs layer [2022-01-19T16:12:55.815Z] 8ed8ca486205: Pulling fs layer [2022-01-19T16:12:55.815Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T16:12:55.815Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T16:12:55.815Z] f965cba54748: Pulling fs layer [2022-01-19T16:12:55.815Z] 861ffc35075e: Pulling fs layer [2022-01-19T16:12:55.815Z] 4b385c91608e: Pulling fs layer [2022-01-19T16:12:55.815Z] 560528eb2ebb: Pulling fs layer [2022-01-19T16:12:55.815Z] f965cba54748: Waiting [2022-01-19T16:12:55.815Z] 861ffc35075e: Waiting [2022-01-19T16:12:55.815Z] 4b385c91608e: Waiting [2022-01-19T16:12:55.815Z] 560528eb2ebb: Waiting [2022-01-19T16:12:55.815Z] 22a0e8bec74d: Waiting [2022-01-19T16:12:55.815Z] 4fe6c5a15a65: Waiting [2022-01-19T16:12:56.077Z] 8ed8ca486205: Verifying Checksum [2022-01-19T16:12:56.077Z] 8ed8ca486205: Download complete [2022-01-19T16:12:56.077Z] 666ba61612fd: Verifying Checksum [2022-01-19T16:12:56.077Z] 666ba61612fd: Download complete [2022-01-19T16:12:56.077Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T16:12:56.077Z] 22a0e8bec74d: Download complete [2022-01-19T16:12:56.077Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T16:12:56.077Z] 59bf1c3509f3: Download complete [2022-01-19T16:12:56.077Z] f965cba54748: Verifying Checksum [2022-01-19T16:12:56.077Z] f965cba54748: Download complete [2022-01-19T16:12:56.077Z] 861ffc35075e: Verifying Checksum [2022-01-19T16:12:56.077Z] 861ffc35075e: Download complete [2022-01-19T16:12:56.077Z] 4b385c91608e: Verifying Checksum [2022-01-19T16:12:56.077Z] 4b385c91608e: Download complete [2022-01-19T16:12:56.665Z] 560528eb2ebb: Verifying Checksum [2022-01-19T16:12:56.665Z] 560528eb2ebb: Download complete [2022-01-19T16:12:56.665Z] 59bf1c3509f3: Pull complete [2022-01-19T16:12:56.665Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T16:12:56.665Z] 4fe6c5a15a65: Download complete [2022-01-19T16:12:56.665Z] 666ba61612fd: Pull complete [2022-01-19T16:12:56.925Z] 8ed8ca486205: Pull complete [2022-01-19T16:13:01.140Z] 4fe6c5a15a65: Pull complete [2022-01-19T16:13:01.140Z] 22a0e8bec74d: Pull complete [2022-01-19T16:13:01.140Z] f965cba54748: Pull complete [2022-01-19T16:13:01.140Z] 861ffc35075e: Pull complete [2022-01-19T16:13:01.140Z] 4b385c91608e: Pull complete [2022-01-19T16:13:03.699Z] 560528eb2ebb: Pull complete [2022-01-19T16:13:03.699Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T16:13:03.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T16:13:03.699Z] ---> dd4a08f94e63 [2022-01-19T16:13:03.699Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-19T16:13:05.614Z] ---> Running in b085956d8432 [2022-01-19T16:13:05.614Z] Removing intermediate container b085956d8432 [2022-01-19T16:13:05.614Z] ---> 717ef01b63de [2022-01-19T16:13:05.614Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T16:13:05.614Z] ---> Running in ff4414991680 [2022-01-19T16:13:05.877Z] Removing intermediate container ff4414991680 [2022-01-19T16:13:05.877Z] ---> 05155c755a9e [2022-01-19T16:13:05.877Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T16:13:05.877Z] ---> Running in 1584f39b91e4 [2022-01-19T16:13:05.877Z] Removing intermediate container 1584f39b91e4 [2022-01-19T16:13:05.877Z] ---> b66103521dbe [2022-01-19T16:13:05.877Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T16:13:05.877Z] ---> Running in 802d2a2143c3 [2022-01-19T16:13:06.458Z] Removing intermediate container 802d2a2143c3 [2022-01-19T16:13:06.458Z] ---> 05cd6b3f383d [2022-01-19T16:13:06.458Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T16:13:06.458Z] ---> Running in 803ec1c9483a [2022-01-19T16:13:06.718Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T16:13:07.667Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T16:13:07.931Z] OK: 221 MiB in 52 packages [2022-01-19T16:13:08.193Z] Removing intermediate container 803ec1c9483a [2022-01-19T16:13:08.193Z] ---> e89575f68fb7 [2022-01-19T16:13:08.193Z] Step 8/12 : WORKDIR /app [2022-01-19T16:13:08.193Z] ---> Running in 03fc569891b9 [2022-01-19T16:13:08.193Z] Removing intermediate container 03fc569891b9 [2022-01-19T16:13:08.193Z] ---> b3de25846ccf [2022-01-19T16:13:08.193Z] Step 9/12 : COPY . . [2022-01-19T16:13:08.457Z] ---> 5399608f2c10 [2022-01-19T16:13:08.457Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T16:13:08.457Z] ---> Running in cb0354993cc6 [2022-01-19T16:13:09.236Z] Still waiting to schedule task [2022-01-19T16:13:09.236Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-19T16:13:35.067Z] Removing intermediate container cb0354993cc6 [2022-01-19T16:13:35.068Z] ---> 95b0fdb08859 [2022-01-19T16:13:35.068Z] Step 11/12 : ARG MAKE="make build" [2022-01-19T16:13:35.068Z] ---> Running in 021ba9b95982 [2022-01-19T16:13:35.068Z] Removing intermediate container 021ba9b95982 [2022-01-19T16:13:35.068Z] ---> e075e055ffb0 [2022-01-19T16:13:35.068Z] Step 12/12 : RUN $MAKE [2022-01-19T16:13:35.068Z] ---> Running in 6e95e6516fd1 [2022-01-19T16:13:35.068Z] noop [2022-01-19T16:13:35.068Z] Removing intermediate container 6e95e6516fd1 [2022-01-19T16:13:35.068Z] ---> a605482c89c2 [2022-01-19T16:13:35.068Z] Successfully built a605482c89c2 [2022-01-19T16:13:35.068Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:13:35.364Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T16:13:35.364Z] . [Pipeline] withDockerContainer [2022-01-19T16:13:35.424Z] prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container [2022-01-19T16:13:35.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T16:13:35.798Z] $ docker top 211cc8cc1d3cf518e3a8206f28f9339d1722f4e4fe2e2d1be72abc65ca73b58e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T16:13:36.153Z] + go version [2022-01-19T16:13:36.153Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T16:13:36.167Z] $ docker stop --time=1 211cc8cc1d3cf518e3a8206f28f9339d1722f4e4fe2e2d1be72abc65ca73b58e [2022-01-19T16:13:37.358Z] $ docker rm -f 211cc8cc1d3cf518e3a8206f28f9339d1722f4e4fe2e2d1be72abc65ca73b58e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:13:37.766Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T16:13:37.766Z] . [Pipeline] withDockerContainer [2022-01-19T16:13:37.822Z] prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container [2022-01-19T16:13:37.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T16:13:38.184Z] $ docker top d01d3181273dd7a5e1e766b36cd782aec2ba0afbbc0c6998335552370bf2bf94 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T16:13:38.550Z] + make test [2022-01-19T16:13:38.550Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T16:13:53.607Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-01-19T16:13:54.187Z] Time delta: 39 [2022-01-19T16:13:54.187Z] --- FAIL: TestUnixMilli (0.04s) [2022-01-19T16:13:54.187Z] epoch_helper_test.go:37: Time calculation bad [2022-01-19T16:13:54.187Z] FAIL [2022-01-19T16:13:54.187Z] coverage: 86.5% of statements [2022-01-19T16:13:54.187Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.109s [2022-01-19T16:13:54.187Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-01-19T16:13:57.496Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.531s coverage: 71.9% of statements [2022-01-19T16:13:57.496Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2022-01-19T16:13:57.496Z] FAIL [2022-01-19T16:13:57.496Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-01-19T16:13:57.522Z] $ docker stop --time=1 d01d3181273dd7a5e1e766b36cd782aec2ba0afbbc0c6998335552370bf2bf94 [2022-01-19T16:13:59.023Z] $ docker rm -f d01d3181273dd7a5e1e766b36cd782aec2ba0afbbc0c6998335552370bf2bf94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:13:59.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T16:13:59.527Z] [2022-01-19T16:13:59.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:13:59.832Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T16:13:59.832Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T16:13:59.832Z] b4d181a07f80: Pulling fs layer [2022-01-19T16:13:59.832Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T16:13:59.832Z] ed53099fbce6: Pulling fs layer [2022-01-19T16:13:59.832Z] dc539afda2c1: Pulling fs layer [2022-01-19T16:13:59.832Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T16:13:59.832Z] 9065ff56babe: Pulling fs layer [2022-01-19T16:13:59.832Z] d287ab97295c: Pulling fs layer [2022-01-19T16:13:59.832Z] 77bc0d833cb6: Waiting [2022-01-19T16:13:59.832Z] 9065ff56babe: Waiting [2022-01-19T16:13:59.832Z] d287ab97295c: Waiting [2022-01-19T16:13:59.832Z] dc539afda2c1: Waiting [2022-01-19T16:13:59.832Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T16:13:59.832Z] a1111a8f2ec3: Download complete [2022-01-19T16:13:59.832Z] dc539afda2c1: Verifying Checksum [2022-01-19T16:13:59.832Z] dc539afda2c1: Download complete [2022-01-19T16:13:59.832Z] ed53099fbce6: Verifying Checksum [2022-01-19T16:13:59.832Z] ed53099fbce6: Download complete [2022-01-19T16:13:59.832Z] 9065ff56babe: Verifying Checksum [2022-01-19T16:13:59.832Z] 9065ff56babe: Download complete [2022-01-19T16:14:00.096Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T16:14:00.096Z] 77bc0d833cb6: Download complete [2022-01-19T16:14:00.096Z] b4d181a07f80: Verifying Checksum [2022-01-19T16:14:00.096Z] b4d181a07f80: Download complete [2022-01-19T16:14:00.673Z] d287ab97295c: Verifying Checksum [2022-01-19T16:14:00.673Z] d287ab97295c: Download complete [2022-01-19T16:14:01.630Z] b4d181a07f80: Pull complete [2022-01-19T16:14:01.630Z] a1111a8f2ec3: Pull complete [2022-01-19T16:14:02.209Z] ed53099fbce6: Pull complete [2022-01-19T16:14:02.209Z] dc539afda2c1: Pull complete [2022-01-19T16:14:02.470Z] 77bc0d833cb6: Pull complete [2022-01-19T16:14:02.729Z] 9065ff56babe: Pull complete [2022-01-19T16:14:08.073Z] d287ab97295c: Pull complete [2022-01-19T16:14:08.073Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T16:14:08.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T16:14:08.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T16:14:08.139Z] prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container [2022-01-19T16:14:08.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T16:14:10.640Z] $ docker top 4eadd370c4949b5ff3a8d2d371d5f4d055bcd01c15c2c193018c56295390fc07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:14:11.071Z] ---> job-cost.sh [2022-01-19T16:14:11.071Z] lf-activate-venv: SKIPPING [2022-01-19T16:14:11.071Z] INFO: No Stack... [2022-01-19T16:14:11.332Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T16:14:11.596Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T16:14:11.902Z] + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv [2022-01-19T16:14:11.902Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T16:14:11.919Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] [2022-01-19T16:14:11.924Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] did not exist. Created. [2022-01-19T16:14:11.925Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T16:14:12.233Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T16:14:12.270Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T16:14:12.278Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T16:14:12.299Z] $ docker stop --time=1 4eadd370c4949b5ff3a8d2d371d5f4d055bcd01c15c2c193018c56295390fc07 [2022-01-19T16:14:13.437Z] $ docker rm -f 4eadd370c4949b5ff3a8d2d371d5f4d055bcd01c15c2c193018c56295390fc07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T16:14:13.533Z] Failed in branch amd64 [2022-01-19T16:14:37.731Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1810 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws [2022-01-19T16:14:37.748Z] Running in /w/workspace/app-rfid-llrp-inventory/18 [Pipeline] { [Pipeline] checkout [2022-01-19T16:14:37.929Z] The recommended git tool is: git [2022-01-19T16:14:42.851Z] using credential edgex-jenkins-ssh [2022-01-19T16:14:42.870Z] Cloning the remote Git repository [2022-01-19T16:14:42.918Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-01-19T16:14:42.993Z] > git init /w/workspace/app-rfid-llrp-inventory/18 # timeout=10 [2022-01-19T16:14:43.064Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-01-19T16:14:43.065Z] > git --version # timeout=10 [2022-01-19T16:14:43.081Z] > git --version # 'git version 2.17.1' [2022-01-19T16:14:43.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T16:14:43.143Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T16:14:44.899Z] Avoid second fetch [2022-01-19T16:14:44.900Z] Checking out Revision 73352f13c22898f0de2d6cc31dffe6c8878b64bc (main) [2022-01-19T16:14:44.860Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-01-19T16:14:44.882Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T16:14:44.919Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T16:14:44.969Z] > git checkout -f 73352f13c22898f0de2d6cc31dffe6c8878b64bc # timeout=10 [2022-01-19T16:14:49.316Z] Commit message: "feat: migrate service to V2 (#54)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T16:14:50.301Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T16:14:50.302Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T16:14:50.302Z] Dload Upload Total Spent Left Speed [2022-01-19T16:14:50.302Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 76406 0 --:--:-- --:--:-- --:--:-- 76406 [Pipeline] sh [2022-01-19T16:14:50.819Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T16:14:51.168Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T16:14:51.168Z] + sudo tee /etc/docker/daemon.new [2022-01-19T16:14:51.168Z] { [2022-01-19T16:14:51.168Z] "registry-mirrors": [ [2022-01-19T16:14:51.168Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T16:14:51.168Z] ], [2022-01-19T16:14:51.168Z] "bip": "10.250.0.254/24", [2022-01-19T16:14:51.168Z] "hosts": [ [2022-01-19T16:14:51.168Z] "tcp://0.0.0.0:5555", [2022-01-19T16:14:51.168Z] "unix:///var/run/docker.sock" [2022-01-19T16:14:51.168Z] ], [2022-01-19T16:14:51.168Z] "mtu": 1458, [2022-01-19T16:14:51.168Z] "selinux-enabled": true, [2022-01-19T16:14:51.168Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T16:14:51.168Z] } [Pipeline] sh [2022-01-19T16:14:51.524Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T16:14:51.862Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T16:15:10.255Z] provisioning config files... [2022-01-19T16:15:10.281Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/18@tmp/config4978511710477614489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:15:10.686Z] ---> docker-login.sh [2022-01-19T16:15:10.686Z] nexus3.edgexfoundry.org:10001 [2022-01-19T16:15:11.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:15:11.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:15:11.562Z] Configure a credential helper to remove this warning. See [2022-01-19T16:15:11.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:15:11.562Z] [2022-01-19T16:15:11.562Z] Login Succeeded [2022-01-19T16:15:11.562Z] nexus3.edgexfoundry.org:10002 [2022-01-19T16:15:11.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:15:11.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:15:11.848Z] Configure a credential helper to remove this warning. See [2022-01-19T16:15:11.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:15:11.848Z] [2022-01-19T16:15:11.848Z] Login Succeeded [2022-01-19T16:15:11.848Z] nexus3.edgexfoundry.org:10003 [2022-01-19T16:15:12.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:15:12.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:15:12.442Z] Configure a credential helper to remove this warning. See [2022-01-19T16:15:12.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:15:12.442Z] [2022-01-19T16:15:12.442Z] Login Succeeded [2022-01-19T16:15:12.442Z] nexus3.edgexfoundry.org:10004 [2022-01-19T16:15:12.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:15:12.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:15:12.719Z] Configure a credential helper to remove this warning. See [2022-01-19T16:15:12.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:15:12.719Z] [2022-01-19T16:15:12.719Z] Login Succeeded [2022-01-19T16:15:12.719Z] docker.io [2022-01-19T16:15:13.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T16:15:13.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T16:15:13.588Z] Configure a credential helper to remove this warning. See [2022-01-19T16:15:13.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T16:15:13.588Z] [2022-01-19T16:15:13.588Z] Login Succeeded [2022-01-19T16:15:13.588Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T16:15:13.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T16:15:14.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T16:15:14.014Z] ========================================================= [2022-01-19T16:15:14.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T16:15:14.014Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:15:14.398Z] + 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 . [2022-01-19T16:15:14.672Z] Sending build context to Docker daemon 680.4kB [2022-01-19T16:15:14.672Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2022-01-19T16:15:14.672Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T16:15:14.945Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T16:15:14.945Z] 9b3977197b4f: Pulling fs layer [2022-01-19T16:15:14.945Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T16:15:14.945Z] 94645a83ff95: Pulling fs layer [2022-01-19T16:15:14.945Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T16:15:14.945Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T16:15:14.945Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T16:15:14.945Z] 9a6b49a46696: Pulling fs layer [2022-01-19T16:15:14.945Z] cf05db05a679: Pulling fs layer [2022-01-19T16:15:14.945Z] 4b8299f9d1f4: Waiting [2022-01-19T16:15:14.945Z] 3f3a8bcf1eab: Waiting [2022-01-19T16:15:14.945Z] 0c92f367c5e7: Waiting [2022-01-19T16:15:14.945Z] 9a6b49a46696: Waiting [2022-01-19T16:15:14.945Z] cf05db05a679: Waiting [2022-01-19T16:15:14.945Z] 94645a83ff95: Download complete [2022-01-19T16:15:14.945Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T16:15:14.945Z] 1a89e8eeedd5: Download complete [2022-01-19T16:15:14.945Z] 0c92f367c5e7: Download complete [2022-01-19T16:15:14.945Z] 4b8299f9d1f4: Download complete [2022-01-19T16:15:14.945Z] 9b3977197b4f: Download complete [2022-01-19T16:15:14.945Z] 9a6b49a46696: Verifying Checksum [2022-01-19T16:15:14.945Z] 9a6b49a46696: Download complete [2022-01-19T16:15:15.547Z] 9b3977197b4f: Pull complete [2022-01-19T16:15:16.172Z] 1a89e8eeedd5: Pull complete [2022-01-19T16:15:16.449Z] 94645a83ff95: Pull complete [2022-01-19T16:15:16.725Z] cf05db05a679: Verifying Checksum [2022-01-19T16:15:16.725Z] cf05db05a679: Download complete [2022-01-19T16:15:17.321Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T16:15:17.321Z] 3f3a8bcf1eab: Download complete [2022-01-19T16:15:29.716Z] 3f3a8bcf1eab: Pull complete [2022-01-19T16:15:29.716Z] 0c92f367c5e7: Pull complete [2022-01-19T16:15:29.716Z] 4b8299f9d1f4: Pull complete [2022-01-19T16:15:29.716Z] 9a6b49a46696: Pull complete [2022-01-19T16:15:35.114Z] cf05db05a679: Pull complete [2022-01-19T16:15:35.114Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T16:15:35.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T16:15:35.114Z] ---> 0ccda1f7e2ee [2022-01-19T16:15:35.114Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-19T16:15:36.552Z] ---> Running in ab8fe6d77f42 [2022-01-19T16:15:36.824Z] Removing intermediate container ab8fe6d77f42 [2022-01-19T16:15:36.824Z] ---> 5c4b32a73fd3 [2022-01-19T16:15:36.824Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T16:15:37.098Z] ---> Running in 0a899a246ee1 [2022-01-19T16:15:37.374Z] Removing intermediate container 0a899a246ee1 [2022-01-19T16:15:37.374Z] ---> 8dd01ea02f00 [2022-01-19T16:15:37.374Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T16:15:37.374Z] ---> Running in 10d09bfa00e5 [2022-01-19T16:15:37.969Z] Removing intermediate container 10d09bfa00e5 [2022-01-19T16:15:37.969Z] ---> c585d37e1ba4 [2022-01-19T16:15:37.969Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T16:15:37.969Z] ---> Running in 6b959da0028d [2022-01-19T16:15:39.943Z] Removing intermediate container 6b959da0028d [2022-01-19T16:15:39.943Z] ---> 54c9c972b5ea [2022-01-19T16:15:39.943Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T16:15:39.943Z] ---> Running in 64f738be6d23 [2022-01-19T16:15:40.922Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T16:15:41.905Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T16:15:42.497Z] OK: 220 MiB in 52 packages [2022-01-19T16:15:43.094Z] Removing intermediate container 64f738be6d23 [2022-01-19T16:15:43.094Z] ---> 2f2cf24937bf [2022-01-19T16:15:43.094Z] Step 8/12 : WORKDIR /app [2022-01-19T16:15:43.367Z] ---> Running in e67ed270f678 [2022-01-19T16:15:43.638Z] Removing intermediate container e67ed270f678 [2022-01-19T16:15:43.638Z] ---> eace54c6a6e4 [2022-01-19T16:15:43.638Z] Step 9/12 : COPY . . [2022-01-19T16:15:44.615Z] ---> 496377e1b889 [2022-01-19T16:15:44.615Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T16:15:44.615Z] ---> Running in d6be7f8d2ca2 [2022-01-19T16:16:52.639Z] Removing intermediate container d6be7f8d2ca2 [2022-01-19T16:16:52.639Z] ---> 00831bb29d73 [2022-01-19T16:16:52.639Z] Step 11/12 : ARG MAKE="make build" [2022-01-19T16:16:52.639Z] ---> Running in 1be2e93023f9 [2022-01-19T16:16:52.910Z] Removing intermediate container 1be2e93023f9 [2022-01-19T16:16:52.910Z] ---> 111952d08bd9 [2022-01-19T16:16:52.910Z] Step 12/12 : RUN $MAKE [2022-01-19T16:16:52.910Z] ---> Running in a4d825d9f674 [2022-01-19T16:16:53.894Z] noop [2022-01-19T16:16:54.486Z] Removing intermediate container a4d825d9f674 [2022-01-19T16:16:54.486Z] ---> 03d875020359 [2022-01-19T16:16:54.486Z] Successfully built 03d875020359 [2022-01-19T16:16:54.486Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:16:54.844Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T16:16:54.844Z] . [Pipeline] withDockerContainer [2022-01-19T16:16:55.067Z] prd-ubuntu18.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2022-01-19T16:16:55.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/18 -v /w/workspace/app-rfid-llrp-inventory/18:/w/workspace/app-rfid-llrp-inventory/18:rw,z -v /w/workspace/app-rfid-llrp-inventory/18@tmp:/w/workspace/app-rfid-llrp-inventory/18@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 ******** ci-base-image-arm64 cat [2022-01-19T16:16:56.429Z] $ docker top 51e52b339e34735de903f1436b546970041de31247817a1b118ad057ed895dc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T16:16:57.301Z] + go version [2022-01-19T16:16:57.301Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T16:16:57.331Z] $ docker stop --time=1 51e52b339e34735de903f1436b546970041de31247817a1b118ad057ed895dc6 [2022-01-19T16:16:58.962Z] $ docker rm -f 51e52b339e34735de903f1436b546970041de31247817a1b118ad057ed895dc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:16:59.553Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T16:16:59.553Z] . [Pipeline] withDockerContainer [2022-01-19T16:16:59.783Z] prd-ubuntu18.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2022-01-19T16:16:59.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/18 -v /w/workspace/app-rfid-llrp-inventory/18:/w/workspace/app-rfid-llrp-inventory/18:rw,z -v /w/workspace/app-rfid-llrp-inventory/18@tmp:/w/workspace/app-rfid-llrp-inventory/18@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 ******** ci-base-image-arm64 cat [2022-01-19T16:17:01.176Z] $ docker top 8f9d63e8ba23f32ecafe7cefde431a8384a962fe835c0692e3d2cea1cf34e643 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T16:17:02.070Z] + make test [2022-01-19T16:17:02.070Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T16:17:58.643Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-01-19T16:17:58.643Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.193s coverage: 86.5% of statements [2022-01-19T16:17:58.643Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-01-19T16:17:58.643Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.677s coverage: 71.9% of statements [2022-01-19T16:17:58.643Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2022-01-19T16:17:58.643Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T16:18:16.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T16:18:16.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T16:18:16.945Z] ./bin/test-attribution.sh [Pipeline] echo [2022-01-19T16:18:16.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T16:18:16.988Z] $ docker stop --time=1 8f9d63e8ba23f32ecafe7cefde431a8384a962fe835c0692e3d2cea1cf34e643 [2022-01-19T16:18:18.724Z] $ docker rm -f 8f9d63e8ba23f32ecafe7cefde431a8384a962fe835c0692e3d2cea1cf34e643 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T16:18:19.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T16:18:20.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T16:18:21.048Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T16:18:21.381Z] + ls -al . [2022-01-19T16:18:21.381Z] total 232 [2022-01-19T16:18:21.381Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 16:18 . [2022-01-19T16:18:21.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 16:14 .. [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 262 Jan 19 16:14 .dockerignore [2022-01-19T16:18:21.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 16:14 .git [2022-01-19T16:18:21.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 16:14 .github [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 788 Jan 19 16:14 .gitignore [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 8248 Jan 19 16:14 Attribution.txt [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 1813 Jan 19 16:14 Dockerfile [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 16:14 GOVERNANCE.md [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 686 Jan 19 16:14 Jenkinsfile [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jan 19 16:14 LICENSE [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 1596 Jan 19 16:14 Makefile [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 19 16:14 OWNERS.md [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 31205 Jan 19 16:14 README.md [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 16:12 VERSION [2022-01-19T16:18:21.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 16:14 bin [2022-01-19T16:18:21.381Z] -rw-r--r-- 1 jenkins jenkins 41356 Jan 19 16:17 coverage.out [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 276 Jan 19 16:14 go.mod [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 49531 Jan 19 16:14 go.sum [2022-01-19T16:18:21.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 16:14 images [2022-01-19T16:18:21.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 16:14 internal [2022-01-19T16:18:21.381Z] -rw-rw-r-- 1 jenkins jenkins 531 Jan 19 16:14 main.go [2022-01-19T16:18:21.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 16:14 res [2022-01-19T16:18:21.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 16:14 snap [2022-01-19T16:18:21.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 16:14 static [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:18:21.719Z] + 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=73352f13c22898f0de2d6cc31dffe6c8878b64bc --label arch=arm64 --label version=1.0.1-dev.4 . [2022-01-19T16:18:21.990Z] Sending build context to Docker daemon 680.4kB [2022-01-19T16:18:21.990Z] Step 1/29 : ARG BASE=golang:1.16-alpine3.14 [2022-01-19T16:18:21.990Z] Step 2/29 : FROM ${BASE} AS builder [2022-01-19T16:18:21.990Z] ---> 03d875020359 [2022-01-19T16:18:21.990Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-19T16:18:22.261Z] ---> Running in 7d9ad91bca92 [2022-01-19T16:18:22.533Z] Removing intermediate container 7d9ad91bca92 [2022-01-19T16:18:22.533Z] ---> 03d9337ac967 [2022-01-19T16:18:22.533Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T16:18:22.533Z] ---> Running in 307210cffa51 [2022-01-19T16:18:22.812Z] Removing intermediate container 307210cffa51 [2022-01-19T16:18:22.812Z] ---> 73eeea5c5e2e [2022-01-19T16:18:22.812Z] Step 5/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T16:18:23.084Z] ---> Running in 1890e6623c4a [2022-01-19T16:18:23.367Z] Removing intermediate container 1890e6623c4a [2022-01-19T16:18:23.367Z] ---> 8d9e535c9595 [2022-01-19T16:18:23.367Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T16:18:23.367Z] ---> Running in a67c0d5a62b3 [2022-01-19T16:18:25.338Z] Removing intermediate container a67c0d5a62b3 [2022-01-19T16:18:25.338Z] ---> cdaf2303feb2 [2022-01-19T16:18:25.338Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T16:18:25.338Z] ---> Running in a10589711480 [2022-01-19T16:18:26.313Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T16:18:27.285Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T16:18:27.882Z] OK: 220 MiB in 52 packages [2022-01-19T16:18:28.477Z] Removing intermediate container a10589711480 [2022-01-19T16:18:28.477Z] ---> 6276c647dfa7 [2022-01-19T16:18:28.477Z] Step 8/29 : WORKDIR /app [2022-01-19T16:18:28.749Z] ---> Running in af74f1fbdcd8 [2022-01-19T16:18:29.026Z] Removing intermediate container af74f1fbdcd8 [2022-01-19T16:18:29.026Z] ---> 482a82599f9a [2022-01-19T16:18:29.026Z] Step 9/29 : COPY . . [2022-01-19T16:18:30.003Z] ---> 1d4124292a7e [2022-01-19T16:18:30.003Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T16:18:30.003Z] ---> Running in 21f29a19d8e2 [2022-01-19T16:18:31.971Z] Removing intermediate container 21f29a19d8e2 [2022-01-19T16:18:31.971Z] ---> 5a1ba1226e15 [2022-01-19T16:18:31.971Z] Step 11/29 : ARG MAKE="make build" [2022-01-19T16:18:31.971Z] ---> Running in f3cec3b40272 [2022-01-19T16:18:32.243Z] Removing intermediate container f3cec3b40272 [2022-01-19T16:18:32.243Z] ---> 12e3ef8cea80 [2022-01-19T16:18:32.243Z] Step 12/29 : RUN $MAKE [2022-01-19T16:18:32.515Z] ---> Running in afa9fa0786da [2022-01-19T16:18:33.563Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=1.0.1-dev.4 -X edgexfoundry/app-rfid-llrp-inventory.Version=1.0.1-dev.4" -o app-rfid-llrp-inventory [2022-01-19T16:19:20.618Z] Removing intermediate container afa9fa0786da [2022-01-19T16:19:20.618Z] ---> b2fed3ce7f20 [2022-01-19T16:19:20.618Z] Step 13/29 : FROM alpine:3.14 [2022-01-19T16:19:20.618Z] 3.14: Pulling from library/alpine [2022-01-19T16:19:20.618Z] be307f383ecc: Pulling fs layer [2022-01-19T16:19:20.618Z] be307f383ecc: Verifying Checksum [2022-01-19T16:19:20.618Z] be307f383ecc: Download complete [2022-01-19T16:19:20.618Z] be307f383ecc: Pull complete [2022-01-19T16:19:20.618Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T16:19:20.618Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T16:19:20.618Z] ---> 5b8b7b635229 [2022-01-19T16:19:20.618Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T16:19:20.618Z] ---> Running in 0dd694cc3f8f [2022-01-19T16:19:20.618Z] Removing intermediate container 0dd694cc3f8f [2022-01-19T16:19:20.618Z] ---> 97cc605c3784 [2022-01-19T16:19:20.618Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-01-19T16:19:20.619Z] ---> Running in b5e22d8a057b [2022-01-19T16:19:20.619Z] Removing intermediate container b5e22d8a057b [2022-01-19T16:19:20.619Z] ---> 8ef4df57d45d [2022-01-19T16:19:20.619Z] Step 16/29 : RUN apk --no-cache add ca-certificates zeromq [2022-01-19T16:19:20.619Z] ---> Running in 486db67fe181 [2022-01-19T16:19:20.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-19T16:19:24.895Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2022-01-19T16:19:24.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-19T16:19:29.162Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2022-01-19T16:19:29.162Z] ERROR: unable to select packages: [2022-01-19T16:19:29.162Z]  ca-certificates (no such package): [2022-01-19T16:19:29.162Z] required by: world[ca-certificates] [2022-01-19T16:19:29.162Z] zeromq (no such package): [2022-01-19T16:19:29.162Z] required by: world[zeromq] [2022-01-19T16:19:29.432Z] The command '/bin/sh -c apk --no-cache add ca-certificates zeromq' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:19:29.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T16:19:29.840Z] [2022-01-19T16:19:29.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:19:30.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T16:19:30.182Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T16:19:30.182Z] 448f6bf000e3: Pulling fs layer [2022-01-19T16:19:30.182Z] f757da607395: Pulling fs layer [2022-01-19T16:19:30.182Z] 05883995daec: Pulling fs layer [2022-01-19T16:19:30.182Z] 8603b9c90790: Pulling fs layer [2022-01-19T16:19:30.182Z] 1560dd03e051: Pulling fs layer [2022-01-19T16:19:30.182Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T16:19:30.182Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T16:19:30.182Z] 1560dd03e051: Waiting [2022-01-19T16:19:30.182Z] 27f5ce0e4adf: Waiting [2022-01-19T16:19:30.182Z] c2d8d7efcc4b: Waiting [2022-01-19T16:19:30.454Z] f757da607395: Verifying Checksum [2022-01-19T16:19:30.454Z] f757da607395: Download complete [2022-01-19T16:19:30.454Z] 8603b9c90790: Verifying Checksum [2022-01-19T16:19:30.454Z] 8603b9c90790: Download complete [2022-01-19T16:19:30.454Z] 1560dd03e051: Verifying Checksum [2022-01-19T16:19:30.454Z] 1560dd03e051: Download complete [2022-01-19T16:19:30.454Z] 05883995daec: Verifying Checksum [2022-01-19T16:19:30.454Z] 05883995daec: Download complete [2022-01-19T16:19:30.454Z] 27f5ce0e4adf: Download complete [2022-01-19T16:19:30.725Z] 448f6bf000e3: Verifying Checksum [2022-01-19T16:19:30.725Z] 448f6bf000e3: Download complete [2022-01-19T16:19:33.344Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T16:19:33.344Z] c2d8d7efcc4b: Download complete [2022-01-19T16:19:34.778Z] 448f6bf000e3: Pull complete [2022-01-19T16:19:35.051Z] f757da607395: Pull complete [2022-01-19T16:19:36.488Z] 05883995daec: Pull complete [2022-01-19T16:19:36.759Z] 8603b9c90790: Pull complete [2022-01-19T16:19:37.746Z] 1560dd03e051: Pull complete [2022-01-19T16:19:37.746Z] 27f5ce0e4adf: Pull complete [2022-01-19T16:19:52.816Z] c2d8d7efcc4b: Pull complete [2022-01-19T16:19:52.816Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T16:19:52.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T16:19:52.817Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T16:19:53.016Z] prd-ubuntu18.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2022-01-19T16:19:53.103Z] $ 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/18 -v /w/workspace/app-rfid-llrp-inventory/18:/w/workspace/app-rfid-llrp-inventory/18:rw,z -v /w/workspace/app-rfid-llrp-inventory/18@tmp:/w/workspace/app-rfid-llrp-inventory/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-19T16:19:55.691Z] $ docker top 73f6d5e17f959a53706f9bfc4e990a687136ae43488b850fd701f7705c1cea88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:19:56.601Z] ---> job-cost.sh [2022-01-19T16:19:56.601Z] lf-activate-venv: SKIPPING [2022-01-19T16:19:56.601Z] INFO: No Stack... [2022-01-19T16:19:56.871Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T16:19:57.142Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T16:19:57.808Z] + + cutcat -d, /w/workspace/app-rfid-llrp-inventory/18/archives/cost.csv -f6 [2022-01-19T16:19:57.808Z] [Pipeline] lock [2022-01-19T16:19:57.868Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] [2022-01-19T16:19:57.875Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] did not exist. Created. [2022-01-19T16:19:57.875Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T16:19:58.553Z] /w/workspace/app-rfid-llrp-inventory/18@tmp/durable-91c44efb/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/18@tmp/durable-91c44efb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T16:19:59.233Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T16:19:59.253Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T16:19:59.301Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T16:19:59.308Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T16:19:59.332Z] $ docker stop --time=1 73f6d5e17f959a53706f9bfc4e990a687136ae43488b850fd701f7705c1cea88 [2022-01-19T16:20:00.841Z] $ docker rm -f 73f6d5e17f959a53706f9bfc4e990a687136ae43488b850fd701f7705c1cea88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T16:20:01.152Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-19T16:20:01.858Z] + '[' -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ']' [2022-01-19T16:20:01.858Z] + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives [2022-01-19T16:20:01.858Z] total 8 [2022-01-19T16:20:01.858Z] drwxr-xr-x. 3 root root 34 Jan 19 16:14 . [2022-01-19T16:20:01.858Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 16:14 .. [2022-01-19T16:20:01.858Z] drwxr-xr-x. 2 root root 6 Jan 19 16:14 cost [2022-01-19T16:20:01.858Z] -rw-r--r--. 1 root root 93 Jan 19 16:14 cost.csv [2022-01-19T16:20:01.858Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives [2022-01-19T16:20:01.858Z] + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives [2022-01-19T16:20:01.858Z] total 8 [2022-01-19T16:20:01.858Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 16:14 . [2022-01-19T16:20:01.858Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 16:14 .. [2022-01-19T16:20:01.858Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 16:14 cost [2022-01-19T16:20:01.858Z] -rw-r--r--. 1 jenkins jenkins 93 Jan 19 16:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:20:02.165Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:20:02.728Z] ---> package-listing.sh [2022-01-19T16:20:02.728Z] ++ facter osfamily [2022-01-19T16:20:02.728Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T16:20:02.990Z] + OS_FAMILY=redhat [2022-01-19T16:20:02.990Z] + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main [2022-01-19T16:20:02.990Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T16:20:02.990Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T16:20:02.990Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T16:20:02.990Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T16:20:02.990Z] + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' [2022-01-19T16:20:02.990Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T16:20:02.990Z] + case "${OS_FAMILY}" in [2022-01-19T16:20:02.990Z] + rpm -qa [2022-01-19T16:20:02.990Z] + sort [2022-01-19T16:20:03.562Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T16:20:03.562Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T16:20:03.562Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T16:20:03.562Z] + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' [2022-01-19T16:20:03.562Z] + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [2022-01-19T16:20:03.562Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo [2022-01-19T16:20:03.575Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-19T16:20:03.864Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T16:20:04.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T16:20:04.419Z] . [Pipeline] withDockerContainer [2022-01-19T16:20:04.484Z] prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container [2022-01-19T16:20:04.520Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T16:20:04.719Z] $ docker top 9a163b027fbe107253f328dfd400ade454ec729ec069b0dc593c5fa3013cf7d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T16:20:05.081Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T16:20:05.368Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T16:20:05.662Z] + ls /var/log/sa-host [2022-01-19T16:20:05.662Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T16:20:05.662Z] file_magic: OK [2022-01-19T16:20:05.662Z] HZ: Using current value: 100 [2022-01-19T16:20:05.662Z] file_header: OK [2022-01-19T16:20:05.662Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T16:20:05.662Z] Statistics: [2022-01-19T16:20:05.662Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T16:20:05.662Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T16:20:05.662Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T16:20:05.662Z] file_magic: OK [2022-01-19T16:20:05.662Z] HZ: Using current value: 100 [2022-01-19T16:20:05.662Z] file_header: OK [2022-01-19T16:20:05.662Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T16:20:05.662Z] Statistics: [2022-01-19T16:20:05.662Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T16:20:05.662Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T16:20:05.879Z] provisioning config files... [2022-01-19T16:20:05.889Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3100536340522260404tmp [Pipeline] { [Pipeline] echo [2022-01-19T16:20:05.904Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:20:06.191Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T16:20:06.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:20:06.636Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T16:20:06.646Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:20:06.936Z] ---> sudo-logs.sh [2022-01-19T16:20:06.936Z] Archiving 'sudo' log.. [2022-01-19T16:20:06.936Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1809.novalocal: Name or service not known [2022-01-19T16:20:06.936Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1809.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T16:20:06.966Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:20:07.265Z] ---> job-cost.sh [2022-01-19T16:20:07.266Z] lf-activate-venv: SKIPPING [2022-01-19T16:20:07.266Z] DEBUG: total: 0.05999999865889549 [2022-01-19T16:20:07.266Z] INFO: Retrieving Stack Cost... [2022-01-19T16:20:07.529Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T16:20:07.791Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T16:20:07.803Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T16:20:08.094Z] ---> logs-deploy.sh [2022-01-19T16:20:08.095Z] lf-activate-venv: SKIPPING [2022-01-19T16:20:08.095Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/18 [2022-01-19T16:20:08.095Z] INFO: archiving workspace using pattern(s): [2022-01-19T16:20:08.665Z] Archives upload complete. [2022-01-19T16:20:08.926Z] INFO: archiving logs to Nexus