Pull request #147 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 222d1f311544bad39e88712429eca03a159ca802+77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 (09bf457227be941eb7221a97c3355478488e4612) Running in Durability level: MAX_SURVIVABILITY 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-ssh8062874073474329281.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-ssh5123701112730581150.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-147/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-147/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6344883207318118439.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-147/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6984129582338565778.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-ssh7055936022215373134.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-147/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-147/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4291847484539695223.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-825 in /w/workspace/gexfoundry_device-rest-go_PR-147 [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-147 # 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-147@tmp/jenkins-gitclient-ssh88514422657453792.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 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 into PR head commit 222d1f311544bad39e88712429eca03a159ca802 Merge succeeded, producing 222d1f311544bad39e88712429eca03a159ca802 Checking out Revision 222d1f311544bad39e88712429eca03a159ca802 (PR-147) > 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-147@tmp/jenkins-gitclient-ssh6073502036153619000.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 222d1f311544bad39e88712429eca03a159ca802 # 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-147@tmp/jenkins-gitclient-ssh3061122822159220332.key > git merge 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 222d1f311544bad39e88712429eca03a159ca802 # timeout=10 Commit message: "build: Update to latest SDK w/o ZMQ on windows" 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 [2021-11-30T19:05:54.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-30T19:05:54.463Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-30T19:05:54.549Z] ========================================================= [2021-11-30T19:05:54.549Z] EdgeX Global Pipelines Version Info [2021-11-30T19:05:54.549Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:05:55.788Z] ------------------- [2021-11-30T19:05:55.788Z] stable info: [2021-11-30T19:05:55.788Z] ------------------- [2021-11-30T19:05:55.788Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-30T19:05:55.788Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-30T19:05:55.788Z] Message: update stable to v1.0.217 [2021-11-30T19:05:56.374Z] ------------------- [2021-11-30T19:05:56.374Z] experimental info: [2021-11-30T19:05:56.374Z] ------------------- [2021-11-30T19:05:56.374Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-30T19:05:56.374Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-30T19:05:56.374Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-30T19:05:56.546Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-30T19:05:56.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-30T19:05:56.635Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-30T19:05:56.673Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-30T19:05:56.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-30T19:05:56.753Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-30T19:05:56.797Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-30T19:05:56.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-30T19:05:56.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-30T19:05:56.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-30T19:05:56.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-30T19:05:56.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-30T19:05:57.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-30T19:05:57.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-30T19:05:57.111Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-30T19:05:57.161Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-30T19:05:57.199Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-30T19:05:57.237Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-30T19:05:57.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-30T19:05:57.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-30T19:05:57.366Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-30T19:05:57.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-30T19:05:57.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-30T19:05:57.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-30T19:05:57.526Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-30T19:05:57.569Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-30T19:05:57.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-147 [Pipeline] echo [2021-11-30T19:05:57.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-147 [Pipeline] echo [2021-11-30T19:05:57.685Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-147 [Pipeline] echo [2021-11-30T19:05:57.726Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 222d1f311544bad39e88712429eca03a159ca802 [Pipeline] echo [2021-11-30T19:05:57.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 222d1f3 [Pipeline] echo [2021-11-30T19:05:57.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T19:05:57.914Z] provisioning config files... [2021-11-30T19:05:57.934Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-147@tmp/config4074147297607393332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:05:58.282Z] ---> docker-login.sh [2021-11-30T19:05:58.282Z] nexus3.edgexfoundry.org:10001 [2021-11-30T19:05:58.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:05:58.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:05:58.543Z] Configure a credential helper to remove this warning. See [2021-11-30T19:05:58.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:05:58.543Z] [2021-11-30T19:05:58.543Z] Login Succeeded [2021-11-30T19:05:58.543Z] nexus3.edgexfoundry.org:10002 [2021-11-30T19:05:58.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:05:58.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:05:58.543Z] Configure a credential helper to remove this warning. See [2021-11-30T19:05:58.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:05:58.543Z] [2021-11-30T19:05:58.543Z] Login Succeeded [2021-11-30T19:05:58.543Z] nexus3.edgexfoundry.org:10003 [2021-11-30T19:05:58.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:05:58.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:05:58.806Z] Configure a credential helper to remove this warning. See [2021-11-30T19:05:58.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:05:58.806Z] [2021-11-30T19:05:58.806Z] Login Succeeded [2021-11-30T19:05:58.806Z] nexus3.edgexfoundry.org:10004 [2021-11-30T19:05:58.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:05:58.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:05:58.806Z] Configure a credential helper to remove this warning. See [2021-11-30T19:05:58.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:05:58.806Z] [2021-11-30T19:05:58.806Z] Login Succeeded [2021-11-30T19:05:58.806Z] docker.io [2021-11-30T19:05:58.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:05:59.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:05:59.066Z] Configure a credential helper to remove this warning. See [2021-11-30T19:05:59.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:05:59.066Z] [2021-11-30T19:05:59.066Z] Login Succeeded [2021-11-30T19:05:59.066Z] ---> docker-login.sh ends [Pipeline] } [2021-11-30T19:05:59.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-30T19:05:59.685Z] + git rev-list -1 --merges 222d1f311544bad39e88712429eca03a159ca802~1..222d1f311544bad39e88712429eca03a159ca802 [Pipeline] echo [2021-11-30T19:05:59.737Z] -----------> git rev-list -1 --merges 222d1f311544bad39e88712429eca03a159ca802~1..222d1f311544bad39e88712429eca03a159ca802 222d1f311544bad39e88712429eca03a159ca802 [false] [Pipeline] sh [2021-11-30T19:06:00.074Z] + git log --format=format:%s -1 222d1f311544bad39e88712429eca03a159ca802 [Pipeline] echo [2021-11-30T19:06:00.107Z] ========================================================= [2021-11-30T19:06:00.107Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-30T19:06:00.107Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-30T19:06:00.514Z] + git log --format=format:%s -1 222d1f311544bad39e88712429eca03a159ca802 [Pipeline] echo [2021-11-30T19:06:00.540Z] [semverPrep] GIT_COMMIT: 222d1f311544bad39e88712429eca03a159ca802, Commit Message: build: Update to latest SDK w/o ZMQ on windows [Pipeline] echo [2021-11-30T19:06:00.567Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-11-30T19:06:00.976Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-30T19:06:00.976Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-11-30T19:06:00.976Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-11-30T19:06:00.976Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-11-30T19:06:00.976Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-11-30T19:06:00.976Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-11-30T19:06:00.976Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:06:01.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T19:06:01.348Z] [2021-11-30T19:06:01.348Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:06:01.704Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T19:06:01.704Z] latest: Pulling from edgex-devops/git-semver [2021-11-30T19:06:01.704Z] a0d0a0d46f8b: Pulling fs layer [2021-11-30T19:06:01.704Z] 3e5f54012d9b: Pulling fs layer [2021-11-30T19:06:01.704Z] 4c7163046ea9: Pulling fs layer [2021-11-30T19:06:01.704Z] 0c2d73faf560: Pulling fs layer [2021-11-30T19:06:01.704Z] 0c2d73faf560: Waiting [2021-11-30T19:06:01.704Z] 3e5f54012d9b: Verifying Checksum [2021-11-30T19:06:01.704Z] 3e5f54012d9b: Download complete [2021-11-30T19:06:01.704Z] a0d0a0d46f8b: Verifying Checksum [2021-11-30T19:06:01.704Z] a0d0a0d46f8b: Download complete [2021-11-30T19:06:01.704Z] 4c7163046ea9: Verifying Checksum [2021-11-30T19:06:01.704Z] 4c7163046ea9: Download complete [2021-11-30T19:06:01.704Z] 0c2d73faf560: Verifying Checksum [2021-11-30T19:06:01.704Z] 0c2d73faf560: Download complete [2021-11-30T19:06:01.972Z] a0d0a0d46f8b: Pull complete [2021-11-30T19:06:01.972Z] 3e5f54012d9b: Pull complete [2021-11-30T19:06:02.231Z] 4c7163046ea9: Pull complete [2021-11-30T19:06:02.492Z] 0c2d73faf560: Pull complete [2021-11-30T19:06:02.492Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-30T19:06:02.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T19:06:02.492Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-30T19:06:02.579Z] prd-centos7-docker-4c-2g-825 does not seem to be running inside a container [2021-11-30T19:06:02.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-147 -v /w/workspace/gexfoundry_device-rest-go_PR-147:/w/workspace/gexfoundry_device-rest-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-147@tmp:/w/workspace/gexfoundry_device-rest-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-30T19:06:03.161Z] $ docker top 049a02e2d396d775fa834b51e560ad9628c59182315da479a782df640b5f2385 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-30T19:06:03.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-30T19:06:03.328Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-30T19:06:03.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-30T19:06:03.443Z] $ docker exec 049a02e2d396d775fa834b51e560ad9628c59182315da479a782df640b5f2385 ssh-agent [2021-11-30T19:06:03.555Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHnKAiM/agent.14 [2021-11-30T19:06:03.555Z] SSH_AGENT_PID=20 [2021-11-30T19:06:03.565Z] Running ssh-add (command line suppressed) [2021-11-30T19:06:03.661Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-147@tmp/private_key_9222337936648828231.key (/w/workspace/gexfoundry_device-rest-go_PR-147@tmp/private_key_9222337936648828231.key) [2021-11-30T19:06:03.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-30T19:06:04.010Z] + git tag --points-at HEAD [Pipeline] } [2021-11-30T19:06:04.031Z] $ docker exec --env ******** --env ******** 049a02e2d396d775fa834b51e560ad9628c59182315da479a782df640b5f2385 ssh-agent -k [2021-11-30T19:06:04.119Z] unset SSH_AUTH_SOCK; [2021-11-30T19:06:04.119Z] unset SSH_AGENT_PID; [2021-11-30T19:06:04.119Z] echo Agent pid 20 killed; [2021-11-30T19:06:04.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-30T19:06:04.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-30T19:06:04.197Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-30T19:06:04.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-30T19:06:04.308Z] $ docker exec 049a02e2d396d775fa834b51e560ad9628c59182315da479a782df640b5f2385 ssh-agent [2021-11-30T19:06:04.413Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFAKAPO/agent.53 [2021-11-30T19:06:04.413Z] SSH_AGENT_PID=59 [2021-11-30T19:06:04.419Z] Running ssh-add (command line suppressed) [2021-11-30T19:06:04.517Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-147@tmp/private_key_1864808176148609878.key (/w/workspace/gexfoundry_device-rest-go_PR-147@tmp/private_key_1864808176148609878.key) [2021-11-30T19:06:04.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-30T19:06:04.854Z] + git semver init [2021-11-30T19:06:04.854Z] # -> Open(): unable to determine branch for HEAD [2021-11-30T19:06:04.854Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-147/.git [2021-11-30T19:06:04.854Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-147 [2021-11-30T19:06:04.854Z] # $SEMVER_REMOTE_NAME = origin [2021-11-30T19:06:04.854Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-30T19:06:04.854Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-30T19:06:04.854Z] # $SEMVER_BRANCH = PR-147 [2021-11-30T19:06:04.854Z] # $SEMVER_TEMP = /tmp/semver-616013712 [2021-11-30T19:06:04.854Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-30T19:06:06.234Z] # '/tmp/semver-616013712' -> '/w/workspace/gexfoundry_device-rest-go_PR-147/.semver' [2021-11-30T19:06:06.234Z] # -> Force: false [2021-11-30T19:06:06.234Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-147/.semver [Pipeline] } [2021-11-30T19:06:06.250Z] $ docker exec --env ******** --env ******** 049a02e2d396d775fa834b51e560ad9628c59182315da479a782df640b5f2385 ssh-agent -k [2021-11-30T19:06:06.337Z] unset SSH_AUTH_SOCK; [2021-11-30T19:06:06.338Z] unset SSH_AGENT_PID; [2021-11-30T19:06:06.339Z] echo Agent pid 59 killed; [2021-11-30T19:06:06.349Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-30T19:06:06.743Z] + git semver [Pipeline] } [2021-11-30T19:06:06.769Z] $ docker stop --time=1 049a02e2d396d775fa834b51e560ad9628c59182315da479a782df640b5f2385 [2021-11-30T19:06:08.060Z] $ docker rm -f 049a02e2d396d775fa834b51e560ad9628c59182315da479a782df640b5f2385 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-30T19:06:08.463Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-30T19:06:08.750Z] Stashed 1 file(s) [Pipeline] echo [2021-11-30T19:06:08.768Z] [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 [2021-11-30T19:06:24.118Z] Still waiting to schedule task [2021-11-30T19:06:24.119Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-30T19:06:24.139Z] Still waiting to schedule task [2021-11-30T19:06:24.139Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-30T19:07:57.476Z] Running on prd-centos7-docker-4c-2g-826 in /w/workspace/gexfoundry_device-rest-go_PR-147 [Pipeline] { [Pipeline] ws [2021-11-30T19:07:57.514Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-11-30T19:07:57.633Z] The recommended git tool is: git [2021-11-30T19:07:59.543Z] using credential edgex-jenkins-ssh [2021-11-30T19:07:59.553Z] Cloning the remote Git repository [2021-11-30T19:07:59.377Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-30T19:07:59.438Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-11-30T19:07:59.476Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-30T19:07:59.476Z] > git --version # timeout=10 [2021-11-30T19:07:59.484Z] > git --version # 'git version 2.24.4' [2021-11-30T19:07:59.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T19:07:59.507Z] [INFO] Currently running in a labeled security context [2021-11-30T19:07:59.508Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-30T19:07:59.508Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh9050715167134319655.key [2021-11-30T19:07:59.519Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T19:08:00.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-30T19:08:00.604Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T19:08:00.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-30T19:08:00.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-30T19:08:00.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T19:08:00.631Z] [INFO] Currently running in a labeled security context [2021-11-30T19:08:00.631Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-30T19:08:00.631Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5090171514879141558.key [2021-11-30T19:08:00.640Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-30T19:08:01.382Z] Merging remotes/origin/main commit 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 into PR head commit 222d1f311544bad39e88712429eca03a159ca802 [2021-11-30T19:08:01.474Z] Merge succeeded, producing 222d1f311544bad39e88712429eca03a159ca802 [2021-11-30T19:08:01.475Z] Checking out Revision 222d1f311544bad39e88712429eca03a159ca802 (PR-147) [2021-11-30T19:08:01.191Z] > git config core.sparsecheckout # timeout=10 [2021-11-30T19:08:01.203Z] > git checkout -f 222d1f311544bad39e88712429eca03a159ca802 # timeout=10 [2021-11-30T19:08:01.227Z] > git remote # timeout=10 [2021-11-30T19:08:01.234Z] > git config --get remote.origin.url # timeout=10 [2021-11-30T19:08:01.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T19:08:01.243Z] [INFO] Currently running in a labeled security context [2021-11-30T19:08:01.243Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-30T19:08:01.243Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh403554042665723396.key [2021-11-30T19:08:01.250Z] > git merge 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 [2021-11-30T19:08:01.258Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-30T19:08:01.277Z] > git config core.sparsecheckout # timeout=10 [2021-11-30T19:08:01.289Z] > git checkout -f 222d1f311544bad39e88712429eca03a159ca802 # timeout=10 [2021-11-30T19:08:05.002Z] Commit message: "build: Update to latest SDK w/o ZMQ on windows" [2021-11-30T19:08:04.885Z] > git --version # timeout=10 [2021-11-30T19:08:04.893Z] > git --version # 'git version 2.24.4' [2021-11-30T19:08:04.902Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T19:08:05.595Z] provisioning config files... [2021-11-30T19:08:05.611Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4325733467388048076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:08:06.038Z] ---> docker-login.sh [2021-11-30T19:08:06.038Z] nexus3.edgexfoundry.org:10001 [2021-11-30T19:08:06.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:08:06.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:08:06.038Z] Configure a credential helper to remove this warning. See [2021-11-30T19:08:06.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:08:06.038Z] [2021-11-30T19:08:06.038Z] Login Succeeded [2021-11-30T19:08:06.038Z] nexus3.edgexfoundry.org:10002 [2021-11-30T19:08:06.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:08:06.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:08:06.302Z] Configure a credential helper to remove this warning. See [2021-11-30T19:08:06.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:08:06.302Z] [2021-11-30T19:08:06.302Z] Login Succeeded [2021-11-30T19:08:06.302Z] nexus3.edgexfoundry.org:10003 [2021-11-30T19:08:06.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:08:06.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:08:06.302Z] Configure a credential helper to remove this warning. See [2021-11-30T19:08:06.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:08:06.302Z] [2021-11-30T19:08:06.302Z] Login Succeeded [2021-11-30T19:08:06.302Z] nexus3.edgexfoundry.org:10004 [2021-11-30T19:08:06.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:08:06.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:08:06.565Z] Configure a credential helper to remove this warning. See [2021-11-30T19:08:06.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:08:06.565Z] [2021-11-30T19:08:06.565Z] Login Succeeded [2021-11-30T19:08:06.565Z] docker.io [2021-11-30T19:08:06.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:08:06.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:08:06.825Z] Configure a credential helper to remove this warning. See [2021-11-30T19:08:06.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:08:06.825Z] [2021-11-30T19:08:06.825Z] Login Succeeded [2021-11-30T19:08:06.825Z] ---> docker-login.sh ends [Pipeline] } [2021-11-30T19:08:06.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-30T19:08:07.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-30T19:08:07.161Z] ========================================================= [2021-11-30T19:08:07.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-30T19:08:07.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:08:07.585Z] + 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 . [2021-11-30T19:08:07.585Z] Sending build context to Docker daemon 121.9kB [2021-11-30T19:08:07.585Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T19:08:07.585Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-30T19:08:07.585Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-30T19:08:07.585Z] a0d0a0d46f8b: Pulling fs layer [2021-11-30T19:08:07.585Z] 31adcdaf11c8: Pulling fs layer [2021-11-30T19:08:07.585Z] b8b176561691: Pulling fs layer [2021-11-30T19:08:07.585Z] 4527c011a84f: Pulling fs layer [2021-11-30T19:08:07.585Z] 5d74067f8e1e: Pulling fs layer [2021-11-30T19:08:07.585Z] e0aca202a116: Pulling fs layer [2021-11-30T19:08:07.585Z] 3a43be97a3b4: Pulling fs layer [2021-11-30T19:08:07.585Z] 34cad66bf833: Pulling fs layer [2021-11-30T19:08:07.585Z] b4e3c513aaa6: Pulling fs layer [2021-11-30T19:08:07.585Z] 4527c011a84f: Waiting [2021-11-30T19:08:07.585Z] 5d74067f8e1e: Waiting [2021-11-30T19:08:07.585Z] e0aca202a116: Waiting [2021-11-30T19:08:07.585Z] 3a43be97a3b4: Waiting [2021-11-30T19:08:07.585Z] 34cad66bf833: Waiting [2021-11-30T19:08:07.585Z] b4e3c513aaa6: Waiting [2021-11-30T19:08:07.585Z] b8b176561691: Verifying Checksum [2021-11-30T19:08:07.585Z] b8b176561691: Download complete [2021-11-30T19:08:07.585Z] 31adcdaf11c8: Verifying Checksum [2021-11-30T19:08:07.585Z] 31adcdaf11c8: Download complete [2021-11-30T19:08:07.585Z] 5d74067f8e1e: Verifying Checksum [2021-11-30T19:08:07.585Z] 5d74067f8e1e: Download complete [2021-11-30T19:08:07.585Z] e0aca202a116: Verifying Checksum [2021-11-30T19:08:07.585Z] e0aca202a116: Download complete [2021-11-30T19:08:07.585Z] 3a43be97a3b4: Verifying Checksum [2021-11-30T19:08:07.585Z] 3a43be97a3b4: Download complete [2021-11-30T19:08:07.585Z] a0d0a0d46f8b: Verifying Checksum [2021-11-30T19:08:07.585Z] a0d0a0d46f8b: Download complete [2021-11-30T19:08:07.864Z] 34cad66bf833: Verifying Checksum [2021-11-30T19:08:07.864Z] 34cad66bf833: Download complete [2021-11-30T19:08:08.131Z] a0d0a0d46f8b: Pull complete [2021-11-30T19:08:08.131Z] b4e3c513aaa6: Verifying Checksum [2021-11-30T19:08:08.131Z] b4e3c513aaa6: Download complete [2021-11-30T19:08:08.404Z] 4527c011a84f: Verifying Checksum [2021-11-30T19:08:08.404Z] 4527c011a84f: Download complete [2021-11-30T19:08:08.404Z] 31adcdaf11c8: Pull complete [2021-11-30T19:08:08.404Z] b8b176561691: Pull complete [2021-11-30T19:08:12.682Z] 4527c011a84f: Pull complete [2021-11-30T19:08:12.682Z] 5d74067f8e1e: Pull complete [2021-11-30T19:08:12.682Z] e0aca202a116: Pull complete [2021-11-30T19:08:12.682Z] 3a43be97a3b4: Pull complete [2021-11-30T19:08:12.682Z] 34cad66bf833: Pull complete [2021-11-30T19:08:15.249Z] b4e3c513aaa6: Pull complete [2021-11-30T19:08:15.249Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-30T19:08:15.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-30T19:08:15.249Z] ---> 9f6097aaca64 [2021-11-30T19:08:15.249Z] Step 3/11 : ARG MAKE='make build' [2021-11-30T19:08:16.643Z] ---> Running in 046acf96f362 [2021-11-30T19:08:16.643Z] Removing intermediate container 046acf96f362 [2021-11-30T19:08:16.643Z] ---> fa94d50200a9 [2021-11-30T19:08:16.643Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-30T19:08:16.643Z] ---> Running in 6401698af7b0 [2021-11-30T19:08:16.643Z] Removing intermediate container 6401698af7b0 [2021-11-30T19:08:16.643Z] ---> 06c04d68d736 [2021-11-30T19:08:16.643Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-30T19:08:16.643Z] ---> Running in 585ed0dc4a9d [2021-11-30T19:08:17.108Z] Removing intermediate container 585ed0dc4a9d [2021-11-30T19:08:17.108Z] ---> f9c62aa07b3c [2021-11-30T19:08:17.108Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T19:08:17.108Z] ---> Running in e4077c754559 [2021-11-30T19:08:17.376Z] Removing intermediate container e4077c754559 [2021-11-30T19:08:17.376Z] ---> 3d176d9f7451 [2021-11-30T19:08:17.376Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-30T19:08:17.376Z] ---> Running in 07a120d0f0ef [2021-11-30T19:08:17.636Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-30T19:08:18.211Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-30T19:08:19.161Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-30T19:08:19.426Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-30T19:08:19.426Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-30T19:08:20.003Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-30T19:08:20.267Z] Executing busybox-1.33.1-r3.trigger [2021-11-30T19:08:20.267Z] OK: 224 MiB in 56 packages [2021-11-30T19:08:20.532Z] Removing intermediate container 07a120d0f0ef [2021-11-30T19:08:20.532Z] ---> f2450fba259c [2021-11-30T19:08:20.532Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-30T19:08:20.532Z] ---> Running in 79f3e4561b00 [2021-11-30T19:08:20.532Z] Removing intermediate container 79f3e4561b00 [2021-11-30T19:08:20.532Z] ---> 47c959b9c1e7 [2021-11-30T19:08:20.532Z] Step 9/11 : COPY . . [2021-11-30T19:08:20.796Z] ---> 63995cd3808f [2021-11-30T19:08:20.796Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T19:08:20.796Z] ---> Running in 9b4e3a3f4edf [2021-11-30T19:08:53.229Z] Removing intermediate container 9b4e3a3f4edf [2021-11-30T19:08:53.229Z] ---> c07e6e72b989 [2021-11-30T19:08:53.229Z] Step 11/11 : RUN $MAKE [2021-11-30T19:08:53.229Z] ---> Running in dc070e874167 [2021-11-30T19:08:53.229Z] noop [2021-11-30T19:08:53.229Z] Removing intermediate container dc070e874167 [2021-11-30T19:08:53.229Z] ---> 94d6aed10726 [2021-11-30T19:08:53.229Z] Successfully built 94d6aed10726 [2021-11-30T19:08:53.229Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:08:53.553Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-30T19:08:53.553Z] . [Pipeline] withDockerContainer [2021-11-30T19:08:53.642Z] prd-centos7-docker-4c-2g-826 does not seem to be running inside a container [2021-11-30T19:08:53.682Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-30T19:08:54.046Z] $ docker top 6b2a77030aa7aea846c7b7a90d793eb8ea8c2be182bb368574992d7df8d5fbad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-30T19:08:54.868Z] + go version [2021-11-30T19:08:54.868Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-30T19:08:54.895Z] $ docker stop --time=1 6b2a77030aa7aea846c7b7a90d793eb8ea8c2be182bb368574992d7df8d5fbad [2021-11-30T19:08:56.073Z] $ docker rm -f 6b2a77030aa7aea846c7b7a90d793eb8ea8c2be182bb368574992d7df8d5fbad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:08:56.721Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-30T19:08:56.721Z] . [Pipeline] withDockerContainer [2021-11-30T19:08:56.819Z] prd-centos7-docker-4c-2g-826 does not seem to be running inside a container [2021-11-30T19:08:56.864Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-30T19:08:57.247Z] $ docker top 4035cf54832d470a03468dea758b69f8fa26ddb365e1654eaec305d4dc452965 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-30T19:08:57.678Z] + make test [2021-11-30T19:08:57.678Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-30T19:08:57.950Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-30T19:09:13.201Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-30T19:09:13.799Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 56.0% of statements [2021-11-30T19:09:13.799Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-30T19:09:20.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-30T19:09:20.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-30T19:09:20.668Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-30T19:09:20.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-30T19:09:20.989Z] $ docker stop --time=1 4035cf54832d470a03468dea758b69f8fa26ddb365e1654eaec305d4dc452965 [2021-11-30T19:09:22.399Z] $ docker rm -f 4035cf54832d470a03468dea758b69f8fa26ddb365e1654eaec305d4dc452965 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-30T19:09:22.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-30T19:09:23.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-30T19:09:23.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-30T19:09:24.264Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-827 in /w/workspace/gexfoundry_device-rest-go_PR-147 [Pipeline] { [Pipeline] ws [2021-11-30T19:09:24.309Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [2021-11-30T19:09:24.344Z] + ls -al . [2021-11-30T19:09:24.344Z] total 148 [2021-11-30T19:09:24.344Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 30 19:09 . [2021-11-30T19:09:24.344Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 30 19:07 .. [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 30 19:08 Attribution.txt [2021-11-30T19:09:24.344Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 30 19:08 bin [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 30 19:08 CHANGELOG.md [2021-11-30T19:09:24.344Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 30 19:08 cmd [2021-11-30T19:09:24.344Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 30 19:09 coverage.out [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 30 19:08 Dockerfile [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 30 19:08 .dockerignore [2021-11-30T19:09:24.344Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 30 19:08 driver [2021-11-30T19:09:24.344Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 30 19:08 .git [2021-11-30T19:09:24.344Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 30 19:08 .github [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 30 19:08 .gitignore [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 277 Nov 30 19:08 go.mod [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 49330 Nov 30 19:08 go.sum [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 30 19:08 GOVERNANCE.md [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 30 19:08 Jenkinsfile [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 30 19:08 LICENSE [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 30 19:08 Makefile [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 30 19:08 OWNERS.md [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 8246 Nov 30 19:08 README.md [2021-11-30T19:09:24.344Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 30 19:08 snap [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 30 19:06 VERSION [2021-11-30T19:09:24.344Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 30 19:08 version.go [Pipeline] checkout [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:09:24.605Z] The recommended git tool is: git [2021-11-30T19:09:24.922Z] + 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=222d1f311544bad39e88712429eca03a159ca802 --label arch=amd64 --label version=0.0.0 . [2021-11-30T19:09:24.923Z] Sending build context to Docker daemon 131.6kB [2021-11-30T19:09:24.923Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T19:09:24.923Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-30T19:09:24.923Z] ---> 94d6aed10726 [2021-11-30T19:09:24.923Z] Step 3/24 : ARG MAKE='make build' [2021-11-30T19:09:24.923Z] ---> Running in 828294d9a397 [2021-11-30T19:09:24.923Z] Removing intermediate container 828294d9a397 [2021-11-30T19:09:24.923Z] ---> d17cc4b22468 [2021-11-30T19:09:24.923Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-30T19:09:24.923Z] ---> Running in 54ed151afb0c [2021-11-30T19:09:25.193Z] Removing intermediate container 54ed151afb0c [2021-11-30T19:09:25.193Z] ---> 52fa2c6f2e23 [2021-11-30T19:09:25.193Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-30T19:09:25.193Z] ---> Running in 30b7d22fab68 [2021-11-30T19:09:25.193Z] Removing intermediate container 30b7d22fab68 [2021-11-30T19:09:25.193Z] ---> 500097817438 [2021-11-30T19:09:25.193Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T19:09:25.193Z] ---> Running in a4d6fba551bc [2021-11-30T19:09:25.772Z] Removing intermediate container a4d6fba551bc [2021-11-30T19:09:25.772Z] ---> 4af5d8ab4af9 [2021-11-30T19:09:25.772Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-30T19:09:25.772Z] ---> Running in fcf16b598c05 [2021-11-30T19:09:26.034Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-30T19:09:26.990Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-30T19:09:26.990Z] OK: 224 MiB in 56 packages [2021-11-30T19:09:27.254Z] Removing intermediate container fcf16b598c05 [2021-11-30T19:09:27.254Z] ---> bd45d38a84fe [2021-11-30T19:09:27.254Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-30T19:09:27.254Z] ---> Running in 2b29d4d4b25e [2021-11-30T19:09:27.517Z] Removing intermediate container 2b29d4d4b25e [2021-11-30T19:09:27.517Z] ---> c4f311eca853 [2021-11-30T19:09:27.517Z] Step 9/24 : COPY . . [2021-11-30T19:09:27.517Z] ---> 4a1071ce8014 [2021-11-30T19:09:27.517Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T19:09:27.517Z] ---> Running in d7310cce8b9c [2021-11-30T19:09:28.095Z] Removing intermediate container d7310cce8b9c [2021-11-30T19:09:28.095Z] ---> 962f59d3b9b2 [2021-11-30T19:09:28.095Z] Step 11/24 : RUN $MAKE [2021-11-30T19:09:28.095Z] ---> Running in f06b8985ae5a [2021-11-30T19:09:28.363Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-30T19:09:31.101Z] using credential edgex-jenkins-ssh [2021-11-30T19:09:31.119Z] Cloning the remote Git repository [2021-11-30T19:09:31.202Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-30T19:09:31.322Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-11-30T19:09:31.398Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-30T19:09:31.399Z] > git --version # timeout=10 [2021-11-30T19:09:31.418Z] > git --version # 'git version 2.17.1' [2021-11-30T19:09:31.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T19:09:31.534Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T19:09:33.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-30T19:09:34.276Z] Merging remotes/origin/main commit 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 into PR head commit 222d1f311544bad39e88712429eca03a159ca802 [2021-11-30T19:09:34.510Z] Merge succeeded, producing 222d1f311544bad39e88712429eca03a159ca802 [2021-11-30T19:09:34.511Z] Checking out Revision 222d1f311544bad39e88712429eca03a159ca802 (PR-147) [2021-11-30T19:09:33.511Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T19:09:33.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-30T19:09:33.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-30T19:09:33.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T19:09:33.605Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-30T19:09:34.295Z] > git config core.sparsecheckout # timeout=10 [2021-11-30T19:09:34.320Z] > git checkout -f 222d1f311544bad39e88712429eca03a159ca802 # timeout=10 [2021-11-30T19:09:34.408Z] > git remote # timeout=10 [2021-11-30T19:09:34.433Z] > git config --get remote.origin.url # timeout=10 [2021-11-30T19:09:34.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T19:09:34.458Z] > git merge 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 [2021-11-30T19:09:34.489Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-30T19:09:34.515Z] > git config core.sparsecheckout # timeout=10 [2021-11-30T19:09:34.541Z] > git checkout -f 222d1f311544bad39e88712429eca03a159ca802 # timeout=10 [2021-11-30T19:09:38.949Z] Commit message: "build: Update to latest SDK w/o ZMQ on windows" [2021-11-30T19:09:39.020Z] > git --version # timeout=10 [2021-11-30T19:09:39.032Z] > git --version # 'git version 2.17.1' [2021-11-30T19:09:39.046Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-30T19:09:40.104Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-30T19:09:40.104Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-30T19:09:40.104Z] Dload Upload Total Spent Left Speed [2021-11-30T19:09:40.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 129k 0 --:--:-- --:--:-- --:--:-- 131k [Pipeline] sh [2021-11-30T19:09:40.539Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-30T19:09:40.920Z] + sudo tee+ /etc/docker/daemon.new [2021-11-30T19:09:40.920Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-30T19:09:40.920Z] { [2021-11-30T19:09:40.920Z] "registry-mirrors": [ [2021-11-30T19:09:40.920Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-30T19:09:40.920Z] ], [2021-11-30T19:09:40.920Z] "bip": "10.250.0.254/24", [2021-11-30T19:09:40.920Z] "hosts": [ [2021-11-30T19:09:40.920Z] "tcp://0.0.0.0:5555", [2021-11-30T19:09:40.920Z] "unix:///var/run/docker.sock" [2021-11-30T19:09:40.920Z] ], [2021-11-30T19:09:40.920Z] "mtu": 1458, [2021-11-30T19:09:40.920Z] "selinux-enabled": true, [2021-11-30T19:09:40.920Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-30T19:09:40.920Z] } [Pipeline] sh [2021-11-30T19:09:41.116Z] Removing intermediate container f06b8985ae5a [2021-11-30T19:09:41.116Z] ---> 7375a2f00c5a [2021-11-30T19:09:41.116Z] Step 12/24 : FROM alpine:3.14 [2021-11-30T19:09:41.116Z] 3.14: Pulling from library/alpine [2021-11-30T19:09:41.116Z] 97518928ae5f: Pulling fs layer [2021-11-30T19:09:41.116Z] 97518928ae5f: Verifying Checksum [2021-11-30T19:09:41.116Z] 97518928ae5f: Download complete [2021-11-30T19:09:41.116Z] 97518928ae5f: Pull complete [2021-11-30T19:09:41.116Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-30T19:09:41.116Z] Status: Downloaded newer image for alpine:3.14 [2021-11-30T19:09:41.116Z] ---> 0a97eee8041e [2021-11-30T19:09:41.116Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-30T19:09:41.116Z] ---> Running in fc3505b2e38e [2021-11-30T19:09:41.116Z] Removing intermediate container fc3505b2e38e [2021-11-30T19:09:41.116Z] ---> e11419d31708 [2021-11-30T19:09:41.116Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-30T19:09:41.116Z] ---> Running in 3295f70f0ddf [2021-11-30T19:09:41.116Z] Removing intermediate container 3295f70f0ddf [2021-11-30T19:09:41.116Z] ---> aff1e3f1ed09 [2021-11-30T19:09:41.116Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-30T19:09:41.116Z] ---> Running in 91d16977f4d6 [2021-11-30T19:09:41.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-30T19:09:41.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-30T19:09:41.288Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-30T19:09:41.380Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-30T19:09:41.380Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-30T19:09:41.380Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-30T19:09:41.380Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-30T19:09:41.380Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-30T19:09:41.380Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-30T19:09:41.380Z] Executing busybox-1.33.1-r6.trigger [2021-11-30T19:09:41.380Z] OK: 8 MiB in 20 packages [2021-11-30T19:09:41.651Z] Removing intermediate container 91d16977f4d6 [2021-11-30T19:09:41.651Z] ---> 3aba49bb67f7 [2021-11-30T19:09:41.651Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-30T19:09:41.677Z] + sudo service docker restart [2021-11-30T19:09:41.916Z] ---> febd747f7598 [2021-11-30T19:09:41.916Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-30T19:09:42.180Z] ---> cc74b2b87af0 [2021-11-30T19:09:42.180Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-30T19:09:42.180Z] ---> 54c8ac7acee3 [2021-11-30T19:09:42.180Z] Step 19/24 : EXPOSE 59986 [2021-11-30T19:09:42.180Z] ---> Running in 972f61f17a8e [2021-11-30T19:09:42.444Z] Removing intermediate container 972f61f17a8e [2021-11-30T19:09:42.444Z] ---> c090530a7368 [2021-11-30T19:09:42.444Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-30T19:09:42.444Z] ---> Running in b284c0597b0d [2021-11-30T19:09:42.444Z] Removing intermediate container b284c0597b0d [2021-11-30T19:09:42.444Z] ---> a03ab5fb03d8 [2021-11-30T19:09:42.444Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-30T19:09:42.444Z] ---> Running in 81ccae88ce74 [2021-11-30T19:09:42.444Z] Removing intermediate container 81ccae88ce74 [2021-11-30T19:09:42.444Z] ---> 2f22e7cae014 [2021-11-30T19:09:42.444Z] Step 22/24 : LABEL arch=amd64 [2021-11-30T19:09:42.712Z] ---> Running in cc8c216fe5c6 [2021-11-30T19:09:42.712Z] Removing intermediate container cc8c216fe5c6 [2021-11-30T19:09:42.712Z] ---> 09764fbd57b4 [2021-11-30T19:09:42.712Z] Step 23/24 : LABEL git_sha=222d1f311544bad39e88712429eca03a159ca802 [2021-11-30T19:09:42.712Z] ---> Running in 7ba90903ed03 [2021-11-30T19:09:42.712Z] Removing intermediate container 7ba90903ed03 [2021-11-30T19:09:42.712Z] ---> 2e93617817b8 [2021-11-30T19:09:42.712Z] Step 24/24 : LABEL version=0.0.0 [2021-11-30T19:09:42.712Z] ---> Running in 83e85c7b6aa3 [2021-11-30T19:09:42.974Z] Removing intermediate container 83e85c7b6aa3 [2021-11-30T19:09:42.974Z] ---> 7c87389d492f [2021-11-30T19:09:42.974Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-30T19:09:42.974Z] Successfully built 7c87389d492f [2021-11-30T19:09:42.974Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:09:43.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T19:09:43.893Z] [2021-11-30T19:09:43.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:09:44.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T19:09:44.263Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-30T19:09:44.263Z] b4d181a07f80: Pulling fs layer [2021-11-30T19:09:44.263Z] a1111a8f2ec3: Pulling fs layer [2021-11-30T19:09:44.263Z] ed53099fbce6: Pulling fs layer [2021-11-30T19:09:44.263Z] dc539afda2c1: Pulling fs layer [2021-11-30T19:09:44.263Z] 77bc0d833cb6: Pulling fs layer [2021-11-30T19:09:44.263Z] 9065ff56babe: Pulling fs layer [2021-11-30T19:09:44.263Z] d287ab97295c: Pulling fs layer [2021-11-30T19:09:44.263Z] dc539afda2c1: Waiting [2021-11-30T19:09:44.263Z] 77bc0d833cb6: Waiting [2021-11-30T19:09:44.263Z] 9065ff56babe: Waiting [2021-11-30T19:09:44.263Z] d287ab97295c: Waiting [2021-11-30T19:09:44.263Z] a1111a8f2ec3: Verifying Checksum [2021-11-30T19:09:44.263Z] a1111a8f2ec3: Download complete [2021-11-30T19:09:44.263Z] dc539afda2c1: Verifying Checksum [2021-11-30T19:09:44.263Z] dc539afda2c1: Download complete [2021-11-30T19:09:44.533Z] ed53099fbce6: Verifying Checksum [2021-11-30T19:09:44.533Z] ed53099fbce6: Download complete [2021-11-30T19:09:44.533Z] 9065ff56babe: Verifying Checksum [2021-11-30T19:09:44.533Z] 9065ff56babe: Download complete [2021-11-30T19:09:44.533Z] 77bc0d833cb6: Verifying Checksum [2021-11-30T19:09:44.533Z] 77bc0d833cb6: Download complete [2021-11-30T19:09:44.533Z] b4d181a07f80: Verifying Checksum [2021-11-30T19:09:44.533Z] b4d181a07f80: Download complete [2021-11-30T19:09:45.499Z] d287ab97295c: Verifying Checksum [2021-11-30T19:09:46.080Z] b4d181a07f80: Pull complete [2021-11-30T19:09:46.080Z] a1111a8f2ec3: Pull complete [2021-11-30T19:09:46.653Z] ed53099fbce6: Pull complete [2021-11-30T19:09:46.653Z] dc539afda2c1: Pull complete [2021-11-30T19:09:46.915Z] 77bc0d833cb6: Pull complete [2021-11-30T19:09:47.196Z] 9065ff56babe: Pull complete [2021-11-30T19:09:52.544Z] d287ab97295c: Pull complete [2021-11-30T19:09:52.544Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-30T19:09:52.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T19:09:52.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-30T19:09:52.647Z] prd-centos7-docker-4c-2g-826 does not seem to be running inside a container [2021-11-30T19:09:52.692Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-30T19:09:55.220Z] $ docker top a210a68dd20a2dd2c68100868d6000aa476408c2f7e4b39820beba66a72e70f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:09:55.734Z] ---> job-cost.sh [2021-11-30T19:09:55.734Z] lf-activate-venv: SKIPPING [2021-11-30T19:09:55.734Z] INFO: No Stack... [2021-11-30T19:09:55.997Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-30T19:09:56.569Z] INFO: Archiving Costs [Pipeline] sh [2021-11-30T19:09:56.888Z] + cut -d, -f6 [2021-11-30T19:09:56.888Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-11-30T19:09:56.934Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] [2021-11-30T19:09:56.939Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] did not exist. Created. [2021-11-30T19:09:56.939Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-30T19:09:57.335Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-30T19:09:57.384Z] Stashed 1 file(s) [Pipeline] } [2021-11-30T19:09:57.403Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-30T19:09:57.466Z] $ docker stop --time=1 a210a68dd20a2dd2c68100868d6000aa476408c2f7e4b39820beba66a72e70f7 [2021-11-30T19:09:58.600Z] $ docker rm -f a210a68dd20a2dd2c68100868d6000aa476408c2f7e4b39820beba66a72e70f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T19:10:00.209Z] provisioning config files... [2021-11-30T19:10:00.242Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7223200093767221319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:10:00.659Z] ---> docker-login.sh [2021-11-30T19:10:00.659Z] nexus3.edgexfoundry.org:10001 [2021-11-30T19:10:01.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:10:01.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:10:01.543Z] Configure a credential helper to remove this warning. See [2021-11-30T19:10:01.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:10:01.543Z] [2021-11-30T19:10:01.543Z] Login Succeeded [2021-11-30T19:10:01.818Z] nexus3.edgexfoundry.org:10002 [2021-11-30T19:10:02.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:10:02.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:10:02.377Z] Configure a credential helper to remove this warning. See [2021-11-30T19:10:02.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:10:02.377Z] [2021-11-30T19:10:02.377Z] Login Succeeded [2021-11-30T19:10:02.377Z] nexus3.edgexfoundry.org:10003 [2021-11-30T19:10:02.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:10:02.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:10:02.650Z] Configure a credential helper to remove this warning. See [2021-11-30T19:10:02.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:10:02.650Z] [2021-11-30T19:10:02.650Z] Login Succeeded [2021-11-30T19:10:02.924Z] nexus3.edgexfoundry.org:10004 [2021-11-30T19:10:03.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:10:03.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:10:03.197Z] Configure a credential helper to remove this warning. See [2021-11-30T19:10:03.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:10:03.197Z] [2021-11-30T19:10:03.197Z] Login Succeeded [2021-11-30T19:10:03.197Z] docker.io [2021-11-30T19:10:03.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T19:10:04.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T19:10:04.073Z] Configure a credential helper to remove this warning. See [2021-11-30T19:10:04.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T19:10:04.073Z] [2021-11-30T19:10:04.073Z] Login Succeeded [2021-11-30T19:10:04.073Z] ---> docker-login.sh ends [Pipeline] } [2021-11-30T19:10:04.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-30T19:10:04.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-30T19:10:04.684Z] ========================================================= [2021-11-30T19:10:04.684Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-30T19:10:04.684Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:10:05.133Z] + 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 . [2021-11-30T19:10:05.133Z] Sending build context to Docker daemon 121.9kB [2021-11-30T19:10:05.409Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T19:10:05.409Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-30T19:10:05.687Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-30T19:10:05.687Z] 552d1f2373af: Pulling fs layer [2021-11-30T19:10:05.687Z] ea3f2d53f512: Pulling fs layer [2021-11-30T19:10:05.687Z] 9e70ebbbe112: Pulling fs layer [2021-11-30T19:10:05.687Z] 7a9cfe048b4a: Pulling fs layer [2021-11-30T19:10:05.687Z] 72dc09318566: Pulling fs layer [2021-11-30T19:10:05.687Z] f4f7b4309257: Pulling fs layer [2021-11-30T19:10:05.687Z] 0ac9a79272e3: Pulling fs layer [2021-11-30T19:10:05.687Z] b78e95d17946: Pulling fs layer [2021-11-30T19:10:05.687Z] f4f7b4309257: Waiting [2021-11-30T19:10:05.687Z] 0ac9a79272e3: Waiting [2021-11-30T19:10:05.687Z] b78e95d17946: Waiting [2021-11-30T19:10:05.687Z] 7a9cfe048b4a: Waiting [2021-11-30T19:10:05.687Z] 72dc09318566: Waiting [2021-11-30T19:10:05.687Z] 9e70ebbbe112: Download complete [2021-11-30T19:10:05.687Z] ea3f2d53f512: Download complete [2021-11-30T19:10:05.687Z] 72dc09318566: Verifying Checksum [2021-11-30T19:10:05.687Z] 72dc09318566: Download complete [2021-11-30T19:10:05.687Z] f4f7b4309257: Verifying Checksum [2021-11-30T19:10:05.687Z] f4f7b4309257: Download complete [2021-11-30T19:10:05.687Z] 0ac9a79272e3: Verifying Checksum [2021-11-30T19:10:05.687Z] 0ac9a79272e3: Download complete [2021-11-30T19:10:05.687Z] 552d1f2373af: Verifying Checksum [2021-11-30T19:10:05.687Z] 552d1f2373af: Download complete [2021-11-30T19:10:06.678Z] 552d1f2373af: Pull complete [2021-11-30T19:10:07.312Z] ea3f2d53f512: Pull complete [2021-11-30T19:10:07.591Z] 9e70ebbbe112: Pull complete [2021-11-30T19:10:07.864Z] b78e95d17946: Verifying Checksum [2021-11-30T19:10:07.864Z] b78e95d17946: Download complete [2021-11-30T19:10:08.466Z] 7a9cfe048b4a: Verifying Checksum [2021-11-30T19:10:08.466Z] 7a9cfe048b4a: Download complete [2021-11-30T19:10:18.648Z] 7a9cfe048b4a: Pull complete [2021-11-30T19:10:18.923Z] 72dc09318566: Pull complete [2021-11-30T19:10:19.523Z] f4f7b4309257: Pull complete [2021-11-30T19:10:19.798Z] 0ac9a79272e3: Pull complete [2021-11-30T19:10:26.540Z] b78e95d17946: Pull complete [2021-11-30T19:10:26.540Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-30T19:10:26.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-30T19:10:26.540Z] ---> 8b459fc5aaf0 [2021-11-30T19:10:26.540Z] Step 3/11 : ARG MAKE='make build' [2021-11-30T19:10:27.524Z] ---> Running in e773e6d48a19 [2021-11-30T19:10:27.809Z] Removing intermediate container e773e6d48a19 [2021-11-30T19:10:27.809Z] ---> 336cd4d44c08 [2021-11-30T19:10:27.809Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-30T19:10:27.809Z] ---> Running in fa5ad7c91a34 [2021-11-30T19:10:28.408Z] Removing intermediate container fa5ad7c91a34 [2021-11-30T19:10:28.408Z] ---> 043b7f295a5f [2021-11-30T19:10:28.408Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-30T19:10:28.408Z] ---> Running in 2057e9614238 [2021-11-30T19:10:29.007Z] Removing intermediate container 2057e9614238 [2021-11-30T19:10:29.007Z] ---> f3ad832d6751 [2021-11-30T19:10:29.007Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T19:10:29.007Z] ---> Running in 28ed92f10739 [2021-11-30T19:10:31.636Z] Removing intermediate container 28ed92f10739 [2021-11-30T19:10:31.636Z] ---> 27586c08c3c7 [2021-11-30T19:10:31.636Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-30T19:10:31.636Z] ---> Running in f6592af556e9 [2021-11-30T19:10:32.617Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-30T19:10:33.595Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-30T19:10:34.189Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-30T19:10:34.189Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-30T19:10:34.462Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-30T19:10:34.734Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-30T19:10:34.734Z] Executing busybox-1.33.1-r3.trigger [2021-11-30T19:10:34.734Z] OK: 223 MiB in 56 packages [2021-11-30T19:10:35.722Z] Removing intermediate container f6592af556e9 [2021-11-30T19:10:35.722Z] ---> bc6b1415aa8f [2021-11-30T19:10:35.722Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-30T19:10:35.999Z] ---> Running in d46b9eec0549 [2021-11-30T19:10:36.595Z] Removing intermediate container d46b9eec0549 [2021-11-30T19:10:36.595Z] ---> 508cb0873391 [2021-11-30T19:10:36.595Z] Step 9/11 : COPY . . [2021-11-30T19:10:37.199Z] ---> 58a6d8134b0c [2021-11-30T19:10:37.199Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T19:10:37.472Z] ---> Running in a4285a7fba8c [2021-11-30T19:11:59.260Z] Removing intermediate container a4285a7fba8c [2021-11-30T19:11:59.260Z] ---> 2c2011a28886 [2021-11-30T19:11:59.260Z] Step 11/11 : RUN $MAKE [2021-11-30T19:11:59.260Z] ---> Running in 309af4fa846e [2021-11-30T19:11:59.260Z] noop [2021-11-30T19:11:59.260Z] Removing intermediate container 309af4fa846e [2021-11-30T19:11:59.260Z] ---> 26f28f90f3b3 [2021-11-30T19:11:59.260Z] Successfully built 26f28f90f3b3 [2021-11-30T19:11:59.260Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:11:59.638Z] + docker inspect -f . ci-base-image-arm64 [2021-11-30T19:11:59.638Z] . [Pipeline] withDockerContainer [2021-11-30T19:11:59.927Z] prd-ubuntu18.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2021-11-30T19:12:00.020Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-30T19:12:01.543Z] $ docker top 6391b91090f217a002c82ba7c621ea6f1f3862af8c320cec9c02d7d5ae99e9f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-30T19:12:02.562Z] + go version [2021-11-30T19:12:02.562Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-30T19:12:02.593Z] $ docker stop --time=1 6391b91090f217a002c82ba7c621ea6f1f3862af8c320cec9c02d7d5ae99e9f8 [2021-11-30T19:12:04.300Z] $ docker rm -f 6391b91090f217a002c82ba7c621ea6f1f3862af8c320cec9c02d7d5ae99e9f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:12:05.218Z] + docker inspect -f . ci-base-image-arm64 [2021-11-30T19:12:05.218Z] . [Pipeline] withDockerContainer [2021-11-30T19:12:05.505Z] prd-ubuntu18.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2021-11-30T19:12:05.590Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-30T19:12:07.148Z] $ docker top ee2542a9aa1acf6c0115f39ba68052ea316f62496f80b5f9ac69c31eb1c96a0a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-30T19:12:08.289Z] + make test [2021-11-30T19:12:08.289Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-30T19:12:09.731Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-30T19:13:06.368Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-30T19:13:06.368Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.0% of statements [2021-11-30T19:13:06.368Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-30T19:13:33.198Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-30T19:13:33.198Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-30T19:13:33.198Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-30T19:13:33.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-30T19:13:33.261Z] $ docker stop --time=1 ee2542a9aa1acf6c0115f39ba68052ea316f62496f80b5f9ac69c31eb1c96a0a [2021-11-30T19:13:35.087Z] $ docker rm -f ee2542a9aa1acf6c0115f39ba68052ea316f62496f80b5f9ac69c31eb1c96a0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-30T19:13:35.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-30T19:13:36.026Z] Warning: overwriting stash ‘coverage-report’ [2021-11-30T19:13:36.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-30T19:13:37.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-30T19:13:37.546Z] + ls -al . [2021-11-30T19:13:37.546Z] total 176 [2021-11-30T19:13:37.546Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 19:13 . [2021-11-30T19:13:37.546Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 19:09 .. [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 30 19:09 .dockerignore [2021-11-30T19:13:37.546Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 19:09 .git [2021-11-30T19:13:37.546Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 19:09 .github [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 30 19:09 .gitignore [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 30 19:09 Attribution.txt [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 30 19:09 CHANGELOG.md [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 30 19:09 Dockerfile [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 30 19:09 GOVERNANCE.md [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 30 19:09 Jenkinsfile [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 30 19:09 LICENSE [2021-11-30T19:13:37.546Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 30 19:09 Makefile [2021-11-30T19:13:37.547Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 30 19:09 OWNERS.md [2021-11-30T19:13:37.547Z] -rw-rw-r-- 1 jenkins jenkins 8246 Nov 30 19:09 README.md [2021-11-30T19:13:37.547Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 30 19:06 VERSION [2021-11-30T19:13:37.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 19:09 bin [2021-11-30T19:13:37.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 19:09 cmd [2021-11-30T19:13:37.547Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 30 19:13 coverage.out [2021-11-30T19:13:37.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 19:09 driver [2021-11-30T19:13:37.547Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 30 19:09 go.mod [2021-11-30T19:13:37.547Z] -rw-rw-r-- 1 jenkins jenkins 49330 Nov 30 19:09 go.sum [2021-11-30T19:13:37.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 19:09 snap [2021-11-30T19:13:37.547Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 30 19:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:13:37.955Z] + 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=222d1f311544bad39e88712429eca03a159ca802 --label arch=arm64 --label version=0.0.0 . [2021-11-30T19:13:37.955Z] Sending build context to Docker daemon 131.6kB [2021-11-30T19:13:38.551Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T19:13:38.551Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-30T19:13:38.551Z] ---> 26f28f90f3b3 [2021-11-30T19:13:38.551Z] Step 3/24 : ARG MAKE='make build' [2021-11-30T19:13:38.551Z] ---> Running in 089fc1a399c5 [2021-11-30T19:13:38.827Z] Removing intermediate container 089fc1a399c5 [2021-11-30T19:13:38.827Z] ---> 40133e3afed1 [2021-11-30T19:13:38.827Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-30T19:13:39.102Z] ---> Running in d946843f0457 [2021-11-30T19:13:39.377Z] Removing intermediate container d946843f0457 [2021-11-30T19:13:39.377Z] ---> ff21f390823d [2021-11-30T19:13:39.377Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-30T19:13:39.377Z] ---> Running in 7f01f8118296 [2021-11-30T19:13:39.982Z] Removing intermediate container 7f01f8118296 [2021-11-30T19:13:39.982Z] ---> 92a392e6345a [2021-11-30T19:13:39.982Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T19:13:39.982Z] ---> Running in a79166db3e81 [2021-11-30T19:13:41.962Z] Removing intermediate container a79166db3e81 [2021-11-30T19:13:41.962Z] ---> ea6bb60b794b [2021-11-30T19:13:41.962Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-30T19:13:42.236Z] ---> Running in 40e51abd921b [2021-11-30T19:13:43.677Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-30T19:13:44.273Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-30T19:13:45.260Z] OK: 223 MiB in 56 packages [2021-11-30T19:13:46.257Z] Removing intermediate container 40e51abd921b [2021-11-30T19:13:46.257Z] ---> 636a2ff7f875 [2021-11-30T19:13:46.257Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-30T19:13:46.257Z] ---> Running in cc5198816711 [2021-11-30T19:13:46.554Z] Removing intermediate container cc5198816711 [2021-11-30T19:13:46.554Z] ---> cfa993c8bc25 [2021-11-30T19:13:46.554Z] Step 9/24 : COPY . . [2021-11-30T19:13:47.539Z] ---> 262bff391711 [2021-11-30T19:13:47.539Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T19:13:47.539Z] ---> Running in 131cfbd9a25e [2021-11-30T19:13:50.159Z] Removing intermediate container 131cfbd9a25e [2021-11-30T19:13:50.159Z] ---> fed58929d6af [2021-11-30T19:13:50.159Z] Step 11/24 : RUN $MAKE [2021-11-30T19:13:50.159Z] ---> Running in 5f209aafac89 [2021-11-30T19:13:51.140Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-30T19:14:30.173Z] Removing intermediate container 5f209aafac89 [2021-11-30T19:14:30.173Z] ---> 70b8c5c719e3 [2021-11-30T19:14:30.173Z] Step 12/24 : FROM alpine:3.14 [2021-11-30T19:14:30.173Z] 3.14: Pulling from library/alpine [2021-11-30T19:14:30.173Z] be307f383ecc: Pulling fs layer [2021-11-30T19:14:30.173Z] be307f383ecc: Verifying Checksum [2021-11-30T19:14:30.173Z] be307f383ecc: Download complete [2021-11-30T19:14:30.173Z] be307f383ecc: Pull complete [2021-11-30T19:14:30.173Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-30T19:14:30.173Z] Status: Downloaded newer image for alpine:3.14 [2021-11-30T19:14:30.173Z] ---> 5b8b7b635229 [2021-11-30T19:14:30.173Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-30T19:14:30.173Z] ---> Running in 6dd8ed71576c [2021-11-30T19:14:30.173Z] Removing intermediate container 6dd8ed71576c [2021-11-30T19:14:30.173Z] ---> aa3e3f73f6ec [2021-11-30T19:14:30.173Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-30T19:14:30.173Z] ---> Running in b1ddc4018201 [2021-11-30T19:14:30.771Z] Removing intermediate container b1ddc4018201 [2021-11-30T19:14:30.771Z] ---> 289943cb2c13 [2021-11-30T19:14:30.771Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-30T19:14:30.771Z] ---> Running in e8b0dbc3d6d5 [2021-11-30T19:14:32.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-30T19:14:32.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-30T19:14:33.194Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-30T19:14:33.194Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-30T19:14:33.194Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-30T19:14:33.194Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-30T19:14:33.194Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-30T19:14:33.194Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-30T19:14:33.471Z] Executing busybox-1.33.1-r6.trigger [2021-11-30T19:14:33.471Z] OK: 8 MiB in 20 packages [2021-11-30T19:14:34.455Z] Removing intermediate container e8b0dbc3d6d5 [2021-11-30T19:14:34.455Z] ---> 5f0f9fd506fa [2021-11-30T19:14:34.455Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-30T19:14:35.895Z] ---> cf4eba52a790 [2021-11-30T19:14:35.895Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-30T19:14:36.492Z] ---> dd0adcf70015 [2021-11-30T19:14:36.492Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-30T19:14:37.100Z] ---> 3c3786585e77 [2021-11-30T19:14:37.101Z] Step 19/24 : EXPOSE 59986 [2021-11-30T19:14:37.376Z] ---> Running in 601ec7f17a3f [2021-11-30T19:14:37.650Z] Removing intermediate container 601ec7f17a3f [2021-11-30T19:14:37.650Z] ---> 899ddd04c53c [2021-11-30T19:14:37.650Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-30T19:14:37.650Z] ---> Running in 22eaf8e09d1a [2021-11-30T19:14:38.250Z] Removing intermediate container 22eaf8e09d1a [2021-11-30T19:14:38.250Z] ---> 86c90813fc3c [2021-11-30T19:14:38.250Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-30T19:14:38.250Z] ---> Running in 56da7fb55def [2021-11-30T19:14:38.846Z] Removing intermediate container 56da7fb55def [2021-11-30T19:14:38.846Z] ---> e7b4a355b6c4 [2021-11-30T19:14:38.846Z] Step 22/24 : LABEL arch=arm64 [2021-11-30T19:14:38.846Z] ---> Running in 29df1514e5b6 [2021-11-30T19:14:39.128Z] Removing intermediate container 29df1514e5b6 [2021-11-30T19:14:39.128Z] ---> ad4749c54a5e [2021-11-30T19:14:39.128Z] Step 23/24 : LABEL git_sha=222d1f311544bad39e88712429eca03a159ca802 [2021-11-30T19:14:39.410Z] ---> Running in 78f5e8101202 [2021-11-30T19:14:39.683Z] Removing intermediate container 78f5e8101202 [2021-11-30T19:14:39.683Z] ---> f04eaea22363 [2021-11-30T19:14:39.683Z] Step 24/24 : LABEL version=0.0.0 [2021-11-30T19:14:39.956Z] ---> Running in c92c98d8e2ad [2021-11-30T19:14:40.229Z] Removing intermediate container c92c98d8e2ad [2021-11-30T19:14:40.229Z] ---> f52d7f3531e7 [2021-11-30T19:14:40.229Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-30T19:14:40.229Z] Successfully built f52d7f3531e7 [2021-11-30T19:14:40.229Z] 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 [2021-11-30T19:14:41.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-30T19:14:41.387Z] [2021-11-30T19:14:41.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:14:41.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-30T19:14:42.074Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-30T19:14:42.074Z] 448f6bf000e3: Pulling fs layer [2021-11-30T19:14:42.074Z] f757da607395: Pulling fs layer [2021-11-30T19:14:42.074Z] 05883995daec: Pulling fs layer [2021-11-30T19:14:42.074Z] 8603b9c90790: Pulling fs layer [2021-11-30T19:14:42.074Z] 1560dd03e051: Pulling fs layer [2021-11-30T19:14:42.074Z] 27f5ce0e4adf: Pulling fs layer [2021-11-30T19:14:42.074Z] c2d8d7efcc4b: Pulling fs layer [2021-11-30T19:14:42.074Z] 8603b9c90790: Waiting [2021-11-30T19:14:42.074Z] 1560dd03e051: Waiting [2021-11-30T19:14:42.074Z] 27f5ce0e4adf: Waiting [2021-11-30T19:14:42.074Z] c2d8d7efcc4b: Waiting [2021-11-30T19:14:42.074Z] f757da607395: Verifying Checksum [2021-11-30T19:14:42.074Z] f757da607395: Download complete [2021-11-30T19:14:42.074Z] 8603b9c90790: Verifying Checksum [2021-11-30T19:14:42.074Z] 8603b9c90790: Download complete [2021-11-30T19:14:42.351Z] 1560dd03e051: Verifying Checksum [2021-11-30T19:14:42.351Z] 1560dd03e051: Download complete [2021-11-30T19:14:42.351Z] 05883995daec: Verifying Checksum [2021-11-30T19:14:42.351Z] 05883995daec: Download complete [2021-11-30T19:14:42.351Z] 27f5ce0e4adf: Download complete [2021-11-30T19:14:42.631Z] 448f6bf000e3: Verifying Checksum [2021-11-30T19:14:42.631Z] 448f6bf000e3: Download complete [2021-11-30T19:14:45.259Z] c2d8d7efcc4b: Verifying Checksum [2021-11-30T19:14:45.259Z] c2d8d7efcc4b: Download complete [2021-11-30T19:14:46.246Z] 448f6bf000e3: Pull complete [2021-11-30T19:14:46.846Z] f757da607395: Pull complete [2021-11-30T19:14:48.286Z] 05883995daec: Pull complete [2021-11-30T19:14:48.564Z] 8603b9c90790: Pull complete [2021-11-30T19:14:49.543Z] 1560dd03e051: Pull complete [2021-11-30T19:14:49.819Z] 27f5ce0e4adf: Pull complete [2021-11-30T19:15:04.913Z] c2d8d7efcc4b: Pull complete [2021-11-30T19:15:04.913Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-30T19:15:04.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-30T19:15:04.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-30T19:15:05.169Z] prd-ubuntu18.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2021-11-30T19:15:05.251Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-30T19:15:08.374Z] $ docker top 449760f50f565a757a3db62909a2680fdddb7896be198b8884cdeebc12878a80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:09.425Z] ---> job-cost.sh [2021-11-30T19:15:09.425Z] lf-activate-venv: SKIPPING [2021-11-30T19:15:09.425Z] INFO: No Stack... [2021-11-30T19:15:09.697Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-30T19:15:09.971Z] INFO: Archiving Costs [Pipeline] sh [2021-11-30T19:15:10.654Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-11-30T19:15:10.654Z] + cut -d, -f6 [Pipeline] lock [2021-11-30T19:15:10.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] [2021-11-30T19:15:10.745Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] did not exist. Created. [2021-11-30T19:15:10.745Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-30T19:15:11.479Z] /w/workspace/device-rest-go/1@tmp/durable-314164e8/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-314164e8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-30T19:15:12.172Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-30T19:15:12.224Z] Warning: overwriting stash ‘stack-cost’ [2021-11-30T19:15:12.269Z] Stashed 1 file(s) [Pipeline] } [2021-11-30T19:15:12.285Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-30T19:15:12.340Z] $ docker stop --time=1 449760f50f565a757a3db62909a2680fdddb7896be198b8884cdeebc12878a80 [2021-11-30T19:15:13.927Z] $ docker rm -f 449760f50f565a757a3db62909a2680fdddb7896be198b8884cdeebc12878a80 [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 [2021-11-30T19:15:15.014Z] provisioning config files... [2021-11-30T19:15:15.030Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-147@tmp/config7542661821365832969tmp [Pipeline] { [Pipeline] sh [2021-11-30T19:15:15.366Z] + set +x [2021-11-30T19:15:15.366Z] + curl -s https://codecov.io/bash [2021-11-30T19:15:15.366Z] + bash -s -- [2021-11-30T19:15:15.366Z] [2021-11-30T19:15:15.366Z] _____ _ [2021-11-30T19:15:15.366Z] / ____| | | [2021-11-30T19:15:15.366Z] | | ___ __| | ___ ___ _____ __ [2021-11-30T19:15:15.366Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-30T19:15:15.366Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-30T19:15:15.366Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-30T19:15:15.366Z] Bash-1.0.6 [2021-11-30T19:15:15.366Z] [2021-11-30T19:15:15.366Z] [2021-11-30T19:15:15.366Z] ==> git version 2.24.4 found [2021-11-30T19:15:15.366Z] ==> 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 [2021-11-30T19:15:15.366Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-30T19:15:15.366Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-30T19:15:15.366Z] ==> Jenkins CI detected. [2021-11-30T19:15:15.366Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-147 [2021-11-30T19:15:15.366Z] project root: . [2021-11-30T19:15:15.366Z] --> token set from env [2021-11-30T19:15:15.366Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-30T19:15:15.366Z] ==> Running gcov in . (disable via -X gcov) [2021-11-30T19:15:15.366Z] ==> Python coveragepy not found [2021-11-30T19:15:15.366Z] ==> Searching for coverage reports in: [2021-11-30T19:15:15.366Z] + . [2021-11-30T19:15:15.366Z] -> Found 1 reports [2021-11-30T19:15:15.366Z] ==> Detecting git/mercurial file structure [2021-11-30T19:15:15.366Z] ==> Reading reports [2021-11-30T19:15:15.366Z] + ./coverage.out bytes=9215 [2021-11-30T19:15:15.366Z] ==> Appending adjustments [2021-11-30T19:15:15.366Z] https://docs.codecov.io/docs/fixing-reports [2021-11-30T19:15:15.629Z] + Found adjustments [2021-11-30T19:15:15.630Z] ==> Gzipping contents [2021-11-30T19:15:15.630Z] 4.0K /tmp/codecov.5xO1zu.gz [2021-11-30T19:15:15.630Z] ==> Uploading reports [2021-11-30T19:15:15.630Z] url: https://codecov.io [2021-11-30T19:15:15.630Z] query: branch=PR-147&commit=222d1f311544bad39e88712429eca03a159ca802&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=147&job=&cmd_args= [2021-11-30T19:15:15.630Z] -> Pinging Codecov [2021-11-30T19:15:15.630Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-147&commit=222d1f311544bad39e88712429eca03a159ca802&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=147&job=&cmd_args= [2021-11-30T19:15:15.889Z] -> Uploading to [2021-11-30T19:15:15.889Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-30/4E5D53B4F1F92C436F7061BF334D961C/222d1f311544bad39e88712429eca03a159ca802/26c5d4b0-a1eb-4874-bc7d-bbda88124200.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211130T191515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1947e4d56974d982de6c410920e6e1c754ca2c4836b90bf9fb5cc07c16bfe23a [2021-11-30T19:15:15.889Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-30T19:15:15.889Z] Dload Upload Total Spent Left Speed [2021-11-30T19:15:16.150Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 6392 --:--:-- --:--:-- --:--:-- 6409 [2021-11-30T19:15:16.150Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/222d1f311544bad39e88712429eca03a159ca802 [Pipeline] } [2021-11-30T19:15:16.171Z] 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 [2021-11-30T19:15:18.064Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-147/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:18.403Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:19.021Z] ---> package-listing.sh [2021-11-30T19:15:19.021Z] ++ facter osfamily [2021-11-30T19:15:19.021Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-30T19:15:19.285Z] + OS_FAMILY=redhat [2021-11-30T19:15:19.285Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-147 [2021-11-30T19:15:19.285Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-30T19:15:19.285Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-30T19:15:19.285Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-30T19:15:19.285Z] + PACKAGES=/tmp/packages_start.txt [2021-11-30T19:15:19.285Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-147 ']' [2021-11-30T19:15:19.285Z] + PACKAGES=/tmp/packages_end.txt [2021-11-30T19:15:19.285Z] + case "${OS_FAMILY}" in [2021-11-30T19:15:19.285Z] + rpm -qa [2021-11-30T19:15:19.285Z] + sort [2021-11-30T19:15:19.858Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-30T19:15:19.858Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-30T19:15:19.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-30T19:15:19.858Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-147 ']' [2021-11-30T19:15:19.858Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-147/archives/ [2021-11-30T19:15:19.858Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-147/archives/ [Pipeline] echo [2021-11-30T19:15:19.891Z] 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-147/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-30T19:15:20.189Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:15:20.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T19:15:20.779Z] [2021-11-30T19:15:20.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T19:15:21.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T19:15:21.103Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-30T19:15:21.103Z] b4d181a07f80: Pulling fs layer [2021-11-30T19:15:21.103Z] a1111a8f2ec3: Pulling fs layer [2021-11-30T19:15:21.103Z] ed53099fbce6: Pulling fs layer [2021-11-30T19:15:21.103Z] dc539afda2c1: Pulling fs layer [2021-11-30T19:15:21.103Z] 77bc0d833cb6: Pulling fs layer [2021-11-30T19:15:21.103Z] 9065ff56babe: Pulling fs layer [2021-11-30T19:15:21.103Z] d287ab97295c: Pulling fs layer [2021-11-30T19:15:21.103Z] dc539afda2c1: Waiting [2021-11-30T19:15:21.103Z] 77bc0d833cb6: Waiting [2021-11-30T19:15:21.103Z] 9065ff56babe: Waiting [2021-11-30T19:15:21.103Z] d287ab97295c: Waiting [2021-11-30T19:15:21.103Z] a1111a8f2ec3: Verifying Checksum [2021-11-30T19:15:21.103Z] a1111a8f2ec3: Download complete [2021-11-30T19:15:21.103Z] dc539afda2c1: Verifying Checksum [2021-11-30T19:15:21.103Z] dc539afda2c1: Download complete [2021-11-30T19:15:21.103Z] ed53099fbce6: Verifying Checksum [2021-11-30T19:15:21.103Z] ed53099fbce6: Download complete [2021-11-30T19:15:21.103Z] 77bc0d833cb6: Verifying Checksum [2021-11-30T19:15:21.103Z] 77bc0d833cb6: Download complete [2021-11-30T19:15:21.373Z] 9065ff56babe: Verifying Checksum [2021-11-30T19:15:21.373Z] 9065ff56babe: Download complete [2021-11-30T19:15:21.373Z] b4d181a07f80: Verifying Checksum [2021-11-30T19:15:21.373Z] b4d181a07f80: Download complete [2021-11-30T19:15:21.951Z] d287ab97295c: Verifying Checksum [2021-11-30T19:15:21.951Z] d287ab97295c: Download complete [2021-11-30T19:15:22.901Z] b4d181a07f80: Pull complete [2021-11-30T19:15:22.901Z] a1111a8f2ec3: Pull complete [2021-11-30T19:15:23.484Z] ed53099fbce6: Pull complete [2021-11-30T19:15:23.484Z] dc539afda2c1: Pull complete [2021-11-30T19:15:23.751Z] 77bc0d833cb6: Pull complete [2021-11-30T19:15:23.751Z] 9065ff56babe: Pull complete [2021-11-30T19:15:29.058Z] d287ab97295c: Pull complete [2021-11-30T19:15:29.058Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-30T19:15:29.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T19:15:29.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-30T19:15:29.145Z] prd-centos7-docker-4c-2g-825 does not seem to be running inside a container [2021-11-30T19:15:29.180Z] $ 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-147/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-147 -v /w/workspace/gexfoundry_device-rest-go_PR-147:/w/workspace/gexfoundry_device-rest-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-147@tmp:/w/workspace/gexfoundry_device-rest-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-30T19:15:31.504Z] $ docker top 1980774094b1831e810757c7a90b780e21f7dcabadfbe13d473c64f0cb6890aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-30T19:15:31.893Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-30T19:15:32.198Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-30T19:15:32.512Z] + ls /var/log/sa-host [2021-11-30T19:15:32.512Z] + sadf -c /var/log/sa-host/sa30 [2021-11-30T19:15:32.512Z] file_magic: OK [2021-11-30T19:15:32.512Z] HZ: Using current value: 100 [2021-11-30T19:15:32.512Z] file_header: OK [2021-11-30T19:15:32.512Z] 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 [2021-11-30T19:15:32.512Z] Statistics: [2021-11-30T19:15:32.512Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-30T19:15:32.512Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T19:15:33.626Z] provisioning config files... [2021-11-30T19:15:33.639Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-147@tmp/config8581557792617220946tmp [Pipeline] { [Pipeline] echo [2021-11-30T19:15:33.686Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:34.043Z] ---> create-netrc.sh [Pipeline] } [2021-11-30T19:15:34.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:34.448Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-30T19:15:34.473Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:34.800Z] ---> sudo-logs.sh [2021-11-30T19:15:34.800Z] Archiving 'sudo' log.. [2021-11-30T19:15:34.800Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-825.novalocal: Name or service not known [2021-11-30T19:15:34.800Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-825.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-30T19:15:34.861Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:35.179Z] ---> job-cost.sh [2021-11-30T19:15:35.179Z] lf-activate-venv: SKIPPING [2021-11-30T19:15:35.179Z] DEBUG: total: 0.10999999940395355 [2021-11-30T19:15:35.179Z] INFO: Retrieving Stack Cost... [2021-11-30T19:15:35.439Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-30T19:15:36.011Z] INFO: Archiving Costs [Pipeline] echo [2021-11-30T19:15:36.038Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T19:15:36.363Z] ---> logs-deploy.sh [2021-11-30T19:15:36.363Z] lf-activate-venv: SKIPPING [2021-11-30T19:15:36.363Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-147/1 [2021-11-30T19:15:36.363Z] INFO: archiving workspace using pattern(s): [2021-11-30T19:15:36.934Z] Archives upload complete. [2021-11-30T19:15:37.202Z] INFO: archiving logs to Nexus