Pull request #61 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from b4b7277e3ee2b78609c4c6715577bc70959439fb+73352f13c22898f0de2d6cc31dffe6c8878b64bc (f9909688a39862ad302078c3db0518e1ec0bd8fb) 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-ssh11950920435268481427.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-ssh559247594605127250.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-61/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-61/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16051247157009405619.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-61/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6911089269736009475.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh1348286665373089364.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-61/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-61/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14979809496389363564.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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-1825 in /w/workspace/ry_app-rfid-llrp-inventory_PR-61 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/ry_app-rfid-llrp-inventory_PR-61 # 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/ry_app-rfid-llrp-inventory_PR-61@tmp/jenkins-gitclient-ssh5325861402290278702.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73352f13c22898f0de2d6cc31dffe6c8878b64bc into PR head commit b4b7277e3ee2b78609c4c6715577bc70959439fb > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub [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/ry_app-rfid-llrp-inventory_PR-61@tmp/jenkins-gitclient-ssh9065709291365154340.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # timeout=10 > git remote # timeout=10 > 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 /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/jenkins-gitclient-ssh4267252161349354118.key > git merge 73352f13c22898f0de2d6cc31dffe6c8878b64bc # timeout=10 Merge succeeded, producing b4b7277e3ee2b78609c4c6715577bc70959439fb Checking out Revision b4b7277e3ee2b78609c4c6715577bc70959439fb (PR-61) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # timeout=10 Commit message: "ci: Go 1.17 Dockerfile changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T17:22:52.915Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T17:22:53.058Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T17:22:53.143Z] ========================================================= [2022-01-19T17:22:53.144Z] EdgeX Global Pipelines Version Info [2022-01-19T17:22:53.144Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:22:54.289Z] ------------------- [2022-01-19T17:22:54.289Z] stable info: [2022-01-19T17:22:54.289Z] ------------------- [2022-01-19T17:22:54.289Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T17:22:54.289Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T17:22:54.289Z] Message: update stable to v1.0.219 [2022-01-19T17:22:54.864Z] ------------------- [2022-01-19T17:22:54.864Z] experimental info: [2022-01-19T17:22:54.864Z] ------------------- [2022-01-19T17:22:54.864Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T17:22:54.864Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T17:22:54.864Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T17:22:55.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-01-19T17:22:55.181Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-01-19T17:22:55.222Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T17:22:55.263Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T17:22:55.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T17:22:55.340Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T17:22:55.380Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T17:22:55.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T17:22:55.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T17:22:55.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T17:22:55.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T17:22:55.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-01-19T17:22:55.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T17:22:55.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T17:22:55.688Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T17:22:55.725Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T17:22:55.761Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T17:22:55.799Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T17:22:55.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T17:22:55.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-19T17:22:55.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T17:22:55.963Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T17:22:56.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T17:22:56.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T17:22:56.088Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T17:22:56.129Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T17:22:56.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo [2022-01-19T17:22:56.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo [2022-01-19T17:22:56.245Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo [2022-01-19T17:22:56.283Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo [2022-01-19T17:22:56.323Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4b7277 [Pipeline] echo [2022-01-19T17:22:56.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T17:22:56.465Z] provisioning config files... [2022-01-19T17:22:56.479Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/config5252080621636136681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:22:56.840Z] ---> docker-login.sh [2022-01-19T17:22:56.840Z] nexus3.edgexfoundry.org:10001 [2022-01-19T17:22:56.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:22:57.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:22:57.103Z] Configure a credential helper to remove this warning. See [2022-01-19T17:22:57.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:22:57.103Z] [2022-01-19T17:22:57.103Z] Login Succeeded [2022-01-19T17:22:57.103Z] nexus3.edgexfoundry.org:10002 [2022-01-19T17:22:57.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:22:57.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:22:57.103Z] Configure a credential helper to remove this warning. See [2022-01-19T17:22:57.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:22:57.103Z] [2022-01-19T17:22:57.103Z] Login Succeeded [2022-01-19T17:22:57.103Z] nexus3.edgexfoundry.org:10003 [2022-01-19T17:22:57.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:22:57.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:22:57.370Z] Configure a credential helper to remove this warning. See [2022-01-19T17:22:57.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:22:57.370Z] [2022-01-19T17:22:57.370Z] Login Succeeded [2022-01-19T17:22:57.370Z] nexus3.edgexfoundry.org:10004 [2022-01-19T17:22:57.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:22:57.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:22:57.370Z] Configure a credential helper to remove this warning. See [2022-01-19T17:22:57.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:22:57.370Z] [2022-01-19T17:22:57.370Z] Login Succeeded [2022-01-19T17:22:57.370Z] docker.io [2022-01-19T17:22:57.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:22:57.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:22:57.631Z] Configure a credential helper to remove this warning. See [2022-01-19T17:22:57.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:22:57.631Z] [2022-01-19T17:22:57.631Z] Login Succeeded [2022-01-19T17:22:57.631Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T17:22:57.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T17:22:58.284Z] + git rev-list -1 --merges b4b7277e3ee2b78609c4c6715577bc70959439fb~1..b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo [2022-01-19T17:22:58.337Z] -----------> git rev-list -1 --merges b4b7277e3ee2b78609c4c6715577bc70959439fb~1..b4b7277e3ee2b78609c4c6715577bc70959439fb b4b7277e3ee2b78609c4c6715577bc70959439fb [false] [Pipeline] sh [2022-01-19T17:22:58.657Z] + git log --format=format:%s -1 b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo [2022-01-19T17:22:58.693Z] ========================================================= [2022-01-19T17:22:58.693Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T17:22:58.693Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T17:22:59.129Z] + git log --format=format:%s -1 b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo [2022-01-19T17:22:59.163Z] [semverPrep] GIT_COMMIT: b4b7277e3ee2b78609c4c6715577bc70959439fb, Commit Message: ci: Go 1.17 Dockerfile changes [Pipeline] echo [2022-01-19T17:22:59.195Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T17:22:59.657Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T17:22:59.657Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T17:22:59.657Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T17:22:59.657Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T17:22:59.657Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T17:22:59.657Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T17:22:59.657Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:23:00.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T17:23:00.122Z] [2022-01-19T17:23:00.122Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:23:00.486Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T17:23:00.486Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T17:23:00.486Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T17:23:00.486Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T17:23:00.486Z] 4c7163046ea9: Pulling fs layer [2022-01-19T17:23:00.486Z] 0c2d73faf560: Pulling fs layer [2022-01-19T17:23:00.486Z] 0c2d73faf560: Waiting [2022-01-19T17:23:00.486Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T17:23:00.486Z] 3e5f54012d9b: Download complete [2022-01-19T17:23:00.486Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T17:23:00.486Z] a0d0a0d46f8b: Download complete [2022-01-19T17:23:00.486Z] 4c7163046ea9: Verifying Checksum [2022-01-19T17:23:00.486Z] 4c7163046ea9: Download complete [2022-01-19T17:23:00.486Z] 0c2d73faf560: Verifying Checksum [2022-01-19T17:23:00.486Z] 0c2d73faf560: Download complete [2022-01-19T17:23:00.756Z] a0d0a0d46f8b: Pull complete [2022-01-19T17:23:00.756Z] 3e5f54012d9b: Pull complete [2022-01-19T17:23:01.029Z] 4c7163046ea9: Pull complete [2022-01-19T17:23:01.298Z] 0c2d73faf560: Pull complete [2022-01-19T17:23:01.298Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T17:23:01.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T17:23:01.298Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T17:23:01.405Z] prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container [2022-01-19T17:23:01.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T17:23:02.166Z] $ docker top d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T17:23:02.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T17:23:02.359Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T17:23:02.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T17:23:02.480Z] $ docker exec d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent [2022-01-19T17:23:02.587Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDaIodk/agent.13 [2022-01-19T17:23:02.587Z] SSH_AGENT_PID=20 [2022-01-19T17:23:02.597Z] Running ssh-add (command line suppressed) [2022-01-19T17:23:02.698Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_1132164405921726973.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_1132164405921726973.key) [2022-01-19T17:23:02.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T17:23:03.057Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T17:23:03.083Z] $ docker exec --env ******** --env ******** d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent -k [2022-01-19T17:23:03.173Z] unset SSH_AUTH_SOCK; [2022-01-19T17:23:03.173Z] unset SSH_AGENT_PID; [2022-01-19T17:23:03.173Z] echo Agent pid 20 killed; [2022-01-19T17:23:03.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T17:23:03.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T17:23:03.262Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T17:23:03.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T17:23:03.368Z] $ docker exec d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent [2022-01-19T17:23:03.471Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBcDNdB/agent.53 [2022-01-19T17:23:03.471Z] SSH_AGENT_PID=59 [2022-01-19T17:23:03.476Z] Running ssh-add (command line suppressed) [2022-01-19T17:23:03.572Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_8403676028878198627.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_8403676028878198627.key) [2022-01-19T17:23:03.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T17:23:03.921Z] + git semver init [2022-01-19T17:23:03.921Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T17:23:03.921Z] # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-61/.git [2022-01-19T17:23:03.921Z] # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-61 [2022-01-19T17:23:03.921Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T17:23:03.921Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T17:23:03.921Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T17:23:03.921Z] # $SEMVER_BRANCH = PR-61 [2022-01-19T17:23:03.921Z] # $SEMVER_TEMP = /tmp/semver-912363083 [2022-01-19T17:23:03.921Z] # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP [2022-01-19T17:23:05.308Z] # '/tmp/semver-912363083' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-61/.semver' [2022-01-19T17:23:05.308Z] # -> Force: false [2022-01-19T17:23:05.308Z] # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-61/.semver [Pipeline] } [2022-01-19T17:23:05.332Z] $ docker exec --env ******** --env ******** d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent -k [2022-01-19T17:23:05.423Z] unset SSH_AUTH_SOCK; [2022-01-19T17:23:05.423Z] unset SSH_AGENT_PID; [2022-01-19T17:23:05.423Z] echo Agent pid 59 killed; [2022-01-19T17:23:05.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T17:23:05.862Z] + git semver [Pipeline] } [2022-01-19T17:23:05.897Z] $ docker stop --time=1 d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d [2022-01-19T17:23:07.137Z] $ docker rm -f d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T17:23:07.565Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T17:23:07.852Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T17:23:07.871Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T17:23:08.462Z] provisioning config files... [2022-01-19T17:23:08.475Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/config50758171488877979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:23:08.838Z] ---> docker-login.sh [2022-01-19T17:23:08.838Z] nexus3.edgexfoundry.org:10001 [2022-01-19T17:23:08.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:23:08.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:23:08.838Z] Configure a credential helper to remove this warning. See [2022-01-19T17:23:08.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:23:08.838Z] [2022-01-19T17:23:08.838Z] Login Succeeded [2022-01-19T17:23:08.838Z] nexus3.edgexfoundry.org:10002 [2022-01-19T17:23:08.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:23:08.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:23:08.838Z] Configure a credential helper to remove this warning. See [2022-01-19T17:23:08.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:23:08.838Z] [2022-01-19T17:23:08.838Z] Login Succeeded [2022-01-19T17:23:08.838Z] nexus3.edgexfoundry.org:10003 [2022-01-19T17:23:09.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:23:09.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:23:09.106Z] Configure a credential helper to remove this warning. See [2022-01-19T17:23:09.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:23:09.106Z] [2022-01-19T17:23:09.106Z] Login Succeeded [2022-01-19T17:23:09.106Z] nexus3.edgexfoundry.org:10004 [2022-01-19T17:23:09.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:23:09.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:23:09.106Z] Configure a credential helper to remove this warning. See [2022-01-19T17:23:09.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:23:09.106Z] [2022-01-19T17:23:09.106Z] Login Succeeded [2022-01-19T17:23:09.106Z] docker.io [2022-01-19T17:23:09.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:23:09.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:23:09.625Z] Configure a credential helper to remove this warning. See [2022-01-19T17:23:09.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:23:09.625Z] [2022-01-19T17:23:09.625Z] Login Succeeded [2022-01-19T17:23:09.625Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T17:23:09.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T17:23:09.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T17:23:09.880Z] ========================================================= [2022-01-19T17:23:09.880Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T17:23:09.880Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:23:10.287Z] + 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-19T17:23:10.287Z] Sending build context to Docker daemon 9.88MB [2022-01-19T17:23:10.287Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T17:23:10.287Z] Step 2/13 : FROM ${BASE} AS builder [2022-01-19T17:23:10.287Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T17:23:10.287Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T17:23:10.287Z] 666ba61612fd: Pulling fs layer [2022-01-19T17:23:10.287Z] 8ed8ca486205: Pulling fs layer [2022-01-19T17:23:10.287Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T17:23:10.287Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T17:23:10.287Z] f965cba54748: Pulling fs layer [2022-01-19T17:23:10.287Z] 861ffc35075e: Pulling fs layer [2022-01-19T17:23:10.288Z] 4b385c91608e: Pulling fs layer [2022-01-19T17:23:10.288Z] 560528eb2ebb: Pulling fs layer [2022-01-19T17:23:10.288Z] 4fe6c5a15a65: Waiting [2022-01-19T17:23:10.288Z] 22a0e8bec74d: Waiting [2022-01-19T17:23:10.288Z] f965cba54748: Waiting [2022-01-19T17:23:10.288Z] 861ffc35075e: Waiting [2022-01-19T17:23:10.288Z] 4b385c91608e: Waiting [2022-01-19T17:23:10.288Z] 560528eb2ebb: Waiting [2022-01-19T17:23:10.288Z] 8ed8ca486205: Verifying Checksum [2022-01-19T17:23:10.288Z] 8ed8ca486205: Download complete [2022-01-19T17:23:10.288Z] 666ba61612fd: Verifying Checksum [2022-01-19T17:23:10.288Z] 666ba61612fd: Download complete [2022-01-19T17:23:10.288Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T17:23:10.288Z] 22a0e8bec74d: Download complete [2022-01-19T17:23:10.572Z] f965cba54748: Verifying Checksum [2022-01-19T17:23:10.572Z] f965cba54748: Download complete [2022-01-19T17:23:10.572Z] 861ffc35075e: Verifying Checksum [2022-01-19T17:23:10.572Z] 861ffc35075e: Download complete [2022-01-19T17:23:10.572Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T17:23:10.572Z] 59bf1c3509f3: Download complete [2022-01-19T17:23:10.572Z] 4b385c91608e: Verifying Checksum [2022-01-19T17:23:10.572Z] 4b385c91608e: Download complete [2022-01-19T17:23:10.843Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T17:23:10.843Z] 4fe6c5a15a65: Download complete [2022-01-19T17:23:11.106Z] 560528eb2ebb: Verifying Checksum [2022-01-19T17:23:11.106Z] 560528eb2ebb: Download complete [2022-01-19T17:23:11.106Z] 59bf1c3509f3: Pull complete [2022-01-19T17:23:11.106Z] 666ba61612fd: Pull complete [2022-01-19T17:23:11.106Z] 8ed8ca486205: Pull complete [2022-01-19T17:23:15.370Z] 4fe6c5a15a65: Pull complete [2022-01-19T17:23:15.370Z] 22a0e8bec74d: Pull complete [2022-01-19T17:23:15.370Z] f965cba54748: Pull complete [2022-01-19T17:23:15.370Z] 861ffc35075e: Pull complete [2022-01-19T17:23:15.370Z] 4b385c91608e: Pull complete [2022-01-19T17:23:17.301Z] 560528eb2ebb: Pull complete [2022-01-19T17:23:17.301Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T17:23:17.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T17:23:17.301Z] ---> dd4a08f94e63 [2022-01-19T17:23:17.301Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-19T17:23:19.212Z] ---> Running in f91c7ea97c9e [2022-01-19T17:23:19.472Z] Removing intermediate container f91c7ea97c9e [2022-01-19T17:23:19.472Z] ---> 00f511ac79f0 [2022-01-19T17:23:19.472Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T17:23:19.472Z] ---> Running in 35fbd49ac74a [2022-01-19T17:23:19.472Z] Removing intermediate container 35fbd49ac74a [2022-01-19T17:23:19.472Z] ---> a880416ccec7 [2022-01-19T17:23:19.472Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T17:23:19.472Z] ---> Running in 173073a8f26a [2022-01-19T17:23:19.472Z] Removing intermediate container 173073a8f26a [2022-01-19T17:23:19.472Z] ---> fa56ecb59f66 [2022-01-19T17:23:19.472Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T17:23:19.735Z] ---> Running in 96f4a7b0f7ff [2022-01-19T17:23:20.001Z] Removing intermediate container 96f4a7b0f7ff [2022-01-19T17:23:20.001Z] ---> 1560c0236dce [2022-01-19T17:23:20.001Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T17:23:20.001Z] ---> Running in 2d7f7aca8ab4 [2022-01-19T17:23:20.263Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T17:23:21.206Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T17:23:21.465Z] OK: 221 MiB in 52 packages [2022-01-19T17:23:21.729Z] Removing intermediate container 2d7f7aca8ab4 [2022-01-19T17:23:21.729Z] ---> 5f5a036eaaf8 [2022-01-19T17:23:21.729Z] Step 8/13 : WORKDIR /app [2022-01-19T17:23:21.729Z] ---> Running in ecd671962aa2 [2022-01-19T17:23:21.994Z] Removing intermediate container ecd671962aa2 [2022-01-19T17:23:21.994Z] ---> c0c4e3b097c0 [2022-01-19T17:23:21.994Z] Step 9/13 : COPY go.mod vendor* ./ [2022-01-19T17:23:21.994Z] ---> 6a23d0627cce [2022-01-19T17:23:21.994Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T17:23:21.994Z] ---> Running in 76264ee249fb [2022-01-19T17:23:23.294Z] Still waiting to schedule task [2022-01-19T17:23:23.294Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-19T17:24:00.785Z] Removing intermediate container 76264ee249fb [2022-01-19T17:24:00.785Z] ---> 35bc3f1e90a8 [2022-01-19T17:24:00.785Z] Step 11/13 : COPY . . [2022-01-19T17:24:00.785Z] ---> a7dfb1dded3b [2022-01-19T17:24:00.785Z] Step 12/13 : ARG MAKE="make build" [2022-01-19T17:24:00.785Z] ---> Running in a05dce74d7cc [2022-01-19T17:24:00.785Z] Removing intermediate container a05dce74d7cc [2022-01-19T17:24:00.785Z] ---> 919275f10129 [2022-01-19T17:24:00.785Z] Step 13/13 : RUN $MAKE [2022-01-19T17:24:00.785Z] ---> Running in b9ed9deddf98 [2022-01-19T17:24:00.785Z] noop [2022-01-19T17:24:00.785Z] Removing intermediate container b9ed9deddf98 [2022-01-19T17:24:00.785Z] ---> 494a5453a9b7 [2022-01-19T17:24:00.785Z] Successfully built 494a5453a9b7 [2022-01-19T17:24:00.785Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:24:01.128Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T17:24:01.128Z] . [Pipeline] withDockerContainer [2022-01-19T17:24:01.238Z] prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container [2022-01-19T17:24:01.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T17:24:01.599Z] $ docker top b8fe6f5fca6072760f10e01110b4195dee74789d42a67f3899391f60fd533537 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T17:24:02.005Z] + go version [2022-01-19T17:24:02.005Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T17:24:02.041Z] $ docker stop --time=1 b8fe6f5fca6072760f10e01110b4195dee74789d42a67f3899391f60fd533537 [2022-01-19T17:24:03.229Z] $ docker rm -f b8fe6f5fca6072760f10e01110b4195dee74789d42a67f3899391f60fd533537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:24:03.900Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T17:24:03.900Z] . [Pipeline] withDockerContainer [2022-01-19T17:24:03.993Z] prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container [2022-01-19T17:24:04.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T17:24:04.362Z] $ docker top 6759c0368663f56c6be4a77c61b8f03f9c89f022ee11111973b5e9ff049e0fd1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T17:24:04.832Z] + make test [2022-01-19T17:24:04.833Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T17:24:19.844Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-01-19T17:24:20.415Z] Time delta: 40 [2022-01-19T17:24:20.415Z] --- FAIL: TestUnixMilli (0.04s) [2022-01-19T17:24:20.415Z] epoch_helper_test.go:37: Time calculation bad [2022-01-19T17:24:20.415Z] FAIL [2022-01-19T17:24:20.415Z] coverage: 86.5% of statements [2022-01-19T17:24:20.415Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.094s [2022-01-19T17:24:20.415Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-01-19T17:24:23.711Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.532s coverage: 71.9% of statements [2022-01-19T17:24:23.711Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2022-01-19T17:24:23.711Z] FAIL [2022-01-19T17:24:23.711Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-01-19T17:24:23.751Z] $ docker stop --time=1 6759c0368663f56c6be4a77c61b8f03f9c89f022ee11111973b5e9ff049e0fd1 [2022-01-19T17:24:25.302Z] $ docker rm -f 6759c0368663f56c6be4a77c61b8f03f9c89f022ee11111973b5e9ff049e0fd1 [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-19T17:24:26.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T17:24:26.427Z] [2022-01-19T17:24:26.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:24:26.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T17:24:26.763Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T17:24:26.763Z] b4d181a07f80: Pulling fs layer [2022-01-19T17:24:26.763Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T17:24:26.763Z] ed53099fbce6: Pulling fs layer [2022-01-19T17:24:26.763Z] dc539afda2c1: Pulling fs layer [2022-01-19T17:24:26.763Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T17:24:26.763Z] 9065ff56babe: Pulling fs layer [2022-01-19T17:24:26.763Z] d287ab97295c: Pulling fs layer [2022-01-19T17:24:26.763Z] dc539afda2c1: Waiting [2022-01-19T17:24:26.763Z] 77bc0d833cb6: Waiting [2022-01-19T17:24:26.763Z] 9065ff56babe: Waiting [2022-01-19T17:24:26.763Z] d287ab97295c: Waiting [2022-01-19T17:24:26.763Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T17:24:26.763Z] a1111a8f2ec3: Download complete [2022-01-19T17:24:26.763Z] dc539afda2c1: Verifying Checksum [2022-01-19T17:24:26.763Z] dc539afda2c1: Download complete [2022-01-19T17:24:27.032Z] ed53099fbce6: Verifying Checksum [2022-01-19T17:24:27.032Z] ed53099fbce6: Download complete [2022-01-19T17:24:27.032Z] 9065ff56babe: Verifying Checksum [2022-01-19T17:24:27.032Z] 9065ff56babe: Download complete [2022-01-19T17:24:27.032Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T17:24:27.032Z] 77bc0d833cb6: Download complete [2022-01-19T17:24:27.032Z] b4d181a07f80: Download complete [2022-01-19T17:24:27.612Z] d287ab97295c: Verifying Checksum [2022-01-19T17:24:27.612Z] d287ab97295c: Download complete [2022-01-19T17:24:28.564Z] b4d181a07f80: Pull complete [2022-01-19T17:24:28.564Z] a1111a8f2ec3: Pull complete [2022-01-19T17:24:29.132Z] ed53099fbce6: Pull complete [2022-01-19T17:24:29.393Z] dc539afda2c1: Pull complete [2022-01-19T17:24:29.393Z] 77bc0d833cb6: Pull complete [2022-01-19T17:24:29.652Z] 9065ff56babe: Pull complete [2022-01-19T17:24:35.019Z] d287ab97295c: Pull complete [2022-01-19T17:24:35.019Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T17:24:35.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T17:24:35.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T17:24:35.106Z] prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container [2022-01-19T17:24:35.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T17:24:37.390Z] $ docker top ff3c1eed78948b320f7782a359ac529df8244ef10ac4f771ec5a6db3c19ffe73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:24:37.879Z] ---> job-cost.sh [2022-01-19T17:24:37.879Z] lf-activate-venv: SKIPPING [2022-01-19T17:24:37.879Z] INFO: No Stack... [2022-01-19T17:24:38.139Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T17:24:38.400Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T17:24:38.724Z] + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives/cost.csv [2022-01-19T17:24:38.724Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T17:24:38.764Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [2022-01-19T17:24:38.768Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] did not exist. Created. [2022-01-19T17:24:38.769Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T17:24:39.164Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T17:24:39.224Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T17:24:39.245Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T17:24:39.321Z] $ docker stop --time=1 ff3c1eed78948b320f7782a359ac529df8244ef10ac4f771ec5a6db3c19ffe73 [2022-01-19T17:24:40.468Z] $ docker rm -f ff3c1eed78948b320f7782a359ac529df8244ef10ac4f771ec5a6db3c19ffe73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T17:24:40.804Z] Failed in branch amd64 [2022-01-19T17:24:46.510Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1826 in /w/workspace/ry_app-rfid-llrp-inventory_PR-61 [Pipeline] { [Pipeline] ws [2022-01-19T17:24:46.560Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2022-01-19T17:24:46.756Z] The recommended git tool is: git [2022-01-19T17:24:51.038Z] using credential edgex-jenkins-ssh [2022-01-19T17:24:51.058Z] Cloning the remote Git repository [2022-01-19T17:24:51.104Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-01-19T17:24:51.170Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2022-01-19T17:24:51.258Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-01-19T17:24:51.259Z] > git --version # timeout=10 [2022-01-19T17:24:51.277Z] > git --version # 'git version 2.17.1' [2022-01-19T17:24:51.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T17:24:51.336Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T17:24:53.729Z] Merging remotes/origin/main commit 73352f13c22898f0de2d6cc31dffe6c8878b64bc into PR head commit b4b7277e3ee2b78609c4c6715577bc70959439fb [2022-01-19T17:24:53.936Z] Merge succeeded, producing b4b7277e3ee2b78609c4c6715577bc70959439fb [2022-01-19T17:24:53.936Z] Checking out Revision b4b7277e3ee2b78609c4c6715577bc70959439fb (PR-61) [2022-01-19T17:24:53.060Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-01-19T17:24:53.076Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T17:24:53.103Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-01-19T17:24:53.132Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-01-19T17:24:53.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T17:24:53.146Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-19T17:24:53.739Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T17:24:53.754Z] > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # timeout=10 [2022-01-19T17:24:53.848Z] > git remote # timeout=10 [2022-01-19T17:24:53.864Z] > git config --get remote.origin.url # timeout=10 [2022-01-19T17:24:53.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T17:24:53.894Z] > git merge 73352f13c22898f0de2d6cc31dffe6c8878b64bc # timeout=10 [2022-01-19T17:24:53.915Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-19T17:24:53.936Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T17:24:53.945Z] > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # timeout=10 [2022-01-19T17:24:58.015Z] Commit message: "ci: Go 1.17 Dockerfile changes" [2022-01-19T17:24:58.061Z] > git --version # timeout=10 [2022-01-19T17:24:58.071Z] > git --version # 'git version 2.17.1' [2022-01-19T17:24:58.081Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T17:24:59.190Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T17:24:59.190Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T17:24:59.190Z] Dload Upload Total Spent Left Speed [2022-01-19T17:24:59.191Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 72656 0 --:--:-- --:--:-- --:--:-- 72656 [Pipeline] sh [2022-01-19T17:24:59.700Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T17:25:00.059Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T17:25:00.059Z] + sudo tee /etc/docker/daemon.new [2022-01-19T17:25:00.059Z] { [2022-01-19T17:25:00.059Z] "registry-mirrors": [ [2022-01-19T17:25:00.059Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T17:25:00.059Z] ], [2022-01-19T17:25:00.059Z] "bip": "10.250.0.254/24", [2022-01-19T17:25:00.059Z] "hosts": [ [2022-01-19T17:25:00.059Z] "tcp://0.0.0.0:5555", [2022-01-19T17:25:00.059Z] "unix:///var/run/docker.sock" [2022-01-19T17:25:00.059Z] ], [2022-01-19T17:25:00.059Z] "mtu": 1458, [2022-01-19T17:25:00.059Z] "selinux-enabled": true, [2022-01-19T17:25:00.059Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T17:25:00.059Z] } [Pipeline] sh [2022-01-19T17:25:00.474Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T17:25:00.838Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T17:25:19.206Z] provisioning config files... [2022-01-19T17:25:19.230Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config6200728807664099136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:25:19.618Z] ---> docker-login.sh [2022-01-19T17:25:19.618Z] nexus3.edgexfoundry.org:10001 [2022-01-19T17:25:20.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:25:20.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:25:20.490Z] Configure a credential helper to remove this warning. See [2022-01-19T17:25:20.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:25:20.490Z] [2022-01-19T17:25:20.490Z] Login Succeeded [2022-01-19T17:25:20.490Z] nexus3.edgexfoundry.org:10002 [2022-01-19T17:25:20.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:25:20.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:25:20.765Z] Configure a credential helper to remove this warning. See [2022-01-19T17:25:20.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:25:20.765Z] [2022-01-19T17:25:20.765Z] Login Succeeded [2022-01-19T17:25:20.765Z] nexus3.edgexfoundry.org:10003 [2022-01-19T17:25:21.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:25:21.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:25:21.377Z] Configure a credential helper to remove this warning. See [2022-01-19T17:25:21.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:25:21.377Z] [2022-01-19T17:25:21.377Z] Login Succeeded [2022-01-19T17:25:21.377Z] nexus3.edgexfoundry.org:10004 [2022-01-19T17:25:21.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:25:21.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:25:21.658Z] Configure a credential helper to remove this warning. See [2022-01-19T17:25:21.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:25:21.658Z] [2022-01-19T17:25:21.658Z] Login Succeeded [2022-01-19T17:25:21.658Z] docker.io [2022-01-19T17:25:22.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T17:25:22.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T17:25:22.530Z] Configure a credential helper to remove this warning. See [2022-01-19T17:25:22.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T17:25:22.530Z] [2022-01-19T17:25:22.530Z] Login Succeeded [2022-01-19T17:25:22.530Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T17:25:22.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T17:25:23.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T17:25:23.230Z] ========================================================= [2022-01-19T17:25:23.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T17:25:23.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:25:23.699Z] + 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-19T17:25:23.971Z] Sending build context to Docker daemon 680.4kB [2022-01-19T17:25:23.971Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T17:25:23.971Z] Step 2/13 : FROM ${BASE} AS builder [2022-01-19T17:25:24.246Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T17:25:24.246Z] 9b3977197b4f: Pulling fs layer [2022-01-19T17:25:24.246Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T17:25:24.246Z] 94645a83ff95: Pulling fs layer [2022-01-19T17:25:24.246Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T17:25:24.246Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T17:25:24.246Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T17:25:24.246Z] 9a6b49a46696: Pulling fs layer [2022-01-19T17:25:24.246Z] cf05db05a679: Pulling fs layer [2022-01-19T17:25:24.246Z] 3f3a8bcf1eab: Waiting [2022-01-19T17:25:24.246Z] 4b8299f9d1f4: Waiting [2022-01-19T17:25:24.246Z] 0c92f367c5e7: Waiting [2022-01-19T17:25:24.246Z] 9a6b49a46696: Waiting [2022-01-19T17:25:24.246Z] cf05db05a679: Waiting [2022-01-19T17:25:24.246Z] 94645a83ff95: Verifying Checksum [2022-01-19T17:25:24.246Z] 94645a83ff95: Download complete [2022-01-19T17:25:24.246Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T17:25:24.246Z] 1a89e8eeedd5: Download complete [2022-01-19T17:25:24.246Z] 0c92f367c5e7: Verifying Checksum [2022-01-19T17:25:24.246Z] 0c92f367c5e7: Download complete [2022-01-19T17:25:24.246Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T17:25:24.246Z] 4b8299f9d1f4: Download complete [2022-01-19T17:25:24.246Z] 9b3977197b4f: Download complete [2022-01-19T17:25:24.246Z] 9a6b49a46696: Download complete [2022-01-19T17:25:24.846Z] 9b3977197b4f: Pull complete [2022-01-19T17:25:25.462Z] 1a89e8eeedd5: Pull complete [2022-01-19T17:25:25.739Z] 94645a83ff95: Pull complete [2022-01-19T17:25:26.014Z] cf05db05a679: Verifying Checksum [2022-01-19T17:25:26.014Z] cf05db05a679: Download complete [2022-01-19T17:25:26.611Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T17:25:26.611Z] 3f3a8bcf1eab: Download complete [2022-01-19T17:25:39.007Z] 3f3a8bcf1eab: Pull complete [2022-01-19T17:25:39.007Z] 0c92f367c5e7: Pull complete [2022-01-19T17:25:39.008Z] 4b8299f9d1f4: Pull complete [2022-01-19T17:25:39.008Z] 9a6b49a46696: Pull complete [2022-01-19T17:25:44.407Z] cf05db05a679: Pull complete [2022-01-19T17:25:44.407Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T17:25:44.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T17:25:44.407Z] ---> 0ccda1f7e2ee [2022-01-19T17:25:44.407Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-19T17:25:46.392Z] ---> Running in 47bb477661f9 [2022-01-19T17:25:46.392Z] Removing intermediate container 47bb477661f9 [2022-01-19T17:25:46.392Z] ---> 96b75bab9627 [2022-01-19T17:25:46.392Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T17:25:46.666Z] ---> Running in de7842dc9c77 [2022-01-19T17:25:46.938Z] Removing intermediate container de7842dc9c77 [2022-01-19T17:25:46.938Z] ---> 5191284054d7 [2022-01-19T17:25:46.938Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T17:25:46.938Z] ---> Running in 2def2ca7e529 [2022-01-19T17:25:47.529Z] Removing intermediate container 2def2ca7e529 [2022-01-19T17:25:47.529Z] ---> d538b65c2822 [2022-01-19T17:25:47.529Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T17:25:47.529Z] ---> Running in 8312360de361 [2022-01-19T17:25:49.504Z] Removing intermediate container 8312360de361 [2022-01-19T17:25:49.504Z] ---> 257e40932ad8 [2022-01-19T17:25:49.504Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T17:25:49.504Z] ---> Running in deb0f9c03b98 [2022-01-19T17:25:50.098Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T17:25:51.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T17:25:51.676Z] OK: 220 MiB in 52 packages [2022-01-19T17:25:52.655Z] Removing intermediate container deb0f9c03b98 [2022-01-19T17:25:52.655Z] ---> 7b06b92df669 [2022-01-19T17:25:52.655Z] Step 8/13 : WORKDIR /app [2022-01-19T17:25:52.655Z] ---> Running in 3e8ff228da37 [2022-01-19T17:25:52.928Z] Removing intermediate container 3e8ff228da37 [2022-01-19T17:25:52.928Z] ---> eee156853651 [2022-01-19T17:25:52.928Z] Step 9/13 : COPY go.mod vendor* ./ [2022-01-19T17:25:53.542Z] ---> d895f8119ea1 [2022-01-19T17:25:53.542Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T17:25:53.542Z] ---> Running in 549ebbca11a1 [2022-01-19T17:27:15.303Z] Removing intermediate container 549ebbca11a1 [2022-01-19T17:27:15.303Z] ---> 4c92e7ba76a5 [2022-01-19T17:27:15.303Z] Step 11/13 : COPY . . [2022-01-19T17:27:15.303Z] ---> 78938f5e9eba [2022-01-19T17:27:15.303Z] Step 12/13 : ARG MAKE="make build" [2022-01-19T17:27:15.303Z] ---> Running in bb2179a5c887 [2022-01-19T17:27:15.303Z] Removing intermediate container bb2179a5c887 [2022-01-19T17:27:15.303Z] ---> 62bf68997c20 [2022-01-19T17:27:15.304Z] Step 13/13 : RUN $MAKE [2022-01-19T17:27:15.304Z] ---> Running in 805dde959950 [2022-01-19T17:27:15.304Z] noop [2022-01-19T17:27:15.304Z] Removing intermediate container 805dde959950 [2022-01-19T17:27:15.304Z] ---> b6de6e6a8deb [2022-01-19T17:27:15.304Z] Successfully built b6de6e6a8deb [2022-01-19T17:27:15.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:27:15.674Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T17:27:15.675Z] . [Pipeline] withDockerContainer [2022-01-19T17:27:15.928Z] prd-ubuntu18.04-docker-arm64-4c-16g-1826 does not seem to be running inside a container [2022-01-19T17:27:16.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T17:27:17.310Z] $ docker top 77181e96b9951c2d7645abf3afdf4a3bda2e75225fa5a3294774791230ac8735 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T17:27:18.258Z] + go version [2022-01-19T17:27:18.258Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T17:27:18.294Z] $ docker stop --time=1 77181e96b9951c2d7645abf3afdf4a3bda2e75225fa5a3294774791230ac8735 [2022-01-19T17:27:19.953Z] $ docker rm -f 77181e96b9951c2d7645abf3afdf4a3bda2e75225fa5a3294774791230ac8735 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:27:20.800Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T17:27:20.800Z] . [Pipeline] withDockerContainer [2022-01-19T17:27:21.035Z] prd-ubuntu18.04-docker-arm64-4c-16g-1826 does not seem to be running inside a container [2022-01-19T17:27:21.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T17:27:22.441Z] $ docker top 4e854ee9a247f0a0c9c220a4130f783b94c34a7171d4d1d6777f58fe6637a82a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T17:27:23.443Z] + make test [2022-01-19T17:27:23.443Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T17:28:20.006Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-01-19T17:28:20.006Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.169s coverage: 86.5% of statements [2022-01-19T17:28:20.006Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-01-19T17:28:20.006Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.676s coverage: 71.9% of statements [2022-01-19T17:28:20.006Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2022-01-19T17:28:20.006Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T17:28:38.303Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T17:28:38.575Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T17:28:38.848Z] ./bin/test-attribution.sh [Pipeline] echo [2022-01-19T17:28:41.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T17:28:41.539Z] $ docker stop --time=1 4e854ee9a247f0a0c9c220a4130f783b94c34a7171d4d1d6777f58fe6637a82a [2022-01-19T17:28:43.264Z] $ docker rm -f 4e854ee9a247f0a0c9c220a4130f783b94c34a7171d4d1d6777f58fe6637a82a [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T17:28:44.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T17:28:44.618Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T17:28:45.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T17:28:46.263Z] + ls -al . [2022-01-19T17:28:46.263Z] total 232 [2022-01-19T17:28:46.263Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 17:28 . [2022-01-19T17:28:46.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 17:24 .. [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 262 Jan 19 17:24 .dockerignore [2022-01-19T17:28:46.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 17:24 .git [2022-01-19T17:28:46.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 .github [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 788 Jan 19 17:24 .gitignore [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 8248 Jan 19 17:24 Attribution.txt [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 1923 Jan 19 17:24 Dockerfile [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 17:24 GOVERNANCE.md [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 686 Jan 19 17:24 Jenkinsfile [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jan 19 17:24 LICENSE [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 1596 Jan 19 17:24 Makefile [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 19 17:24 OWNERS.md [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 31205 Jan 19 17:24 README.md [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 17:23 VERSION [2022-01-19T17:28:46.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 bin [2022-01-19T17:28:46.263Z] -rw-r--r-- 1 jenkins jenkins 41356 Jan 19 17:28 coverage.out [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 276 Jan 19 17:24 go.mod [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 49531 Jan 19 17:24 go.sum [2022-01-19T17:28:46.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 images [2022-01-19T17:28:46.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 17:24 internal [2022-01-19T17:28:46.263Z] -rw-rw-r-- 1 jenkins jenkins 531 Jan 19 17:24 main.go [2022-01-19T17:28:46.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 res [2022-01-19T17:28:46.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 17:24 snap [2022-01-19T17:28:46.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 17:24 static [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:28:46.648Z] + 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=b4b7277e3ee2b78609c4c6715577bc70959439fb --label arch=arm64 --label version=0.0.0 . [2022-01-19T17:28:46.934Z] Sending build context to Docker daemon 680.4kB [2022-01-19T17:28:46.934Z] Step 1/31 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T17:28:46.934Z] Step 2/31 : FROM ${BASE} AS builder [2022-01-19T17:28:46.934Z] ---> b6de6e6a8deb [2022-01-19T17:28:46.934Z] Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-19T17:28:47.210Z] ---> Running in 031dabe63e1d [2022-01-19T17:28:47.500Z] Removing intermediate container 031dabe63e1d [2022-01-19T17:28:47.500Z] ---> 78f76c4cd9ab [2022-01-19T17:28:47.500Z] Step 4/31 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T17:28:47.500Z] ---> Running in 1826d6573b8b [2022-01-19T17:28:48.119Z] Removing intermediate container 1826d6573b8b [2022-01-19T17:28:48.119Z] ---> 3a84616f462f [2022-01-19T17:28:48.119Z] Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T17:28:48.119Z] ---> Running in 712bab9c1229 [2022-01-19T17:28:48.392Z] Removing intermediate container 712bab9c1229 [2022-01-19T17:28:48.392Z] ---> c87bb31ed133 [2022-01-19T17:28:48.392Z] Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T17:28:48.392Z] ---> Running in fcbe3008abb9 [2022-01-19T17:28:50.369Z] Removing intermediate container fcbe3008abb9 [2022-01-19T17:28:50.369Z] ---> dc746eac8e17 [2022-01-19T17:28:50.369Z] Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T17:28:50.369Z] ---> Running in 418c4251f3ba [2022-01-19T17:28:51.342Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T17:28:51.934Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T17:28:52.908Z] OK: 220 MiB in 52 packages [2022-01-19T17:28:53.508Z] Removing intermediate container 418c4251f3ba [2022-01-19T17:28:53.508Z] ---> fbafefad4a4a [2022-01-19T17:28:53.508Z] Step 8/31 : WORKDIR /app [2022-01-19T17:28:53.777Z] ---> Running in c0bf748c004a [2022-01-19T17:28:54.049Z] Removing intermediate container c0bf748c004a [2022-01-19T17:28:54.049Z] ---> c4beb6318de2 [2022-01-19T17:28:54.049Z] Step 9/31 : COPY go.mod vendor* ./ [2022-01-19T17:28:54.645Z] ---> ef2eb6ab7731 [2022-01-19T17:28:54.645Z] Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T17:28:54.645Z] ---> Running in 93eaa6052d97 [2022-01-19T17:28:56.612Z] Removing intermediate container 93eaa6052d97 [2022-01-19T17:28:56.612Z] ---> 58ba0a4b677c [2022-01-19T17:28:56.612Z] Step 11/31 : COPY . . [2022-01-19T17:28:57.206Z] ---> d61da1a0900b [2022-01-19T17:28:57.206Z] Step 12/31 : ARG MAKE="make build" [2022-01-19T17:28:57.206Z] ---> Running in 502c384fd7ae [2022-01-19T17:28:57.803Z] Removing intermediate container 502c384fd7ae [2022-01-19T17:28:57.803Z] ---> 9d3efd9f6ff2 [2022-01-19T17:28:57.803Z] Step 13/31 : RUN $MAKE [2022-01-19T17:28:57.803Z] ---> Running in 8c98321d558a [2022-01-19T17:28:58.776Z] 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=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -o app-rfid-llrp-inventory [2022-01-19T17:29:45.728Z] Removing intermediate container 8c98321d558a [2022-01-19T17:29:45.728Z] ---> 5d131f384d61 [2022-01-19T17:29:45.728Z] Step 14/31 : FROM alpine:3.14 [2022-01-19T17:29:45.728Z] 3.14: Pulling from library/alpine [2022-01-19T17:29:45.728Z] be307f383ecc: Pulling fs layer [2022-01-19T17:29:45.728Z] be307f383ecc: Verifying Checksum [2022-01-19T17:29:45.728Z] be307f383ecc: Download complete [2022-01-19T17:29:45.728Z] be307f383ecc: Pull complete [2022-01-19T17:29:45.728Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T17:29:45.728Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T17:29:45.728Z] ---> 5b8b7b635229 [2022-01-19T17:29:45.728Z] Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T17:29:45.728Z] ---> Running in d6da84f991db [2022-01-19T17:29:45.728Z] Removing intermediate container d6da84f991db [2022-01-19T17:29:45.728Z] ---> 4f63f7689ea5 [2022-01-19T17:29:45.728Z] Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-01-19T17:29:45.728Z] ---> Running in d7d02fde519f [2022-01-19T17:29:45.728Z] Removing intermediate container d7d02fde519f [2022-01-19T17:29:45.728Z] ---> 10475a61f246 [2022-01-19T17:29:45.728Z] Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T17:29:45.728Z] ---> Running in 2ea0bd6f667d [2022-01-19T17:29:45.728Z] Removing intermediate container 2ea0bd6f667d [2022-01-19T17:29:45.728Z] ---> 01e41a738693 [2022-01-19T17:29:45.728Z] Step 18/31 : RUN apk --no-cache add ca-certificates zeromq [2022-01-19T17:29:45.728Z] ---> Running in 83639a488c5c [2022-01-19T17:29:45.728Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-19T17:29:46.697Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-19T17:29:47.668Z] (1/6) Installing ca-certificates (20191127-r5) [2022-01-19T17:29:47.668Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T17:29:47.668Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T17:29:47.668Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T17:29:47.938Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T17:29:47.938Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T17:29:48.210Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T17:29:48.210Z] Executing ca-certificates-20191127-r5.trigger [2022-01-19T17:29:48.210Z] OK: 9 MiB in 20 packages [2022-01-19T17:29:49.639Z] Removing intermediate container 83639a488c5c [2022-01-19T17:29:49.639Z] ---> 9147efafc003 [2022-01-19T17:29:49.639Z] Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-01-19T17:29:49.919Z] ---> 253f0b80dcfe [2022-01-19T17:29:49.919Z] Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE [2022-01-19T17:29:50.515Z] ---> 26a07c2119e6 [2022-01-19T17:29:50.515Z] Step 21/31 : COPY --from=builder /app/res/ /res/ [2022-01-19T17:29:51.109Z] ---> 9aa117760f42 [2022-01-19T17:29:51.109Z] Step 22/31 : COPY --from=builder /app/static/ /static/ [2022-01-19T17:29:51.699Z] ---> efe5d6ba7026 [2022-01-19T17:29:51.699Z] Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-01-19T17:29:52.676Z] ---> 1ff9cfb2e592 [2022-01-19T17:29:52.676Z] Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-01-19T17:29:52.955Z] ---> Running in d54e956a951d [2022-01-19T17:29:54.392Z] Removing intermediate container d54e956a951d [2022-01-19T17:29:54.392Z] ---> a379ed4337de [2022-01-19T17:29:54.392Z] Step 25/31 : VOLUME /cache [2022-01-19T17:29:54.392Z] ---> Running in 0f9f4a06d768 [2022-01-19T17:29:54.987Z] Removing intermediate container 0f9f4a06d768 [2022-01-19T17:29:54.987Z] ---> 94b882ae2e00 [2022-01-19T17:29:54.987Z] Step 26/31 : EXPOSE 59711 [2022-01-19T17:29:54.987Z] ---> Running in 73dddb1125c0 [2022-01-19T17:29:55.259Z] Removing intermediate container 73dddb1125c0 [2022-01-19T17:29:55.259Z] ---> f7a4de99b241 [2022-01-19T17:29:55.259Z] Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-01-19T17:29:55.259Z] ---> Running in 212e8a1586e1 [2022-01-19T17:29:55.852Z] Removing intermediate container 212e8a1586e1 [2022-01-19T17:29:55.852Z] ---> 39d299ff9f9c [2022-01-19T17:29:55.852Z] Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-01-19T17:29:55.852Z] ---> Running in 6d16b1847b24 [2022-01-19T17:29:56.124Z] Removing intermediate container 6d16b1847b24 [2022-01-19T17:29:56.124Z] ---> 4d1ca7ec83f9 [2022-01-19T17:29:56.124Z] Step 29/31 : LABEL arch=arm64 [2022-01-19T17:29:56.124Z] ---> Running in 78ec8d20767f [2022-01-19T17:29:56.717Z] Removing intermediate container 78ec8d20767f [2022-01-19T17:29:56.717Z] ---> cf82ab02037e [2022-01-19T17:29:56.717Z] Step 30/31 : LABEL git_sha=b4b7277e3ee2b78609c4c6715577bc70959439fb [2022-01-19T17:29:56.717Z] ---> Running in c04662b6fd68 [2022-01-19T17:29:56.995Z] Removing intermediate container c04662b6fd68 [2022-01-19T17:29:56.995Z] ---> be640b9fdead [2022-01-19T17:29:56.995Z] Step 31/31 : LABEL version=0.0.0 [2022-01-19T17:29:56.995Z] ---> Running in d450da0a2493 [2022-01-19T17:29:57.589Z] Removing intermediate container d450da0a2493 [2022-01-19T17:29:57.589Z] ---> 30d694c010b6 [2022-01-19T17:29:57.589Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T17:29:57.589Z] Successfully built 30d694c010b6 [2022-01-19T17:29:57.589Z] Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:29:58.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T17:29:58.265Z] [2022-01-19T17:29:58.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:29:58.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T17:29:58.630Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T17:29:58.630Z] 448f6bf000e3: Pulling fs layer [2022-01-19T17:29:58.630Z] f757da607395: Pulling fs layer [2022-01-19T17:29:58.630Z] 05883995daec: Pulling fs layer [2022-01-19T17:29:58.630Z] 8603b9c90790: Pulling fs layer [2022-01-19T17:29:58.630Z] 1560dd03e051: Pulling fs layer [2022-01-19T17:29:58.630Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T17:29:58.630Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T17:29:58.630Z] 1560dd03e051: Waiting [2022-01-19T17:29:58.630Z] c2d8d7efcc4b: Waiting [2022-01-19T17:29:58.630Z] 8603b9c90790: Waiting [2022-01-19T17:29:58.901Z] f757da607395: Verifying Checksum [2022-01-19T17:29:58.901Z] f757da607395: Download complete [2022-01-19T17:29:58.901Z] 8603b9c90790: Verifying Checksum [2022-01-19T17:29:58.901Z] 8603b9c90790: Download complete [2022-01-19T17:29:58.901Z] 1560dd03e051: Verifying Checksum [2022-01-19T17:29:58.901Z] 1560dd03e051: Download complete [2022-01-19T17:29:58.901Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T17:29:58.901Z] 27f5ce0e4adf: Download complete [2022-01-19T17:29:58.901Z] 05883995daec: Verifying Checksum [2022-01-19T17:29:59.173Z] 448f6bf000e3: Verifying Checksum [2022-01-19T17:29:59.173Z] 448f6bf000e3: Download complete [2022-01-19T17:30:01.786Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T17:30:01.786Z] c2d8d7efcc4b: Download complete [2022-01-19T17:30:03.214Z] 448f6bf000e3: Pull complete [2022-01-19T17:30:03.487Z] f757da607395: Pull complete [2022-01-19T17:30:04.921Z] 05883995daec: Pull complete [2022-01-19T17:30:05.193Z] 8603b9c90790: Pull complete [2022-01-19T17:30:06.168Z] 1560dd03e051: Pull complete [2022-01-19T17:30:06.439Z] 27f5ce0e4adf: Pull complete [2022-01-19T17:30:21.490Z] c2d8d7efcc4b: Pull complete [2022-01-19T17:30:21.490Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T17:30:21.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T17:30:21.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T17:30:21.701Z] prd-ubuntu18.04-docker-arm64-4c-16g-1826 does not seem to be running inside a container [2022-01-19T17:30:21.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-19T17:30:24.402Z] $ docker top 3d89ce8d7b307c3b2f0f4b10f167500e209accd1d43b338b022ded52a77672a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:25.345Z] ---> job-cost.sh [2022-01-19T17:30:25.345Z] lf-activate-venv: SKIPPING [2022-01-19T17:30:25.345Z] INFO: No Stack... [2022-01-19T17:30:25.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T17:30:26.203Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T17:30:26.872Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2022-01-19T17:30:26.872Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T17:30:26.953Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [2022-01-19T17:30:26.960Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] did not exist. Created. [2022-01-19T17:30:26.960Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T17:30:27.696Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-a87b22dc/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-a87b22dc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T17:30:28.387Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T17:30:28.423Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T17:30:28.471Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T17:30:28.488Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T17:30:28.569Z] $ docker stop --time=1 3d89ce8d7b307c3b2f0f4b10f167500e209accd1d43b338b022ded52a77672a8 [2022-01-19T17:30:30.067Z] $ docker rm -f 3d89ce8d7b307c3b2f0f4b10f167500e209accd1d43b338b022ded52a77672a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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-19T17:30:32.725Z] + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives ']' [2022-01-19T17:30:32.725Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives [2022-01-19T17:30:32.725Z] total 8 [2022-01-19T17:30:32.725Z] drwxr-xr-x. 3 root root 34 Jan 19 17:24 . [2022-01-19T17:30:32.725Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 17:24 .. [2022-01-19T17:30:32.725Z] drwxr-xr-x. 2 root root 6 Jan 19 17:24 cost [2022-01-19T17:30:32.725Z] -rw-r--r--. 1 root root 93 Jan 19 17:24 cost.csv [2022-01-19T17:30:32.725Z] + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives [2022-01-19T17:30:32.725Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives [2022-01-19T17:30:32.725Z] total 8 [2022-01-19T17:30:32.725Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 17:24 . [2022-01-19T17:30:32.725Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 17:24 .. [2022-01-19T17:30:32.725Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 17:24 cost [2022-01-19T17:30:32.725Z] -rw-r--r--. 1 jenkins jenkins 93 Jan 19 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:33.070Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:33.657Z] ---> package-listing.sh [2022-01-19T17:30:33.657Z] ++ facter osfamily [2022-01-19T17:30:33.657Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T17:30:33.921Z] + OS_FAMILY=redhat [2022-01-19T17:30:33.921Z] + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-61 [2022-01-19T17:30:33.921Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T17:30:33.921Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T17:30:33.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T17:30:33.921Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T17:30:33.921Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-61 ']' [2022-01-19T17:30:33.921Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T17:30:33.922Z] + case "${OS_FAMILY}" in [2022-01-19T17:30:33.922Z] + rpm -qa [2022-01-19T17:30:33.922Z] + sort [2022-01-19T17:30:34.509Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T17:30:34.509Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T17:30:34.509Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T17:30:34.509Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-61 ']' [2022-01-19T17:30:34.509Z] + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives/ [2022-01-19T17:30:34.509Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives/ [Pipeline] echo [2022-01-19T17:30:34.542Z] 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/ry_app-rfid-llrp-inventory_PR-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-19T17:30:34.837Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T17:30:35.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T17:30:35.417Z] . [Pipeline] withDockerContainer [2022-01-19T17:30:35.500Z] prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container [2022-01-19T17:30:35.532Z] $ 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/ry_app-rfid-llrp-inventory_PR-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T17:30:35.760Z] $ docker top ca628cb8176e85ae38e85d28fcd2422f082a0e8a92970d88c7d5aff1a7565778 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T17:30:36.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T17:30:36.470Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T17:30:36.910Z] + ls /var/log/sa-host [2022-01-19T17:30:36.910Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T17:30:36.910Z] file_magic: OK [2022-01-19T17:30:36.910Z] HZ: Using current value: 100 [2022-01-19T17:30:36.910Z] file_header: OK [2022-01-19T17:30:36.910Z] 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-19T17:30:36.910Z] Statistics: [2022-01-19T17:30:36.910Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T17:30:36.910Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T17:30:36.910Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T17:30:36.910Z] file_magic: OK [2022-01-19T17:30:36.910Z] HZ: Using current value: 100 [2022-01-19T17:30:36.910Z] file_header: OK [2022-01-19T17:30:36.910Z] 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-19T17:30:36.910Z] Statistics: [2022-01-19T17:30:36.910Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T17:30:36.910Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T17:30:37.222Z] provisioning config files... [2022-01-19T17:30:37.323Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/config226629738590638821tmp [Pipeline] { [Pipeline] echo [2022-01-19T17:30:37.374Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:37.733Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T17:30:37.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:38.172Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T17:30:38.207Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:38.532Z] ---> sudo-logs.sh [2022-01-19T17:30:38.532Z] Archiving 'sudo' log.. [2022-01-19T17:30:38.532Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1825.novalocal: Name or service not known [2022-01-19T17:30:38.532Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1825.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T17:30:38.612Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:38.928Z] ---> job-cost.sh [2022-01-19T17:30:38.928Z] lf-activate-venv: SKIPPING [2022-01-19T17:30:38.928Z] DEBUG: total: 0.05999999865889549 [2022-01-19T17:30:38.928Z] INFO: Retrieving Stack Cost... [2022-01-19T17:30:39.190Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T17:30:39.450Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T17:30:39.491Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T17:30:39.810Z] ---> logs-deploy.sh [2022-01-19T17:30:39.811Z] lf-activate-venv: SKIPPING [2022-01-19T17:30:39.811Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-61/1 [2022-01-19T17:30:39.811Z] INFO: archiving workspace using pattern(s): [2022-01-19T17:30:40.379Z] Archives upload complete. [2022-01-19T17:30:40.639Z] INFO: archiving logs to Nexus