Pull request #149 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a+5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (0dfe70015cb2deed3774b01d918cb029cbbb1403) 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-ssh3018553016516101900.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-ssh4856518361101852309.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-149/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-149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh450151280849737436.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-149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14699593080388326525.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-ssh4213913603502326017.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-149/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-149/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17770726459158730809.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1183 in /w/workspace/gexfoundry_device-rest-go_PR-149 [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-149 # 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-149@tmp/jenkins-gitclient-ssh3571960796945101197.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a Merge succeeded, producing 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a Checking out Revision 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a (PR-149) > 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-149@tmp/jenkins-gitclient-ssh2913937018326765211.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a # 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-149@tmp/jenkins-gitclient-ssh6279495780912809123.key > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-20T20:09:32.389Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-20T20:09:32.524Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-20T20:09:32.598Z] ========================================================= [2021-12-20T20:09:32.598Z] EdgeX Global Pipelines Version Info [2021-12-20T20:09:32.598Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:09:33.748Z] ------------------- [2021-12-20T20:09:33.748Z] stable info: [2021-12-20T20:09:33.748Z] ------------------- [2021-12-20T20:09:33.748Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-20T20:09:33.748Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-20T20:09:33.748Z] Message: update stable to v1.0.217 [2021-12-20T20:09:34.323Z] ------------------- [2021-12-20T20:09:34.323Z] experimental info: [2021-12-20T20:09:34.323Z] ------------------- [2021-12-20T20:09:34.323Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-20T20:09:34.323Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-20T20:09:34.323Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-20T20:09:34.566Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-12-20T20:09:34.613Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-12-20T20:09:34.655Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-20T20:09:34.695Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-20T20:09:34.741Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-20T20:09:34.783Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-20T20:09:34.827Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-20T20:09:34.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-20T20:09:34.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-20T20:09:34.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-20T20:09:34.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-20T20:09:35.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-12-20T20:09:35.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-20T20:09:35.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-20T20:09:35.156Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-20T20:09:35.192Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-20T20:09:35.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-20T20:09:35.270Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-20T20:09:35.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-20T20:09:35.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-20T20:09:35.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-20T20:09:35.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-20T20:09:35.463Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-20T20:09:35.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-20T20:09:35.548Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-20T20:09:35.584Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-20T20:09:35.624Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2021-12-20T20:09:35.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2021-12-20T20:09:35.711Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2021-12-20T20:09:35.752Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [Pipeline] echo [2021-12-20T20:09:35.792Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07dc9f6 [Pipeline] echo [2021-12-20T20:09:35.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T20:09:35.943Z] provisioning config files... [2021-12-20T20:09:35.957Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-149@tmp/config6844941625598411193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:09:36.311Z] ---> docker-login.sh [2021-12-20T20:09:36.311Z] nexus3.edgexfoundry.org:10001 [2021-12-20T20:09:36.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:09:36.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:09:36.575Z] Configure a credential helper to remove this warning. See [2021-12-20T20:09:36.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:09:36.575Z] [2021-12-20T20:09:36.575Z] Login Succeeded [2021-12-20T20:09:36.575Z] nexus3.edgexfoundry.org:10002 [2021-12-20T20:09:36.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:09:36.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:09:36.575Z] Configure a credential helper to remove this warning. See [2021-12-20T20:09:36.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:09:36.575Z] [2021-12-20T20:09:36.575Z] Login Succeeded [2021-12-20T20:09:36.575Z] nexus3.edgexfoundry.org:10003 [2021-12-20T20:09:36.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:09:36.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:09:36.837Z] Configure a credential helper to remove this warning. See [2021-12-20T20:09:36.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:09:36.837Z] [2021-12-20T20:09:36.837Z] Login Succeeded [2021-12-20T20:09:36.837Z] nexus3.edgexfoundry.org:10004 [2021-12-20T20:09:36.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:09:36.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:09:36.837Z] Configure a credential helper to remove this warning. See [2021-12-20T20:09:36.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:09:36.837Z] [2021-12-20T20:09:36.837Z] Login Succeeded [2021-12-20T20:09:36.837Z] docker.io [2021-12-20T20:09:36.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:09:37.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:09:37.413Z] Configure a credential helper to remove this warning. See [2021-12-20T20:09:37.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:09:37.413Z] [2021-12-20T20:09:37.413Z] Login Succeeded [2021-12-20T20:09:37.413Z] ---> docker-login.sh ends [Pipeline] } [2021-12-20T20:09:37.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-20T20:09:38.083Z] + git rev-list -1 --merges 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a~1..07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [Pipeline] echo [2021-12-20T20:09:38.130Z] -----------> git rev-list -1 --merges 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a~1..07dc9f6b3300f5dc3e37f67eb01f361c37aca65a 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [false] [Pipeline] sh [2021-12-20T20:09:38.444Z] + git log --format=format:%s -1 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [Pipeline] echo [2021-12-20T20:09:38.472Z] ========================================================= [2021-12-20T20:09:38.472Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-20T20:09:38.472Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-20T20:09:38.898Z] + git log --format=format:%s -1 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [Pipeline] echo [2021-12-20T20:09:38.929Z] [semverPrep] GIT_COMMIT: 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-12-20T20:09:38.962Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-20T20:09:39.416Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-20T20:09:39.416Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-20T20:09:39.416Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-20T20:09:39.416Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-20T20:09:39.416Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-20T20:09:39.416Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-20T20:09:39.416Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:09:39.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-20T20:09:39.877Z] [2021-12-20T20:09:39.877Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:09:40.214Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-20T20:09:40.214Z] latest: Pulling from edgex-devops/git-semver [2021-12-20T20:09:40.214Z] a0d0a0d46f8b: Pulling fs layer [2021-12-20T20:09:40.214Z] 3e5f54012d9b: Pulling fs layer [2021-12-20T20:09:40.214Z] 4c7163046ea9: Pulling fs layer [2021-12-20T20:09:40.214Z] 0c2d73faf560: Pulling fs layer [2021-12-20T20:09:40.214Z] 0c2d73faf560: Waiting [2021-12-20T20:09:40.214Z] 3e5f54012d9b: Verifying Checksum [2021-12-20T20:09:40.214Z] 3e5f54012d9b: Download complete [2021-12-20T20:09:40.214Z] a0d0a0d46f8b: Verifying Checksum [2021-12-20T20:09:40.214Z] a0d0a0d46f8b: Download complete [2021-12-20T20:09:40.214Z] 0c2d73faf560: Verifying Checksum [2021-12-20T20:09:40.214Z] 0c2d73faf560: Download complete [2021-12-20T20:09:40.214Z] 4c7163046ea9: Verifying Checksum [2021-12-20T20:09:40.214Z] 4c7163046ea9: Download complete [2021-12-20T20:09:40.484Z] a0d0a0d46f8b: Pull complete [2021-12-20T20:09:40.484Z] 3e5f54012d9b: Pull complete [2021-12-20T20:09:40.758Z] 4c7163046ea9: Pull complete [2021-12-20T20:09:41.023Z] 0c2d73faf560: Pull complete [2021-12-20T20:09:41.023Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-20T20:09:41.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-20T20:09:41.023Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-20T20:09:41.122Z] prd-centos7-docker-4c-2g-1183 does not seem to be running inside a container [2021-12-20T20:09:40.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-149 -v /w/workspace/gexfoundry_device-rest-go_PR-149:/w/workspace/gexfoundry_device-rest-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-149@tmp:/w/workspace/gexfoundry_device-rest-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-20T20:09:41.346Z] $ docker top 27b6804b0c46fbaa21b7e1a0de315e37aeedefe166437ca9a19157d127815058 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-20T20:09:41.858Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-20T20:09:41.858Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-20T20:09:41.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-20T20:09:41.654Z] $ docker exec 27b6804b0c46fbaa21b7e1a0de315e37aeedefe166437ca9a19157d127815058 ssh-agent [2021-12-20T20:09:42.066Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnmKjEB/agent.15 [2021-12-20T20:09:42.066Z] SSH_AGENT_PID=21 [2021-12-20T20:09:42.073Z] Running ssh-add (command line suppressed) [2021-12-20T20:09:41.869Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-149@tmp/private_key_4552048964510628051.key (/w/workspace/gexfoundry_device-rest-go_PR-149@tmp/private_key_4552048964510628051.key) [2021-12-20T20:09:42.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-20T20:09:42.511Z] + git tag --points-at HEAD [Pipeline] } [2021-12-20T20:09:42.272Z] $ docker exec --env ******** --env ******** 27b6804b0c46fbaa21b7e1a0de315e37aeedefe166437ca9a19157d127815058 ssh-agent -k [2021-12-20T20:09:42.371Z] unset SSH_AUTH_SOCK; [2021-12-20T20:09:42.371Z] unset SSH_AGENT_PID; [2021-12-20T20:09:42.371Z] echo Agent pid 21 killed; [2021-12-20T20:09:42.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-20T20:09:42.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-20T20:09:42.719Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-20T20:09:42.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-20T20:09:42.586Z] $ docker exec 27b6804b0c46fbaa21b7e1a0de315e37aeedefe166437ca9a19157d127815058 ssh-agent [2021-12-20T20:09:42.912Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXELGlgl/agent.54 [2021-12-20T20:09:42.912Z] SSH_AGENT_PID=60 [2021-12-20T20:09:42.917Z] Running ssh-add (command line suppressed) [2021-12-20T20:09:42.775Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-149@tmp/private_key_2851143580954779683.key (/w/workspace/gexfoundry_device-rest-go_PR-149@tmp/private_key_2851143580954779683.key) [2021-12-20T20:09:43.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-20T20:09:43.345Z] + git semver init [2021-12-20T20:09:43.345Z] # -> Open(): unable to determine branch for HEAD [2021-12-20T20:09:43.345Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-149/.git [2021-12-20T20:09:43.345Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-149 [2021-12-20T20:09:43.345Z] # $SEMVER_REMOTE_NAME = origin [2021-12-20T20:09:43.345Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-20T20:09:43.345Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-20T20:09:43.345Z] # $SEMVER_BRANCH = PR-149 [2021-12-20T20:09:43.345Z] # $SEMVER_TEMP = /tmp/semver-297025994 [2021-12-20T20:09:43.345Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-12-20T20:09:45.266Z] # '/tmp/semver-297025994' -> '/w/workspace/gexfoundry_device-rest-go_PR-149/.semver' [2021-12-20T20:09:45.266Z] # -> Force: false [2021-12-20T20:09:45.266Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-149/.semver [Pipeline] } [2021-12-20T20:09:45.252Z] $ docker exec --env ******** --env ******** 27b6804b0c46fbaa21b7e1a0de315e37aeedefe166437ca9a19157d127815058 ssh-agent -k [2021-12-20T20:09:45.347Z] unset SSH_AUTH_SOCK; [2021-12-20T20:09:45.347Z] unset SSH_AGENT_PID; [2021-12-20T20:09:45.347Z] echo Agent pid 60 killed; [2021-12-20T20:09:45.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-20T20:09:45.803Z] + git semver [Pipeline] } [2021-12-20T20:09:45.837Z] $ docker stop --time=1 27b6804b0c46fbaa21b7e1a0de315e37aeedefe166437ca9a19157d127815058 [2021-12-20T20:09:47.096Z] $ docker rm -f 27b6804b0c46fbaa21b7e1a0de315e37aeedefe166437ca9a19157d127815058 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-20T20:09:47.507Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-20T20:09:47.780Z] Stashed 1 file(s) [Pipeline] echo [2021-12-20T20:09:47.798Z] [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-12-20T20:10:03.178Z] Still waiting to schedule task [2021-12-20T20:10:03.179Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1183’ [2021-12-20T20:10:03.201Z] Still waiting to schedule task [2021-12-20T20:10:03.201Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-20T20:11:26.205Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1184 in /w/workspace/gexfoundry_device-rest-go_PR-149 [Pipeline] { [Pipeline] ws [2021-12-20T20:11:26.247Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-12-20T20:11:26.464Z] The recommended git tool is: git [2021-12-20T20:11:31.429Z] using credential edgex-jenkins-ssh [2021-12-20T20:11:31.451Z] Cloning the remote Git repository [2021-12-20T20:11:31.535Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-20T20:11:31.613Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-12-20T20:11:31.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-20T20:11:31.687Z] > git --version # timeout=10 [2021-12-20T20:11:31.711Z] > git --version # 'git version 2.17.1' [2021-12-20T20:11:31.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T20:11:31.776Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T20:11:33.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-20T20:11:33.624Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T20:11:33.704Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-20T20:11:34.345Z] Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [2021-12-20T20:11:34.551Z] Merge succeeded, producing 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [2021-12-20T20:11:34.552Z] Checking out Revision 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a (PR-149) [2021-12-20T20:11:34.945Z] Running on prd-centos7-docker-4c-2g-1185 in /w/workspace/gexfoundry_device-rest-go_PR-149 [Pipeline] { [Pipeline] ws [2021-12-20T20:11:34.999Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-12-20T20:11:33.768Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-20T20:11:33.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T20:11:33.802Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-20T20:11:34.388Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T20:11:34.406Z] > git checkout -f 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a # timeout=10 [2021-12-20T20:11:34.485Z] > git remote # timeout=10 [2021-12-20T20:11:34.503Z] > git config --get remote.origin.url # timeout=10 [2021-12-20T20:11:34.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T20:11:34.530Z] > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [2021-12-20T20:11:34.551Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-20T20:11:34.581Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T20:11:34.598Z] > git checkout -f 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a # timeout=10 [2021-12-20T20:11:35.120Z] The recommended git tool is: git [2021-12-20T20:11:36.815Z] using credential edgex-jenkins-ssh [2021-12-20T20:11:36.831Z] Cloning the remote Git repository [2021-12-20T20:11:35.869Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-20T20:11:35.907Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-12-20T20:11:35.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-20T20:11:35.935Z] > git --version # timeout=10 [2021-12-20T20:11:35.945Z] > git --version # 'git version 2.24.4' [2021-12-20T20:11:35.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T20:11:35.967Z] [INFO] Currently running in a labeled security context [2021-12-20T20:11:35.967Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-20T20:11:35.967Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5959831276290374638.key [2021-12-20T20:11:36.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T20:11:38.393Z] Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [2021-12-20T20:11:36.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-20T20:11:36.933Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T20:11:36.947Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-20T20:11:36.968Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-20T20:11:36.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T20:11:36.971Z] [INFO] Currently running in a labeled security context [2021-12-20T20:11:36.971Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-20T20:11:36.971Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh635944500672589409.key [2021-12-20T20:11:36.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-20T20:11:37.416Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T20:11:37.428Z] > git checkout -f 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a # timeout=10 [2021-12-20T20:11:37.470Z] > git remote # timeout=10 [2021-12-20T20:11:37.490Z] > git config --get remote.origin.url # timeout=10 [2021-12-20T20:11:37.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T20:11:37.508Z] [INFO] Currently running in a labeled security context [2021-12-20T20:11:37.508Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-20T20:11:37.508Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6550179763278902760.key [2021-12-20T20:11:37.517Z] > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [2021-12-20T20:11:37.529Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-20T20:11:38.525Z] Merge succeeded, producing 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [2021-12-20T20:11:38.525Z] Checking out Revision 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a (PR-149) [2021-12-20T20:11:38.676Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-12-20T20:11:38.755Z] > git --version # timeout=10 [2021-12-20T20:11:38.768Z] > git --version # 'git version 2.17.1' [2021-12-20T20:11:38.781Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-20T20:11:37.543Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T20:11:37.558Z] > git checkout -f 07dc9f6b3300f5dc3e37f67eb01f361c37aca65a # timeout=10 [2021-12-20T20:11:39.730Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-20T20:11:39.730Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-20T20:11:39.730Z] Dload Upload Total Spent Left Speed [2021-12-20T20:11:39.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 82685 0 --:--:-- --:--:-- --:--:-- 82685 [Pipeline] sh [2021-12-20T20:11:40.253Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-20T20:11:40.616Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2021-12-20T20:11:40.616Z] /etc/docker/daemon.json [2021-12-20T20:11:40.616Z] { [2021-12-20T20:11:40.616Z] "registry-mirrors": [ [2021-12-20T20:11:40.616Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-20T20:11:40.616Z] ], [2021-12-20T20:11:40.616Z] "bip": "10.250.0.254/24", [2021-12-20T20:11:40.616Z] "hosts": [ [2021-12-20T20:11:40.616Z] "tcp://0.0.0.0:5555", [2021-12-20T20:11:40.616Z] "unix:///var/run/docker.sock" [2021-12-20T20:11:40.616Z] ], [2021-12-20T20:11:40.616Z] "mtu": 1458, [2021-12-20T20:11:40.616Z] "selinux-enabled": true, [2021-12-20T20:11:40.616Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-20T20:11:40.616Z] } [Pipeline] sh [2021-12-20T20:11:40.968Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-20T20:11:41.336Z] + sudo service docker restart [2021-12-20T20:11:42.153Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-12-20T20:11:41.196Z] > git --version # timeout=10 [2021-12-20T20:11:41.202Z] > git --version # 'git version 2.24.4' [2021-12-20T20:11:41.207Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T20:11:42.711Z] provisioning config files... [2021-12-20T20:11:42.728Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7724668914655652866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:11:43.157Z] ---> docker-login.sh [2021-12-20T20:11:43.157Z] nexus3.edgexfoundry.org:10001 [2021-12-20T20:11:43.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:11:43.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:11:43.421Z] Configure a credential helper to remove this warning. See [2021-12-20T20:11:43.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:11:43.421Z] [2021-12-20T20:11:43.421Z] Login Succeeded [2021-12-20T20:11:43.421Z] nexus3.edgexfoundry.org:10002 [2021-12-20T20:11:43.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:11:43.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:11:43.421Z] Configure a credential helper to remove this warning. See [2021-12-20T20:11:43.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:11:43.421Z] [2021-12-20T20:11:43.421Z] Login Succeeded [2021-12-20T20:11:43.421Z] nexus3.edgexfoundry.org:10003 [2021-12-20T20:11:43.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:11:43.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:11:43.685Z] Configure a credential helper to remove this warning. See [2021-12-20T20:11:43.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:11:43.685Z] [2021-12-20T20:11:43.685Z] Login Succeeded [2021-12-20T20:11:43.685Z] nexus3.edgexfoundry.org:10004 [2021-12-20T20:11:43.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:11:43.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:11:43.685Z] Configure a credential helper to remove this warning. See [2021-12-20T20:11:43.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:11:43.685Z] [2021-12-20T20:11:43.685Z] Login Succeeded [2021-12-20T20:11:43.685Z] docker.io [2021-12-20T20:11:43.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:11:44.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:11:44.212Z] Configure a credential helper to remove this warning. See [2021-12-20T20:11:44.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:11:44.212Z] [2021-12-20T20:11:44.212Z] Login Succeeded [2021-12-20T20:11:44.212Z] ---> docker-login.sh ends [Pipeline] } [2021-12-20T20:11:44.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-20T20:11:44.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-20T20:11:44.560Z] ========================================================= [2021-12-20T20:11:44.560Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-20T20:11:44.560Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:11:44.943Z] + 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-12-20T20:11:44.943Z] Sending build context to Docker daemon 121.9kB [2021-12-20T20:11:44.943Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T20:11:44.943Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-20T20:11:44.943Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-20T20:11:44.943Z] a0d0a0d46f8b: Pulling fs layer [2021-12-20T20:11:44.943Z] 31adcdaf11c8: Pulling fs layer [2021-12-20T20:11:44.943Z] b8b176561691: Pulling fs layer [2021-12-20T20:11:44.943Z] 4527c011a84f: Pulling fs layer [2021-12-20T20:11:44.943Z] 5d74067f8e1e: Pulling fs layer [2021-12-20T20:11:44.943Z] e0aca202a116: Pulling fs layer [2021-12-20T20:11:44.943Z] 3a43be97a3b4: Pulling fs layer [2021-12-20T20:11:44.943Z] 34cad66bf833: Pulling fs layer [2021-12-20T20:11:44.943Z] b4e3c513aaa6: Pulling fs layer [2021-12-20T20:11:44.943Z] 4527c011a84f: Waiting [2021-12-20T20:11:44.943Z] 5d74067f8e1e: Waiting [2021-12-20T20:11:44.943Z] e0aca202a116: Waiting [2021-12-20T20:11:44.943Z] 3a43be97a3b4: Waiting [2021-12-20T20:11:44.943Z] 34cad66bf833: Waiting [2021-12-20T20:11:44.943Z] b4e3c513aaa6: Waiting [2021-12-20T20:11:44.943Z] b8b176561691: Verifying Checksum [2021-12-20T20:11:44.943Z] b8b176561691: Download complete [2021-12-20T20:11:44.943Z] 31adcdaf11c8: Verifying Checksum [2021-12-20T20:11:44.943Z] 31adcdaf11c8: Download complete [2021-12-20T20:11:44.943Z] 5d74067f8e1e: Verifying Checksum [2021-12-20T20:11:44.943Z] 5d74067f8e1e: Download complete [2021-12-20T20:11:44.943Z] e0aca202a116: Verifying Checksum [2021-12-20T20:11:44.943Z] e0aca202a116: Download complete [2021-12-20T20:11:45.211Z] 3a43be97a3b4: Verifying Checksum [2021-12-20T20:11:45.211Z] 3a43be97a3b4: Download complete [2021-12-20T20:11:45.211Z] a0d0a0d46f8b: Verifying Checksum [2021-12-20T20:11:45.211Z] a0d0a0d46f8b: Download complete [2021-12-20T20:11:45.211Z] 34cad66bf833: Verifying Checksum [2021-12-20T20:11:45.211Z] 34cad66bf833: Download complete [2021-12-20T20:11:45.798Z] a0d0a0d46f8b: Pull complete [2021-12-20T20:11:45.798Z] 4527c011a84f: Verifying Checksum [2021-12-20T20:11:45.798Z] 4527c011a84f: Download complete [2021-12-20T20:11:45.798Z] b4e3c513aaa6: Verifying Checksum [2021-12-20T20:11:45.798Z] b4e3c513aaa6: Download complete [2021-12-20T20:11:45.798Z] 31adcdaf11c8: Pull complete [2021-12-20T20:11:45.798Z] b8b176561691: Pull complete [2021-12-20T20:11:50.061Z] 4527c011a84f: Pull complete [2021-12-20T20:11:50.061Z] 5d74067f8e1e: Pull complete [2021-12-20T20:11:50.061Z] e0aca202a116: Pull complete [2021-12-20T20:11:50.061Z] 3a43be97a3b4: Pull complete [2021-12-20T20:11:50.327Z] 34cad66bf833: Pull complete [2021-12-20T20:11:52.911Z] b4e3c513aaa6: Pull complete [2021-12-20T20:11:52.911Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-20T20:11:52.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-20T20:11:52.911Z] ---> 9f6097aaca64 [2021-12-20T20:11:52.911Z] Step 3/11 : ARG MAKE='make build' [2021-12-20T20:11:54.302Z] ---> Running in 6ccfc4216799 [2021-12-20T20:11:54.302Z] Removing intermediate container 6ccfc4216799 [2021-12-20T20:11:54.302Z] ---> 92b80b999f99 [2021-12-20T20:11:54.302Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T20:11:54.302Z] ---> Running in 3e1af6aecb6a [2021-12-20T20:11:54.567Z] Removing intermediate container 3e1af6aecb6a [2021-12-20T20:11:54.567Z] ---> 3b471eb8a2f0 [2021-12-20T20:11:54.567Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T20:11:54.567Z] ---> Running in 2f4006677e34 [2021-12-20T20:11:54.567Z] Removing intermediate container 2f4006677e34 [2021-12-20T20:11:54.567Z] ---> 27a825c475a4 [2021-12-20T20:11:54.567Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T20:11:54.567Z] ---> Running in bc0d52557910 [2021-12-20T20:11:55.155Z] Removing intermediate container bc0d52557910 [2021-12-20T20:11:55.155Z] ---> 2512794ec139 [2021-12-20T20:11:55.155Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T20:11:55.155Z] ---> Running in 81ea550c144d [2021-12-20T20:11:55.416Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-20T20:11:56.364Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-20T20:11:56.936Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-20T20:11:56.936Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-20T20:11:56.936Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-20T20:11:56.936Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-20T20:11:57.199Z] Executing busybox-1.33.1-r3.trigger [2021-12-20T20:11:57.199Z] OK: 224 MiB in 56 packages [2021-12-20T20:11:57.464Z] Removing intermediate container 81ea550c144d [2021-12-20T20:11:57.464Z] ---> b38542736093 [2021-12-20T20:11:57.464Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-20T20:11:57.464Z] ---> Running in 34b148a9eda9 [2021-12-20T20:11:57.464Z] Removing intermediate container 34b148a9eda9 [2021-12-20T20:11:57.464Z] ---> f90fa68c5330 [2021-12-20T20:11:57.464Z] Step 9/11 : COPY . . [2021-12-20T20:11:57.732Z] ---> 1495ac65985f [2021-12-20T20:11:57.732Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T20:11:57.732Z] ---> Running in f6e7005f4d33 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T20:11:59.713Z] provisioning config files... [2021-12-20T20:11:59.738Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config613247775597777404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:12:00.322Z] ---> docker-login.sh [2021-12-20T20:12:00.322Z] nexus3.edgexfoundry.org:10001 [2021-12-20T20:12:00.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:12:01.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:12:01.197Z] Configure a credential helper to remove this warning. See [2021-12-20T20:12:01.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:12:01.197Z] [2021-12-20T20:12:01.197Z] Login Succeeded [2021-12-20T20:12:01.197Z] nexus3.edgexfoundry.org:10002 [2021-12-20T20:12:01.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:12:01.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:12:01.473Z] Configure a credential helper to remove this warning. See [2021-12-20T20:12:01.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:12:01.473Z] [2021-12-20T20:12:01.473Z] Login Succeeded [2021-12-20T20:12:01.473Z] nexus3.edgexfoundry.org:10003 [2021-12-20T20:12:01.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:12:02.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:12:02.027Z] Configure a credential helper to remove this warning. See [2021-12-20T20:12:02.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:12:02.027Z] [2021-12-20T20:12:02.027Z] Login Succeeded [2021-12-20T20:12:02.027Z] nexus3.edgexfoundry.org:10004 [2021-12-20T20:12:02.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:12:02.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:12:02.311Z] Configure a credential helper to remove this warning. See [2021-12-20T20:12:02.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:12:02.311Z] [2021-12-20T20:12:02.311Z] Login Succeeded [2021-12-20T20:12:02.311Z] docker.io [2021-12-20T20:12:02.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T20:12:03.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T20:12:03.179Z] Configure a credential helper to remove this warning. See [2021-12-20T20:12:03.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T20:12:03.180Z] [2021-12-20T20:12:03.180Z] Login Succeeded [2021-12-20T20:12:03.180Z] ---> docker-login.sh ends [Pipeline] } [2021-12-20T20:12:03.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-20T20:12:03.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-20T20:12:03.598Z] ========================================================= [2021-12-20T20:12:03.598Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-20T20:12:03.598Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:12:04.028Z] + 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-12-20T20:12:04.028Z] Sending build context to Docker daemon 121.9kB [2021-12-20T20:12:04.303Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T20:12:04.303Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-20T20:12:04.579Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-20T20:12:04.579Z] 552d1f2373af: Pulling fs layer [2021-12-20T20:12:04.579Z] ea3f2d53f512: Pulling fs layer [2021-12-20T20:12:04.579Z] 9e70ebbbe112: Pulling fs layer [2021-12-20T20:12:04.579Z] 7a9cfe048b4a: Pulling fs layer [2021-12-20T20:12:04.579Z] 72dc09318566: Pulling fs layer [2021-12-20T20:12:04.579Z] f4f7b4309257: Pulling fs layer [2021-12-20T20:12:04.579Z] 0ac9a79272e3: Pulling fs layer [2021-12-20T20:12:04.579Z] b78e95d17946: Pulling fs layer [2021-12-20T20:12:04.579Z] f4f7b4309257: Waiting [2021-12-20T20:12:04.579Z] 0ac9a79272e3: Waiting [2021-12-20T20:12:04.579Z] b78e95d17946: Waiting [2021-12-20T20:12:04.579Z] 72dc09318566: Waiting [2021-12-20T20:12:04.579Z] 7a9cfe048b4a: Waiting [2021-12-20T20:12:04.579Z] 9e70ebbbe112: Download complete [2021-12-20T20:12:04.579Z] ea3f2d53f512: Download complete [2021-12-20T20:12:04.579Z] 72dc09318566: Verifying Checksum [2021-12-20T20:12:04.579Z] 72dc09318566: Download complete [2021-12-20T20:12:04.579Z] f4f7b4309257: Verifying Checksum [2021-12-20T20:12:04.579Z] f4f7b4309257: Download complete [2021-12-20T20:12:04.579Z] 552d1f2373af: Verifying Checksum [2021-12-20T20:12:04.579Z] 552d1f2373af: Download complete [2021-12-20T20:12:04.579Z] 0ac9a79272e3: Verifying Checksum [2021-12-20T20:12:04.579Z] 0ac9a79272e3: Download complete [2021-12-20T20:12:05.177Z] 552d1f2373af: Pull complete [2021-12-20T20:12:05.775Z] ea3f2d53f512: Pull complete [2021-12-20T20:12:06.050Z] 9e70ebbbe112: Pull complete [2021-12-20T20:12:06.323Z] b78e95d17946: Verifying Checksum [2021-12-20T20:12:06.323Z] b78e95d17946: Download complete [2021-12-20T20:12:06.923Z] 7a9cfe048b4a: Verifying Checksum [2021-12-20T20:12:06.923Z] 7a9cfe048b4a: Download complete [2021-12-20T20:12:19.314Z] 7a9cfe048b4a: Pull complete [2021-12-20T20:12:19.314Z] 72dc09318566: Pull complete [2021-12-20T20:12:19.314Z] f4f7b4309257: Pull complete [2021-12-20T20:12:19.314Z] 0ac9a79272e3: Pull complete [2021-12-20T20:12:24.709Z] b78e95d17946: Pull complete [2021-12-20T20:12:24.709Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-20T20:12:24.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-20T20:12:24.709Z] ---> 8b459fc5aaf0 [2021-12-20T20:12:24.709Z] Step 3/11 : ARG MAKE='make build' [2021-12-20T20:12:25.682Z] ---> Running in fa5c4bc68e24 [2021-12-20T20:12:25.956Z] Removing intermediate container fa5c4bc68e24 [2021-12-20T20:12:25.956Z] ---> fdc6923b659a [2021-12-20T20:12:25.956Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T20:12:25.956Z] ---> Running in eff2b2720f6a [2021-12-20T20:12:26.232Z] Removing intermediate container eff2b2720f6a [2021-12-20T20:12:26.232Z] ---> a0e9eeaca1dd [2021-12-20T20:12:26.232Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T20:12:26.505Z] ---> Running in 7d6392061716 [2021-12-20T20:12:26.780Z] Removing intermediate container 7d6392061716 [2021-12-20T20:12:26.780Z] ---> 4a92facda0a5 [2021-12-20T20:12:26.780Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T20:12:26.780Z] ---> Running in 104b4f5f883d [2021-12-20T20:12:28.750Z] Removing intermediate container 104b4f5f883d [2021-12-20T20:12:28.750Z] ---> d6df1c30c2a4 [2021-12-20T20:12:28.750Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T20:12:28.750Z] ---> Running in ca1a08120fc5 [2021-12-20T20:12:29.728Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-20T20:12:29.933Z] Removing intermediate container f6e7005f4d33 [2021-12-20T20:12:29.933Z] ---> e14bc4ec1c9c [2021-12-20T20:12:29.933Z] Step 11/11 : RUN $MAKE [2021-12-20T20:12:29.933Z] ---> Running in 330df13b9b26 [2021-12-20T20:12:29.933Z] noop [2021-12-20T20:12:29.933Z] Removing intermediate container 330df13b9b26 [2021-12-20T20:12:29.933Z] ---> 11e1efa150be [2021-12-20T20:12:29.933Z] Successfully built 11e1efa150be [2021-12-20T20:12:29.933Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:12:30.272Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-20T20:12:30.272Z] . [Pipeline] withDockerContainer [2021-12-20T20:12:30.359Z] prd-centos7-docker-4c-2g-1185 does not seem to be running inside a container [2021-12-20T20:12:30.397Z] $ 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 ******** ci-base-image-x86_64 cat [2021-12-20T20:12:30.704Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-20T20:12:30.724Z] $ docker top 0da524dd3cbfdb1d7a6c230cab4ea4d8b0d6f796d681cfe48786c618c9844572 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-20T20:12:31.144Z] + go version [2021-12-20T20:12:31.144Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-20T20:12:31.171Z] $ docker stop --time=1 0da524dd3cbfdb1d7a6c230cab4ea4d8b0d6f796d681cfe48786c618c9844572 [2021-12-20T20:12:31.676Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-20T20:12:31.676Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-20T20:12:31.676Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-20T20:12:31.949Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-20T20:12:31.949Z] Executing busybox-1.33.1-r3.trigger [2021-12-20T20:12:31.949Z] OK: 223 MiB in 56 packages [2021-12-20T20:12:32.344Z] $ docker rm -f 0da524dd3cbfdb1d7a6c230cab4ea4d8b0d6f796d681cfe48786c618c9844572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:12:32.930Z] Removing intermediate container ca1a08120fc5 [2021-12-20T20:12:32.930Z] ---> a23b02c569e5 [2021-12-20T20:12:32.930Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-20T20:12:32.930Z] ---> Running in 642e6bfd83d5 [2021-12-20T20:12:33.036Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-20T20:12:33.036Z] . [Pipeline] withDockerContainer [2021-12-20T20:12:33.126Z] prd-centos7-docker-4c-2g-1185 does not seem to be running inside a container [2021-12-20T20:12:33.164Z] $ 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 ******** ci-base-image-x86_64 cat [2021-12-20T20:12:33.508Z] $ docker top 9d95e71ce79a315447d414874875c7ef0792fdd4be9d13fa10984dc17e51c297 -eo pid,comm [2021-12-20T20:12:33.518Z] Removing intermediate container 642e6bfd83d5 [2021-12-20T20:12:33.518Z] ---> c9b1fd606b2e [2021-12-20T20:12:33.518Z] Step 9/11 : COPY . . [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-20T20:12:33.974Z] + make test [2021-12-20T20:12:33.974Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-20T20:12:34.120Z] ---> 2a022d9dfedf [2021-12-20T20:12:34.120Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T20:12:34.120Z] ---> Running in cfe8a2574e15 [2021-12-20T20:12:34.243Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-20T20:12:49.267Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-20T20:12:49.528Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements [2021-12-20T20:12:49.528Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-20T20:12:57.745Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-20T20:12:57.745Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-20T20:12:57.745Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-20T20:12:57.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-20T20:12:57.813Z] $ docker stop --time=1 9d95e71ce79a315447d414874875c7ef0792fdd4be9d13fa10984dc17e51c297 [2021-12-20T20:12:59.207Z] $ docker rm -f 9d95e71ce79a315447d414874875c7ef0792fdd4be9d13fa10984dc17e51c297 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-20T20:12:59.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-20T20:12:59.826Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-20T20:13:01.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-20T20:13:01.357Z] + ls -al . [2021-12-20T20:13:01.357Z] total 148 [2021-12-20T20:13:01.357Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 20 20:12 . [2021-12-20T20:13:01.357Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 20 20:11 .. [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 7095 Dec 20 20:11 Attribution.txt [2021-12-20T20:13:01.357Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 20 20:11 bin [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 7459 Dec 20 20:11 CHANGELOG.md [2021-12-20T20:13:01.357Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 20 20:11 cmd [2021-12-20T20:13:01.357Z] -rw-r--r--. 1 jenkins jenkins 9215 Dec 20 20:12 coverage.out [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 1649 Dec 20 20:11 Dockerfile [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 151 Dec 20 20:11 .dockerignore [2021-12-20T20:13:01.357Z] drwxrwxr-x. 2 jenkins jenkins 76 Dec 20 20:11 driver [2021-12-20T20:13:01.357Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 20 20:11 .git [2021-12-20T20:13:01.357Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 20 20:11 .github [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 20 20:11 .gitignore [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 277 Dec 20 20:11 go.mod [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 49541 Dec 20 20:11 go.sum [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 20 20:11 GOVERNANCE.md [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 680 Dec 20 20:11 Jenkinsfile [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 20 20:11 LICENSE [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 1078 Dec 20 20:11 Makefile [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 20 20:11 OWNERS.md [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 8246 Dec 20 20:11 README.md [2021-12-20T20:13:01.357Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 20 20:11 snap [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 20 20:09 VERSION [2021-12-20T20:13:01.357Z] -rw-rw-r--. 1 jenkins jenkins 713 Dec 20 20:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:13:01.699Z] + 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=07dc9f6b3300f5dc3e37f67eb01f361c37aca65a --label arch=amd64 --label version=0.0.0 . [2021-12-20T20:13:01.699Z] Sending build context to Docker daemon 131.6kB [2021-12-20T20:13:01.699Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T20:13:01.699Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-20T20:13:01.699Z] ---> 11e1efa150be [2021-12-20T20:13:01.699Z] Step 3/24 : ARG MAKE='make build' [2021-12-20T20:13:01.699Z] ---> Running in ca621c68adc6 [2021-12-20T20:13:01.699Z] Removing intermediate container ca621c68adc6 [2021-12-20T20:13:01.699Z] ---> bdb61542dac1 [2021-12-20T20:13:01.699Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T20:13:01.699Z] ---> Running in 3219e7afca82 [2021-12-20T20:13:01.962Z] Removing intermediate container 3219e7afca82 [2021-12-20T20:13:01.962Z] ---> 8ceadcaeed6f [2021-12-20T20:13:01.962Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T20:13:01.962Z] ---> Running in b8c61769d678 [2021-12-20T20:13:01.962Z] Removing intermediate container b8c61769d678 [2021-12-20T20:13:01.962Z] ---> 5a553ca93d54 [2021-12-20T20:13:01.962Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T20:13:01.962Z] ---> Running in b394771196ef [2021-12-20T20:13:02.541Z] Removing intermediate container b394771196ef [2021-12-20T20:13:02.541Z] ---> 7df989f91e2f [2021-12-20T20:13:02.541Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T20:13:02.541Z] ---> Running in df78ead9105c [2021-12-20T20:13:02.802Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-20T20:13:03.744Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-20T20:13:03.744Z] OK: 224 MiB in 56 packages [2021-12-20T20:13:04.007Z] Removing intermediate container df78ead9105c [2021-12-20T20:13:04.007Z] ---> 47c25250970a [2021-12-20T20:13:04.007Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-20T20:13:04.007Z] ---> Running in c5dbed5f9bf5 [2021-12-20T20:13:04.279Z] Removing intermediate container c5dbed5f9bf5 [2021-12-20T20:13:04.279Z] ---> d752543bafce [2021-12-20T20:13:04.279Z] Step 9/24 : COPY . . [2021-12-20T20:13:04.279Z] ---> 5ac5eb51e629 [2021-12-20T20:13:04.279Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T20:13:04.279Z] ---> Running in 89566e52637a [2021-12-20T20:13:04.857Z] Removing intermediate container 89566e52637a [2021-12-20T20:13:04.857Z] ---> 8064adba3391 [2021-12-20T20:13:04.857Z] Step 11/24 : RUN $MAKE [2021-12-20T20:13:04.857Z] ---> Running in d4ac69c83a1b [2021-12-20T20:13:05.132Z] 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-12-20T20:13:17.476Z] Removing intermediate container d4ac69c83a1b [2021-12-20T20:13:17.476Z] ---> 842a128c119e [2021-12-20T20:13:17.476Z] Step 12/24 : FROM alpine:3.14 [2021-12-20T20:13:17.476Z] 3.14: Pulling from library/alpine [2021-12-20T20:13:17.476Z] 97518928ae5f: Pulling fs layer [2021-12-20T20:13:17.476Z] 97518928ae5f: Verifying Checksum [2021-12-20T20:13:17.476Z] 97518928ae5f: Download complete [2021-12-20T20:13:17.476Z] 97518928ae5f: Pull complete [2021-12-20T20:13:17.476Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-20T20:13:17.476Z] Status: Downloaded newer image for alpine:3.14 [2021-12-20T20:13:17.476Z] ---> 0a97eee8041e [2021-12-20T20:13:17.476Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-20T20:13:17.476Z] ---> Running in 2c5c2c51c140 [2021-12-20T20:13:17.476Z] Removing intermediate container 2c5c2c51c140 [2021-12-20T20:13:17.476Z] ---> aca824b31700 [2021-12-20T20:13:17.476Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-20T20:13:17.476Z] ---> Running in 556c4c8a3fe2 [2021-12-20T20:13:17.476Z] Removing intermediate container 556c4c8a3fe2 [2021-12-20T20:13:17.476Z] ---> 902773640329 [2021-12-20T20:13:17.476Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-20T20:13:17.476Z] ---> Running in 74872a3c21b1 [2021-12-20T20:13:17.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-20T20:13:17.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-20T20:13:17.997Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-20T20:13:17.997Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-20T20:13:17.997Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-20T20:13:17.997Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-20T20:13:17.997Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-20T20:13:17.997Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-20T20:13:17.997Z] Executing busybox-1.33.1-r6.trigger [2021-12-20T20:13:17.997Z] OK: 8 MiB in 20 packages [2021-12-20T20:13:18.257Z] Removing intermediate container 74872a3c21b1 [2021-12-20T20:13:18.257Z] ---> 0118a603ac47 [2021-12-20T20:13:18.257Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-20T20:13:18.519Z] ---> b5c2cf2a5f17 [2021-12-20T20:13:18.519Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-20T20:13:18.780Z] ---> de914b83fb0d [2021-12-20T20:13:18.780Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-20T20:13:18.780Z] ---> 639100d82f2e [2021-12-20T20:13:18.780Z] Step 19/24 : EXPOSE 59986 [2021-12-20T20:13:18.780Z] ---> Running in c880be0f9237 [2021-12-20T20:13:19.039Z] Removing intermediate container c880be0f9237 [2021-12-20T20:13:19.039Z] ---> 4feb711ce7cf [2021-12-20T20:13:19.039Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-20T20:13:19.039Z] ---> Running in 3e30b05bb04b [2021-12-20T20:13:19.039Z] Removing intermediate container 3e30b05bb04b [2021-12-20T20:13:19.039Z] ---> 4fb04054c58b [2021-12-20T20:13:19.039Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-20T20:13:19.039Z] ---> Running in 0ba11b34b6b1 [2021-12-20T20:13:19.039Z] Removing intermediate container 0ba11b34b6b1 [2021-12-20T20:13:19.039Z] ---> 35d403fb7b2a [2021-12-20T20:13:19.039Z] Step 22/24 : LABEL arch=amd64 [2021-12-20T20:13:19.039Z] ---> Running in 9cb3fb9c5e8e [2021-12-20T20:13:19.300Z] Removing intermediate container 9cb3fb9c5e8e [2021-12-20T20:13:19.300Z] ---> e94a8a13f073 [2021-12-20T20:13:19.300Z] Step 23/24 : LABEL git_sha=07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [2021-12-20T20:13:19.300Z] ---> Running in 1bf7de8b14b7 [2021-12-20T20:13:19.300Z] Removing intermediate container 1bf7de8b14b7 [2021-12-20T20:13:19.300Z] ---> 93689bd13680 [2021-12-20T20:13:19.300Z] Step 24/24 : LABEL version=0.0.0 [2021-12-20T20:13:19.300Z] ---> Running in 960ba73ee5d9 [2021-12-20T20:13:19.564Z] Removing intermediate container 960ba73ee5d9 [2021-12-20T20:13:19.564Z] ---> 480d89d75f42 [2021-12-20T20:13:19.564Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-20T20:13:19.564Z] Successfully built 480d89d75f42 [2021-12-20T20:13:19.564Z] 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-12-20T20:13:20.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T20:13:20.475Z] [2021-12-20T20:13:20.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:13:20.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T20:13:20.813Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-20T20:13:20.813Z] b4d181a07f80: Pulling fs layer [2021-12-20T20:13:20.813Z] a1111a8f2ec3: Pulling fs layer [2021-12-20T20:13:20.813Z] ed53099fbce6: Pulling fs layer [2021-12-20T20:13:20.813Z] dc539afda2c1: Pulling fs layer [2021-12-20T20:13:20.813Z] 77bc0d833cb6: Pulling fs layer [2021-12-20T20:13:20.813Z] 9065ff56babe: Pulling fs layer [2021-12-20T20:13:20.813Z] d287ab97295c: Pulling fs layer [2021-12-20T20:13:20.813Z] 77bc0d833cb6: Waiting [2021-12-20T20:13:20.813Z] 9065ff56babe: Waiting [2021-12-20T20:13:20.813Z] d287ab97295c: Waiting [2021-12-20T20:13:20.813Z] dc539afda2c1: Waiting [2021-12-20T20:13:20.813Z] a1111a8f2ec3: Verifying Checksum [2021-12-20T20:13:20.813Z] a1111a8f2ec3: Download complete [2021-12-20T20:13:20.813Z] dc539afda2c1: Verifying Checksum [2021-12-20T20:13:20.813Z] dc539afda2c1: Download complete [2021-12-20T20:13:20.813Z] ed53099fbce6: Verifying Checksum [2021-12-20T20:13:20.813Z] ed53099fbce6: Download complete [2021-12-20T20:13:21.072Z] 9065ff56babe: Verifying Checksum [2021-12-20T20:13:21.072Z] 9065ff56babe: Download complete [2021-12-20T20:13:21.072Z] 77bc0d833cb6: Verifying Checksum [2021-12-20T20:13:21.072Z] 77bc0d833cb6: Download complete [2021-12-20T20:13:21.072Z] b4d181a07f80: Verifying Checksum [2021-12-20T20:13:21.072Z] b4d181a07f80: Download complete [2021-12-20T20:13:21.645Z] d287ab97295c: Verifying Checksum [2021-12-20T20:13:21.645Z] d287ab97295c: Download complete [2021-12-20T20:13:22.599Z] b4d181a07f80: Pull complete [2021-12-20T20:13:22.599Z] a1111a8f2ec3: Pull complete [2021-12-20T20:13:23.182Z] ed53099fbce6: Pull complete [2021-12-20T20:13:23.452Z] dc539afda2c1: Pull complete [2021-12-20T20:13:23.713Z] 77bc0d833cb6: Pull complete [2021-12-20T20:13:23.713Z] 9065ff56babe: Pull complete [2021-12-20T20:13:29.050Z] d287ab97295c: Pull complete [2021-12-20T20:13:29.050Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-20T20:13:29.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T20:13:29.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-20T20:13:29.131Z] prd-centos7-docker-4c-2g-1185 does not seem to be running inside a container [2021-12-20T20:13:29.163Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-20T20:13:31.698Z] $ docker top 4e0ce6b49e62cd28c82886e0302357897d0dc3412c0770ce5502f5cd96123fd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:13:32.180Z] ---> job-cost.sh [2021-12-20T20:13:32.180Z] lf-activate-venv: SKIPPING [2021-12-20T20:13:32.180Z] INFO: No Stack... [2021-12-20T20:13:32.441Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-20T20:13:33.017Z] INFO: Archiving Costs [Pipeline] sh [2021-12-20T20:13:33.345Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-12-20T20:13:33.345Z] + cut -d, -f6 [Pipeline] lock [2021-12-20T20:13:33.396Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] [2021-12-20T20:13:33.401Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] did not exist. Created. [2021-12-20T20:13:33.401Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-20T20:13:33.794Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-20T20:13:33.843Z] Stashed 1 file(s) [Pipeline] } [2021-12-20T20:13:33.871Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-20T20:13:33.937Z] $ docker stop --time=1 4e0ce6b49e62cd28c82886e0302357897d0dc3412c0770ce5502f5cd96123fd1 [2021-12-20T20:13:35.064Z] $ docker rm -f 4e0ce6b49e62cd28c82886e0302357897d0dc3412c0770ce5502f5cd96123fd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-20T20:13:55.921Z] Removing intermediate container cfe8a2574e15 [2021-12-20T20:13:55.922Z] ---> 3f47603234bc [2021-12-20T20:13:55.922Z] Step 11/11 : RUN $MAKE [2021-12-20T20:13:55.922Z] ---> Running in 2c888781b8d6 [2021-12-20T20:13:55.922Z] noop [2021-12-20T20:13:55.922Z] Removing intermediate container 2c888781b8d6 [2021-12-20T20:13:55.922Z] ---> e2bbe7d9e59a [2021-12-20T20:13:55.922Z] Successfully built e2bbe7d9e59a [2021-12-20T20:13:55.922Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:13:56.290Z] + docker inspect -f . ci-base-image-arm64 [2021-12-20T20:13:56.290Z] . [Pipeline] withDockerContainer [2021-12-20T20:13:56.539Z] prd-ubuntu18.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container [2021-12-20T20:13:56.626Z] $ 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 ******** ci-base-image-arm64 cat [2021-12-20T20:13:57.915Z] $ docker top 640cda68025608188af53879544191cc40c6d9f15679f0bad7d874ac176653da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-20T20:13:58.830Z] + go version [2021-12-20T20:13:58.830Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-20T20:13:58.867Z] $ docker stop --time=1 640cda68025608188af53879544191cc40c6d9f15679f0bad7d874ac176653da [2021-12-20T20:14:00.529Z] $ docker rm -f 640cda68025608188af53879544191cc40c6d9f15679f0bad7d874ac176653da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:14:01.544Z] + docker inspect -f . ci-base-image-arm64 [2021-12-20T20:14:01.544Z] . [Pipeline] withDockerContainer [2021-12-20T20:14:01.782Z] prd-ubuntu18.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container [2021-12-20T20:14:02.003Z] $ 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 ******** ci-base-image-arm64 cat [2021-12-20T20:14:03.292Z] $ docker top 9dce3789f939977b6d5755278f75a3ea5aa307b048ce845bce09d27603703e6f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-20T20:14:04.305Z] + make test [2021-12-20T20:14:04.305Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-20T20:14:05.748Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-20T20:15:02.339Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-20T20:15:02.339Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 56.0% of statements [2021-12-20T20:15:02.339Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-20T20:15:24.502Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-20T20:15:24.502Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-20T20:15:24.502Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-20T20:15:26.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-20T20:15:26.552Z] $ docker stop --time=1 9dce3789f939977b6d5755278f75a3ea5aa307b048ce845bce09d27603703e6f [2021-12-20T20:15:28.260Z] $ docker rm -f 9dce3789f939977b6d5755278f75a3ea5aa307b048ce845bce09d27603703e6f [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-20T20:15:29.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-20T20:15:29.148Z] Warning: overwriting stash ‘coverage-report’ [2021-12-20T20:15:29.568Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-20T20:15:30.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-20T20:15:30.539Z] + ls -al . [2021-12-20T20:15:30.539Z] total 176 [2021-12-20T20:15:30.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:15 . [2021-12-20T20:15:30.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 20:11 .. [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 20 20:11 .dockerignore [2021-12-20T20:15:30.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:11 .git [2021-12-20T20:15:30.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:11 .github [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 20 20:11 .gitignore [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 7095 Dec 20 20:11 Attribution.txt [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 7459 Dec 20 20:11 CHANGELOG.md [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 1649 Dec 20 20:11 Dockerfile [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 20:11 GOVERNANCE.md [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 20 20:11 Jenkinsfile [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 20:11 LICENSE [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 1078 Dec 20 20:11 Makefile [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 20 20:11 OWNERS.md [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 8246 Dec 20 20:11 README.md [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 20:09 VERSION [2021-12-20T20:15:30.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:11 bin [2021-12-20T20:15:30.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:11 cmd [2021-12-20T20:15:30.539Z] -rw-r--r-- 1 jenkins jenkins 9215 Dec 20 20:14 coverage.out [2021-12-20T20:15:30.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:11 driver [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 277 Dec 20 20:11 go.mod [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 49541 Dec 20 20:11 go.sum [2021-12-20T20:15:30.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:11 snap [2021-12-20T20:15:30.539Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 20 20:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:15:30.909Z] + 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=07dc9f6b3300f5dc3e37f67eb01f361c37aca65a --label arch=arm64 --label version=0.0.0 . [2021-12-20T20:15:30.909Z] Sending build context to Docker daemon 131.6kB [2021-12-20T20:15:31.185Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T20:15:31.185Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-20T20:15:31.185Z] ---> e2bbe7d9e59a [2021-12-20T20:15:31.185Z] Step 3/24 : ARG MAKE='make build' [2021-12-20T20:15:31.460Z] ---> Running in 306a507e0eae [2021-12-20T20:15:31.733Z] Removing intermediate container 306a507e0eae [2021-12-20T20:15:31.733Z] ---> 3d92f845e606 [2021-12-20T20:15:31.733Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T20:15:31.733Z] ---> Running in 334b06ea2aaf [2021-12-20T20:15:32.009Z] Removing intermediate container 334b06ea2aaf [2021-12-20T20:15:32.009Z] ---> 4120d68be0e4 [2021-12-20T20:15:32.009Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T20:15:32.288Z] ---> Running in 5f711b7372f0 [2021-12-20T20:15:32.561Z] Removing intermediate container 5f711b7372f0 [2021-12-20T20:15:32.561Z] ---> f72af1939818 [2021-12-20T20:15:32.561Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T20:15:32.561Z] ---> Running in 2937199170fa [2021-12-20T20:15:34.532Z] Removing intermediate container 2937199170fa [2021-12-20T20:15:34.532Z] ---> d7488f68242d [2021-12-20T20:15:34.532Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T20:15:34.532Z] ---> Running in b234fdbaf1ae [2021-12-20T20:15:35.130Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-20T20:15:36.101Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-20T20:15:37.091Z] OK: 223 MiB in 56 packages [2021-12-20T20:15:37.690Z] Removing intermediate container b234fdbaf1ae [2021-12-20T20:15:37.690Z] ---> 5b2cd0fbab95 [2021-12-20T20:15:37.690Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-20T20:15:37.690Z] ---> Running in a3f973f17a6c [2021-12-20T20:15:38.287Z] Removing intermediate container a3f973f17a6c [2021-12-20T20:15:38.287Z] ---> 3d976ae221fb [2021-12-20T20:15:38.287Z] Step 9/24 : COPY . . [2021-12-20T20:15:38.882Z] ---> 889460274907 [2021-12-20T20:15:38.882Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T20:15:38.882Z] ---> Running in aa502c0e964d [2021-12-20T20:15:40.860Z] Removing intermediate container aa502c0e964d [2021-12-20T20:15:40.860Z] ---> 1a94fa20b15d [2021-12-20T20:15:40.860Z] Step 11/24 : RUN $MAKE [2021-12-20T20:15:40.860Z] ---> Running in 7d67c6191396 [2021-12-20T20:15:42.294Z] 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-12-20T20:16:21.322Z] Removing intermediate container 7d67c6191396 [2021-12-20T20:16:21.322Z] ---> f5e83b8703bf [2021-12-20T20:16:21.322Z] Step 12/24 : FROM alpine:3.14 [2021-12-20T20:16:21.322Z] 3.14: Pulling from library/alpine [2021-12-20T20:16:21.322Z] be307f383ecc: Pulling fs layer [2021-12-20T20:16:21.322Z] be307f383ecc: Download complete [2021-12-20T20:16:21.322Z] be307f383ecc: Pull complete [2021-12-20T20:16:21.322Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-20T20:16:21.322Z] Status: Downloaded newer image for alpine:3.14 [2021-12-20T20:16:21.322Z] ---> 5b8b7b635229 [2021-12-20T20:16:21.322Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-20T20:16:21.322Z] ---> Running in a01d5f2667a9 [2021-12-20T20:16:21.322Z] Removing intermediate container a01d5f2667a9 [2021-12-20T20:16:21.322Z] ---> 2be66ac4036d [2021-12-20T20:16:21.322Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-20T20:16:21.322Z] ---> Running in 4bcac0eb3d19 [2021-12-20T20:16:21.322Z] Removing intermediate container 4bcac0eb3d19 [2021-12-20T20:16:21.322Z] ---> e542e2091272 [2021-12-20T20:16:21.322Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-20T20:16:21.322Z] ---> Running in a4d9708d7bb2 [2021-12-20T20:16:21.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-20T20:16:21.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-20T20:16:21.322Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-20T20:16:21.322Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-20T20:16:21.322Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-20T20:16:21.594Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-20T20:16:21.594Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-20T20:16:21.594Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-20T20:16:21.594Z] Executing busybox-1.33.1-r6.trigger [2021-12-20T20:16:21.594Z] OK: 8 MiB in 20 packages [2021-12-20T20:16:22.573Z] Removing intermediate container a4d9708d7bb2 [2021-12-20T20:16:22.573Z] ---> 48caaec01efc [2021-12-20T20:16:22.573Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-20T20:16:23.553Z] ---> 7aa203a0923f [2021-12-20T20:16:23.553Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-20T20:16:24.152Z] ---> 80d3310f3cdc [2021-12-20T20:16:24.152Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-20T20:16:24.749Z] ---> 8867db321e25 [2021-12-20T20:16:24.749Z] Step 19/24 : EXPOSE 59986 [2021-12-20T20:16:24.749Z] ---> Running in 05446adec974 [2021-12-20T20:16:25.021Z] Removing intermediate container 05446adec974 [2021-12-20T20:16:25.021Z] ---> abdf5f76bcfd [2021-12-20T20:16:25.021Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-20T20:16:25.294Z] ---> Running in 29fbe59410da [2021-12-20T20:16:25.568Z] Removing intermediate container 29fbe59410da [2021-12-20T20:16:25.568Z] ---> fddeb81f319b [2021-12-20T20:16:25.568Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-20T20:16:25.568Z] ---> Running in 59e0bcc2ddd6 [2021-12-20T20:16:25.841Z] Removing intermediate container 59e0bcc2ddd6 [2021-12-20T20:16:25.841Z] ---> 559eba15e699 [2021-12-20T20:16:25.841Z] Step 22/24 : LABEL arch=arm64 [2021-12-20T20:16:26.125Z] ---> Running in 5ae9789aff84 [2021-12-20T20:16:26.400Z] Removing intermediate container 5ae9789aff84 [2021-12-20T20:16:26.400Z] ---> 8baf1231bb2e [2021-12-20T20:16:26.400Z] Step 23/24 : LABEL git_sha=07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [2021-12-20T20:16:26.400Z] ---> Running in 9f6aefcbe6a8 [2021-12-20T20:16:26.994Z] Removing intermediate container 9f6aefcbe6a8 [2021-12-20T20:16:26.994Z] ---> 0c3091ba4980 [2021-12-20T20:16:26.994Z] Step 24/24 : LABEL version=0.0.0 [2021-12-20T20:16:26.994Z] ---> Running in c272dc6047e5 [2021-12-20T20:16:27.273Z] Removing intermediate container c272dc6047e5 [2021-12-20T20:16:27.273Z] ---> 4f3a548906ad [2021-12-20T20:16:27.273Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-20T20:16:27.273Z] Successfully built 4f3a548906ad [2021-12-20T20:16:27.273Z] 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-12-20T20:16:28.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-20T20:16:28.141Z] [2021-12-20T20:16:28.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:16:28.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-20T20:16:28.804Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-20T20:16:28.804Z] 448f6bf000e3: Pulling fs layer [2021-12-20T20:16:28.804Z] f757da607395: Pulling fs layer [2021-12-20T20:16:28.804Z] 05883995daec: Pulling fs layer [2021-12-20T20:16:28.804Z] 8603b9c90790: Pulling fs layer [2021-12-20T20:16:28.804Z] 1560dd03e051: Pulling fs layer [2021-12-20T20:16:28.804Z] 27f5ce0e4adf: Pulling fs layer [2021-12-20T20:16:28.804Z] c2d8d7efcc4b: Pulling fs layer [2021-12-20T20:16:28.804Z] 1560dd03e051: Waiting [2021-12-20T20:16:28.804Z] 27f5ce0e4adf: Waiting [2021-12-20T20:16:28.804Z] c2d8d7efcc4b: Waiting [2021-12-20T20:16:28.804Z] 8603b9c90790: Waiting [2021-12-20T20:16:28.804Z] f757da607395: Verifying Checksum [2021-12-20T20:16:28.804Z] f757da607395: Download complete [2021-12-20T20:16:28.804Z] 8603b9c90790: Verifying Checksum [2021-12-20T20:16:28.804Z] 8603b9c90790: Download complete [2021-12-20T20:16:28.804Z] 1560dd03e051: Verifying Checksum [2021-12-20T20:16:28.804Z] 1560dd03e051: Download complete [2021-12-20T20:16:28.804Z] 27f5ce0e4adf: Verifying Checksum [2021-12-20T20:16:28.804Z] 27f5ce0e4adf: Download complete [2021-12-20T20:16:29.078Z] 05883995daec: Verifying Checksum [2021-12-20T20:16:29.078Z] 05883995daec: Download complete [2021-12-20T20:16:29.356Z] 448f6bf000e3: Verifying Checksum [2021-12-20T20:16:29.356Z] 448f6bf000e3: Download complete [2021-12-20T20:16:32.008Z] c2d8d7efcc4b: Verifying Checksum [2021-12-20T20:16:32.008Z] c2d8d7efcc4b: Download complete [2021-12-20T20:16:32.990Z] 448f6bf000e3: Pull complete [2021-12-20T20:16:33.589Z] f757da607395: Pull complete [2021-12-20T20:16:35.032Z] 05883995daec: Pull complete [2021-12-20T20:16:35.032Z] 8603b9c90790: Pull complete [2021-12-20T20:16:36.014Z] 1560dd03e051: Pull complete [2021-12-20T20:16:36.288Z] 27f5ce0e4adf: Pull complete [2021-12-20T20:16:51.363Z] c2d8d7efcc4b: Pull complete [2021-12-20T20:16:51.363Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-20T20:16:51.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-20T20:16:51.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-20T20:16:51.568Z] prd-ubuntu18.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container [2021-12-20T20:16:51.649Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-20T20:16:54.096Z] $ docker top cdad016988c8a8fe4184acff6d7b749822d5419461071605455120aa8d7e3d37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:16:54.999Z] ---> job-cost.sh [2021-12-20T20:16:54.999Z] lf-activate-venv: SKIPPING [2021-12-20T20:16:54.999Z] INFO: No Stack... [2021-12-20T20:16:55.270Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-20T20:16:55.538Z] INFO: Archiving Costs [Pipeline] sh [2021-12-20T20:16:55.893Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv+ [2021-12-20T20:16:55.893Z] cut -d, -f6 [Pipeline] lock [2021-12-20T20:16:55.968Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] [2021-12-20T20:16:55.973Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] did not exist. Created. [2021-12-20T20:16:55.973Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-20T20:16:56.379Z] /w/workspace/device-rest-go/1@tmp/durable-7dea943f/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-7dea943f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-20T20:16:56.751Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-20T20:16:56.787Z] Warning: overwriting stash ‘stack-cost’ [2021-12-20T20:16:56.825Z] Stashed 1 file(s) [Pipeline] } [2021-12-20T20:16:56.842Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-20T20:16:56.910Z] $ docker stop --time=1 cdad016988c8a8fe4184acff6d7b749822d5419461071605455120aa8d7e3d37 [2021-12-20T20:16:58.361Z] $ docker rm -f cdad016988c8a8fe4184acff6d7b749822d5419461071605455120aa8d7e3d37 [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-12-20T20:16:59.389Z] provisioning config files... [2021-12-20T20:16:59.401Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-149@tmp/config6965531047913716619tmp [Pipeline] { [Pipeline] sh [2021-12-20T20:16:59.736Z] + set +x [2021-12-20T20:16:59.736Z] + curl -s https://codecov.io/bash [2021-12-20T20:16:59.736Z] + bash -s -- [2021-12-20T20:16:59.736Z] [2021-12-20T20:16:59.736Z] _____ _ [2021-12-20T20:16:59.736Z] / ____| | | [2021-12-20T20:16:59.736Z] | | ___ __| | ___ ___ _____ __ [2021-12-20T20:16:59.736Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-20T20:16:59.736Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-20T20:16:59.736Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-20T20:16:59.736Z] Bash-1.0.6 [2021-12-20T20:16:59.736Z] [2021-12-20T20:16:59.736Z] [2021-12-20T20:16:59.736Z] ==> git version 2.24.4 found [2021-12-20T20:16:59.736Z] ==> 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-12-20T20:16:59.736Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-20T20:16:59.736Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-20T20:16:59.736Z] ==> Jenkins CI detected. [2021-12-20T20:16:59.736Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-149 [2021-12-20T20:16:59.736Z] project root: . [2021-12-20T20:16:59.736Z] --> token set from env [2021-12-20T20:16:59.736Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-20T20:16:59.736Z] ==> Running gcov in . (disable via -X gcov) [2021-12-20T20:16:59.736Z] ==> Python coveragepy not found [2021-12-20T20:16:59.736Z] ==> Searching for coverage reports in: [2021-12-20T20:16:59.736Z] + . [2021-12-20T20:16:59.736Z] -> Found 1 reports [2021-12-20T20:16:59.736Z] ==> Detecting git/mercurial file structure [2021-12-20T20:16:59.736Z] ==> Reading reports [2021-12-20T20:16:59.736Z] + ./coverage.out bytes=9215 [2021-12-20T20:16:59.736Z] ==> Appending adjustments [2021-12-20T20:16:59.736Z] https://docs.codecov.io/docs/fixing-reports [2021-12-20T20:17:00.000Z] + Found adjustments [2021-12-20T20:17:00.000Z] ==> Gzipping contents [2021-12-20T20:17:00.000Z] 4.0K /tmp/codecov.tBxHZq.gz [2021-12-20T20:17:00.000Z] ==> Uploading reports [2021-12-20T20:17:00.000Z] url: https://codecov.io [2021-12-20T20:17:00.000Z] query: branch=PR-149&commit=07dc9f6b3300f5dc3e37f67eb01f361c37aca65a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=149&job=&cmd_args= [2021-12-20T20:17:00.000Z] -> Pinging Codecov [2021-12-20T20:17:00.000Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-149&commit=07dc9f6b3300f5dc3e37f67eb01f361c37aca65a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=149&job=&cmd_args= [2021-12-20T20:17:00.260Z] -> Uploading to [2021-12-20T20:17:00.260Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-20/4E5D53B4F1F92C436F7061BF334D961C/07dc9f6b3300f5dc3e37f67eb01f361c37aca65a/5491bd3c-c64b-414f-93f0-e6e32fc87c93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211220T201700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9fff420c62228116693f0e10605686861de1e8572a16be27acd9a17fb2dfbaf [2021-12-20T20:17:00.260Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-20T20:17:00.260Z] Dload Upload Total Spent Left Speed [2021-12-20T20:17:00.519Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 5452 --:--:-- --:--:-- --:--:-- 5447 100 1814 0 0 100 1814 0 5449 --:--:-- --:--:-- --:--:-- 5447 [2021-12-20T20:17:00.519Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/07dc9f6b3300f5dc3e37f67eb01f361c37aca65a [Pipeline] } [2021-12-20T20:17:00.549Z] 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-12-20T20:17:05.004Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-149/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:17:05.338Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:17:05.938Z] ---> package-listing.sh [2021-12-20T20:17:05.938Z] ++ facter osfamily [2021-12-20T20:17:05.938Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-20T20:17:06.206Z] + OS_FAMILY=redhat [2021-12-20T20:17:06.206Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-149 [2021-12-20T20:17:06.206Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-20T20:17:06.206Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-20T20:17:06.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-20T20:17:06.206Z] + PACKAGES=/tmp/packages_start.txt [2021-12-20T20:17:06.206Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-149 ']' [2021-12-20T20:17:06.206Z] + PACKAGES=/tmp/packages_end.txt [2021-12-20T20:17:06.206Z] + case "${OS_FAMILY}" in [2021-12-20T20:17:06.206Z] + rpm -qa [2021-12-20T20:17:06.206Z] + sort [2021-12-20T20:17:06.791Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-20T20:17:06.791Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-20T20:17:06.791Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-20T20:17:06.791Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-149 ']' [2021-12-20T20:17:06.791Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-149/archives/ [2021-12-20T20:17:06.791Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-149/archives/ [Pipeline] echo [2021-12-20T20:17:06.821Z] 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-20T20:17:07.127Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:17:07.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T20:17:07.729Z] [2021-12-20T20:17:07.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T20:17:08.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T20:17:08.100Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-20T20:17:08.100Z] b4d181a07f80: Pulling fs layer [2021-12-20T20:17:08.100Z] a1111a8f2ec3: Pulling fs layer [2021-12-20T20:17:08.100Z] ed53099fbce6: Pulling fs layer [2021-12-20T20:17:08.100Z] dc539afda2c1: Pulling fs layer [2021-12-20T20:17:08.100Z] 77bc0d833cb6: Pulling fs layer [2021-12-20T20:17:08.100Z] 9065ff56babe: Pulling fs layer [2021-12-20T20:17:08.100Z] d287ab97295c: Pulling fs layer [2021-12-20T20:17:08.100Z] dc539afda2c1: Waiting [2021-12-20T20:17:08.100Z] 77bc0d833cb6: Waiting [2021-12-20T20:17:08.100Z] 9065ff56babe: Waiting [2021-12-20T20:17:08.100Z] d287ab97295c: Waiting [2021-12-20T20:17:08.100Z] a1111a8f2ec3: Verifying Checksum [2021-12-20T20:17:08.100Z] a1111a8f2ec3: Download complete [2021-12-20T20:17:08.100Z] dc539afda2c1: Verifying Checksum [2021-12-20T20:17:08.100Z] dc539afda2c1: Download complete [2021-12-20T20:17:08.100Z] ed53099fbce6: Verifying Checksum [2021-12-20T20:17:08.100Z] ed53099fbce6: Download complete [2021-12-20T20:17:08.366Z] 9065ff56babe: Verifying Checksum [2021-12-20T20:17:08.366Z] 9065ff56babe: Download complete [2021-12-20T20:17:08.366Z] 77bc0d833cb6: Verifying Checksum [2021-12-20T20:17:08.366Z] 77bc0d833cb6: Download complete [2021-12-20T20:17:08.366Z] b4d181a07f80: Verifying Checksum [2021-12-20T20:17:08.366Z] b4d181a07f80: Download complete [2021-12-20T20:17:08.948Z] d287ab97295c: Verifying Checksum [2021-12-20T20:17:08.948Z] d287ab97295c: Download complete [2021-12-20T20:17:09.904Z] b4d181a07f80: Pull complete [2021-12-20T20:17:09.904Z] a1111a8f2ec3: Pull complete [2021-12-20T20:17:10.479Z] ed53099fbce6: Pull complete [2021-12-20T20:17:10.479Z] dc539afda2c1: Pull complete [2021-12-20T20:17:10.742Z] 77bc0d833cb6: Pull complete [2021-12-20T20:17:10.742Z] 9065ff56babe: Pull complete [2021-12-20T20:17:16.057Z] d287ab97295c: Pull complete [2021-12-20T20:17:16.057Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-20T20:17:16.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T20:17:16.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-20T20:17:16.143Z] prd-centos7-docker-4c-2g-1183 does not seem to be running inside a container [2021-12-20T20:17:16.178Z] $ 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-149/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-149 -v /w/workspace/gexfoundry_device-rest-go_PR-149:/w/workspace/gexfoundry_device-rest-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-149@tmp:/w/workspace/gexfoundry_device-rest-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-20T20:17:18.210Z] $ docker top d03e16a049b213217a3a0ef006db3335a6951641b01f54f967ad84c632a816bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-20T20:17:18.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-20T20:17:18.932Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-20T20:17:19.251Z] + ls /var/log/sa-host [2021-12-20T20:17:19.251Z] + sadf -c /var/log/sa-host/sa17 [2021-12-20T20:17:19.251Z] file_magic: OK [2021-12-20T20:17:19.251Z] HZ: Using current value: 100 [2021-12-20T20:17:19.251Z] file_header: OK [2021-12-20T20:17:19.251Z] 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-12-20T20:17:19.251Z] Statistics: [2021-12-20T20:17:19.251Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-20T20:17:19.252Z] File successfully converted to sysstat format version 12.0.3 [2021-12-20T20:17:19.252Z] + sadf -c /var/log/sa-host/sa20 [2021-12-20T20:17:19.252Z] file_magic: OK [2021-12-20T20:17:19.252Z] HZ: Using current value: 100 [2021-12-20T20:17:19.252Z] file_header: OK [2021-12-20T20:17:19.252Z] 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-12-20T20:17:19.252Z] Statistics: [2021-12-20T20:17:19.252Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-20T20:17:19.252Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T20:17:19.388Z] provisioning config files... [2021-12-20T20:17:19.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-149@tmp/config6653189945659857059tmp [Pipeline] { [Pipeline] echo [2021-12-20T20:17:19.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:17:19.766Z] ---> create-netrc.sh [Pipeline] } [2021-12-20T20:17:19.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:17:20.181Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-20T20:17:20.209Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:17:20.529Z] ---> sudo-logs.sh [2021-12-20T20:17:20.529Z] Archiving 'sudo' log.. [2021-12-20T20:17:20.529Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1183.novalocal: Name or service not known [2021-12-20T20:17:20.529Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1183.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-20T20:17:20.597Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:17:20.912Z] ---> job-cost.sh [2021-12-20T20:17:20.912Z] lf-activate-venv: SKIPPING [2021-12-20T20:17:20.912Z] DEBUG: total: 0.10999999940395355 [2021-12-20T20:17:20.912Z] INFO: Retrieving Stack Cost... [2021-12-20T20:17:21.173Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-20T20:17:21.435Z] INFO: Archiving Costs [Pipeline] echo [2021-12-20T20:17:21.473Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T20:17:21.795Z] ---> logs-deploy.sh [2021-12-20T20:17:21.795Z] lf-activate-venv: SKIPPING [2021-12-20T20:17:21.796Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-149/1 [2021-12-20T20:17:21.796Z] INFO: archiving workspace using pattern(s): [2021-12-20T20:17:22.368Z] Archives upload complete. [2021-12-20T20:17:22.368Z] INFO: archiving logs to Nexus [2021-12-20T20:17:22.941Z] ---> uname -a: [2021-12-20T20:17:22.941Z] Linux prd-centos7-docker-4c-2g-1183.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] ---> lscpu: [2021-12-20T20:17:22.941Z] Architecture: x86_64 [2021-12-20T20:17:22.941Z] CPU op-mode(s): 32-bit, 64-bit [2021-12-20T20:17:22.941Z] Byte Order: Little Endian [2021-12-20T20:17:22.941Z] Address sizes: 40 bits physical, 48 bits virtual [2021-12-20T20:17:22.941Z] CPU(s): 2 [2021-12-20T20:17:22.941Z] On-line CPU(s) list: 0,1 [2021-12-20T20:17:22.941Z] Thread(s) per core: 1 [2021-12-20T20:17:22.941Z] Core(s) per socket: 1 [2021-12-20T20:17:22.941Z] Socket(s): 2 [2021-12-20T20:17:22.941Z] NUMA node(s): 1 [2021-12-20T20:17:22.941Z] Vendor ID: AuthenticAMD [2021-12-20T20:17:22.941Z] CPU family: 23 [2021-12-20T20:17:22.941Z] Model: 49 [2021-12-20T20:17:22.941Z] Model name: AMD EPYC-Rome Processor [2021-12-20T20:17:22.941Z] Stepping: 0 [2021-12-20T20:17:22.941Z] CPU MHz: 2799.998 [2021-12-20T20:17:22.941Z] BogoMIPS: 5599.99 [2021-12-20T20:17:22.941Z] Virtualization: AMD-V [2021-12-20T20:17:22.941Z] Hypervisor vendor: KVM [2021-12-20T20:17:22.941Z] Virtualization type: full [2021-12-20T20:17:22.941Z] L1d cache: 32K [2021-12-20T20:17:22.941Z] L1i cache: 32K [2021-12-20T20:17:22.941Z] L2 cache: 512K [2021-12-20T20:17:22.941Z] L3 cache: 16384K [2021-12-20T20:17:22.941Z] NUMA node0 CPU(s): 0,1 [2021-12-20T20:17:22.941Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] ---> nproc: [2021-12-20T20:17:22.941Z] 2 [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] ---> df -h: [2021-12-20T20:17:22.941Z] Filesystem Size Used Avail Use% Mounted on [2021-12-20T20:17:22.941Z] overlay 40G 7.7G 33G 20% / [2021-12-20T20:17:22.941Z] tmpfs 64M 0 64M 0% /dev [2021-12-20T20:17:22.941Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-12-20T20:17:22.941Z] shm 64M 0 64M 0% /dev/shm [2021-12-20T20:17:22.941Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] ---> sar -b -r -n DEV: [2021-12-20T20:17:22.941Z] Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 12/20/21 _x86_64_ (2 CPU) [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] 20:09:01 LINUX RESTART (2 CPU) [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] 20:10:01 tps rtps wtps bread/s bwrtn/s [2021-12-20T20:17:22.941Z] 20:11:01 1.67 0.05 1.62 1.07 33.22 [2021-12-20T20:17:22.941Z] 20:12:01 0.33 0.00 0.33 0.00 4.60 [2021-12-20T20:17:22.941Z] 20:13:01 0.30 0.00 0.30 0.00 3.93 [2021-12-20T20:17:22.941Z] 20:14:01 0.32 0.00 0.32 0.00 5.45 [2021-12-20T20:17:22.941Z] 20:15:01 0.20 0.00 0.20 0.00 3.68 [2021-12-20T20:17:22.941Z] 20:16:01 0.27 0.00 0.27 0.00 3.98 [2021-12-20T20:17:22.941Z] 20:17:01 0.22 0.03 0.18 3.73 3.56 [2021-12-20T20:17:22.941Z] Average: 0.47 0.01 0.46 0.69 8.35 [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] 20:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-12-20T20:17:22.941Z] 20:11:01 5679872 0 614180 7.67 2620 1712268 1236708 13.65 568712 1526304 20 [2021-12-20T20:17:22.941Z] 20:12:01 5692156 0 601888 7.52 2620 1712276 1177416 13.00 558064 1526260 20 [2021-12-20T20:17:22.941Z] 20:13:01 5688732 0 605312 7.56 2620 1712276 1177464 13.00 561284 1526260 8 [2021-12-20T20:17:22.941Z] 20:14:01 5691556 0 602480 7.52 2620 1712284 1152852 12.73 559304 1526260 20 [2021-12-20T20:17:22.941Z] 20:15:01 5693832 0 600196 7.49 2620 1712292 1153076 12.73 557120 1526260 16 [2021-12-20T20:17:22.941Z] 20:16:01 5694952 0 599076 7.48 2620 1712292 1152824 12.73 555756 1526260 8 [2021-12-20T20:17:22.941Z] 20:17:01 5682560 0 611332 7.63 2620 1712428 1154776 12.75 567892 1526308 36 [2021-12-20T20:17:22.941Z] Average: 5689094 0 604923 7.55 2620 1712302 1172159 12.94 561162 1526273 18 [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z] 20:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-12-20T20:17:22.941Z] 20:11:01 eth0 8.91 4.38 9.03 0.37 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:12:01 eth0 1.92 0.85 0.86 0.48 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:13:01 eth0 0.47 0.25 0.26 0.22 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:14:01 eth0 0.67 0.22 0.14 0.07 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:15:01 eth0 0.60 0.38 0.34 0.26 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:16:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:17:01 eth0 4.31 2.76 4.14 1.29 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] 20:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] Average: eth0 2.42 1.27 2.11 0.38 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-12-20T20:17:22.941Z] [2021-12-20T20:17:22.941Z]