Pull request #131 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 254ba4e9925da27baec821812c07720a194718c7+2fa5af78a65124eb3e46825fc0444c4be12292c1 (e377e60b41335c524b8155a8a09bcb104a4ec60b) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3180510728071180099.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh5304305259399492985.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-131/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-131/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2371863818600330716.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-131/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5584115062755789104.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh1333285755408649354.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-131/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-131/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4721445808182743334.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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-987 in /w/workspace/gexfoundry_device-rest-go_PR-131 [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-131 # 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-131@tmp/jenkins-gitclient-ssh1658438990911612381.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 2fa5af78a65124eb3e46825fc0444c4be12292c1 into PR head commit 254ba4e9925da27baec821812c07720a194718c7 Merge succeeded, producing 254ba4e9925da27baec821812c07720a194718c7 Checking out Revision 254ba4e9925da27baec821812c07720a194718c7 (PR-131) > 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-131@tmp/jenkins-gitclient-ssh1230642316030184873.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # 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-131@tmp/jenkins-gitclient-ssh1358876833942567915.key > git merge 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-16T20:04:34.758Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-16T20:04:34.981Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-16T20:04:35.154Z] ========================================================= [2021-08-16T20:04:35.154Z] EdgeX Global Pipelines Version Info [2021-08-16T20:04:35.154Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:04:36.816Z] ------------------- [2021-08-16T20:04:36.816Z] stable info: [2021-08-16T20:04:36.816Z] ------------------- [2021-08-16T20:04:36.816Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-16T20:04:36.816Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-16T20:04:36.816Z] Message: update stable to v1.0.205 [2021-08-16T20:04:37.399Z] ------------------- [2021-08-16T20:04:37.399Z] experimental info: [2021-08-16T20:04:37.399Z] ------------------- [2021-08-16T20:04:37.399Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-16T20:04:37.399Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-16T20:04:37.399Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-16T20:04:37.677Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-08-16T20:04:37.739Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-08-16T20:04:37.800Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-16T20:04:37.880Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-16T20:04:37.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-16T20:04:38.009Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-16T20:04:38.071Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-16T20:04:38.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-16T20:04:38.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-16T20:04:38.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-16T20:04:38.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-16T20:04:38.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-16T20:04:38.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-08-16T20:04:38.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-16T20:04:38.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-16T20:04:38.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-16T20:04:38.713Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-16T20:04:38.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-16T20:04:38.831Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-16T20:04:38.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-16T20:04:38.962Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-16T20:04:39.023Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-16T20:04:39.084Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-16T20:04:39.149Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-16T20:04:39.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-16T20:04:39.273Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-16T20:04:39.345Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-16T20:04:39.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo [2021-08-16T20:04:39.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo [2021-08-16T20:04:39.530Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo [2021-08-16T20:04:39.592Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 254ba4e9925da27baec821812c07720a194718c7 [Pipeline] echo [2021-08-16T20:04:39.654Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 254ba4e [Pipeline] echo [2021-08-16T20:04:39.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-16T20:04:39.882Z] provisioning config files... [2021-08-16T20:04:39.902Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/config3736703895866627734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:04:40.311Z] ---> docker-login.sh [2021-08-16T20:04:40.311Z] nexus3.edgexfoundry.org:10001 [2021-08-16T20:04:40.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:04:41.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:04:41.741Z] Configure a credential helper to remove this warning. See [2021-08-16T20:04:41.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:04:41.741Z] [2021-08-16T20:04:41.741Z] Login Succeeded [2021-08-16T20:04:41.741Z] nexus3.edgexfoundry.org:10002 [2021-08-16T20:04:41.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:04:42.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:04:42.701Z] Configure a credential helper to remove this warning. See [2021-08-16T20:04:42.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:04:42.701Z] [2021-08-16T20:04:42.701Z] Login Succeeded [2021-08-16T20:04:42.701Z] nexus3.edgexfoundry.org:10003 [2021-08-16T20:04:42.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:04:42.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:04:42.967Z] Configure a credential helper to remove this warning. See [2021-08-16T20:04:42.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:04:42.967Z] [2021-08-16T20:04:42.967Z] Login Succeeded [2021-08-16T20:04:42.967Z] nexus3.edgexfoundry.org:10004 [2021-08-16T20:04:42.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:04:43.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:04:43.236Z] Configure a credential helper to remove this warning. See [2021-08-16T20:04:43.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:04:43.236Z] [2021-08-16T20:04:43.236Z] Login Succeeded [2021-08-16T20:04:43.236Z] docker.io [2021-08-16T20:04:43.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:04:43.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:04:43.503Z] Configure a credential helper to remove this warning. See [2021-08-16T20:04:43.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:04:43.503Z] [2021-08-16T20:04:43.503Z] Login Succeeded [2021-08-16T20:04:43.503Z] ---> docker-login.sh ends [Pipeline] } [2021-08-16T20:04:43.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-16T20:04:44.289Z] + git log --format=format:%s -1 254ba4e9925da27baec821812c07720a194718c7 [Pipeline] echo [2021-08-16T20:04:44.374Z] GIT_COMMIT: 254ba4e9925da27baec821812c07720a194718c7, Commit Message: build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1 [Pipeline] echo [2021-08-16T20:04:44.421Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:04:45.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-16T20:04:45.415Z] [2021-08-16T20:04:45.415Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:04:45.794Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-16T20:04:45.795Z] latest: Pulling from edgex-devops/git-semver [2021-08-16T20:04:45.795Z] 31603596830f: Pulling fs layer [2021-08-16T20:04:45.795Z] d4622e32a9a9: Pulling fs layer [2021-08-16T20:04:45.795Z] 1030fce36090: Pulling fs layer [2021-08-16T20:04:45.795Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-16T20:04:45.795Z] 6c6cb7e1b49b: Waiting [2021-08-16T20:04:45.795Z] d4622e32a9a9: Verifying Checksum [2021-08-16T20:04:45.795Z] d4622e32a9a9: Download complete [2021-08-16T20:04:46.068Z] 31603596830f: Verifying Checksum [2021-08-16T20:04:46.068Z] 31603596830f: Download complete [2021-08-16T20:04:46.068Z] 31603596830f: Pull complete [2021-08-16T20:04:46.338Z] d4622e32a9a9: Pull complete [2021-08-16T20:04:46.338Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-16T20:04:46.338Z] 6c6cb7e1b49b: Download complete [2021-08-16T20:04:46.338Z] 1030fce36090: Verifying Checksum [2021-08-16T20:04:46.338Z] 1030fce36090: Download complete [2021-08-16T20:04:46.937Z] 1030fce36090: Pull complete [2021-08-16T20:04:47.202Z] 6c6cb7e1b49b: Pull complete [2021-08-16T20:04:47.202Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-16T20:04:47.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-16T20:04:47.202Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-16T20:04:47.335Z] prd-centos7-docker-4c-2g-987 does not seem to be running inside a container [2021-08-16T20:04:47.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-131 -v /w/workspace/gexfoundry_device-rest-go_PR-131:/w/workspace/gexfoundry_device-rest-go_PR-131:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-131@tmp:/w/workspace/gexfoundry_device-rest-go_PR-131@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-08-16T20:04:48.444Z] $ docker top 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-16T20:04:48.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-16T20:04:48.672Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-16T20:04:48.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-16T20:04:48.800Z] $ docker exec 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent [2021-08-16T20:04:48.923Z] SSH_AUTH_SOCK=/tmp/ssh-IcDIhqNqFBXu/agent.14 [2021-08-16T20:04:48.923Z] SSH_AGENT_PID=20 [2021-08-16T20:04:48.940Z] Running ssh-add (command line suppressed) [2021-08-16T20:04:49.054Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_4483188578600674257.key (/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_4483188578600674257.key) [2021-08-16T20:04:49.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-16T20:04:49.459Z] + git tag --points-at HEAD [Pipeline] } [2021-08-16T20:04:49.491Z] $ docker exec --env ******** --env ******** 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent -k [2021-08-16T20:04:49.591Z] unset SSH_AUTH_SOCK; [2021-08-16T20:04:49.591Z] unset SSH_AGENT_PID; [2021-08-16T20:04:49.591Z] echo Agent pid 20 killed; [2021-08-16T20:04:49.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-16T20:04:49.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-16T20:04:49.711Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-16T20:04:49.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-16T20:04:49.847Z] $ docker exec 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent [2021-08-16T20:04:49.958Z] SSH_AUTH_SOCK=/tmp/ssh-cn6Qf5sr1RhI/agent.53 [2021-08-16T20:04:49.958Z] SSH_AGENT_PID=59 [2021-08-16T20:04:49.970Z] Running ssh-add (command line suppressed) [2021-08-16T20:04:50.073Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_2955776426175777724.key (/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/private_key_2955776426175777724.key) [2021-08-16T20:04:50.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-16T20:04:50.458Z] + git semver init [2021-08-16T20:04:50.459Z] # -> Open(): unable to determine branch for HEAD [2021-08-16T20:04:50.459Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-131/.git [2021-08-16T20:04:50.459Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-131 [2021-08-16T20:04:50.459Z] # $SEMVER_REMOTE_NAME = origin [2021-08-16T20:04:50.459Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-16T20:04:50.459Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-16T20:04:50.459Z] # $SEMVER_BRANCH = PR-131 [2021-08-16T20:04:50.459Z] # $SEMVER_TEMP = /tmp/semver-374958084 [2021-08-16T20:04:50.459Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-08-16T20:04:51.872Z] # '/tmp/semver-374958084' -> '/w/workspace/gexfoundry_device-rest-go_PR-131/.semver' [2021-08-16T20:04:51.872Z] # -> Force: false [2021-08-16T20:04:51.872Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-131/.semver [Pipeline] } [2021-08-16T20:04:51.896Z] $ docker exec --env ******** --env ******** 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 ssh-agent -k [2021-08-16T20:04:51.991Z] unset SSH_AUTH_SOCK; [2021-08-16T20:04:51.992Z] unset SSH_AGENT_PID; [2021-08-16T20:04:51.992Z] echo Agent pid 59 killed; [2021-08-16T20:04:52.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-16T20:04:52.479Z] + git semver [Pipeline] } [2021-08-16T20:04:52.518Z] $ docker stop --time=1 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 [2021-08-16T20:04:53.774Z] $ docker rm -f 9bb4eac33a3493aca8ef1f3c757d2b528291f625b9900f53dbd6c0ab8a0fc4c1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-16T20:04:54.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-16T20:04:54.871Z] Stashed 1 file(s) [Pipeline] echo [2021-08-16T20:04:54.897Z] [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-08-16T20:05:10.386Z] Still waiting to schedule task [2021-08-16T20:05:10.386Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-987’ [2021-08-16T20:05:10.423Z] Still waiting to schedule task [2021-08-16T20:05:10.424Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-16T20:06:56.397Z] Running on prd-centos7-docker-4c-2g-989 in /w/workspace/gexfoundry_device-rest-go_PR-131 [Pipeline] { [Pipeline] ws [2021-08-16T20:06:56.467Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-08-16T20:06:56.631Z] The recommended git tool is: git [2021-08-16T20:06:59.441Z] using credential edgex-jenkins-ssh [2021-08-16T20:06:59.455Z] Cloning the remote Git repository [2021-08-16T20:06:58.922Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-16T20:06:58.994Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-08-16T20:06:59.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-16T20:06:59.031Z] > git --version # timeout=10 [2021-08-16T20:06:59.036Z] > git --version # 'git version 2.24.4' [2021-08-16T20:06:59.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-16T20:06:59.063Z] [INFO] Currently running in a labeled security context [2021-08-16T20:06:59.063Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-16T20:06:59.064Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7102719018549956872.key [2021-08-16T20:06:59.073Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-16T20:07:00.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-16T20:07:00.220Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-16T20:07:00.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-16T20:07:00.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-16T20:07:00.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-16T20:07:00.250Z] [INFO] Currently running in a labeled security context [2021-08-16T20:07:00.250Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-16T20:07:00.250Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6133034566835273956.key [2021-08-16T20:07:00.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-16T20:07:01.354Z] Merging remotes/origin/main commit 2fa5af78a65124eb3e46825fc0444c4be12292c1 into PR head commit 254ba4e9925da27baec821812c07720a194718c7 [2021-08-16T20:07:01.444Z] Merge succeeded, producing 254ba4e9925da27baec821812c07720a194718c7 [2021-08-16T20:07:01.445Z] Checking out Revision 254ba4e9925da27baec821812c07720a194718c7 (PR-131) [2021-08-16T20:07:00.925Z] > git config core.sparsecheckout # timeout=10 [2021-08-16T20:07:00.933Z] > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 [2021-08-16T20:07:00.971Z] > git remote # timeout=10 [2021-08-16T20:07:00.978Z] > git config --get remote.origin.url # timeout=10 [2021-08-16T20:07:00.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-16T20:07:00.985Z] [INFO] Currently running in a labeled security context [2021-08-16T20:07:00.985Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-16T20:07:00.985Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh473227566604103949.key [2021-08-16T20:07:00.991Z] > git merge 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 [2021-08-16T20:07:01.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-16T20:07:01.016Z] > git config core.sparsecheckout # timeout=10 [2021-08-16T20:07:01.025Z] > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 [2021-08-16T20:07:04.970Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1" [2021-08-16T20:07:04.871Z] > git --version # timeout=10 [2021-08-16T20:07:04.879Z] > git --version # 'git version 2.24.4' [2021-08-16T20:07:04.887Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-16T20:07:05.754Z] provisioning config files... [2021-08-16T20:07:05.774Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5402912523646260671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:07:06.273Z] ---> docker-login.sh [2021-08-16T20:07:06.273Z] nexus3.edgexfoundry.org:10001 [2021-08-16T20:07:06.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:06.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:06.539Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:06.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:06.539Z] [2021-08-16T20:07:06.539Z] Login Succeeded [2021-08-16T20:07:06.539Z] nexus3.edgexfoundry.org:10002 [2021-08-16T20:07:06.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:06.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:06.539Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:06.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:06.539Z] [2021-08-16T20:07:06.539Z] Login Succeeded [2021-08-16T20:07:06.539Z] nexus3.edgexfoundry.org:10003 [2021-08-16T20:07:06.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:06.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:06.806Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:06.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:06.806Z] [2021-08-16T20:07:06.806Z] Login Succeeded [2021-08-16T20:07:06.806Z] nexus3.edgexfoundry.org:10004 [2021-08-16T20:07:06.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:07.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:07.073Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:07.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:07.073Z] [2021-08-16T20:07:07.073Z] Login Succeeded [2021-08-16T20:07:07.073Z] docker.io [2021-08-16T20:07:07.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:07.217Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-988 in /w/workspace/gexfoundry_device-rest-go_PR-131 [Pipeline] { [Pipeline] ws [2021-08-16T20:07:07.281Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [2021-08-16T20:07:07.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:07.339Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:07.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:07.339Z] [2021-08-16T20:07:07.339Z] Login Succeeded [2021-08-16T20:07:07.339Z] ---> docker-login.sh ends [Pipeline] checkout [Pipeline] } [2021-08-16T20:07:07.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-08-16T20:07:07.579Z] The recommended git tool is: git [Pipeline] echo [2021-08-16T20:07:07.725Z] ========================================================= [2021-08-16T20:07:07.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-16T20:07:07.726Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:07:08.141Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-08-16T20:07:08.141Z] Sending build context to Docker daemon 119.3kB [2021-08-16T20:07:08.141Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-16T20:07:08.141Z] Step 2/10 : FROM ${BASE} [2021-08-16T20:07:08.141Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-16T20:07:08.141Z] 540db60ca938: Pulling fs layer [2021-08-16T20:07:08.141Z] adcc1eea9eea: Pulling fs layer [2021-08-16T20:07:08.141Z] 4c4ab2625f07: Pulling fs layer [2021-08-16T20:07:08.141Z] db62176df00c: Pulling fs layer [2021-08-16T20:07:08.141Z] 3b30891b0d05: Pulling fs layer [2021-08-16T20:07:08.141Z] 06b49ca38bd5: Pulling fs layer [2021-08-16T20:07:08.141Z] c788192a36de: Pulling fs layer [2021-08-16T20:07:08.141Z] a77e37c0d609: Pulling fs layer [2021-08-16T20:07:08.141Z] c3185cebc471: Pulling fs layer [2021-08-16T20:07:08.141Z] db62176df00c: Waiting [2021-08-16T20:07:08.141Z] 3b30891b0d05: Waiting [2021-08-16T20:07:08.141Z] 06b49ca38bd5: Waiting [2021-08-16T20:07:08.141Z] c788192a36de: Waiting [2021-08-16T20:07:08.141Z] a77e37c0d609: Waiting [2021-08-16T20:07:08.141Z] c3185cebc471: Waiting [2021-08-16T20:07:08.416Z] 4c4ab2625f07: Verifying Checksum [2021-08-16T20:07:08.416Z] 4c4ab2625f07: Download complete [2021-08-16T20:07:08.416Z] adcc1eea9eea: Verifying Checksum [2021-08-16T20:07:08.416Z] adcc1eea9eea: Download complete [2021-08-16T20:07:08.416Z] 3b30891b0d05: Download complete [2021-08-16T20:07:08.416Z] 06b49ca38bd5: Verifying Checksum [2021-08-16T20:07:08.416Z] 06b49ca38bd5: Download complete [2021-08-16T20:07:08.688Z] c788192a36de: Verifying Checksum [2021-08-16T20:07:08.688Z] c788192a36de: Download complete [2021-08-16T20:07:08.688Z] 540db60ca938: Verifying Checksum [2021-08-16T20:07:08.688Z] 540db60ca938: Download complete [2021-08-16T20:07:08.688Z] 540db60ca938: Pull complete [2021-08-16T20:07:08.961Z] adcc1eea9eea: Pull complete [2021-08-16T20:07:08.961Z] 4c4ab2625f07: Pull complete [2021-08-16T20:07:09.546Z] a77e37c0d609: Verifying Checksum [2021-08-16T20:07:09.546Z] a77e37c0d609: Download complete [2021-08-16T20:07:12.997Z] using credential edgex-jenkins-ssh [2021-08-16T20:07:13.016Z] Cloning the remote Git repository [2021-08-16T20:07:13.101Z] c3185cebc471: Verifying Checksum [2021-08-16T20:07:13.101Z] c3185cebc471: Download complete [2021-08-16T20:07:13.682Z] db62176df00c: Verifying Checksum [2021-08-16T20:07:13.682Z] db62176df00c: Download complete [2021-08-16T20:07:13.066Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-16T20:07:13.170Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-08-16T20:07:13.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-16T20:07:13.264Z] > git --version # timeout=10 [2021-08-16T20:07:13.328Z] > git --version # 'git version 2.17.1' [2021-08-16T20:07:13.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-16T20:07:13.447Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-16T20:07:15.726Z] Merging remotes/origin/main commit 2fa5af78a65124eb3e46825fc0444c4be12292c1 into PR head commit 254ba4e9925da27baec821812c07720a194718c7 [2021-08-16T20:07:15.907Z] Merge succeeded, producing 254ba4e9925da27baec821812c07720a194718c7 [2021-08-16T20:07:15.907Z] Checking out Revision 254ba4e9925da27baec821812c07720a194718c7 (PR-131) [2021-08-16T20:07:15.158Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-16T20:07:15.178Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-16T20:07:15.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-16T20:07:15.240Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-16T20:07:15.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-16T20:07:15.253Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-16T20:07:15.745Z] > git config core.sparsecheckout # timeout=10 [2021-08-16T20:07:15.758Z] > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 [2021-08-16T20:07:15.827Z] > git remote # timeout=10 [2021-08-16T20:07:15.844Z] > git config --get remote.origin.url # timeout=10 [2021-08-16T20:07:15.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-16T20:07:15.869Z] > git merge 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 [2021-08-16T20:07:15.894Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-16T20:07:15.913Z] > git config core.sparsecheckout # timeout=10 [2021-08-16T20:07:15.924Z] > git checkout -f 254ba4e9925da27baec821812c07720a194718c7 # timeout=10 [2021-08-16T20:07:17.042Z] db62176df00c: Pull complete [2021-08-16T20:07:17.042Z] 3b30891b0d05: Pull complete [2021-08-16T20:07:17.042Z] 06b49ca38bd5: Pull complete [2021-08-16T20:07:17.042Z] c788192a36de: Pull complete [2021-08-16T20:07:17.042Z] a77e37c0d609: Pull complete [2021-08-16T20:07:19.630Z] c3185cebc471: Pull complete [2021-08-16T20:07:19.630Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-16T20:07:19.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-16T20:07:19.630Z] ---> 031687cdd783 [2021-08-16T20:07:19.630Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-16T20:07:20.104Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.0 to 1.4.1" [2021-08-16T20:07:20.158Z] > git --version # timeout=10 [2021-08-16T20:07:20.166Z] > git --version # 'git version 2.17.1' [2021-08-16T20:07:20.176Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-16T20:07:20.841Z] provisioning config files... [2021-08-16T20:07:20.878Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config176478290745803703tmp [2021-08-16T20:07:21.043Z] ---> Running in e904fe7c6c08 [2021-08-16T20:07:21.043Z] Removing intermediate container e904fe7c6c08 [2021-08-16T20:07:21.043Z] ---> 6099fa0f0184 [2021-08-16T20:07:21.043Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-08-16T20:07:21.043Z] ---> Running in f7e0cfe4fedf [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:07:21.311Z] Removing intermediate container f7e0cfe4fedf [2021-08-16T20:07:21.311Z] ---> 655ad3693ef0 [2021-08-16T20:07:21.311Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-16T20:07:21.311Z] ---> Running in 063854ba778c [2021-08-16T20:07:21.311Z] Removing intermediate container 063854ba778c [2021-08-16T20:07:21.311Z] ---> 4e7addf6d995 [2021-08-16T20:07:21.311Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-16T20:07:21.311Z] ---> Running in 267b4a121d3f [2021-08-16T20:07:21.666Z] ---> docker-login.sh [2021-08-16T20:07:21.666Z] nexus3.edgexfoundry.org:10001 [2021-08-16T20:07:21.898Z] Removing intermediate container 267b4a121d3f [2021-08-16T20:07:21.898Z] ---> b8c5131b7dfb [2021-08-16T20:07:21.898Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-16T20:07:21.898Z] ---> Running in 4538ecb4b125 [2021-08-16T20:07:22.164Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-16T20:07:22.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:22.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:22.930Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:22.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:22.930Z] [2021-08-16T20:07:22.930Z] Login Succeeded [2021-08-16T20:07:22.930Z] nexus3.edgexfoundry.org:10002 [2021-08-16T20:07:23.128Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-16T20:07:23.398Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-16T20:07:23.398Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-16T20:07:23.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:23.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:23.590Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:23.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:23.590Z] [2021-08-16T20:07:23.590Z] Login Succeeded [2021-08-16T20:07:23.590Z] nexus3.edgexfoundry.org:10003 [2021-08-16T20:07:23.665Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-16T20:07:24.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:24.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:24.194Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:24.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:24.194Z] [2021-08-16T20:07:24.194Z] Login Succeeded [2021-08-16T20:07:24.194Z] nexus3.edgexfoundry.org:10004 [2021-08-16T20:07:24.248Z] Executing busybox-1.32.1-r6.trigger [2021-08-16T20:07:24.248Z] OK: 223 MiB in 55 packages [2021-08-16T20:07:24.515Z] Removing intermediate container 4538ecb4b125 [2021-08-16T20:07:24.515Z] ---> c9d0ad67e908 [2021-08-16T20:07:24.515Z] Step 8/10 : WORKDIR /device-rest-go [2021-08-16T20:07:24.515Z] ---> Running in 2c4bf1be8812 [2021-08-16T20:07:24.782Z] Removing intermediate container 2c4bf1be8812 [2021-08-16T20:07:24.782Z] ---> bfb1944bedb1 [2021-08-16T20:07:24.782Z] Step 9/10 : COPY . . [2021-08-16T20:07:24.782Z] ---> c8b9be9b996d [2021-08-16T20:07:24.782Z] Step 10/10 : RUN go mod download [2021-08-16T20:07:24.782Z] ---> Running in cee9ec8aa9a5 [2021-08-16T20:07:24.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:24.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:24.799Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:24.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:24.799Z] [2021-08-16T20:07:24.799Z] Login Succeeded [2021-08-16T20:07:24.799Z] docker.io [2021-08-16T20:07:25.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-16T20:07:25.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-16T20:07:25.691Z] Configure a credential helper to remove this warning. See [2021-08-16T20:07:25.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-16T20:07:25.691Z] [2021-08-16T20:07:25.691Z] Login Succeeded [2021-08-16T20:07:25.691Z] ---> docker-login.sh ends [Pipeline] } [2021-08-16T20:07:25.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-16T20:07:26.354Z] ========================================================= [2021-08-16T20:07:26.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-16T20:07:26.354Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:07:26.817Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-08-16T20:07:26.818Z] Sending build context to Docker daemon 119.3kB [2021-08-16T20:07:27.092Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-16T20:07:27.092Z] Step 2/10 : FROM ${BASE} [2021-08-16T20:07:27.366Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-16T20:07:27.366Z] 595b0fe564bb: Pulling fs layer [2021-08-16T20:07:27.366Z] 24495759ef45: Pulling fs layer [2021-08-16T20:07:27.366Z] d148012ef14d: Pulling fs layer [2021-08-16T20:07:27.366Z] e90a11edd702: Pulling fs layer [2021-08-16T20:07:27.366Z] d77568369979: Pulling fs layer [2021-08-16T20:07:27.366Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-16T20:07:27.366Z] 170f2ba95c9a: Pulling fs layer [2021-08-16T20:07:27.366Z] 97ac5df62f85: Pulling fs layer [2021-08-16T20:07:27.366Z] fc1c9f9a7f3b: Waiting [2021-08-16T20:07:27.366Z] e90a11edd702: Waiting [2021-08-16T20:07:27.366Z] d77568369979: Waiting [2021-08-16T20:07:27.366Z] 170f2ba95c9a: Waiting [2021-08-16T20:07:27.366Z] 97ac5df62f85: Waiting [2021-08-16T20:07:27.366Z] d148012ef14d: Verifying Checksum [2021-08-16T20:07:27.643Z] d148012ef14d: Download complete [2021-08-16T20:07:27.643Z] 24495759ef45: Verifying Checksum [2021-08-16T20:07:27.643Z] 24495759ef45: Download complete [2021-08-16T20:07:27.643Z] d77568369979: Verifying Checksum [2021-08-16T20:07:27.643Z] d77568369979: Download complete [2021-08-16T20:07:27.643Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-16T20:07:27.643Z] fc1c9f9a7f3b: Download complete [2021-08-16T20:07:27.643Z] 170f2ba95c9a: Verifying Checksum [2021-08-16T20:07:27.643Z] 595b0fe564bb: Verifying Checksum [2021-08-16T20:07:27.643Z] 595b0fe564bb: Download complete [2021-08-16T20:07:28.239Z] 595b0fe564bb: Pull complete [2021-08-16T20:07:28.841Z] 24495759ef45: Pull complete [2021-08-16T20:07:29.443Z] d148012ef14d: Pull complete [2021-08-16T20:07:31.443Z] 97ac5df62f85: Verifying Checksum [2021-08-16T20:07:31.443Z] 97ac5df62f85: Download complete [2021-08-16T20:07:31.443Z] e90a11edd702: Verifying Checksum [2021-08-16T20:07:31.443Z] e90a11edd702: Download complete [2021-08-16T20:07:39.823Z] Removing intermediate container cee9ec8aa9a5 [2021-08-16T20:07:39.823Z] ---> 8fd0f1f5ccaa [2021-08-16T20:07:39.823Z] Successfully built 8fd0f1f5ccaa [2021-08-16T20:07:39.823Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:07:40.217Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-16T20:07:40.217Z] . [Pipeline] withDockerContainer [2021-08-16T20:07:40.368Z] prd-centos7-docker-4c-2g-989 does not seem to be running inside a container [2021-08-16T20:07:40.448Z] $ 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-08-16T20:07:40.885Z] $ docker top 516f1f4ebf60771a3934f2f6e65098a453ff428d46d5ed5faee8ef44991985fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-16T20:07:41.366Z] + go version [2021-08-16T20:07:41.366Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-16T20:07:41.408Z] $ docker stop --time=1 516f1f4ebf60771a3934f2f6e65098a453ff428d46d5ed5faee8ef44991985fb [2021-08-16T20:07:41.624Z] e90a11edd702: Pull complete [2021-08-16T20:07:42.225Z] d77568369979: Pull complete [2021-08-16T20:07:42.501Z] fc1c9f9a7f3b: Pull complete [2021-08-16T20:07:42.628Z] $ docker rm -f 516f1f4ebf60771a3934f2f6e65098a453ff428d46d5ed5faee8ef44991985fb [2021-08-16T20:07:42.777Z] 170f2ba95c9a: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:07:43.461Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-16T20:07:43.461Z] . [Pipeline] withDockerContainer [2021-08-16T20:07:43.580Z] prd-centos7-docker-4c-2g-989 does not seem to be running inside a container [2021-08-16T20:07:43.641Z] $ 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-08-16T20:07:44.047Z] $ docker top 4bab344666877664d736f6ba5e580b34b6f24120f56ce5f24b44cf5e7ede4806 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-16T20:07:44.606Z] + go mod tidy [Pipeline] sh [2021-08-16T20:07:45.429Z] + make test [2021-08-16T20:07:45.429Z] go mod tidy [2021-08-16T20:07:45.429Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-16T20:07:46.029Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-08-16T20:07:49.497Z] 97ac5df62f85: Pull complete [2021-08-16T20:07:49.497Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-16T20:07:49.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-16T20:07:49.497Z] ---> 04bc70af865f [2021-08-16T20:07:49.497Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-16T20:07:53.809Z] ---> Running in 5895ed8e750b [2021-08-16T20:07:54.082Z] Removing intermediate container 5895ed8e750b [2021-08-16T20:07:54.082Z] ---> 635cd3345674 [2021-08-16T20:07:54.082Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-08-16T20:07:54.082Z] ---> Running in 6ed08e93559c [2021-08-16T20:07:54.676Z] Removing intermediate container 6ed08e93559c [2021-08-16T20:07:54.676Z] ---> 3377470319e6 [2021-08-16T20:07:54.676Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-16T20:07:54.676Z] ---> Running in ba43c0b67855 [2021-08-16T20:07:55.270Z] Removing intermediate container ba43c0b67855 [2021-08-16T20:07:55.270Z] ---> acd46cdf7024 [2021-08-16T20:07:55.270Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-16T20:07:55.547Z] ---> Running in ec255f5a0515 [2021-08-16T20:07:58.954Z] Removing intermediate container ec255f5a0515 [2021-08-16T20:07:58.954Z] ---> 8a5a0bb798d1 [2021-08-16T20:07:58.954Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-16T20:07:58.954Z] ---> Running in 5dd83eab90a3 [2021-08-16T20:07:59.935Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-16T20:08:00.920Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-16T20:08:01.081Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-16T20:08:01.520Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-16T20:08:01.520Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-16T20:08:01.520Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-16T20:08:01.693Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-08-16T20:08:01.796Z] Executing busybox-1.32.1-r6.trigger [2021-08-16T20:08:01.796Z] OK: 222 MiB in 55 packages [2021-08-16T20:08:01.968Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-16T20:08:03.223Z] Removing intermediate container 5dd83eab90a3 [2021-08-16T20:08:03.223Z] ---> 1c015b2912f1 [2021-08-16T20:08:03.223Z] Step 8/10 : WORKDIR /device-rest-go [2021-08-16T20:08:03.494Z] ---> Running in 488c4b4f38e3 [2021-08-16T20:08:04.094Z] Removing intermediate container 488c4b4f38e3 [2021-08-16T20:08:04.094Z] ---> bfed6c56d19d [2021-08-16T20:08:04.094Z] Step 9/10 : COPY . . [2021-08-16T20:08:05.073Z] ---> 2960fd123164 [2021-08-16T20:08:05.073Z] Step 10/10 : RUN go mod download [2021-08-16T20:08:05.073Z] ---> Running in da5f6b428343 [2021-08-16T20:08:08.663Z] gofmt -l . [2021-08-16T20:08:08.663Z] [ "`gofmt -l .`" = "" ] [2021-08-16T20:08:08.663Z] ./bin/test-go-mod-tidy.sh [2021-08-16T20:08:08.663Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-16T20:08:08.965Z] $ docker stop --time=1 4bab344666877664d736f6ba5e580b34b6f24120f56ce5f24b44cf5e7ede4806 [2021-08-16T20:08:10.490Z] $ docker rm -f 4bab344666877664d736f6ba5e580b34b6f24120f56ce5f24b44cf5e7ede4806 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-16T20:08:11.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-16T20:08:11.281Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-16T20:08:13.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-16T20:08:14.467Z] + ls -al . [2021-08-16T20:08:14.467Z] total 120 [2021-08-16T20:08:14.467Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 16 20:08 . [2021-08-16T20:08:14.467Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 16 20:06 .. [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 6792 Aug 16 20:07 Attribution.txt [2021-08-16T20:08:14.467Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 16 20:07 bin [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 7459 Aug 16 20:07 CHANGELOG.md [2021-08-16T20:08:14.467Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 16 20:07 cmd [2021-08-16T20:08:14.467Z] -rw-r--r--. 1 jenkins jenkins 8513 Aug 16 20:08 coverage.out [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 1615 Aug 16 20:07 Dockerfile [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 1087 Aug 16 20:07 Dockerfile.build [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 151 Aug 16 20:07 .dockerignore [2021-08-16T20:08:14.467Z] drwxrwxr-x. 2 jenkins jenkins 76 Aug 16 20:07 driver [2021-08-16T20:08:14.467Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 16 20:07 .git [2021-08-16T20:08:14.467Z] drwxrwxr-x. 2 jenkins jenkins 103 Aug 16 20:07 .github [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 336 Aug 16 20:07 .gitignore [2021-08-16T20:08:14.467Z] -rw-r--r--. 1 jenkins jenkins 271 Aug 16 20:08 go.mod [2021-08-16T20:08:14.467Z] -rw-r--r--. 1 jenkins jenkins 20570 Aug 16 20:07 go.sum [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 16 20:07 GOVERNANCE.md [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 680 Aug 16 20:07 Jenkinsfile [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 16 20:07 LICENSE [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 996 Aug 16 20:07 Makefile [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 620 Aug 16 20:07 OWNERS.md [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 7661 Aug 16 20:07 README.md [2021-08-16T20:08:14.467Z] drwxrwxr-x. 4 jenkins jenkins 71 Aug 16 20:07 snap [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 16 20:04 VERSION [2021-08-16T20:08:14.467Z] -rw-rw-r--. 1 jenkins jenkins 713 Aug 16 20:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:08:14.910Z] + 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=254ba4e9925da27baec821812c07720a194718c7 --label arch=amd64 --label version=0.0.0 . [2021-08-16T20:08:14.910Z] Sending build context to Docker daemon 129kB [2021-08-16T20:08:14.910Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-16T20:08:14.910Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-16T20:08:14.910Z] ---> 8fd0f1f5ccaa [2021-08-16T20:08:14.910Z] Step 3/25 : ARG MAKE='make build' [2021-08-16T20:08:14.910Z] ---> Running in 311fee860683 [2021-08-16T20:08:14.910Z] Removing intermediate container 311fee860683 [2021-08-16T20:08:14.910Z] ---> 3f75c2ee5923 [2021-08-16T20:08:14.910Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-16T20:08:15.282Z] ---> Running in 7d6b40e09d48 [2021-08-16T20:08:15.282Z] Removing intermediate container 7d6b40e09d48 [2021-08-16T20:08:15.282Z] ---> 8d531e5ac5ab [2021-08-16T20:08:15.282Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-16T20:08:15.282Z] ---> Running in 985b65af5edb [2021-08-16T20:08:15.282Z] Removing intermediate container 985b65af5edb [2021-08-16T20:08:15.282Z] ---> 4bd47a93c97e [2021-08-16T20:08:15.282Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-16T20:08:15.282Z] ---> Running in 4828b1d1e175 [2021-08-16T20:08:15.923Z] Removing intermediate container 4828b1d1e175 [2021-08-16T20:08:15.923Z] ---> b35301a4e74d [2021-08-16T20:08:15.923Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-16T20:08:15.923Z] ---> Running in adbb92638259 [2021-08-16T20:08:16.194Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-16T20:08:17.156Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-16T20:08:17.425Z] OK: 223 MiB in 55 packages [2021-08-16T20:08:17.702Z] Removing intermediate container adbb92638259 [2021-08-16T20:08:17.702Z] ---> f238a85b3b2e [2021-08-16T20:08:17.702Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-16T20:08:17.702Z] ---> Running in f65c43c4054b [2021-08-16T20:08:17.702Z] Removing intermediate container f65c43c4054b [2021-08-16T20:08:17.702Z] ---> 7a7178ab1a62 [2021-08-16T20:08:17.702Z] Step 9/25 : COPY . . [2021-08-16T20:08:17.969Z] ---> 92e1a096d789 [2021-08-16T20:08:17.969Z] Step 10/25 : RUN go mod tidy [2021-08-16T20:08:17.969Z] ---> Running in 83b204a790c2 [2021-08-16T20:08:18.944Z] Removing intermediate container 83b204a790c2 [2021-08-16T20:08:18.944Z] ---> 91d338282cce [2021-08-16T20:08:18.944Z] Step 11/25 : RUN make update [2021-08-16T20:08:18.944Z] ---> Running in 397f08e5f82f [2021-08-16T20:08:19.219Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-16T20:08:19.219Z] Removing intermediate container 397f08e5f82f [2021-08-16T20:08:19.219Z] ---> 2c950ad92f73 [2021-08-16T20:08:19.219Z] Step 12/25 : RUN $MAKE [2021-08-16T20:08:19.503Z] ---> Running in 35eb5ab03285 [2021-08-16T20:08:19.771Z] go mod tidy [2021-08-16T20:08:19.771Z] 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-08-16T20:08:32.157Z] Removing intermediate container 35eb5ab03285 [2021-08-16T20:08:32.157Z] ---> 00bafe2cb3bc [2021-08-16T20:08:32.157Z] Step 13/25 : FROM alpine:3.12 [2021-08-16T20:08:32.157Z] 3.12: Pulling from library/alpine [2021-08-16T20:08:32.157Z] 339de151aab4: Pulling fs layer [2021-08-16T20:08:32.157Z] 339de151aab4: Verifying Checksum [2021-08-16T20:08:32.157Z] 339de151aab4: Download complete [2021-08-16T20:08:32.424Z] 339de151aab4: Pull complete [2021-08-16T20:08:32.424Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-16T20:08:32.424Z] Status: Downloaded newer image for alpine:3.12 [2021-08-16T20:08:32.424Z] ---> 13621d1b12d4 [2021-08-16T20:08:32.424Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-16T20:08:32.424Z] ---> Running in f727b64184c9 [2021-08-16T20:08:32.424Z] Removing intermediate container f727b64184c9 [2021-08-16T20:08:32.424Z] ---> 67bc98a266f3 [2021-08-16T20:08:32.424Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-16T20:08:32.424Z] ---> Running in 97f577959f00 [2021-08-16T20:08:32.694Z] Removing intermediate container 97f577959f00 [2021-08-16T20:08:32.694Z] ---> a1617a4e3de9 [2021-08-16T20:08:32.694Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-16T20:08:32.694Z] ---> Running in 1a3ec33967da [2021-08-16T20:08:32.965Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-16T20:08:32.965Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-16T20:08:33.235Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-16T20:08:33.235Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-16T20:08:33.235Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-16T20:08:33.235Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-16T20:08:33.235Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-16T20:08:33.235Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-16T20:08:33.235Z] Executing busybox-1.31.1-r20.trigger [2021-08-16T20:08:33.235Z] OK: 8 MiB in 20 packages [2021-08-16T20:08:33.502Z] Removing intermediate container 1a3ec33967da [2021-08-16T20:08:33.502Z] ---> 3b0fc2fed30c [2021-08-16T20:08:33.502Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-16T20:08:34.088Z] ---> 11c9a70c3ea5 [2021-08-16T20:08:34.088Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-16T20:08:34.088Z] ---> 22cbb6245460 [2021-08-16T20:08:34.088Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-16T20:08:34.355Z] ---> b3f764aa3f67 [2021-08-16T20:08:34.355Z] Step 20/25 : EXPOSE 59986 [2021-08-16T20:08:34.355Z] ---> Running in aaa2a597a1a8 [2021-08-16T20:08:34.355Z] Removing intermediate container aaa2a597a1a8 [2021-08-16T20:08:34.355Z] ---> ec99cc123816 [2021-08-16T20:08:34.355Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-16T20:08:34.355Z] ---> Running in 0c70d0856167 [2021-08-16T20:08:34.623Z] Removing intermediate container 0c70d0856167 [2021-08-16T20:08:34.624Z] ---> c01cb5b2a750 [2021-08-16T20:08:34.624Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-16T20:08:34.624Z] ---> Running in 5b8b8b334f91 [2021-08-16T20:08:34.624Z] Removing intermediate container 5b8b8b334f91 [2021-08-16T20:08:34.624Z] ---> 369a35982aa2 [2021-08-16T20:08:34.624Z] Step 23/25 : LABEL arch=amd64 [2021-08-16T20:08:34.624Z] ---> Running in 41d93bfb9291 [2021-08-16T20:08:34.624Z] Removing intermediate container 41d93bfb9291 [2021-08-16T20:08:34.624Z] ---> a7823230bd3f [2021-08-16T20:08:34.624Z] Step 24/25 : LABEL git_sha=254ba4e9925da27baec821812c07720a194718c7 [2021-08-16T20:08:34.893Z] ---> Running in 097031ddf817 [2021-08-16T20:08:34.893Z] Removing intermediate container 097031ddf817 [2021-08-16T20:08:34.893Z] ---> b123dfb436d3 [2021-08-16T20:08:34.893Z] Step 25/25 : LABEL version=0.0.0 [2021-08-16T20:08:34.893Z] ---> Running in b26e410cc047 [2021-08-16T20:08:34.893Z] Removing intermediate container b26e410cc047 [2021-08-16T20:08:34.893Z] ---> 6df5ffe337fd [2021-08-16T20:08:34.893Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-16T20:08:34.893Z] Successfully built 6df5ffe337fd [2021-08-16T20:08:34.893Z] 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-08-16T20:08:35.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-16T20:08:35.787Z] [2021-08-16T20:08:35.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:08:36.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-16T20:08:36.186Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-16T20:08:36.186Z] b4d181a07f80: Pulling fs layer [2021-08-16T20:08:36.186Z] a1111a8f2ec3: Pulling fs layer [2021-08-16T20:08:36.186Z] ed53099fbce6: Pulling fs layer [2021-08-16T20:08:36.186Z] dc539afda2c1: Pulling fs layer [2021-08-16T20:08:36.186Z] 77bc0d833cb6: Pulling fs layer [2021-08-16T20:08:36.186Z] 9065ff56babe: Pulling fs layer [2021-08-16T20:08:36.186Z] d287ab97295c: Pulling fs layer [2021-08-16T20:08:36.186Z] dc539afda2c1: Waiting [2021-08-16T20:08:36.186Z] 77bc0d833cb6: Waiting [2021-08-16T20:08:36.187Z] 9065ff56babe: Waiting [2021-08-16T20:08:36.187Z] d287ab97295c: Waiting [2021-08-16T20:08:36.454Z] a1111a8f2ec3: Verifying Checksum [2021-08-16T20:08:36.454Z] a1111a8f2ec3: Download complete [2021-08-16T20:08:36.454Z] dc539afda2c1: Verifying Checksum [2021-08-16T20:08:36.454Z] dc539afda2c1: Download complete [2021-08-16T20:08:36.727Z] 77bc0d833cb6: Verifying Checksum [2021-08-16T20:08:36.727Z] 77bc0d833cb6: Download complete [2021-08-16T20:08:36.993Z] ed53099fbce6: Verifying Checksum [2021-08-16T20:08:36.993Z] ed53099fbce6: Download complete [2021-08-16T20:08:36.993Z] 9065ff56babe: Verifying Checksum [2021-08-16T20:08:36.993Z] 9065ff56babe: Download complete [2021-08-16T20:08:37.452Z] Removing intermediate container da5f6b428343 [2021-08-16T20:08:37.452Z] ---> 7db630d2f96d [2021-08-16T20:08:37.452Z] Successfully built 7db630d2f96d [2021-08-16T20:08:37.452Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:08:37.838Z] + docker inspect -f . ci-base-image-arm64 [2021-08-16T20:08:37.838Z] . [Pipeline] withDockerContainer [2021-08-16T20:08:37.952Z] b4d181a07f80: Verifying Checksum [2021-08-16T20:08:37.952Z] b4d181a07f80: Download complete [2021-08-16T20:08:38.146Z] prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container [2021-08-16T20:08:38.238Z] $ 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-08-16T20:08:39.378Z] b4d181a07f80: Pull complete [2021-08-16T20:08:39.378Z] a1111a8f2ec3: Pull complete [2021-08-16T20:08:39.972Z] ed53099fbce6: Pull complete [2021-08-16T20:08:39.972Z] dc539afda2c1: Pull complete [2021-08-16T20:08:40.011Z] $ docker top 4c734a29bc7c6e8f08b5f90fcc2717abceec467ac20498ba83c87de8e3320775 -eo pid,comm [2021-08-16T20:08:40.239Z] 77bc0d833cb6: Pull complete [2021-08-16T20:08:40.239Z] 9065ff56babe: Pull complete [Pipeline] { [Pipeline] sh [2021-08-16T20:08:41.092Z] + go version [2021-08-16T20:08:41.093Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-16T20:08:41.128Z] $ docker stop --time=1 4c734a29bc7c6e8f08b5f90fcc2717abceec467ac20498ba83c87de8e3320775 [2021-08-16T20:08:41.654Z] d287ab97295c: Verifying Checksum [2021-08-16T20:08:41.654Z] d287ab97295c: Download complete [2021-08-16T20:08:43.232Z] $ docker rm -f 4c734a29bc7c6e8f08b5f90fcc2717abceec467ac20498ba83c87de8e3320775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:08:44.166Z] + docker inspect -f . ci-base-image-arm64 [2021-08-16T20:08:44.166Z] . [Pipeline] withDockerContainer [2021-08-16T20:08:44.448Z] prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container [2021-08-16T20:08:44.535Z] $ 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-08-16T20:08:45.933Z] d287ab97295c: Pull complete [2021-08-16T20:08:45.933Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-16T20:08:45.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-16T20:08:45.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-16T20:08:46.416Z] $ docker top 624635e5d6852f1bfab617731387ea42d0d9afb3eeb049a6040390aa20bc33ac -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-08-16T20:08:46.874Z] prd-centos7-docker-4c-2g-989 does not seem to be running inside a container [2021-08-16T20:08:46.949Z] $ 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-08-16T20:08:49.546Z] $ docker top fcd8c640bc8e3934d56e12dd185b1da62867a3a9eafa7352708454dda9f2dc43 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh [2021-08-16T20:08:50.318Z] ---> job-cost.sh [2021-08-16T20:08:50.318Z] lf-activate-venv: SKIPPING [2021-08-16T20:08:50.318Z] INFO: No Stack... [2021-08-16T20:08:50.760Z] + go mod tidy [Pipeline] sh [2021-08-16T20:08:51.727Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-16T20:08:51.993Z] INFO: Archiving Costs [Pipeline] sh [2021-08-16T20:08:52.061Z] + make test [2021-08-16T20:08:52.061Z] go mod tidy [2021-08-16T20:08:52.333Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-16T20:08:52.339Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-08-16T20:08:52.339Z] + cut -d, -f6 [Pipeline] lock [2021-08-16T20:08:52.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [2021-08-16T20:08:52.418Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] did not exist. Created. [2021-08-16T20:08:52.418Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-16T20:08:52.863Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-16T20:08:52.921Z] Stashed 1 file(s) [Pipeline] } [2021-08-16T20:08:52.965Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-16T20:08:53.080Z] $ docker stop --time=1 fcd8c640bc8e3934d56e12dd185b1da62867a3a9eafa7352708454dda9f2dc43 [2021-08-16T20:08:53.774Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-08-16T20:08:54.272Z] $ docker rm -f fcd8c640bc8e3934d56e12dd185b1da62867a3a9eafa7352708454dda9f2dc43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-16T20:09:50.369Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-16T20:09:50.369Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements [2021-08-16T20:09:50.369Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-16T20:10:12.582Z] gofmt -l . [2021-08-16T20:10:12.582Z] [ "`gofmt -l .`" = "" ] [2021-08-16T20:10:12.582Z] ./bin/test-go-mod-tidy.sh [2021-08-16T20:10:12.582Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-16T20:10:12.893Z] $ docker stop --time=1 624635e5d6852f1bfab617731387ea42d0d9afb3eeb049a6040390aa20bc33ac [2021-08-16T20:10:15.082Z] $ docker rm -f 624635e5d6852f1bfab617731387ea42d0d9afb3eeb049a6040390aa20bc33ac [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-16T20:10:16.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-16T20:10:16.142Z] Warning: overwriting stash ‘coverage-report’ [2021-08-16T20:10:16.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-16T20:10:17.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-16T20:10:17.614Z] + ls -al . [2021-08-16T20:10:17.614Z] total 148 [2021-08-16T20:10:17.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 20:10 . [2021-08-16T20:10:17.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 20:07 .. [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 16 20:07 .dockerignore [2021-08-16T20:10:17.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 20:07 .git [2021-08-16T20:10:17.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 20:07 .github [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 336 Aug 16 20:07 .gitignore [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 6792 Aug 16 20:07 Attribution.txt [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 7459 Aug 16 20:07 CHANGELOG.md [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 1615 Aug 16 20:07 Dockerfile [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 1087 Aug 16 20:07 Dockerfile.build [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 20:07 GOVERNANCE.md [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 16 20:07 Jenkinsfile [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 16 20:07 LICENSE [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 996 Aug 16 20:07 Makefile [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 16 20:07 OWNERS.md [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 7661 Aug 16 20:07 README.md [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 20:04 VERSION [2021-08-16T20:10:17.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 20:07 bin [2021-08-16T20:10:17.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 20:07 cmd [2021-08-16T20:10:17.614Z] -rw-r--r-- 1 jenkins jenkins 8513 Aug 16 20:09 coverage.out [2021-08-16T20:10:17.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 20:07 driver [2021-08-16T20:10:17.614Z] -rw-r--r-- 1 jenkins jenkins 271 Aug 16 20:10 go.mod [2021-08-16T20:10:17.614Z] -rw-r--r-- 1 jenkins jenkins 20570 Aug 16 20:08 go.sum [2021-08-16T20:10:17.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 20:07 snap [2021-08-16T20:10:17.614Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 16 20:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:10:18.005Z] + 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=254ba4e9925da27baec821812c07720a194718c7 --label arch=arm64 --label version=0.0.0 . [2021-08-16T20:10:18.005Z] Sending build context to Docker daemon 129kB [2021-08-16T20:10:18.282Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-16T20:10:18.282Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-16T20:10:18.282Z] ---> 7db630d2f96d [2021-08-16T20:10:18.282Z] Step 3/25 : ARG MAKE='make build' [2021-08-16T20:10:18.557Z] ---> Running in ced03f66479b [2021-08-16T20:10:19.155Z] Removing intermediate container ced03f66479b [2021-08-16T20:10:19.155Z] ---> f5dc16803d97 [2021-08-16T20:10:19.155Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-16T20:10:19.428Z] ---> Running in 73a9f4103e78 [2021-08-16T20:10:20.026Z] Removing intermediate container 73a9f4103e78 [2021-08-16T20:10:20.026Z] ---> f49deb4037db [2021-08-16T20:10:20.026Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-16T20:10:20.026Z] ---> Running in 4a53b67a773b [2021-08-16T20:10:20.617Z] Removing intermediate container 4a53b67a773b [2021-08-16T20:10:20.618Z] ---> 169696b5028f [2021-08-16T20:10:20.618Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-16T20:10:20.618Z] ---> Running in c1f78c79518e [2021-08-16T20:10:23.224Z] Removing intermediate container c1f78c79518e [2021-08-16T20:10:23.224Z] ---> df1cf4b61888 [2021-08-16T20:10:23.224Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-16T20:10:23.224Z] ---> Running in 51b85cde6a98 [2021-08-16T20:10:24.676Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-16T20:10:25.271Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-16T20:10:26.258Z] OK: 222 MiB in 55 packages [2021-08-16T20:10:27.242Z] Removing intermediate container 51b85cde6a98 [2021-08-16T20:10:27.242Z] ---> a0bc08810e3a [2021-08-16T20:10:27.242Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-16T20:10:27.516Z] ---> Running in 6667d2c48056 [2021-08-16T20:10:28.490Z] Removing intermediate container 6667d2c48056 [2021-08-16T20:10:28.491Z] ---> a47a94bf3239 [2021-08-16T20:10:28.491Z] Step 9/25 : COPY . . [2021-08-16T20:10:29.087Z] ---> 7c1c0c8ac5f9 [2021-08-16T20:10:29.087Z] Step 10/25 : RUN go mod tidy [2021-08-16T20:10:29.359Z] ---> Running in 2d1586d107f8 [2021-08-16T20:10:32.753Z] Removing intermediate container 2d1586d107f8 [2021-08-16T20:10:32.753Z] ---> 06f6eb7b7789 [2021-08-16T20:10:32.753Z] Step 11/25 : RUN make update [2021-08-16T20:10:32.753Z] ---> Running in b37f136b5dba [2021-08-16T20:10:33.729Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-16T20:10:34.706Z] Removing intermediate container b37f136b5dba [2021-08-16T20:10:34.706Z] ---> 50584a4905f6 [2021-08-16T20:10:34.706Z] Step 12/25 : RUN $MAKE [2021-08-16T20:10:34.980Z] ---> Running in 6b0095915ac4 [2021-08-16T20:10:36.420Z] go mod tidy [2021-08-16T20:10:36.694Z] 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-08-16T20:11:15.736Z] Removing intermediate container 6b0095915ac4 [2021-08-16T20:11:15.736Z] ---> fbea9bba41ea [2021-08-16T20:11:15.736Z] Step 13/25 : FROM alpine:3.12 [2021-08-16T20:11:15.736Z] 3.12: Pulling from library/alpine [2021-08-16T20:11:15.736Z] d2f70382dc9a: Pulling fs layer [2021-08-16T20:11:15.736Z] d2f70382dc9a: Verifying Checksum [2021-08-16T20:11:15.736Z] d2f70382dc9a: Download complete [2021-08-16T20:11:15.736Z] d2f70382dc9a: Pull complete [2021-08-16T20:11:15.736Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-16T20:11:15.736Z] Status: Downloaded newer image for alpine:3.12 [2021-08-16T20:11:15.736Z] ---> c4fd0aeabfcf [2021-08-16T20:11:15.736Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-16T20:11:15.736Z] ---> Running in 603fed36c60f [2021-08-16T20:11:15.736Z] Removing intermediate container 603fed36c60f [2021-08-16T20:11:15.736Z] ---> 1bd7873a23f2 [2021-08-16T20:11:15.736Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-16T20:11:15.736Z] ---> Running in 71900890d938 [2021-08-16T20:11:15.736Z] Removing intermediate container 71900890d938 [2021-08-16T20:11:15.736Z] ---> b4335a424417 [2021-08-16T20:11:15.736Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-16T20:11:15.736Z] ---> Running in 3b8c2e908ab9 [2021-08-16T20:11:15.736Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-16T20:11:15.736Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-16T20:11:16.336Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-16T20:11:16.336Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-16T20:11:16.336Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-16T20:11:16.336Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-16T20:11:16.336Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-16T20:11:16.336Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-16T20:11:16.336Z] Executing busybox-1.31.1-r20.trigger [2021-08-16T20:11:16.336Z] OK: 8 MiB in 20 packages [2021-08-16T20:11:17.775Z] Removing intermediate container 3b8c2e908ab9 [2021-08-16T20:11:17.775Z] ---> 4db0d38b908d [2021-08-16T20:11:17.775Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-16T20:11:19.215Z] ---> d032e5c6d4ec [2021-08-16T20:11:19.215Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-16T20:11:19.819Z] ---> 835825e2d9d1 [2021-08-16T20:11:19.819Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-16T20:11:21.253Z] ---> edc379f624e5 [2021-08-16T20:11:21.253Z] Step 20/25 : EXPOSE 59986 [2021-08-16T20:11:21.528Z] ---> Running in 413393f6548a [2021-08-16T20:11:21.801Z] Removing intermediate container 413393f6548a [2021-08-16T20:11:21.801Z] ---> 68de159dd8a2 [2021-08-16T20:11:21.801Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-16T20:11:22.076Z] ---> Running in e9a87ede948b [2021-08-16T20:11:22.675Z] Removing intermediate container e9a87ede948b [2021-08-16T20:11:22.675Z] ---> bf223fa1a93a [2021-08-16T20:11:22.675Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-16T20:11:22.675Z] ---> Running in 767a73fac318 [2021-08-16T20:11:23.271Z] Removing intermediate container 767a73fac318 [2021-08-16T20:11:23.271Z] ---> 9996ddc9a274 [2021-08-16T20:11:23.271Z] Step 23/25 : LABEL arch=arm64 [2021-08-16T20:11:23.271Z] ---> Running in 6f57f04fda5d [2021-08-16T20:11:23.869Z] Removing intermediate container 6f57f04fda5d [2021-08-16T20:11:23.869Z] ---> c4cb0c88e015 [2021-08-16T20:11:23.869Z] Step 24/25 : LABEL git_sha=254ba4e9925da27baec821812c07720a194718c7 [2021-08-16T20:11:24.145Z] ---> Running in 7305f187c557 [2021-08-16T20:11:24.421Z] Removing intermediate container 7305f187c557 [2021-08-16T20:11:24.421Z] ---> 19f9db051623 [2021-08-16T20:11:24.421Z] Step 25/25 : LABEL version=0.0.0 [2021-08-16T20:11:24.695Z] ---> Running in a8e1eaded114 [2021-08-16T20:11:25.290Z] Removing intermediate container a8e1eaded114 [2021-08-16T20:11:25.290Z] ---> f71be4cd3465 [2021-08-16T20:11:25.290Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-16T20:11:25.290Z] Successfully built f71be4cd3465 [2021-08-16T20:11:25.290Z] 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-08-16T20:11:26.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-16T20:11:26.082Z] [2021-08-16T20:11:26.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:11:26.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-16T20:11:26.761Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-16T20:11:26.761Z] 448f6bf000e3: Pulling fs layer [2021-08-16T20:11:26.761Z] f757da607395: Pulling fs layer [2021-08-16T20:11:26.761Z] 05883995daec: Pulling fs layer [2021-08-16T20:11:26.761Z] 8603b9c90790: Pulling fs layer [2021-08-16T20:11:26.761Z] 1560dd03e051: Pulling fs layer [2021-08-16T20:11:26.761Z] 27f5ce0e4adf: Pulling fs layer [2021-08-16T20:11:26.761Z] c2d8d7efcc4b: Pulling fs layer [2021-08-16T20:11:26.761Z] 8603b9c90790: Waiting [2021-08-16T20:11:26.761Z] 1560dd03e051: Waiting [2021-08-16T20:11:26.761Z] 27f5ce0e4adf: Waiting [2021-08-16T20:11:26.761Z] c2d8d7efcc4b: Waiting [2021-08-16T20:11:27.039Z] f757da607395: Verifying Checksum [2021-08-16T20:11:27.039Z] f757da607395: Download complete [2021-08-16T20:11:27.039Z] 8603b9c90790: Download complete [2021-08-16T20:11:27.314Z] 1560dd03e051: Verifying Checksum [2021-08-16T20:11:27.314Z] 1560dd03e051: Download complete [2021-08-16T20:11:27.314Z] 27f5ce0e4adf: Verifying Checksum [2021-08-16T20:11:27.314Z] 27f5ce0e4adf: Download complete [2021-08-16T20:11:27.314Z] 05883995daec: Verifying Checksum [2021-08-16T20:11:27.314Z] 05883995daec: Download complete [2021-08-16T20:11:28.298Z] 448f6bf000e3: Verifying Checksum [2021-08-16T20:11:28.298Z] 448f6bf000e3: Download complete [2021-08-16T20:11:30.936Z] c2d8d7efcc4b: Verifying Checksum [2021-08-16T20:11:30.936Z] c2d8d7efcc4b: Download complete [2021-08-16T20:11:31.919Z] 448f6bf000e3: Pull complete [2021-08-16T20:11:32.520Z] f757da607395: Pull complete [2021-08-16T20:11:33.968Z] 05883995daec: Pull complete [2021-08-16T20:11:34.567Z] 8603b9c90790: Pull complete [2021-08-16T20:11:35.557Z] 1560dd03e051: Pull complete [2021-08-16T20:11:35.832Z] 27f5ce0e4adf: Pull complete [2021-08-16T20:11:50.918Z] c2d8d7efcc4b: Pull complete [2021-08-16T20:11:50.918Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-16T20:11:50.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-16T20:11:50.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-16T20:11:51.205Z] prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container [2021-08-16T20:11:51.290Z] $ 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-08-16T20:11:56.791Z] $ docker top 3424daccdd2c0d378e7327446d703fb675f40a8001c29563e5171d61cc2b8b13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:11:57.862Z] ---> job-cost.sh [2021-08-16T20:11:57.862Z] lf-activate-venv: SKIPPING [2021-08-16T20:11:57.862Z] INFO: No Stack... [2021-08-16T20:11:58.838Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-16T20:11:59.111Z] INFO: Archiving Costs [Pipeline] sh [2021-08-16T20:11:59.799Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-08-16T20:11:59.800Z] + cut -d, -f6 [Pipeline] lock [2021-08-16T20:11:59.890Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [2021-08-16T20:11:59.897Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] did not exist. Created. [2021-08-16T20:11:59.897Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-16T20:12:00.680Z] /w/workspace/device-rest-go/1@tmp/durable-9b29f576/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-9b29f576/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-16T20:12:01.386Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-16T20:12:01.430Z] Warning: overwriting stash ‘stack-cost’ [2021-08-16T20:12:01.474Z] Stashed 1 file(s) [Pipeline] } [2021-08-16T20:12:01.494Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-16T20:12:01.589Z] $ docker stop --time=1 3424daccdd2c0d378e7327446d703fb675f40a8001c29563e5171d61cc2b8b13 [2021-08-16T20:12:03.226Z] $ docker rm -f 3424daccdd2c0d378e7327446d703fb675f40a8001c29563e5171d61cc2b8b13 [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-08-16T20:12:04.508Z] provisioning config files... [2021-08-16T20:12:04.524Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/config4676807757560805102tmp [Pipeline] { [Pipeline] sh [2021-08-16T20:12:04.898Z] + set +x [2021-08-16T20:12:04.898Z] + curl -s https://codecov.io/bash [2021-08-16T20:12:04.898Z] + bash -s -- [2021-08-16T20:12:04.898Z] [2021-08-16T20:12:04.898Z] _____ _ [2021-08-16T20:12:04.898Z] / ____| | | [2021-08-16T20:12:04.898Z] | | ___ __| | ___ ___ _____ __ [2021-08-16T20:12:04.898Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-16T20:12:04.898Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-16T20:12:04.898Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-16T20:12:04.898Z] Bash-1.0.6 [2021-08-16T20:12:04.898Z] [2021-08-16T20:12:04.898Z] [2021-08-16T20:12:04.898Z] ==> git version 2.24.4 found [2021-08-16T20:12:04.898Z] ==> 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-08-16T20:12:04.898Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-16T20:12:04.898Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-16T20:12:04.898Z] ==> Jenkins CI detected. [2021-08-16T20:12:04.898Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-131 [2021-08-16T20:12:04.898Z] project root: . [2021-08-16T20:12:04.898Z] --> token set from env [2021-08-16T20:12:05.164Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-16T20:12:05.164Z] ==> Running gcov in . (disable via -X gcov) [2021-08-16T20:12:05.164Z] ==> Python coveragepy not found [2021-08-16T20:12:05.164Z] ==> Searching for coverage reports in: [2021-08-16T20:12:05.164Z] + . [2021-08-16T20:12:05.164Z] -> Found 1 reports [2021-08-16T20:12:05.164Z] ==> Detecting git/mercurial file structure [2021-08-16T20:12:05.164Z] ==> Reading reports [2021-08-16T20:12:05.164Z] + ./coverage.out bytes=8513 [2021-08-16T20:12:05.164Z] ==> Appending adjustments [2021-08-16T20:12:05.164Z] https://docs.codecov.io/docs/fixing-reports [2021-08-16T20:12:05.164Z] + Found adjustments [2021-08-16T20:12:05.164Z] ==> Gzipping contents [2021-08-16T20:12:05.164Z] 4.0K /tmp/codecov.EK6ahl.gz [2021-08-16T20:12:05.164Z] ==> Uploading reports [2021-08-16T20:12:05.164Z] url: https://codecov.io [2021-08-16T20:12:05.164Z] query: branch=PR-131&commit=254ba4e9925da27baec821812c07720a194718c7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=131&job=&cmd_args= [2021-08-16T20:12:05.164Z] -> Pinging Codecov [2021-08-16T20:12:05.164Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-131&commit=254ba4e9925da27baec821812c07720a194718c7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=131&job=&cmd_args= [2021-08-16T20:12:05.431Z] -> Uploading to [2021-08-16T20:12:05.431Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-16/4E5D53B4F1F92C436F7061BF334D961C/254ba4e9925da27baec821812c07720a194718c7/feddbf1f-a576-4e5a-b0e9-22bddcd2fd93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210816T201205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e6707e59c133b5458bd57ab116edf2a4b4009b8cd0d4cc96151ce8ede44097a [2021-08-16T20:12:05.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-16T20:12:05.431Z] Dload Upload Total Spent Left Speed [2021-08-16T20:12:05.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 5044 --:--:-- --:--:-- --:--:-- 5040 [2021-08-16T20:12:05.969Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/254ba4e9925da27baec821812c07720a194718c7 [Pipeline] } [2021-08-16T20:12:05.999Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-16T20:12:08.080Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-131/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:12:08.439Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:12:09.078Z] ---> package-listing.sh [2021-08-16T20:12:09.078Z] ++ facter osfamily [2021-08-16T20:12:09.078Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-16T20:12:09.350Z] + OS_FAMILY=redhat [2021-08-16T20:12:09.350Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-131 [2021-08-16T20:12:09.350Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-16T20:12:09.350Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-16T20:12:09.350Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-16T20:12:09.350Z] + PACKAGES=/tmp/packages_start.txt [2021-08-16T20:12:09.350Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-131 ']' [2021-08-16T20:12:09.350Z] + PACKAGES=/tmp/packages_end.txt [2021-08-16T20:12:09.350Z] + case "${OS_FAMILY}" in [2021-08-16T20:12:09.350Z] + rpm -qa [2021-08-16T20:12:09.350Z] + sort [2021-08-16T20:12:09.948Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-16T20:12:09.948Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-16T20:12:09.948Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-16T20:12:09.948Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-131 ']' [2021-08-16T20:12:09.948Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-131/archives/ [2021-08-16T20:12:09.948Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-131/archives/ [Pipeline] echo [2021-08-16T20:12:09.998Z] 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-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-16T20:12:10.328Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:12:10.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-16T20:12:10.943Z] [2021-08-16T20:12:10.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-16T20:12:11.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-16T20:12:11.313Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-16T20:12:11.313Z] b4d181a07f80: Pulling fs layer [2021-08-16T20:12:11.313Z] a1111a8f2ec3: Pulling fs layer [2021-08-16T20:12:11.313Z] ed53099fbce6: Pulling fs layer [2021-08-16T20:12:11.313Z] dc539afda2c1: Pulling fs layer [2021-08-16T20:12:11.313Z] 77bc0d833cb6: Pulling fs layer [2021-08-16T20:12:11.313Z] 9065ff56babe: Pulling fs layer [2021-08-16T20:12:11.313Z] d287ab97295c: Pulling fs layer [2021-08-16T20:12:11.313Z] 77bc0d833cb6: Waiting [2021-08-16T20:12:11.313Z] 9065ff56babe: Waiting [2021-08-16T20:12:11.313Z] d287ab97295c: Waiting [2021-08-16T20:12:11.584Z] a1111a8f2ec3: Verifying Checksum [2021-08-16T20:12:11.584Z] a1111a8f2ec3: Download complete [2021-08-16T20:12:11.849Z] dc539afda2c1: Verifying Checksum [2021-08-16T20:12:11.849Z] dc539afda2c1: Download complete [2021-08-16T20:12:11.849Z] ed53099fbce6: Verifying Checksum [2021-08-16T20:12:11.849Z] ed53099fbce6: Download complete [2021-08-16T20:12:11.849Z] 9065ff56babe: Verifying Checksum [2021-08-16T20:12:11.849Z] 9065ff56babe: Download complete [2021-08-16T20:12:12.114Z] 77bc0d833cb6: Verifying Checksum [2021-08-16T20:12:12.114Z] 77bc0d833cb6: Download complete [2021-08-16T20:12:13.074Z] b4d181a07f80: Verifying Checksum [2021-08-16T20:12:13.074Z] b4d181a07f80: Download complete [2021-08-16T20:12:14.502Z] b4d181a07f80: Pull complete [2021-08-16T20:12:14.502Z] a1111a8f2ec3: Pull complete [2021-08-16T20:12:15.091Z] ed53099fbce6: Pull complete [2021-08-16T20:12:15.091Z] dc539afda2c1: Pull complete [2021-08-16T20:12:15.357Z] 77bc0d833cb6: Pull complete [2021-08-16T20:12:15.357Z] 9065ff56babe: Pull complete [2021-08-16T20:12:16.761Z] d287ab97295c: Verifying Checksum [2021-08-16T20:12:16.761Z] d287ab97295c: Download complete [2021-08-16T20:12:21.045Z] d287ab97295c: Pull complete [2021-08-16T20:12:21.045Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-16T20:12:21.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-16T20:12:21.045Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-16T20:12:21.158Z] prd-centos7-docker-4c-2g-987 does not seem to be running inside a container [2021-08-16T20:12:21.223Z] $ 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-131/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-131 -v /w/workspace/gexfoundry_device-rest-go_PR-131:/w/workspace/gexfoundry_device-rest-go_PR-131:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-131@tmp:/w/workspace/gexfoundry_device-rest-go_PR-131@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-08-16T20:12:23.507Z] $ docker top b920d72577acf3447e07ef0488993571e496cbfabc4e705f7a59b1200a7ef87e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-16T20:12:23.982Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-16T20:12:24.330Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-16T20:12:24.680Z] + ls /var/log/sa-host [2021-08-16T20:12:24.680Z] + sadf -c /var/log/sa-host/sa05 [2021-08-16T20:12:24.680Z] file_magic: OK [2021-08-16T20:12:24.680Z] HZ: Using current value: 100 [2021-08-16T20:12:24.680Z] file_header: OK [2021-08-16T20:12:24.680Z] 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-08-16T20:12:24.680Z] Statistics: [2021-08-16T20:12:24.680Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-16T20:12:24.680Z] File successfully converted to sysstat format version 12.0.3 [2021-08-16T20:12:24.680Z] + sadf -c /var/log/sa-host/sa16 [2021-08-16T20:12:24.680Z] file_magic: OK [2021-08-16T20:12:24.680Z] HZ: Using current value: 100 [2021-08-16T20:12:24.680Z] file_header: OK [2021-08-16T20:12:24.680Z] 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-08-16T20:12:24.680Z] Statistics: [2021-08-16T20:12:24.680Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-16T20:12:24.680Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-16T20:12:25.350Z] provisioning config files... [2021-08-16T20:12:25.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-131@tmp/config2971767677022732265tmp [Pipeline] { [Pipeline] echo [2021-08-16T20:12:25.423Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:12:25.773Z] ---> create-netrc.sh [Pipeline] } [2021-08-16T20:12:25.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:12:26.280Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-16T20:12:26.314Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:12:26.674Z] ---> sudo-logs.sh [2021-08-16T20:12:26.674Z] Archiving 'sudo' log.. [2021-08-16T20:12:26.674Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-987.vexxhost.local: Name or service not known [2021-08-16T20:12:26.674Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-987.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-16T20:12:26.770Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:12:27.118Z] ---> job-cost.sh [2021-08-16T20:12:27.118Z] lf-activate-venv: SKIPPING [2021-08-16T20:12:27.118Z] DEBUG: total: 0.18000000715255737 [2021-08-16T20:12:27.118Z] INFO: Retrieving Stack Cost... [2021-08-16T20:12:28.079Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-16T20:12:28.346Z] INFO: Archiving Costs [Pipeline] echo [2021-08-16T20:12:28.388Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-16T20:12:28.742Z] ---> logs-deploy.sh [2021-08-16T20:12:28.742Z] lf-activate-venv: SKIPPING [2021-08-16T20:12:28.742Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-131/1 [2021-08-16T20:12:28.742Z] INFO: archiving workspace using pattern(s): [2021-08-16T20:12:29.327Z] Archives upload complete. [2021-08-16T20:12:29.594Z] INFO: archiving logs to Nexus [2021-08-16T20:12:30.178Z] ---> uname -a: [2021-08-16T20:12:30.178Z] Linux prd-centos7-docker-4c-2g-987.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] ---> lscpu: [2021-08-16T20:12:30.178Z] Architecture: x86_64 [2021-08-16T20:12:30.178Z] CPU op-mode(s): 32-bit, 64-bit [2021-08-16T20:12:30.178Z] Byte Order: Little Endian [2021-08-16T20:12:30.178Z] Address sizes: 40 bits physical, 48 bits virtual [2021-08-16T20:12:30.178Z] CPU(s): 2 [2021-08-16T20:12:30.178Z] On-line CPU(s) list: 0,1 [2021-08-16T20:12:30.178Z] Thread(s) per core: 1 [2021-08-16T20:12:30.178Z] Core(s) per socket: 1 [2021-08-16T20:12:30.178Z] Socket(s): 2 [2021-08-16T20:12:30.178Z] NUMA node(s): 1 [2021-08-16T20:12:30.178Z] Vendor ID: AuthenticAMD [2021-08-16T20:12:30.178Z] CPU family: 23 [2021-08-16T20:12:30.178Z] Model: 49 [2021-08-16T20:12:30.178Z] Model name: AMD EPYC-Rome Processor [2021-08-16T20:12:30.178Z] Stepping: 0 [2021-08-16T20:12:30.178Z] CPU MHz: 2799.998 [2021-08-16T20:12:30.178Z] BogoMIPS: 5599.99 [2021-08-16T20:12:30.178Z] Virtualization: AMD-V [2021-08-16T20:12:30.178Z] Hypervisor vendor: KVM [2021-08-16T20:12:30.178Z] Virtualization type: full [2021-08-16T20:12:30.178Z] L1d cache: 32K [2021-08-16T20:12:30.178Z] L1i cache: 32K [2021-08-16T20:12:30.178Z] L2 cache: 512K [2021-08-16T20:12:30.178Z] L3 cache: 16384K [2021-08-16T20:12:30.178Z] NUMA node0 CPU(s): 0,1 [2021-08-16T20:12:30.178Z] 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-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] ---> nproc: [2021-08-16T20:12:30.178Z] 2 [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] ---> df -h: [2021-08-16T20:12:30.178Z] Filesystem Size Used Avail Use% Mounted on [2021-08-16T20:12:30.178Z] overlay 40G 7.7G 33G 20% / [2021-08-16T20:12:30.178Z] tmpfs 64M 0 64M 0% /dev [2021-08-16T20:12:30.178Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-08-16T20:12:30.178Z] shm 64M 0 64M 0% /dev/shm [2021-08-16T20:12:30.178Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] ---> sar -b -r -n DEV: [2021-08-16T20:12:30.178Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] 20:03:56 LINUX RESTART (2 CPU) [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] 20:05:02 tps rtps wtps bread/s bwrtn/s [2021-08-16T20:12:30.178Z] 20:06:01 1.76 0.00 1.76 0.00 35.86 [2021-08-16T20:12:30.178Z] 20:07:01 0.37 0.00 0.37 0.00 5.28 [2021-08-16T20:12:30.178Z] 20:08:01 0.38 0.00 0.38 0.00 6.83 [2021-08-16T20:12:30.178Z] 20:09:01 0.17 0.00 0.17 0.00 1.75 [2021-08-16T20:12:30.178Z] 20:10:01 0.33 0.00 0.33 0.00 4.90 [2021-08-16T20:12:30.178Z] 20:11:01 0.33 0.00 0.33 0.00 4.45 [2021-08-16T20:12:30.178Z] 20:12:01 0.13 0.00 0.13 0.00 2.32 [2021-08-16T20:12:30.178Z] Average: 0.49 0.00 0.49 0.00 8.70 [2021-08-16T20:12:30.178Z] [2021-08-16T20:12:30.178Z] 20:05:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-08-16T20:12:30.178Z] 20:06:01 5454632 0 803688 10.03 2620 1747992 1273804 14.06 587356 1567768 20 [2021-08-16T20:12:30.178Z] 20:07:01 5464484 0 793832 9.91 2620 1747996 1204356 13.30 581036 1566148 20 [2021-08-16T20:12:30.178Z] 20:08:01 5462356 0 795956 9.94 2620 1748000 1204416 13.30 582512 1566152 8 [2021-08-16T20:12:30.178Z] 20:09:01 5464680 0 793628 9.91 2620 1748004 1204104 13.29 579892 1567076 12 [2021-08-16T20:12:30.178Z] 20:10:01 5461808 0 796496 9.95 2620 1748008 1204176 13.29 580096 1569988 8 [2021-08-16T20:12:30.178Z] 20:11:01 5460116 0 798184 9.97 2620 1748012 1204332 13.30 582200 1569988 20 [2021-08-16T20:12:30.179Z] 20:12:01 5458492 0 799800 9.99 2620 1748020 1204168 13.29 583440 1570168 8 [2021-08-16T20:12:30.179Z] Average: 5460938 0 797369 9.96 2620 1748005 1214194 13.41 582362 1568184 14 [2021-08-16T20:12:30.179Z] [2021-08-16T20:12:30.179Z] 20:05:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-08-16T20:12:30.179Z] 20:06:01 eth0 1.69 0.69 3.83 0.11 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:07:01 eth0 1.02 0.30 0.32 0.17 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:08:01 eth0 0.47 0.28 0.27 0.22 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:09:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:10:01 eth0 0.45 0.18 0.11 0.07 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:11:01 eth0 0.58 0.27 0.34 0.20 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:12:01 eth0 0.10 0.03 0.01 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] 20:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] Average: eth0 0.63 0.26 0.69 0.11 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-16T20:12:30.179Z] [2021-08-16T20:12:30.179Z] [2021-08-16T20:12:30.179Z] ---> sar -P ALL: [2021-08-16T20:12:30.179Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) [2021-08-16T20:12:30.179Z] [2021-08-16T20:12:30.179Z] 20:03:56 LINUX RESTART (2 CPU) [2021-08-16T20:12:30.179Z] [2021-08-16T20:12:30.179Z] 20:05:02 CPU %user %nice %system %iowait %steal %idle [2021-08-16T20:12:30.179Z] 20:06:01 all 0.29 0.00 0.07 0.00 0.01 99.64 [2021-08-16T20:12:30.179Z] 20:06:01 0 0.19 0.00 0.08 0.00 0.02 99.71 [2021-08-16T20:12:30.179Z] 20:06:01 1 0.39 0.00 0.05 0.00 0.00 99.56 [2021-08-16T20:12:30.179Z] 20:07:01 all 0.25 0.00 0.04 0.00 0.02 99.69 [2021-08-16T20:12:30.179Z] 20:07:01 0 0.43 0.00 0.05 0.00 0.02 99.50 [2021-08-16T20:12:30.179Z] 20:07:01 1 0.07 0.00 0.03 0.00 0.02 99.88 [2021-08-16T20:12:30.179Z] 20:08:01 all 0.16 0.00 0.04 0.01 0.03 99.77 [2021-08-16T20:12:30.179Z] 20:08:01 0 0.27 0.00 0.05 0.00 0.03 99.65 [2021-08-16T20:12:30.179Z] 20:08:01 1 0.05 0.00 0.03 0.02 0.02 99.88 [2021-08-16T20:12:30.179Z] 20:09:01 all 0.23 0.00 0.03 0.00 0.01 99.73 [2021-08-16T20:12:30.179Z] 20:09:01 0 0.40 0.00 0.02 0.00 0.00 99.58 [2021-08-16T20:12:30.179Z] 20:09:01 1 0.07 0.00 0.03 0.00 0.02 99.88 [2021-08-16T20:12:30.179Z] 20:10:01 all 0.06 0.00 0.05 0.00 0.02 99.87 [2021-08-16T20:12:30.179Z] 20:10:01 0 0.08 0.00 0.07 0.00 0.03 99.82 [2021-08-16T20:12:30.179Z] 20:10:01 1 0.03 0.00 0.03 0.00 0.00 99.93 [2021-08-16T20:12:30.179Z] 20:11:01 all 0.13 0.00 0.04 0.00 0.02 99.82 [2021-08-16T20:12:30.179Z] 20:11:01 0 0.22 0.00 0.03 0.00 0.02 99.73 [2021-08-16T20:12:30.179Z] 20:11:01 1 0.03 0.00 0.05 0.00 0.02 99.90 [2021-08-16T20:12:30.179Z] 20:12:01 all 0.18 0.00 0.03 0.00 0.02 99.77 [2021-08-16T20:12:30.179Z] 20:12:01 0 0.30 0.00 0.05 0.00 0.02 99.63 [2021-08-16T20:12:30.179Z] 20:12:01 1 0.07 0.00 0.02 0.00 0.02 99.90 [2021-08-16T20:12:30.179Z] Average: all 0.19 0.00 0.04 0.00 0.02 99.75 [2021-08-16T20:12:30.179Z] Average: 0 0.27 0.00 0.05 0.00 0.02 99.66 [2021-08-16T20:12:30.179Z] Average: 1 0.10 0.00 0.04 0.00 0.01 99.85 [2021-08-16T20:12:30.179Z] [2021-08-16T20:12:30.179Z] [2021-08-16T20:12:30.179Z]