Pull request #150 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4106a29777e4f3980c9863e0df0515b6399873c+5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (5c3b409c84c52d063b843bde0f2664044b838a68) 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-ssh18160921299615292933.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh11442064343594700279.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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/device-rest-go/branches/PR-150/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/device-rest-go/branches/PR-150/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12601925391227662728.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/device-rest-go/branches/PR-150/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12649520174105313586.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh6370355577513222830.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/device-rest-go/branches/PR-150/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/device-rest-go/branches/PR-150/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9140911356415085795.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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:device-rest-go] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1149 in /w/workspace/gexfoundry_device-rest-go_PR-150 [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/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-150 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/gexfoundry_device-rest-go_PR-150@tmp/jenkins-gitclient-ssh5271871085288231609.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit c4106a29777e4f3980c9863e0df0515b6399873c Merge succeeded, producing c4106a29777e4f3980c9863e0df0515b6399873c Checking out Revision c4106a29777e4f3980c9863e0df0515b6399873c (PR-150) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/gexfoundry_device-rest-go_PR-150@tmp/jenkins-gitclient-ssh2957484803260564798.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4106a29777e4f3980c9863e0df0515b6399873c # 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/gexfoundry_device-rest-go_PR-150@tmp/jenkins-gitclient-ssh7532075393006749604.key > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4106a29777e4f3980c9863e0df0515b6399873c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-10T20:04:04.251Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-10T20:04:04.428Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-10T20:04:04.530Z] ========================================================= [2022-01-10T20:04:04.530Z] EdgeX Global Pipelines Version Info [2022-01-10T20:04:04.530Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:04:05.685Z] ------------------- [2022-01-10T20:04:05.685Z] stable info: [2022-01-10T20:04:05.685Z] ------------------- [2022-01-10T20:04:05.685Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-10T20:04:05.685Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-10T20:04:05.685Z] Message: update stable to v1.0.217 [2022-01-10T20:04:06.261Z] ------------------- [2022-01-10T20:04:06.261Z] experimental info: [2022-01-10T20:04:06.261Z] ------------------- [2022-01-10T20:04:06.261Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-10T20:04:06.261Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-10T20:04:06.261Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-10T20:04:06.538Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-01-10T20:04:06.599Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-01-10T20:04:06.643Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-10T20:04:06.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-10T20:04:06.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-10T20:04:06.783Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-10T20:04:06.826Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-10T20:04:06.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-10T20:04:06.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-10T20:04:06.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-10T20:04:06.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-10T20:04:07.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-01-10T20:04:07.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-10T20:04:07.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-10T20:04:07.161Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-10T20:04:07.206Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-10T20:04:07.248Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T20:04:07.288Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T20:04:07.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-10T20:04:07.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-10T20:04:07.427Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-10T20:04:07.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-10T20:04:07.515Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-10T20:04:07.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-10T20:04:07.604Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-10T20:04:07.647Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-10T20:04:07.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-150 [Pipeline] echo [2022-01-10T20:04:07.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-150 [Pipeline] echo [2022-01-10T20:04:07.780Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-150 [Pipeline] echo [2022-01-10T20:04:07.819Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4106a29777e4f3980c9863e0df0515b6399873c [Pipeline] echo [2022-01-10T20:04:07.865Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4106a2 [Pipeline] echo [2022-01-10T20:04:07.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T20:04:08.031Z] provisioning config files... [2022-01-10T20:04:08.047Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-150@tmp/config6113919734755219146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:04:08.393Z] ---> docker-login.sh [2022-01-10T20:04:08.393Z] nexus3.edgexfoundry.org:10001 [2022-01-10T20:04:08.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:04:08.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:04:08.656Z] Configure a credential helper to remove this warning. See [2022-01-10T20:04:08.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:04:08.656Z] [2022-01-10T20:04:08.656Z] Login Succeeded [2022-01-10T20:04:08.656Z] nexus3.edgexfoundry.org:10002 [2022-01-10T20:04:08.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:04:08.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:04:08.656Z] Configure a credential helper to remove this warning. See [2022-01-10T20:04:08.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:04:08.656Z] [2022-01-10T20:04:08.656Z] Login Succeeded [2022-01-10T20:04:08.656Z] nexus3.edgexfoundry.org:10003 [2022-01-10T20:04:08.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:04:08.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:04:08.920Z] Configure a credential helper to remove this warning. See [2022-01-10T20:04:08.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:04:08.920Z] [2022-01-10T20:04:08.920Z] Login Succeeded [2022-01-10T20:04:08.920Z] nexus3.edgexfoundry.org:10004 [2022-01-10T20:04:08.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:04:08.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:04:08.920Z] Configure a credential helper to remove this warning. See [2022-01-10T20:04:08.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:04:08.920Z] [2022-01-10T20:04:08.920Z] Login Succeeded [2022-01-10T20:04:08.920Z] docker.io [2022-01-10T20:04:08.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:04:09.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:04:09.493Z] Configure a credential helper to remove this warning. See [2022-01-10T20:04:09.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:04:09.493Z] [2022-01-10T20:04:09.493Z] Login Succeeded [2022-01-10T20:04:09.493Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T20:04:09.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-10T20:04:10.136Z] + git rev-list -1 --merges c4106a29777e4f3980c9863e0df0515b6399873c~1..c4106a29777e4f3980c9863e0df0515b6399873c [Pipeline] echo [2022-01-10T20:04:10.186Z] -----------> git rev-list -1 --merges c4106a29777e4f3980c9863e0df0515b6399873c~1..c4106a29777e4f3980c9863e0df0515b6399873c c4106a29777e4f3980c9863e0df0515b6399873c [false] [Pipeline] sh [2022-01-10T20:04:10.500Z] + git log --format=format:%s -1 c4106a29777e4f3980c9863e0df0515b6399873c [Pipeline] echo [2022-01-10T20:04:10.538Z] ========================================================= [2022-01-10T20:04:10.538Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-10T20:04:10.538Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T20:04:10.998Z] + git log --format=format:%s -1 c4106a29777e4f3980c9863e0df0515b6399873c [Pipeline] echo [2022-01-10T20:04:11.032Z] [semverPrep] GIT_COMMIT: c4106a29777e4f3980c9863e0df0515b6399873c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-01-10T20:04:11.063Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-10T20:04:11.534Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T20:04:11.534Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-10T20:04:11.534Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-10T20:04:11.534Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-10T20:04:11.534Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-10T20:04:11.534Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-10T20:04:11.534Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:04:12.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T20:04:12.002Z] [2022-01-10T20:04:12.002Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:04:12.352Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T20:04:12.352Z] latest: Pulling from edgex-devops/git-semver [2022-01-10T20:04:12.352Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T20:04:12.352Z] 3e5f54012d9b: Pulling fs layer [2022-01-10T20:04:12.352Z] 4c7163046ea9: Pulling fs layer [2022-01-10T20:04:12.352Z] 0c2d73faf560: Pulling fs layer [2022-01-10T20:04:12.352Z] 0c2d73faf560: Waiting [2022-01-10T20:04:12.352Z] 3e5f54012d9b: Verifying Checksum [2022-01-10T20:04:12.352Z] 3e5f54012d9b: Download complete [2022-01-10T20:04:12.352Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T20:04:12.352Z] a0d0a0d46f8b: Download complete [2022-01-10T20:04:12.352Z] 0c2d73faf560: Verifying Checksum [2022-01-10T20:04:12.352Z] 0c2d73faf560: Download complete [2022-01-10T20:04:12.615Z] 4c7163046ea9: Verifying Checksum [2022-01-10T20:04:12.615Z] 4c7163046ea9: Download complete [2022-01-10T20:04:12.615Z] a0d0a0d46f8b: Pull complete [2022-01-10T20:04:12.615Z] 3e5f54012d9b: Pull complete [2022-01-10T20:04:12.877Z] 4c7163046ea9: Pull complete [2022-01-10T20:04:13.140Z] 0c2d73faf560: Pull complete [2022-01-10T20:04:13.140Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-10T20:04:13.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T20:04:13.140Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-10T20:04:13.243Z] prd-centos7-docker-4c-2g-1149 does not seem to be running inside a container [2022-01-10T20:04:13.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-150 -v /w/workspace/gexfoundry_device-rest-go_PR-150:/w/workspace/gexfoundry_device-rest-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-150@tmp:/w/workspace/gexfoundry_device-rest-go_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-10T20:04:13.878Z] $ docker top ee537b2b9c050f9750f511fa169adb6d2777ed7d3ee26c320344c4c4417d1c21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T20:04:14.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T20:04:14.072Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T20:04:14.201Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T20:04:14.204Z] $ docker exec ee537b2b9c050f9750f511fa169adb6d2777ed7d3ee26c320344c4c4417d1c21 ssh-agent [2022-01-10T20:04:14.317Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlCdLEM/agent.13 [2022-01-10T20:04:14.317Z] SSH_AGENT_PID=20 [2022-01-10T20:04:14.325Z] Running ssh-add (command line suppressed) [2022-01-10T20:04:14.421Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-150@tmp/private_key_8398096613282043370.key (/w/workspace/gexfoundry_device-rest-go_PR-150@tmp/private_key_8398096613282043370.key) [2022-01-10T20:04:14.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T20:04:14.776Z] + git tag --points-at HEAD [Pipeline] } [2022-01-10T20:04:14.800Z] $ docker exec --env ******** --env ******** ee537b2b9c050f9750f511fa169adb6d2777ed7d3ee26c320344c4c4417d1c21 ssh-agent -k [2022-01-10T20:04:14.895Z] unset SSH_AUTH_SOCK; [2022-01-10T20:04:14.898Z] unset SSH_AGENT_PID; [2022-01-10T20:04:14.898Z] echo Agent pid 20 killed; [2022-01-10T20:04:14.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-10T20:04:15.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T20:04:15.005Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T20:04:15.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T20:04:15.100Z] $ docker exec ee537b2b9c050f9750f511fa169adb6d2777ed7d3ee26c320344c4c4417d1c21 ssh-agent [2022-01-10T20:04:15.196Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjaDoig/agent.53 [2022-01-10T20:04:15.196Z] SSH_AGENT_PID=59 [2022-01-10T20:04:15.200Z] Running ssh-add (command line suppressed) [2022-01-10T20:04:15.292Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-150@tmp/private_key_7825788999078876875.key (/w/workspace/gexfoundry_device-rest-go_PR-150@tmp/private_key_7825788999078876875.key) [2022-01-10T20:04:15.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T20:04:15.654Z] + git semver init [2022-01-10T20:04:15.654Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T20:04:15.654Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-150/.git [2022-01-10T20:04:15.654Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-150 [2022-01-10T20:04:15.654Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T20:04:15.654Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T20:04:15.654Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T20:04:15.654Z] # $SEMVER_BRANCH = PR-150 [2022-01-10T20:04:15.654Z] # $SEMVER_TEMP = /tmp/semver-438219526 [2022-01-10T20:04:15.654Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-01-10T20:04:17.042Z] # '/tmp/semver-438219526' -> '/w/workspace/gexfoundry_device-rest-go_PR-150/.semver' [2022-01-10T20:04:17.042Z] # -> Force: false [2022-01-10T20:04:17.042Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-150/.semver [Pipeline] } [2022-01-10T20:04:17.069Z] $ docker exec --env ******** --env ******** ee537b2b9c050f9750f511fa169adb6d2777ed7d3ee26c320344c4c4417d1c21 ssh-agent -k [2022-01-10T20:04:17.164Z] unset SSH_AUTH_SOCK; [2022-01-10T20:04:17.165Z] unset SSH_AGENT_PID; [2022-01-10T20:04:17.165Z] echo Agent pid 59 killed; [2022-01-10T20:04:17.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T20:04:17.619Z] + git semver [Pipeline] } [2022-01-10T20:04:17.651Z] $ docker stop --time=1 ee537b2b9c050f9750f511fa169adb6d2777ed7d3ee26c320344c4c4417d1c21 [2022-01-10T20:04:18.924Z] $ docker rm -f ee537b2b9c050f9750f511fa169adb6d2777ed7d3ee26c320344c4c4417d1c21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T20:04:19.352Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-10T20:04:19.657Z] Stashed 1 file(s) [Pipeline] echo [2022-01-10T20:04:19.673Z] [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] node [Pipeline] node [2022-01-10T20:04:35.057Z] Still waiting to schedule task [2022-01-10T20:04:35.057Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1149’ [2022-01-10T20:04:35.076Z] Still waiting to schedule task [2022-01-10T20:04:35.076Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-10T20:05:56.006Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1150 in /w/workspace/gexfoundry_device-rest-go_PR-150 [Pipeline] { [Pipeline] ws [2022-01-10T20:05:56.045Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-01-10T20:05:56.258Z] The recommended git tool is: git [2022-01-10T20:06:00.822Z] using credential edgex-jenkins-ssh [2022-01-10T20:06:00.841Z] Cloning the remote Git repository [2022-01-10T20:06:00.903Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-10T20:06:00.980Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-01-10T20:06:01.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-10T20:06:01.090Z] > git --version # timeout=10 [2022-01-10T20:06:01.116Z] > git --version # 'git version 2.17.1' [2022-01-10T20:06:01.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T20:06:01.179Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T20:06:03.274Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-10T20:06:03.299Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T20:06:03.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-10T20:06:03.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-10T20:06:03.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T20:06:03.470Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-10T20:06:04.122Z] Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit c4106a29777e4f3980c9863e0df0515b6399873c [2022-01-10T20:06:04.340Z] Merge succeeded, producing c4106a29777e4f3980c9863e0df0515b6399873c [2022-01-10T20:06:04.340Z] Checking out Revision c4106a29777e4f3980c9863e0df0515b6399873c (PR-150) [2022-01-10T20:06:04.144Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T20:06:04.168Z] > git checkout -f c4106a29777e4f3980c9863e0df0515b6399873c # timeout=10 [2022-01-10T20:06:04.249Z] > git remote # timeout=10 [2022-01-10T20:06:04.274Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T20:06:04.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T20:06:04.302Z] > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [2022-01-10T20:06:04.328Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T20:06:04.347Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T20:06:04.362Z] > git checkout -f c4106a29777e4f3980c9863e0df0515b6399873c # timeout=10 [2022-01-10T20:06:08.457Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-01-10T20:06:08.516Z] > git --version # timeout=10 [2022-01-10T20:06:08.528Z] > git --version # 'git version 2.17.1' [2022-01-10T20:06:08.552Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T20:06:09.754Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-10T20:06:09.755Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T20:06:09.755Z] Dload Upload Total Spent Left Speed [2022-01-10T20:06:09.755Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 82243 0 --:--:-- --:--:-- --:--:-- 82243 [Pipeline] sh [2022-01-10T20:06:10.308Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-10T20:06:10.673Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-01-10T20:06:10.673Z] /etc/docker/daemon.json [2022-01-10T20:06:10.673Z] { [2022-01-10T20:06:10.673Z] "registry-mirrors": [ [2022-01-10T20:06:10.673Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-10T20:06:10.673Z] ], [2022-01-10T20:06:10.673Z] "bip": "10.250.0.254/24", [2022-01-10T20:06:10.673Z] "hosts": [ [2022-01-10T20:06:10.673Z] "tcp://0.0.0.0:5555", [2022-01-10T20:06:10.673Z] "unix:///var/run/docker.sock" [2022-01-10T20:06:10.673Z] ], [2022-01-10T20:06:10.673Z] "mtu": 1458, [2022-01-10T20:06:10.673Z] "selinux-enabled": true, [2022-01-10T20:06:10.673Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-10T20:06:10.673Z] } [Pipeline] sh [2022-01-10T20:06:11.092Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-10T20:06:11.453Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T20:06:29.842Z] provisioning config files... [2022-01-10T20:06:29.865Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6416129692215290839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:06:30.258Z] ---> docker-login.sh [2022-01-10T20:06:30.258Z] nexus3.edgexfoundry.org:10001 [2022-01-10T20:06:30.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:31.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:31.128Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:31.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:31.128Z] [2022-01-10T20:06:31.128Z] Login Succeeded [2022-01-10T20:06:31.128Z] nexus3.edgexfoundry.org:10002 [2022-01-10T20:06:31.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:31.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:31.400Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:31.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:31.400Z] [2022-01-10T20:06:31.400Z] Login Succeeded [2022-01-10T20:06:31.400Z] nexus3.edgexfoundry.org:10003 [2022-01-10T20:06:31.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:31.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:31.952Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:31.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:31.952Z] [2022-01-10T20:06:31.952Z] Login Succeeded [2022-01-10T20:06:31.952Z] nexus3.edgexfoundry.org:10004 [2022-01-10T20:06:32.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:32.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:32.224Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:32.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:32.224Z] [2022-01-10T20:06:32.224Z] Login Succeeded [2022-01-10T20:06:32.224Z] docker.io [2022-01-10T20:06:32.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:33.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:33.096Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:33.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:33.096Z] [2022-01-10T20:06:33.096Z] Login Succeeded [2022-01-10T20:06:33.096Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T20:06:33.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T20:06:33.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T20:06:33.759Z] ========================================================= [2022-01-10T20:06:33.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-10T20:06:33.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:06:34.218Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-10T20:06:34.218Z] Sending build context to Docker daemon 121.9kB [2022-01-10T20:06:34.491Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T20:06:34.491Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-10T20:06:34.765Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-10T20:06:34.765Z] 552d1f2373af: Pulling fs layer [2022-01-10T20:06:34.765Z] ea3f2d53f512: Pulling fs layer [2022-01-10T20:06:34.765Z] 9e70ebbbe112: Pulling fs layer [2022-01-10T20:06:34.765Z] 7a9cfe048b4a: Pulling fs layer [2022-01-10T20:06:34.765Z] 72dc09318566: Pulling fs layer [2022-01-10T20:06:34.765Z] f4f7b4309257: Pulling fs layer [2022-01-10T20:06:34.765Z] 0ac9a79272e3: Pulling fs layer [2022-01-10T20:06:34.765Z] b78e95d17946: Pulling fs layer [2022-01-10T20:06:34.765Z] 7a9cfe048b4a: Waiting [2022-01-10T20:06:34.765Z] 72dc09318566: Waiting [2022-01-10T20:06:34.765Z] f4f7b4309257: Waiting [2022-01-10T20:06:34.765Z] b78e95d17946: Waiting [2022-01-10T20:06:34.765Z] 0ac9a79272e3: Waiting [2022-01-10T20:06:34.765Z] 9e70ebbbe112: Download complete [2022-01-10T20:06:34.765Z] ea3f2d53f512: Verifying Checksum [2022-01-10T20:06:34.765Z] ea3f2d53f512: Download complete [2022-01-10T20:06:34.765Z] 72dc09318566: Download complete [2022-01-10T20:06:34.765Z] f4f7b4309257: Download complete [2022-01-10T20:06:34.765Z] 552d1f2373af: Verifying Checksum [2022-01-10T20:06:34.765Z] 552d1f2373af: Download complete [2022-01-10T20:06:34.765Z] 0ac9a79272e3: Verifying Checksum [2022-01-10T20:06:34.765Z] 0ac9a79272e3: Download complete [2022-01-10T20:06:35.373Z] 552d1f2373af: Pull complete [2022-01-10T20:06:35.979Z] ea3f2d53f512: Pull complete [2022-01-10T20:06:36.252Z] 9e70ebbbe112: Pull complete [2022-01-10T20:06:36.527Z] b78e95d17946: Verifying Checksum [2022-01-10T20:06:36.527Z] b78e95d17946: Download complete [2022-01-10T20:06:37.130Z] 7a9cfe048b4a: Verifying Checksum [2022-01-10T20:06:37.130Z] 7a9cfe048b4a: Download complete [2022-01-10T20:06:43.382Z] Running on prd-centos7-docker-4c-2g-1151 in /w/workspace/gexfoundry_device-rest-go_PR-150 [Pipeline] { [Pipeline] ws [2022-01-10T20:06:43.419Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-01-10T20:06:43.539Z] The recommended git tool is: git [2022-01-10T20:06:45.030Z] using credential edgex-jenkins-ssh [2022-01-10T20:06:45.039Z] Cloning the remote Git repository [2022-01-10T20:06:44.501Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-10T20:06:44.533Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-01-10T20:06:44.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-10T20:06:44.563Z] > git --version # timeout=10 [2022-01-10T20:06:44.571Z] > git --version # 'git version 2.24.4' [2022-01-10T20:06:44.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T20:06:44.590Z] [INFO] Currently running in a labeled security context [2022-01-10T20:06:44.590Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T20:06:44.590Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh4046624469211168005.key [2022-01-10T20:06:44.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T20:06:46.661Z] Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit c4106a29777e4f3980c9863e0df0515b6399873c [2022-01-10T20:06:46.755Z] Merge succeeded, producing c4106a29777e4f3980c9863e0df0515b6399873c [2022-01-10T20:06:46.756Z] Checking out Revision c4106a29777e4f3980c9863e0df0515b6399873c (PR-150) [2022-01-10T20:06:45.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-10T20:06:45.624Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T20:06:45.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-10T20:06:45.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-10T20:06:45.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T20:06:45.653Z] [INFO] Currently running in a labeled security context [2022-01-10T20:06:45.653Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T20:06:45.653Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3365391170273108226.key [2022-01-10T20:06:45.668Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-10T20:06:46.110Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T20:06:46.117Z] > git checkout -f c4106a29777e4f3980c9863e0df0515b6399873c # timeout=10 [2022-01-10T20:06:46.150Z] > git remote # timeout=10 [2022-01-10T20:06:46.157Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T20:06:46.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T20:06:46.164Z] [INFO] Currently running in a labeled security context [2022-01-10T20:06:46.164Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T20:06:46.165Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8807321855027216348.key [2022-01-10T20:06:46.173Z] > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [2022-01-10T20:06:46.184Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T20:06:46.200Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T20:06:46.209Z] > git checkout -f c4106a29777e4f3980c9863e0df0515b6399873c # timeout=10 [2022-01-10T20:06:47.268Z] 7a9cfe048b4a: Pull complete [2022-01-10T20:06:47.543Z] 72dc09318566: Pull complete [2022-01-10T20:06:47.813Z] f4f7b4309257: Pull complete [2022-01-10T20:06:48.086Z] 0ac9a79272e3: Pull complete [2022-01-10T20:06:50.288Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-01-10T20:06:49.751Z] > git --version # timeout=10 [2022-01-10T20:06:49.754Z] > git --version # 'git version 2.24.4' [2022-01-10T20:06:49.761Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T20:06:51.057Z] provisioning config files... [2022-01-10T20:06:51.070Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4358843018851696807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:06:51.495Z] ---> docker-login.sh [2022-01-10T20:06:51.496Z] nexus3.edgexfoundry.org:10001 [2022-01-10T20:06:51.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:51.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:51.496Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:51.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:51.496Z] [2022-01-10T20:06:51.496Z] Login Succeeded [2022-01-10T20:06:51.496Z] nexus3.edgexfoundry.org:10002 [2022-01-10T20:06:51.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:51.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:51.758Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:51.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:51.758Z] [2022-01-10T20:06:51.758Z] Login Succeeded [2022-01-10T20:06:51.758Z] nexus3.edgexfoundry.org:10003 [2022-01-10T20:06:51.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:51.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:51.758Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:51.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:51.758Z] [2022-01-10T20:06:51.758Z] Login Succeeded [2022-01-10T20:06:51.758Z] nexus3.edgexfoundry.org:10004 [2022-01-10T20:06:52.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:52.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:52.019Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:52.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:52.019Z] [2022-01-10T20:06:52.019Z] Login Succeeded [2022-01-10T20:06:52.019Z] docker.io [2022-01-10T20:06:52.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T20:06:52.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T20:06:52.279Z] Configure a credential helper to remove this warning. See [2022-01-10T20:06:52.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T20:06:52.279Z] [2022-01-10T20:06:52.279Z] Login Succeeded [2022-01-10T20:06:52.279Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T20:06:52.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T20:06:52.641Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T20:06:52.671Z] ========================================================= [2022-01-10T20:06:52.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-10T20:06:52.671Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:06:53.106Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-10T20:06:53.107Z] Sending build context to Docker daemon 121.9kB [2022-01-10T20:06:53.107Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T20:06:53.107Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-10T20:06:53.107Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-10T20:06:53.107Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T20:06:53.107Z] 31adcdaf11c8: Pulling fs layer [2022-01-10T20:06:53.107Z] b8b176561691: Pulling fs layer [2022-01-10T20:06:53.107Z] 4527c011a84f: Pulling fs layer [2022-01-10T20:06:53.107Z] 5d74067f8e1e: Pulling fs layer [2022-01-10T20:06:53.107Z] e0aca202a116: Pulling fs layer [2022-01-10T20:06:53.107Z] 3a43be97a3b4: Pulling fs layer [2022-01-10T20:06:53.107Z] 34cad66bf833: Pulling fs layer [2022-01-10T20:06:53.107Z] b4e3c513aaa6: Pulling fs layer [2022-01-10T20:06:53.107Z] 4527c011a84f: Waiting [2022-01-10T20:06:53.107Z] 5d74067f8e1e: Waiting [2022-01-10T20:06:53.107Z] e0aca202a116: Waiting [2022-01-10T20:06:53.107Z] 3a43be97a3b4: Waiting [2022-01-10T20:06:53.107Z] 34cad66bf833: Waiting [2022-01-10T20:06:53.107Z] b4e3c513aaa6: Waiting [2022-01-10T20:06:53.107Z] b8b176561691: Verifying Checksum [2022-01-10T20:06:53.107Z] b8b176561691: Download complete [2022-01-10T20:06:53.107Z] 31adcdaf11c8: Verifying Checksum [2022-01-10T20:06:53.107Z] 31adcdaf11c8: Download complete [2022-01-10T20:06:53.107Z] 5d74067f8e1e: Verifying Checksum [2022-01-10T20:06:53.107Z] 5d74067f8e1e: Download complete [2022-01-10T20:06:53.107Z] e0aca202a116: Verifying Checksum [2022-01-10T20:06:53.107Z] e0aca202a116: Download complete [2022-01-10T20:06:53.107Z] 3a43be97a3b4: Verifying Checksum [2022-01-10T20:06:53.107Z] 3a43be97a3b4: Download complete [2022-01-10T20:06:53.107Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T20:06:53.107Z] a0d0a0d46f8b: Download complete [2022-01-10T20:06:53.371Z] 34cad66bf833: Verifying Checksum [2022-01-10T20:06:53.371Z] 34cad66bf833: Download complete [2022-01-10T20:06:53.498Z] b78e95d17946: Pull complete [2022-01-10T20:06:53.644Z] a0d0a0d46f8b: Pull complete [2022-01-10T20:06:53.772Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-10T20:06:53.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-10T20:06:53.772Z] ---> 8b459fc5aaf0 [2022-01-10T20:06:53.772Z] Step 3/11 : ARG MAKE='make build' [2022-01-10T20:06:53.913Z] b4e3c513aaa6: Verifying Checksum [2022-01-10T20:06:53.913Z] b4e3c513aaa6: Download complete [2022-01-10T20:06:53.913Z] 4527c011a84f: Verifying Checksum [2022-01-10T20:06:53.913Z] 4527c011a84f: Download complete [2022-01-10T20:06:53.913Z] 31adcdaf11c8: Pull complete [2022-01-10T20:06:53.913Z] b8b176561691: Pull complete [2022-01-10T20:06:55.203Z] ---> Running in 1262a7c8a330 [2022-01-10T20:06:55.798Z] Removing intermediate container 1262a7c8a330 [2022-01-10T20:06:55.798Z] ---> fa8af999e4e1 [2022-01-10T20:06:55.798Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-10T20:06:55.798Z] ---> Running in bdba147c5226 [2022-01-10T20:06:56.070Z] Removing intermediate container bdba147c5226 [2022-01-10T20:06:56.070Z] ---> 2d701bfe8d5b [2022-01-10T20:06:56.070Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-10T20:06:56.070Z] ---> Running in f17f5302a607 [2022-01-10T20:06:56.665Z] Removing intermediate container f17f5302a607 [2022-01-10T20:06:56.665Z] ---> 200e5b8cc38c [2022-01-10T20:06:56.665Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T20:06:56.665Z] ---> Running in 96d0d58bfee1 [2022-01-10T20:06:58.154Z] 4527c011a84f: Pull complete [2022-01-10T20:06:58.154Z] 5d74067f8e1e: Pull complete [2022-01-10T20:06:58.154Z] e0aca202a116: Pull complete [2022-01-10T20:06:58.154Z] 3a43be97a3b4: Pull complete [2022-01-10T20:06:58.423Z] 34cad66bf833: Pull complete [2022-01-10T20:06:58.637Z] Removing intermediate container 96d0d58bfee1 [2022-01-10T20:06:58.637Z] ---> 9ff21aa1d42d [2022-01-10T20:06:58.637Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-10T20:06:58.637Z] ---> Running in f481a8b31c20 [2022-01-10T20:06:59.621Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T20:07:00.605Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T20:07:01.201Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-01-10T20:07:01.201Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-01-10T20:07:01.472Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-01-10T20:07:01.472Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-01-10T20:07:01.743Z] Executing busybox-1.33.1-r3.trigger [2022-01-10T20:07:01.743Z] OK: 223 MiB in 56 packages [2022-01-10T20:07:01.787Z] b4e3c513aaa6: Pull complete [2022-01-10T20:07:01.787Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-10T20:07:01.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-10T20:07:01.787Z] ---> 9f6097aaca64 [2022-01-10T20:07:01.787Z] Step 3/11 : ARG MAKE='make build' [2022-01-10T20:07:02.722Z] Removing intermediate container f481a8b31c20 [2022-01-10T20:07:02.722Z] ---> 572ae3369485 [2022-01-10T20:07:02.722Z] Step 8/11 : WORKDIR /device-rest-go [2022-01-10T20:07:02.722Z] ---> Running in 0aae87d4d9a7 [2022-01-10T20:07:02.994Z] Removing intermediate container 0aae87d4d9a7 [2022-01-10T20:07:02.994Z] ---> 7673902f385d [2022-01-10T20:07:02.994Z] Step 9/11 : COPY . . [2022-01-10T20:07:03.995Z] ---> 4a85175ee788 [2022-01-10T20:07:03.995Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T20:07:03.995Z] ---> Running in 28986bebb30e [2022-01-10T20:07:05.136Z] ---> Running in 46306492e7de [2022-01-10T20:07:05.136Z] Removing intermediate container 46306492e7de [2022-01-10T20:07:05.136Z] ---> 9f9dba9fbfbf [2022-01-10T20:07:05.136Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-10T20:07:05.136Z] ---> Running in d4cc68de7f88 [2022-01-10T20:07:05.136Z] Removing intermediate container d4cc68de7f88 [2022-01-10T20:07:05.136Z] ---> 003ddae7483e [2022-01-10T20:07:05.136Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-10T20:07:05.136Z] ---> Running in 913c14d4da23 [2022-01-10T20:07:05.136Z] Removing intermediate container 913c14d4da23 [2022-01-10T20:07:05.136Z] ---> b95c8d7d8119 [2022-01-10T20:07:05.136Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T20:07:05.136Z] ---> Running in 05d070fbfbf6 [2022-01-10T20:07:05.726Z] Removing intermediate container 05d070fbfbf6 [2022-01-10T20:07:05.726Z] ---> ea300b3faf38 [2022-01-10T20:07:05.726Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-10T20:07:05.726Z] ---> Running in 6e015170bed4 [2022-01-10T20:07:05.988Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T20:07:06.940Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T20:07:07.202Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-01-10T20:07:07.202Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-01-10T20:07:07.202Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-01-10T20:07:07.468Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-01-10T20:07:07.468Z] Executing busybox-1.33.1-r3.trigger [2022-01-10T20:07:07.468Z] OK: 224 MiB in 56 packages [2022-01-10T20:07:07.729Z] Removing intermediate container 6e015170bed4 [2022-01-10T20:07:07.729Z] ---> 60dd93cecc21 [2022-01-10T20:07:07.729Z] Step 8/11 : WORKDIR /device-rest-go [2022-01-10T20:07:07.999Z] ---> Running in 7cbded27b7b7 [2022-01-10T20:07:08.000Z] Removing intermediate container 7cbded27b7b7 [2022-01-10T20:07:08.000Z] ---> 4fbb1e6ab454 [2022-01-10T20:07:08.000Z] Step 9/11 : COPY . . [2022-01-10T20:07:08.266Z] ---> 58a76493e8f8 [2022-01-10T20:07:08.266Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T20:07:08.266Z] ---> Running in 1d687c979485 [2022-01-10T20:07:40.450Z] Removing intermediate container 1d687c979485 [2022-01-10T20:07:40.450Z] ---> 2a25927d7cd8 [2022-01-10T20:07:40.450Z] Step 11/11 : RUN $MAKE [2022-01-10T20:07:40.450Z] ---> Running in e39d6074102f [2022-01-10T20:07:40.450Z] noop [2022-01-10T20:07:40.450Z] Removing intermediate container e39d6074102f [2022-01-10T20:07:40.450Z] ---> b03d2556a105 [2022-01-10T20:07:40.450Z] Successfully built b03d2556a105 [2022-01-10T20:07:40.450Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:07:40.785Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T20:07:40.785Z] . [Pipeline] withDockerContainer [2022-01-10T20:07:40.885Z] prd-centos7-docker-4c-2g-1151 does not seem to be running inside a container [2022-01-10T20:07:40.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 ******** ci-base-image-x86_64 cat [2022-01-10T20:07:41.316Z] $ docker top 9cb63ffb1f06091a9b3471a03f52e270f7a48ae965cbcdada4f9a473a1189aca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T20:07:41.751Z] + go version [2022-01-10T20:07:41.751Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-10T20:07:41.782Z] $ docker stop --time=1 9cb63ffb1f06091a9b3471a03f52e270f7a48ae965cbcdada4f9a473a1189aca [2022-01-10T20:07:42.972Z] $ docker rm -f 9cb63ffb1f06091a9b3471a03f52e270f7a48ae965cbcdada4f9a473a1189aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:07:43.636Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T20:07:43.636Z] . [Pipeline] withDockerContainer [2022-01-10T20:07:43.738Z] prd-centos7-docker-4c-2g-1151 does not seem to be running inside a container [2022-01-10T20:07:43.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 ******** ci-base-image-x86_64 cat [2022-01-10T20:07:44.134Z] $ docker top eaadadbcfb9eba6c0c6aa73de93785e1da0797642eab16c1522c64c2dd780a39 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T20:07:44.679Z] + make test [2022-01-10T20:07:44.679Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-10T20:07:44.946Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-10T20:08:03.197Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-10T20:08:03.197Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements [2022-01-10T20:08:03.197Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-10T20:08:07.447Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T20:08:07.447Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-10T20:08:07.447Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-10T20:08:07.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T20:08:07.761Z] $ docker stop --time=1 eaadadbcfb9eba6c0c6aa73de93785e1da0797642eab16c1522c64c2dd780a39 [2022-01-10T20:08:09.196Z] $ docker rm -f eaadadbcfb9eba6c0c6aa73de93785e1da0797642eab16c1522c64c2dd780a39 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T20:08:09.635Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T20:08:09.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-10T20:08:11.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-10T20:08:11.489Z] + ls -al . [2022-01-10T20:08:11.490Z] total 148 [2022-01-10T20:08:11.490Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 10 20:08 . [2022-01-10T20:08:11.490Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 10 20:06 .. [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 7095 Jan 10 20:06 Attribution.txt [2022-01-10T20:08:11.490Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 10 20:06 bin [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jan 10 20:06 CHANGELOG.md [2022-01-10T20:08:11.490Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 10 20:06 cmd [2022-01-10T20:08:11.490Z] -rw-r--r--. 1 jenkins jenkins 9215 Jan 10 20:08 coverage.out [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 1649 Jan 10 20:06 Dockerfile [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 10 20:06 .dockerignore [2022-01-10T20:08:11.490Z] drwxrwxr-x. 2 jenkins jenkins 76 Jan 10 20:06 driver [2022-01-10T20:08:11.490Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 10 20:06 .git [2022-01-10T20:08:11.490Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 10 20:06 .github [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 10 20:06 .gitignore [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 277 Jan 10 20:06 go.mod [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 49330 Jan 10 20:06 go.sum [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 10 20:06 GOVERNANCE.md [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 10 20:06 Jenkinsfile [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 10 20:06 LICENSE [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 1078 Jan 10 20:06 Makefile [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 10 20:06 OWNERS.md [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 8246 Jan 10 20:06 README.md [2022-01-10T20:08:11.490Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 10 20:06 snap [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 10 20:04 VERSION [2022-01-10T20:08:11.490Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 10 20:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:08:11.823Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c4106a29777e4f3980c9863e0df0515b6399873c --label arch=amd64 --label version=0.0.0 . [2022-01-10T20:08:11.823Z] Sending build context to Docker daemon 131.6kB [2022-01-10T20:08:11.823Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T20:08:11.823Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-10T20:08:11.823Z] ---> b03d2556a105 [2022-01-10T20:08:11.823Z] Step 3/24 : ARG MAKE='make build' [2022-01-10T20:08:11.823Z] ---> Running in 57f3b66feb21 [2022-01-10T20:08:11.823Z] Removing intermediate container 57f3b66feb21 [2022-01-10T20:08:11.823Z] ---> 9e1fc4f6cf7e [2022-01-10T20:08:11.823Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-10T20:08:11.823Z] ---> Running in 99dcb00fbfbf [2022-01-10T20:08:12.086Z] Removing intermediate container 99dcb00fbfbf [2022-01-10T20:08:12.086Z] ---> 361a93c45812 [2022-01-10T20:08:12.086Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-10T20:08:12.086Z] ---> Running in 4a7737821411 [2022-01-10T20:08:12.086Z] Removing intermediate container 4a7737821411 [2022-01-10T20:08:12.086Z] ---> 6bb5b2be8827 [2022-01-10T20:08:12.086Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T20:08:12.086Z] ---> Running in 414241b4b299 [2022-01-10T20:08:12.660Z] Removing intermediate container 414241b4b299 [2022-01-10T20:08:12.660Z] ---> 03d5a78f93d3 [2022-01-10T20:08:12.660Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-10T20:08:12.660Z] ---> Running in 8121cc5360df [2022-01-10T20:08:12.927Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T20:08:13.868Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T20:08:14.131Z] OK: 224 MiB in 56 packages [2022-01-10T20:08:14.390Z] Removing intermediate container 8121cc5360df [2022-01-10T20:08:14.390Z] ---> ec4d60c45df5 [2022-01-10T20:08:14.390Z] Step 8/24 : WORKDIR /device-rest-go [2022-01-10T20:08:14.390Z] ---> Running in 9bb8450fa693 [2022-01-10T20:08:14.390Z] Removing intermediate container 9bb8450fa693 [2022-01-10T20:08:14.390Z] ---> 38e79380f152 [2022-01-10T20:08:14.390Z] Step 9/24 : COPY . . [2022-01-10T20:08:14.654Z] ---> 65407d3b809e [2022-01-10T20:08:14.654Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T20:08:14.654Z] ---> Running in a4c2b83bf1b1 [2022-01-10T20:08:15.234Z] Removing intermediate container a4c2b83bf1b1 [2022-01-10T20:08:15.234Z] ---> 3d353ff658fd [2022-01-10T20:08:15.234Z] Step 11/24 : RUN $MAKE [2022-01-10T20:08:15.234Z] ---> Running in e68359641964 [2022-01-10T20:08:15.508Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-01-10T20:08:25.769Z] Removing intermediate container 28986bebb30e [2022-01-10T20:08:25.769Z] ---> 170b71e4ec84 [2022-01-10T20:08:25.769Z] Step 11/11 : RUN $MAKE [2022-01-10T20:08:25.769Z] ---> Running in 6f39fecbc08d [2022-01-10T20:08:25.769Z] noop [2022-01-10T20:08:25.769Z] Removing intermediate container 6f39fecbc08d [2022-01-10T20:08:25.769Z] ---> af38cfe5cb7b [2022-01-10T20:08:25.769Z] Successfully built af38cfe5cb7b [2022-01-10T20:08:25.769Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:08:26.141Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T20:08:26.141Z] . [Pipeline] withDockerContainer [2022-01-10T20:08:26.392Z] prd-ubuntu18.04-docker-arm64-4c-16g-1150 does not seem to be running inside a container [2022-01-10T20:08:26.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 ******** ci-base-image-arm64 cat [2022-01-10T20:08:27.765Z] $ docker top 57a9819c13beddccba54d334fafbc19d332294f3ccd06b747a15f49accd780a2 -eo pid,comm [2022-01-10T20:08:27.844Z] Removing intermediate container e68359641964 [2022-01-10T20:08:27.844Z] ---> ec4447e50bde [2022-01-10T20:08:27.844Z] Step 12/24 : FROM alpine:3.14 [2022-01-10T20:08:27.844Z] 3.14: Pulling from library/alpine [2022-01-10T20:08:27.844Z] 97518928ae5f: Pulling fs layer [2022-01-10T20:08:27.844Z] 97518928ae5f: Download complete [2022-01-10T20:08:27.844Z] 97518928ae5f: Pull complete [2022-01-10T20:08:27.844Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-10T20:08:27.844Z] Status: Downloaded newer image for alpine:3.14 [2022-01-10T20:08:27.844Z] ---> 0a97eee8041e [2022-01-10T20:08:27.844Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-10T20:08:27.844Z] ---> Running in 07306b7727ac [2022-01-10T20:08:27.844Z] Removing intermediate container 07306b7727ac [2022-01-10T20:08:27.844Z] ---> fb8ab872b347 [2022-01-10T20:08:27.844Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-10T20:08:27.844Z] ---> Running in c392a4e85a5f [Pipeline] { [Pipeline] sh [2022-01-10T20:08:28.104Z] Removing intermediate container c392a4e85a5f [2022-01-10T20:08:28.104Z] ---> 34fee76e5aed [2022-01-10T20:08:28.104Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-10T20:08:28.104Z] ---> Running in 6c26d627a134 [2022-01-10T20:08:28.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T20:08:28.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T20:08:28.631Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-10T20:08:28.631Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-10T20:08:28.631Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-10T20:08:28.631Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-10T20:08:28.631Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-10T20:08:28.631Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-10T20:08:28.631Z] Executing busybox-1.33.1-r6.trigger [2022-01-10T20:08:28.631Z] OK: 8 MiB in 20 packages [2022-01-10T20:08:28.720Z] + go version [2022-01-10T20:08:28.720Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-10T20:08:28.750Z] $ docker stop --time=1 57a9819c13beddccba54d334fafbc19d332294f3ccd06b747a15f49accd780a2 [2022-01-10T20:08:28.893Z] Removing intermediate container 6c26d627a134 [2022-01-10T20:08:28.893Z] ---> a63f7a2ae08e [2022-01-10T20:08:28.893Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-01-10T20:08:29.468Z] ---> 85c7ae1126d7 [2022-01-10T20:08:29.468Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-10T20:08:29.468Z] ---> 306b93389377 [2022-01-10T20:08:29.468Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-10T20:08:29.735Z] ---> 5b057e544c32 [2022-01-10T20:08:29.735Z] Step 19/24 : EXPOSE 59986 [2022-01-10T20:08:29.735Z] ---> Running in 3c542b26aabd [2022-01-10T20:08:29.735Z] Removing intermediate container 3c542b26aabd [2022-01-10T20:08:29.735Z] ---> dfca29e40dcd [2022-01-10T20:08:29.735Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-01-10T20:08:29.735Z] ---> Running in 3dfbac93641d [2022-01-10T20:08:29.995Z] Removing intermediate container 3dfbac93641d [2022-01-10T20:08:29.995Z] ---> 3bcbefc118fd [2022-01-10T20:08:29.995Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-10T20:08:29.995Z] ---> Running in 7d1a542e057c [2022-01-10T20:08:29.995Z] Removing intermediate container 7d1a542e057c [2022-01-10T20:08:29.995Z] ---> 7ec78a3e46d4 [2022-01-10T20:08:29.995Z] Step 22/24 : LABEL arch=amd64 [2022-01-10T20:08:29.995Z] ---> Running in e7ce864b2b96 [2022-01-10T20:08:30.261Z] Removing intermediate container e7ce864b2b96 [2022-01-10T20:08:30.261Z] ---> eef3cf7cc4d1 [2022-01-10T20:08:30.261Z] Step 23/24 : LABEL git_sha=c4106a29777e4f3980c9863e0df0515b6399873c [2022-01-10T20:08:30.261Z] ---> Running in 762fd95adf8b [2022-01-10T20:08:30.261Z] Removing intermediate container 762fd95adf8b [2022-01-10T20:08:30.261Z] ---> d51932b6c626 [2022-01-10T20:08:30.261Z] Step 24/24 : LABEL version=0.0.0 [2022-01-10T20:08:30.261Z] ---> Running in 353e4e6eb3ff [2022-01-10T20:08:30.261Z] Removing intermediate container 353e4e6eb3ff [2022-01-10T20:08:30.261Z] ---> 856daafc9dc5 [2022-01-10T20:08:30.261Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-10T20:08:30.261Z] Successfully built 856daafc9dc5 [2022-01-10T20:08:30.261Z] Successfully tagged device-rest:latest [2022-01-10T20:08:30.385Z] $ docker rm -f 57a9819c13beddccba54d334fafbc19d332294f3ccd06b747a15f49accd780a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:08:31.411Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T20:08:31.411Z] . [Pipeline] withDockerContainer [2022-01-10T20:08:31.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T20:08:31.700Z] [2022-01-10T20:08:31.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T20:08:31.703Z] prd-ubuntu18.04-docker-arm64-4c-16g-1150 does not seem to be running inside a container [2022-01-10T20:08:31.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 ******** ci-base-image-arm64 cat [2022-01-10T20:08:33.046Z] $ docker top 2ad4b0a6b57f4cdbc522adbb7c9da35b195c68f5b075b90ced7dc636722374a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2022-01-10T20:08:33.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T20:08:33.778Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T20:08:33.778Z] b4d181a07f80: Pulling fs layer [2022-01-10T20:08:33.778Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T20:08:33.778Z] ed53099fbce6: Pulling fs layer [2022-01-10T20:08:33.778Z] dc539afda2c1: Pulling fs layer [2022-01-10T20:08:33.778Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T20:08:33.778Z] 9065ff56babe: Pulling fs layer [2022-01-10T20:08:33.778Z] d287ab97295c: Pulling fs layer [2022-01-10T20:08:33.778Z] dc539afda2c1: Waiting [2022-01-10T20:08:33.778Z] 77bc0d833cb6: Waiting [2022-01-10T20:08:33.778Z] 9065ff56babe: Waiting [2022-01-10T20:08:33.778Z] d287ab97295c: Waiting [2022-01-10T20:08:33.778Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T20:08:33.778Z] a1111a8f2ec3: Download complete [2022-01-10T20:08:33.778Z] dc539afda2c1: Verifying Checksum [2022-01-10T20:08:33.778Z] dc539afda2c1: Download complete [2022-01-10T20:08:33.778Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T20:08:33.778Z] 77bc0d833cb6: Download complete [2022-01-10T20:08:33.778Z] ed53099fbce6: Verifying Checksum [2022-01-10T20:08:33.778Z] ed53099fbce6: Download complete [2022-01-10T20:08:34.043Z] 9065ff56babe: Verifying Checksum [2022-01-10T20:08:34.043Z] 9065ff56babe: Download complete [2022-01-10T20:08:34.043Z] b4d181a07f80: Verifying Checksum [2022-01-10T20:08:34.043Z] b4d181a07f80: Download complete [2022-01-10T20:08:34.070Z] + make test [2022-01-10T20:08:34.070Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-10T20:08:34.635Z] d287ab97295c: Verifying Checksum [2022-01-10T20:08:34.635Z] d287ab97295c: Download complete [2022-01-10T20:08:35.504Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-10T20:08:35.592Z] b4d181a07f80: Pull complete [2022-01-10T20:08:35.592Z] a1111a8f2ec3: Pull complete [2022-01-10T20:08:36.170Z] ed53099fbce6: Pull complete [2022-01-10T20:08:36.170Z] dc539afda2c1: Pull complete [2022-01-10T20:08:36.435Z] 77bc0d833cb6: Pull complete [2022-01-10T20:08:36.435Z] 9065ff56babe: Pull complete [2022-01-10T20:08:41.777Z] d287ab97295c: Pull complete [2022-01-10T20:08:41.777Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T20:08:41.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T20:08:41.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T20:08:41.873Z] prd-centos7-docker-4c-2g-1151 does not seem to be running inside a container [2022-01-10T20:08:41.907Z] $ 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/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T20:08:44.413Z] $ docker top 3c211604f8969f7b204cef48703a8c81f250054e1a5db3c4c654162b255c776b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:08:44.924Z] ---> job-cost.sh [2022-01-10T20:08:44.924Z] lf-activate-venv: SKIPPING [2022-01-10T20:08:44.924Z] INFO: No Stack... [2022-01-10T20:08:45.186Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T20:08:45.758Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T20:08:46.082Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-01-10T20:08:46.082Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T20:08:46.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] [2022-01-10T20:08:46.180Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] did not exist. Created. [2022-01-10T20:08:46.181Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T20:08:46.571Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-10T20:08:46.626Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T20:08:46.654Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T20:08:46.736Z] $ docker stop --time=1 3c211604f8969f7b204cef48703a8c81f250054e1a5db3c4c654162b255c776b [2022-01-10T20:08:47.894Z] $ docker rm -f 3c211604f8969f7b204cef48703a8c81f250054e1a5db3c4c654162b255c776b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-10T20:09:32.084Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-10T20:09:32.084Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements [2022-01-10T20:09:32.084Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-10T20:09:54.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T20:09:54.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-10T20:09:54.301Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-10T20:09:54.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T20:09:54.947Z] $ docker stop --time=1 2ad4b0a6b57f4cdbc522adbb7c9da35b195c68f5b075b90ced7dc636722374a0 [2022-01-10T20:09:56.711Z] $ docker rm -f 2ad4b0a6b57f4cdbc522adbb7c9da35b195c68f5b075b90ced7dc636722374a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T20:09:57.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T20:09:57.613Z] Warning: overwriting stash ‘coverage-report’ [2022-01-10T20:09:58.035Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T20:09:58.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-10T20:09:58.965Z] + ls -al . [2022-01-10T20:09:58.965Z] total 176 [2022-01-10T20:09:58.965Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:09 . [2022-01-10T20:09:58.965Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:06 .. [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 20:06 .dockerignore [2022-01-10T20:09:58.965Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:06 .git [2022-01-10T20:09:58.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:06 .github [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 20:06 .gitignore [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jan 10 20:06 Attribution.txt [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jan 10 20:06 CHANGELOG.md [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jan 10 20:06 Dockerfile [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 20:06 GOVERNANCE.md [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 20:06 Jenkinsfile [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 20:06 LICENSE [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jan 10 20:06 Makefile [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 20:06 OWNERS.md [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jan 10 20:06 README.md [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 20:04 VERSION [2022-01-10T20:09:58.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:06 bin [2022-01-10T20:09:58.965Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:06 cmd [2022-01-10T20:09:58.965Z] -rw-r--r-- 1 jenkins jenkins 9215 Jan 10 20:09 coverage.out [2022-01-10T20:09:58.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:06 driver [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 277 Jan 10 20:06 go.mod [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 49330 Jan 10 20:06 go.sum [2022-01-10T20:09:58.965Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:06 snap [2022-01-10T20:09:58.965Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 20:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:09:59.324Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c4106a29777e4f3980c9863e0df0515b6399873c --label arch=arm64 --label version=0.0.0 . [2022-01-10T20:09:59.324Z] Sending build context to Docker daemon 131.6kB [2022-01-10T20:09:59.596Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T20:09:59.596Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-10T20:09:59.596Z] ---> af38cfe5cb7b [2022-01-10T20:09:59.596Z] Step 3/24 : ARG MAKE='make build' [2022-01-10T20:09:59.871Z] ---> Running in ac4f65ffb062 [2022-01-10T20:10:00.146Z] Removing intermediate container ac4f65ffb062 [2022-01-10T20:10:00.146Z] ---> 31ab83f995b0 [2022-01-10T20:10:00.146Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-10T20:10:00.146Z] ---> Running in bd16b621fe31 [2022-01-10T20:10:00.419Z] Removing intermediate container bd16b621fe31 [2022-01-10T20:10:00.419Z] ---> 1ad32771ef64 [2022-01-10T20:10:00.419Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-10T20:10:00.693Z] ---> Running in 51ce2e7abd6d [2022-01-10T20:10:00.977Z] Removing intermediate container 51ce2e7abd6d [2022-01-10T20:10:00.977Z] ---> fd1be884ad75 [2022-01-10T20:10:00.977Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T20:10:00.977Z] ---> Running in 51c5d0b90e63 [2022-01-10T20:10:02.974Z] Removing intermediate container 51c5d0b90e63 [2022-01-10T20:10:02.974Z] ---> 3e83597b5566 [2022-01-10T20:10:02.974Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-10T20:10:02.974Z] ---> Running in 85b751e3c4a4 [2022-01-10T20:10:03.958Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T20:10:04.935Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T20:10:05.538Z] OK: 223 MiB in 56 packages [2022-01-10T20:10:06.522Z] Removing intermediate container 85b751e3c4a4 [2022-01-10T20:10:06.522Z] ---> 8e70e86d8bb9 [2022-01-10T20:10:06.522Z] Step 8/24 : WORKDIR /device-rest-go [2022-01-10T20:10:06.522Z] ---> Running in bd237f4465f4 [2022-01-10T20:10:06.795Z] Removing intermediate container bd237f4465f4 [2022-01-10T20:10:06.795Z] ---> 3a86b8bad24e [2022-01-10T20:10:06.795Z] Step 9/24 : COPY . . [2022-01-10T20:10:07.396Z] ---> f27d28e8d987 [2022-01-10T20:10:07.396Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T20:10:07.670Z] ---> Running in 6e60658354e1 [2022-01-10T20:10:09.640Z] Removing intermediate container 6e60658354e1 [2022-01-10T20:10:09.640Z] ---> 77f91e65ef86 [2022-01-10T20:10:09.640Z] Step 11/24 : RUN $MAKE [2022-01-10T20:10:09.640Z] ---> Running in 96c4fa500815 [2022-01-10T20:10:10.622Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-01-10T20:10:49.664Z] Removing intermediate container 96c4fa500815 [2022-01-10T20:10:49.664Z] ---> 20c70b8787ff [2022-01-10T20:10:49.664Z] Step 12/24 : FROM alpine:3.14 [2022-01-10T20:10:49.664Z] 3.14: Pulling from library/alpine [2022-01-10T20:10:49.664Z] be307f383ecc: Pulling fs layer [2022-01-10T20:10:49.664Z] be307f383ecc: Verifying Checksum [2022-01-10T20:10:49.664Z] be307f383ecc: Download complete [2022-01-10T20:10:49.664Z] be307f383ecc: Pull complete [2022-01-10T20:10:49.664Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-10T20:10:49.664Z] Status: Downloaded newer image for alpine:3.14 [2022-01-10T20:10:49.664Z] ---> 5b8b7b635229 [2022-01-10T20:10:49.664Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-10T20:10:49.664Z] ---> Running in a4630371dfe8 [2022-01-10T20:10:49.664Z] Removing intermediate container a4630371dfe8 [2022-01-10T20:10:49.664Z] ---> 178ccc682372 [2022-01-10T20:10:49.664Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-10T20:10:49.664Z] ---> Running in dd05eb01c675 [2022-01-10T20:10:49.664Z] Removing intermediate container dd05eb01c675 [2022-01-10T20:10:49.664Z] ---> 1c0a3dd88f45 [2022-01-10T20:10:49.664Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-10T20:10:49.664Z] ---> Running in 8e528ca877e4 [2022-01-10T20:10:49.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T20:10:49.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T20:10:50.639Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-10T20:10:50.639Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-10T20:10:50.639Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-10T20:10:50.639Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-10T20:10:50.639Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-10T20:10:50.639Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-10T20:10:50.639Z] Executing busybox-1.33.1-r6.trigger [2022-01-10T20:10:50.639Z] OK: 8 MiB in 20 packages [2022-01-10T20:10:51.240Z] Removing intermediate container 8e528ca877e4 [2022-01-10T20:10:51.240Z] ---> af941a0c4089 [2022-01-10T20:10:51.240Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-01-10T20:10:52.222Z] ---> 9109a905952d [2022-01-10T20:10:52.222Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-10T20:10:52.831Z] ---> 367f33897943 [2022-01-10T20:10:52.831Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-10T20:10:53.817Z] ---> c8cf13793984 [2022-01-10T20:10:53.817Z] Step 19/24 : EXPOSE 59986 [2022-01-10T20:10:53.817Z] ---> Running in ad689a219965 [2022-01-10T20:10:54.092Z] Removing intermediate container ad689a219965 [2022-01-10T20:10:54.092Z] ---> 93930ea26e43 [2022-01-10T20:10:54.092Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-01-10T20:10:54.092Z] ---> Running in 21729612fd02 [2022-01-10T20:10:54.364Z] Removing intermediate container 21729612fd02 [2022-01-10T20:10:54.364Z] ---> 2b658debaf88 [2022-01-10T20:10:54.364Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-10T20:10:54.637Z] ---> Running in b5ce512d9fb1 [2022-01-10T20:10:54.911Z] Removing intermediate container b5ce512d9fb1 [2022-01-10T20:10:54.911Z] ---> 834e735f9d8a [2022-01-10T20:10:54.911Z] Step 22/24 : LABEL arch=arm64 [2022-01-10T20:10:54.911Z] ---> Running in 6a0e263324ac [2022-01-10T20:10:55.504Z] Removing intermediate container 6a0e263324ac [2022-01-10T20:10:55.504Z] ---> bdd6511bf6f8 [2022-01-10T20:10:55.504Z] Step 23/24 : LABEL git_sha=c4106a29777e4f3980c9863e0df0515b6399873c [2022-01-10T20:10:55.504Z] ---> Running in 2e13bdb5d54c [2022-01-10T20:10:55.779Z] Removing intermediate container 2e13bdb5d54c [2022-01-10T20:10:55.780Z] ---> 382ae42469df [2022-01-10T20:10:55.780Z] Step 24/24 : LABEL version=0.0.0 [2022-01-10T20:10:55.780Z] ---> Running in 7ad483c24923 [2022-01-10T20:10:56.052Z] Removing intermediate container 7ad483c24923 [2022-01-10T20:10:56.052Z] ---> 922e7bee7624 [2022-01-10T20:10:56.052Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-10T20:10:56.052Z] Successfully built 922e7bee7624 [2022-01-10T20:10:56.052Z] Successfully tagged device-rest-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-10T20:10:57.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T20:10:57.021Z] [2022-01-10T20:10:57.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:10:57.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T20:10:57.685Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-10T20:10:57.685Z] 448f6bf000e3: Pulling fs layer [2022-01-10T20:10:57.685Z] f757da607395: Pulling fs layer [2022-01-10T20:10:57.685Z] 05883995daec: Pulling fs layer [2022-01-10T20:10:57.685Z] 8603b9c90790: Pulling fs layer [2022-01-10T20:10:57.685Z] 1560dd03e051: Pulling fs layer [2022-01-10T20:10:57.685Z] 27f5ce0e4adf: Pulling fs layer [2022-01-10T20:10:57.685Z] c2d8d7efcc4b: Pulling fs layer [2022-01-10T20:10:57.685Z] 8603b9c90790: Waiting [2022-01-10T20:10:57.685Z] 1560dd03e051: Waiting [2022-01-10T20:10:57.685Z] 27f5ce0e4adf: Waiting [2022-01-10T20:10:57.685Z] c2d8d7efcc4b: Waiting [2022-01-10T20:10:57.685Z] f757da607395: Verifying Checksum [2022-01-10T20:10:57.685Z] f757da607395: Download complete [2022-01-10T20:10:57.685Z] 8603b9c90790: Verifying Checksum [2022-01-10T20:10:57.685Z] 8603b9c90790: Download complete [2022-01-10T20:10:57.685Z] 1560dd03e051: Verifying Checksum [2022-01-10T20:10:57.685Z] 1560dd03e051: Download complete [2022-01-10T20:10:57.685Z] 27f5ce0e4adf: Verifying Checksum [2022-01-10T20:10:57.685Z] 27f5ce0e4adf: Download complete [2022-01-10T20:10:57.685Z] 05883995daec: Verifying Checksum [2022-01-10T20:10:57.685Z] 05883995daec: Download complete [2022-01-10T20:10:58.281Z] 448f6bf000e3: Verifying Checksum [2022-01-10T20:10:58.281Z] 448f6bf000e3: Download complete [2022-01-10T20:11:00.907Z] c2d8d7efcc4b: Verifying Checksum [2022-01-10T20:11:00.907Z] c2d8d7efcc4b: Download complete [2022-01-10T20:11:01.508Z] 448f6bf000e3: Pull complete [2022-01-10T20:11:02.104Z] f757da607395: Pull complete [2022-01-10T20:11:03.538Z] 05883995daec: Pull complete [2022-01-10T20:11:03.812Z] 8603b9c90790: Pull complete [2022-01-10T20:11:04.791Z] 1560dd03e051: Pull complete [2022-01-10T20:11:05.064Z] 27f5ce0e4adf: Pull complete [2022-01-10T20:11:20.141Z] c2d8d7efcc4b: Pull complete [2022-01-10T20:11:20.141Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-10T20:11:20.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T20:11:20.141Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-10T20:11:20.392Z] prd-ubuntu18.04-docker-arm64-4c-16g-1150 does not seem to be running inside a container [2022-01-10T20:11:20.464Z] $ 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/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-10T20:11:23.103Z] $ docker top 63206710090ab73db8a58605e2638915fadc376b428bcbb526e4ef4d9a6f7957 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:24.075Z] ---> job-cost.sh [2022-01-10T20:11:24.075Z] lf-activate-venv: SKIPPING [2022-01-10T20:11:24.075Z] INFO: No Stack... [2022-01-10T20:11:24.345Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-10T20:11:24.937Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T20:11:25.613Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-01-10T20:11:25.613Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T20:11:25.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] [2022-01-10T20:11:25.698Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] did not exist. Created. [2022-01-10T20:11:25.698Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T20:11:26.451Z] /w/workspace/device-rest-go/1@tmp/durable-10911040/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-10911040/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-10T20:11:27.147Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-10T20:11:27.186Z] Warning: overwriting stash ‘stack-cost’ [2022-01-10T20:11:27.228Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T20:11:27.242Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T20:11:27.319Z] $ docker stop --time=1 63206710090ab73db8a58605e2638915fadc376b428bcbb526e4ef4d9a6f7957 [2022-01-10T20:11:28.816Z] $ docker rm -f 63206710090ab73db8a58605e2638915fadc376b428bcbb526e4ef4d9a6f7957 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-10T20:11:29.956Z] provisioning config files... [2022-01-10T20:11:29.964Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-150@tmp/config4711116718892469268tmp [Pipeline] { [Pipeline] sh [2022-01-10T20:11:30.303Z] + set +x [2022-01-10T20:11:30.303Z] + curl -s https://codecov.io/bash [2022-01-10T20:11:30.303Z] + bash -s -- [2022-01-10T20:11:30.303Z] [2022-01-10T20:11:30.303Z] _____ _ [2022-01-10T20:11:30.303Z] / ____| | | [2022-01-10T20:11:30.303Z] | | ___ __| | ___ ___ _____ __ [2022-01-10T20:11:30.303Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-10T20:11:30.303Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-10T20:11:30.303Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-10T20:11:30.303Z] Bash-1.0.6 [2022-01-10T20:11:30.303Z] [2022-01-10T20:11:30.303Z] [2022-01-10T20:11:30.303Z] ==> git version 2.24.4 found [2022-01-10T20:11:30.303Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-10T20:11:30.303Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-10T20:11:30.303Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-10T20:11:30.304Z] ==> Jenkins CI detected. [2022-01-10T20:11:30.304Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-150 [2022-01-10T20:11:30.304Z] project root: . [2022-01-10T20:11:30.304Z] --> token set from env [2022-01-10T20:11:30.304Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-10T20:11:30.304Z] ==> Running gcov in . (disable via -X gcov) [2022-01-10T20:11:30.304Z] ==> Python coveragepy not found [2022-01-10T20:11:30.564Z] ==> Searching for coverage reports in: [2022-01-10T20:11:30.564Z] + . [2022-01-10T20:11:30.564Z] -> Found 1 reports [2022-01-10T20:11:30.564Z] ==> Detecting git/mercurial file structure [2022-01-10T20:11:30.564Z] ==> Reading reports [2022-01-10T20:11:30.564Z] + ./coverage.out bytes=9215 [2022-01-10T20:11:30.564Z] ==> Appending adjustments [2022-01-10T20:11:30.564Z] https://docs.codecov.io/docs/fixing-reports [2022-01-10T20:11:30.564Z] + Found adjustments [2022-01-10T20:11:30.564Z] ==> Gzipping contents [2022-01-10T20:11:30.564Z] 4.0K /tmp/codecov.v024Qh.gz [2022-01-10T20:11:30.564Z] ==> Uploading reports [2022-01-10T20:11:30.564Z] url: https://codecov.io [2022-01-10T20:11:30.564Z] query: branch=PR-150&commit=c4106a29777e4f3980c9863e0df0515b6399873c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=150&job=&cmd_args= [2022-01-10T20:11:30.564Z] -> Pinging Codecov [2022-01-10T20:11:30.564Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-150&commit=c4106a29777e4f3980c9863e0df0515b6399873c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=150&job=&cmd_args= [2022-01-10T20:11:30.828Z] -> Uploading to [2022-01-10T20:11:30.828Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-10/4E5D53B4F1F92C436F7061BF334D961C/c4106a29777e4f3980c9863e0df0515b6399873c/50643fd7-1de8-4518-b32a-d65dca6ebabb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220110T201130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5e9065b3430a66948a177b42550ad4340c0693e2710c4d0967d6dfba956d29e [2022-01-10T20:11:30.828Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T20:11:30.828Z] Dload Upload Total Spent Left Speed [2022-01-10T20:11:31.088Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5898 --:--:-- --:--:-- --:--:-- 5918 [2022-01-10T20:11:31.088Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c4106a29777e4f3980c9863e0df0515b6399873c [Pipeline] } [2022-01-10T20:11:31.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-10T20:11:32.778Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-150/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:33.118Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:33.715Z] ---> package-listing.sh [2022-01-10T20:11:33.715Z] ++ facter osfamily [2022-01-10T20:11:33.715Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-10T20:11:33.981Z] + OS_FAMILY=redhat [2022-01-10T20:11:33.981Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-150 [2022-01-10T20:11:33.981Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-10T20:11:33.981Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-10T20:11:33.981Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-10T20:11:33.981Z] + PACKAGES=/tmp/packages_start.txt [2022-01-10T20:11:33.981Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-150 ']' [2022-01-10T20:11:33.981Z] + PACKAGES=/tmp/packages_end.txt [2022-01-10T20:11:33.981Z] + case "${OS_FAMILY}" in [2022-01-10T20:11:33.981Z] + rpm -qa [2022-01-10T20:11:33.981Z] + sort [2022-01-10T20:11:34.557Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-10T20:11:34.557Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-10T20:11:34.557Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-10T20:11:34.557Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-150 ']' [2022-01-10T20:11:34.557Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-150/archives/ [2022-01-10T20:11:34.557Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-150/archives/ [Pipeline] echo [2022-01-10T20:11:34.588Z] 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/gexfoundry_device-rest-go_PR-150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-10T20:11:34.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:11:35.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T20:11:35.481Z] [2022-01-10T20:11:35.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T20:11:35.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T20:11:35.838Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T20:11:35.838Z] b4d181a07f80: Pulling fs layer [2022-01-10T20:11:35.838Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T20:11:35.838Z] ed53099fbce6: Pulling fs layer [2022-01-10T20:11:35.838Z] dc539afda2c1: Pulling fs layer [2022-01-10T20:11:35.838Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T20:11:35.838Z] 9065ff56babe: Pulling fs layer [2022-01-10T20:11:35.838Z] d287ab97295c: Pulling fs layer [2022-01-10T20:11:35.838Z] 77bc0d833cb6: Waiting [2022-01-10T20:11:35.838Z] 9065ff56babe: Waiting [2022-01-10T20:11:35.838Z] d287ab97295c: Waiting [2022-01-10T20:11:35.838Z] dc539afda2c1: Waiting [2022-01-10T20:11:35.838Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T20:11:35.838Z] a1111a8f2ec3: Download complete [2022-01-10T20:11:35.838Z] dc539afda2c1: Verifying Checksum [2022-01-10T20:11:35.838Z] dc539afda2c1: Download complete [2022-01-10T20:11:36.110Z] ed53099fbce6: Verifying Checksum [2022-01-10T20:11:36.110Z] ed53099fbce6: Download complete [2022-01-10T20:11:36.110Z] 9065ff56babe: Verifying Checksum [2022-01-10T20:11:36.110Z] 9065ff56babe: Download complete [2022-01-10T20:11:36.110Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T20:11:36.110Z] 77bc0d833cb6: Download complete [2022-01-10T20:11:36.110Z] b4d181a07f80: Verifying Checksum [2022-01-10T20:11:36.110Z] b4d181a07f80: Download complete [2022-01-10T20:11:36.685Z] d287ab97295c: Verifying Checksum [2022-01-10T20:11:36.685Z] d287ab97295c: Download complete [2022-01-10T20:11:37.642Z] b4d181a07f80: Pull complete [2022-01-10T20:11:37.642Z] a1111a8f2ec3: Pull complete [2022-01-10T20:11:38.216Z] ed53099fbce6: Pull complete [2022-01-10T20:11:38.480Z] dc539afda2c1: Pull complete [2022-01-10T20:11:38.747Z] 77bc0d833cb6: Pull complete [2022-01-10T20:11:38.747Z] 9065ff56babe: Pull complete [2022-01-10T20:11:44.106Z] d287ab97295c: Pull complete [2022-01-10T20:11:44.106Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T20:11:44.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T20:11:44.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T20:11:44.208Z] prd-centos7-docker-4c-2g-1149 does not seem to be running inside a container [2022-01-10T20:11:44.245Z] $ 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/gexfoundry_device-rest-go_PR-150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-150 -v /w/workspace/gexfoundry_device-rest-go_PR-150:/w/workspace/gexfoundry_device-rest-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-150@tmp:/w/workspace/gexfoundry_device-rest-go_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T20:11:46.624Z] $ docker top 9c5e333b08273750d2ade10b7a7f3167ddfc016dbdc6d2dad22dc26f2f4aa1c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T20:11:47.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-10T20:11:47.380Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-10T20:11:47.701Z] + ls /var/log/sa-host [2022-01-10T20:11:47.701Z] + sadf -c /var/log/sa-host/sa10 [2022-01-10T20:11:47.701Z] file_magic: OK [2022-01-10T20:11:47.701Z] HZ: Using current value: 100 [2022-01-10T20:11:47.701Z] file_header: OK [2022-01-10T20:11:47.701Z] 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-10T20:11:47.701Z] Statistics: [2022-01-10T20:11:47.701Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T20:11:47.701Z] File successfully converted to sysstat format version 12.0.3 [2022-01-10T20:11:47.701Z] + sadf -c /var/log/sa-host/sa17 [2022-01-10T20:11:47.701Z] file_magic: OK [2022-01-10T20:11:47.701Z] HZ: Using current value: 100 [2022-01-10T20:11:47.701Z] file_header: OK [2022-01-10T20:11:47.701Z] 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-10T20:11:47.701Z] Statistics: [2022-01-10T20:11:47.701Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T20:11:47.701Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T20:11:47.969Z] provisioning config files... [2022-01-10T20:11:47.979Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-150@tmp/config3540542602341034412tmp [Pipeline] { [Pipeline] echo [2022-01-10T20:11:48.033Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:48.362Z] ---> create-netrc.sh [Pipeline] } [2022-01-10T20:11:48.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:48.800Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-10T20:11:48.830Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:49.147Z] ---> sudo-logs.sh [2022-01-10T20:11:49.147Z] Archiving 'sudo' log.. [2022-01-10T20:11:49.147Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1149.novalocal: Name or service not known [2022-01-10T20:11:49.147Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1149.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-10T20:11:49.255Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:49.573Z] ---> job-cost.sh [2022-01-10T20:11:49.573Z] lf-activate-venv: SKIPPING [2022-01-10T20:11:49.573Z] DEBUG: total: 0.10999999940395355 [2022-01-10T20:11:49.573Z] INFO: Retrieving Stack Cost... [2022-01-10T20:11:49.833Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T20:11:50.405Z] INFO: Archiving Costs [Pipeline] echo [2022-01-10T20:11:50.438Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T20:11:50.761Z] ---> logs-deploy.sh [2022-01-10T20:11:50.761Z] lf-activate-venv: SKIPPING [2022-01-10T20:11:50.761Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-150/1 [2022-01-10T20:11:50.761Z] INFO: archiving workspace using pattern(s): [2022-01-10T20:11:51.337Z] Archives upload complete. [2022-01-10T20:11:51.599Z] INFO: archiving logs to Nexus