Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Obtained Jenkinsfile from 2453e380f0d7722d8a0c548d076a603dc1a13dd7+c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (df63d14a58282dd19fec1ba8b1c1e9999c4ad121) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1836796175592464166.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh585245123312358884.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3742622354613413989.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4306568436736159027.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8220424807128136477.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 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_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-874 in /w/workspace/gexfoundry_device-rest-go_PR-127 [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-127 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh4668279296544893263.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 2453e380f0d7722d8a0c548d076a603dc1a13dd7 Merge succeeded, producing 2453e380f0d7722d8a0c548d076a603dc1a13dd7 Checking out Revision 2453e380f0d7722d8a0c548d076a603dc1a13dd7 (PR-127) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh4478035499173537469.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2453e380f0d7722d8a0c548d076a603dc1a13dd7 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh8733451482194083343.key > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2453e380f0d7722d8a0c548d076a603dc1a13dd7 # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-30T15:28:04.688Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 94141d5958bb4fa79fe377131bda593b69762738 # timeout=10 [2021-06-30T15:28:04.811Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T15:28:04.846Z] ========================================================= [2021-06-30T15:28:04.846Z] EdgeX Global Pipelines Version Info [2021-06-30T15:28:04.846Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:28:06.282Z] ------------------- [2021-06-30T15:28:06.282Z] stable info: [2021-06-30T15:28:06.282Z] ------------------- [2021-06-30T15:28:06.282Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T15:28:06.282Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T15:28:06.282Z] Message: update stable to v1.0.195 [2021-06-30T15:28:06.856Z] ------------------- [2021-06-30T15:28:06.856Z] experimental info: [2021-06-30T15:28:06.856Z] ------------------- [2021-06-30T15:28:06.856Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T15:28:06.856Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T15:28:06.856Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T15:28:06.982Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-30T15:28:07.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-30T15:28:07.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T15:28:07.055Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T15:28:07.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T15:28:07.104Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T15:28:07.127Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T15:28:07.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T15:28:07.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-30T15:28:07.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T15:28:07.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T15:28:07.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-30T15:28:07.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T15:28:07.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T15:28:07.345Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T15:28:07.370Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T15:28:07.394Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T15:28:07.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T15:28:07.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T15:28:07.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-30T15:28:07.491Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-30T15:28:07.515Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-30T15:28:07.539Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T15:28:07.563Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T15:28:07.589Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T15:28:07.636Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T15:28:07.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-06-30T15:28:07.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-06-30T15:28:07.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-06-30T15:28:07.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2453e380f0d7722d8a0c548d076a603dc1a13dd7 [Pipeline] echo [2021-06-30T15:28:07.755Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2453e38 [Pipeline] echo [2021-06-30T15:28:07.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T15:28:07.860Z] provisioning config files... [2021-06-30T15:28:07.883Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config5755440129172751166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:28:08.197Z] ---> docker-login.sh [2021-06-30T15:28:08.197Z] nexus3.edgexfoundry.org:10001 [2021-06-30T15:28:08.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:28:08.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:28:08.459Z] Configure a credential helper to remove this warning. See [2021-06-30T15:28:08.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:28:08.459Z] [2021-06-30T15:28:08.459Z] Login Succeeded [2021-06-30T15:28:08.459Z] nexus3.edgexfoundry.org:10002 [2021-06-30T15:28:08.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:28:08.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:28:08.726Z] Configure a credential helper to remove this warning. See [2021-06-30T15:28:08.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:28:08.727Z] [2021-06-30T15:28:08.727Z] Login Succeeded [2021-06-30T15:28:08.727Z] nexus3.edgexfoundry.org:10003 [2021-06-30T15:28:08.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:28:08.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:28:08.727Z] Configure a credential helper to remove this warning. See [2021-06-30T15:28:08.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:28:08.727Z] [2021-06-30T15:28:08.727Z] Login Succeeded [2021-06-30T15:28:08.727Z] nexus3.edgexfoundry.org:10004 [2021-06-30T15:28:08.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:28:08.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:28:08.990Z] Configure a credential helper to remove this warning. See [2021-06-30T15:28:08.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:28:08.990Z] [2021-06-30T15:28:08.990Z] Login Succeeded [2021-06-30T15:28:08.990Z] docker.io [2021-06-30T15:28:08.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:28:09.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:28:09.259Z] Configure a credential helper to remove this warning. See [2021-06-30T15:28:09.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:28:09.259Z] [2021-06-30T15:28:09.259Z] Login Succeeded [2021-06-30T15:28:09.259Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T15:28:09.268Z] 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-06-30T15:28:09.912Z] + git log --format=format:%s -1 2453e380f0d7722d8a0c548d076a603dc1a13dd7 [Pipeline] echo [2021-06-30T15:28:09.957Z] GIT_COMMIT: 2453e380f0d7722d8a0c548d076a603dc1a13dd7, Commit Message: feat(snap): add go-based configure and install hooks [Pipeline] echo [2021-06-30T15:28:09.970Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:28:10.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T15:28:10.568Z] [2021-06-30T15:28:10.568Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:28:10.889Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T15:28:10.889Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T15:28:10.889Z] 31603596830f: Pulling fs layer [2021-06-30T15:28:10.889Z] 54011a49482f: Pulling fs layer [2021-06-30T15:28:10.889Z] a6820b24f6d8: Pulling fs layer [2021-06-30T15:28:10.889Z] f581987b2513: Pulling fs layer [2021-06-30T15:28:10.889Z] f581987b2513: Waiting [2021-06-30T15:28:10.889Z] 54011a49482f: Verifying Checksum [2021-06-30T15:28:10.889Z] 54011a49482f: Download complete [2021-06-30T15:28:11.153Z] 31603596830f: Verifying Checksum [2021-06-30T15:28:11.153Z] 31603596830f: Download complete [2021-06-30T15:28:11.153Z] f581987b2513: Verifying Checksum [2021-06-30T15:28:11.153Z] f581987b2513: Download complete [2021-06-30T15:28:11.153Z] a6820b24f6d8: Verifying Checksum [2021-06-30T15:28:11.153Z] a6820b24f6d8: Download complete [2021-06-30T15:28:11.153Z] 31603596830f: Pull complete [2021-06-30T15:28:11.153Z] 54011a49482f: Pull complete [2021-06-30T15:28:11.738Z] a6820b24f6d8: Pull complete [2021-06-30T15:28:12.000Z] f581987b2513: Pull complete [2021-06-30T15:28:12.000Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T15:28:12.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T15:28:12.000Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T15:28:12.082Z] prd-centos7-docker-4c-2g-874 does not seem to be running inside a container [2021-06-30T15:28:12.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T15:28:13.255Z] $ docker top 5dc27b2ffea5b195c1d15b2f27352a1bd615a63235597c5513850297a4cae500 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T15:28:13.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T15:28:13.393Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T15:28:13.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T15:28:13.504Z] $ docker exec 5dc27b2ffea5b195c1d15b2f27352a1bd615a63235597c5513850297a4cae500 ssh-agent [2021-06-30T15:28:13.608Z] SSH_AUTH_SOCK=/tmp/ssh-VWD9PyyJ67lb/agent.16 [2021-06-30T15:28:13.608Z] SSH_AGENT_PID=23 [2021-06-30T15:28:13.616Z] Running ssh-add (command line suppressed) [2021-06-30T15:28:13.726Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_8561866608679668282.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_8561866608679668282.key) [2021-06-30T15:28:13.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T15:28:14.053Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T15:28:14.079Z] $ docker exec --env ******** --env ******** 5dc27b2ffea5b195c1d15b2f27352a1bd615a63235597c5513850297a4cae500 ssh-agent -k [2021-06-30T15:28:14.173Z] unset SSH_AUTH_SOCK; [2021-06-30T15:28:14.173Z] unset SSH_AGENT_PID; [2021-06-30T15:28:14.173Z] echo Agent pid 23 killed; [2021-06-30T15:28:14.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-30T15:28:14.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T15:28:14.238Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T15:28:14.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T15:28:14.358Z] $ docker exec 5dc27b2ffea5b195c1d15b2f27352a1bd615a63235597c5513850297a4cae500 ssh-agent [2021-06-30T15:28:14.482Z] SSH_AUTH_SOCK=/tmp/ssh-3NMfM3QOebBC/agent.58 [2021-06-30T15:28:14.482Z] SSH_AGENT_PID=65 [2021-06-30T15:28:14.491Z] Running ssh-add (command line suppressed) [2021-06-30T15:28:14.594Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_454608900596491200.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_454608900596491200.key) [2021-06-30T15:28:14.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T15:28:14.919Z] + git semver init [2021-06-30T15:28:14.919Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T15:28:14.919Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.git [2021-06-30T15:28:14.919Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T15:28:14.919Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T15:28:14.919Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T15:28:14.919Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T15:28:14.919Z] # $SEMVER_BRANCH = PR-127 [2021-06-30T15:28:14.919Z] # $SEMVER_TEMP = /tmp/semver-652824504 [2021-06-30T15:28:14.919Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-30T15:28:17.479Z] # '/tmp/semver-652824504' -> '/w/workspace/gexfoundry_device-rest-go_PR-127/.semver' [2021-06-30T15:28:17.479Z] # -> Force: false [2021-06-30T15:28:17.479Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.semver [Pipeline] } [2021-06-30T15:28:17.487Z] $ docker exec --env ******** --env ******** 5dc27b2ffea5b195c1d15b2f27352a1bd615a63235597c5513850297a4cae500 ssh-agent -k [2021-06-30T15:28:17.571Z] unset SSH_AUTH_SOCK; [2021-06-30T15:28:17.572Z] unset SSH_AGENT_PID; [2021-06-30T15:28:17.572Z] echo Agent pid 65 killed; [2021-06-30T15:28:17.586Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T15:28:17.921Z] + git semver [Pipeline] } [2021-06-30T15:28:17.933Z] $ docker stop --time=1 5dc27b2ffea5b195c1d15b2f27352a1bd615a63235597c5513850297a4cae500 [2021-06-30T15:28:19.250Z] $ docker rm -f 5dc27b2ffea5b195c1d15b2f27352a1bd615a63235597c5513850297a4cae500 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T15:28:19.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T15:28:19.969Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T15:28:19.975Z] [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-06-30T15:28:35.341Z] Still waiting to schedule task [2021-06-30T15:28:35.342Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-30T15:28:35.344Z] Still waiting to schedule task [2021-06-30T15:28:35.345Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-30T15:30:55.173Z] Running on prd-centos7-docker-4c-2g-878 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T15:30:55.193Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-06-30T15:30:55.304Z] The recommended git tool is: git [2021-06-30T15:30:57.897Z] using credential edgex-jenkins-ssh [2021-06-30T15:30:57.933Z] Cloning the remote Git repository [2021-06-30T15:30:57.957Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T15:30:58.031Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-06-30T15:30:58.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T15:30:58.445Z] > git --version # timeout=10 [2021-06-30T15:30:58.453Z] > git --version # 'git version 2.24.4' [2021-06-30T15:30:58.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T15:30:58.485Z] [INFO] Currently running in a labeled security context [2021-06-30T15:30:58.485Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T15:30:58.485Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh5316401655202311786.key [2021-06-30T15:30:58.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T15:31:02.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T15:31:02.470Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T15:31:03.328Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 2453e380f0d7722d8a0c548d076a603dc1a13dd7 [2021-06-30T15:31:03.406Z] Merge succeeded, producing 2453e380f0d7722d8a0c548d076a603dc1a13dd7 [2021-06-30T15:31:03.407Z] Checking out Revision 2453e380f0d7722d8a0c548d076a603dc1a13dd7 (PR-127) [2021-06-30T15:31:02.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T15:31:02.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T15:31:02.493Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T15:31:02.494Z] [INFO] Currently running in a labeled security context [2021-06-30T15:31:02.494Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T15:31:02.494Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh8170021433840818397.key [2021-06-30T15:31:02.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T15:31:03.333Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T15:31:03.340Z] > git checkout -f 2453e380f0d7722d8a0c548d076a603dc1a13dd7 # timeout=10 [2021-06-30T15:31:03.369Z] > git remote # timeout=10 [2021-06-30T15:31:03.374Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T15:31:03.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T15:31:03.380Z] [INFO] Currently running in a labeled security context [2021-06-30T15:31:03.380Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T15:31:03.381Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh2475059558923528254.key [2021-06-30T15:31:03.387Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T15:31:03.397Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T15:31:03.406Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T15:31:03.409Z] > git checkout -f 2453e380f0d7722d8a0c548d076a603dc1a13dd7 # timeout=10 [2021-06-30T15:31:07.017Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T15:31:08.067Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T15:31:08.422Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T15:31:08.730Z] + sudo service docker restart [2021-06-30T15:31:08.730Z] + true [2021-06-30T15:31:08.730Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T15:31:26.906Z] provisioning config files... [2021-06-30T15:31:26.921Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config1001539942882297612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:31:27.260Z] ---> docker-login.sh [2021-06-30T15:31:27.260Z] nexus3.edgexfoundry.org:10001 [2021-06-30T15:31:27.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:31:27.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:31:27.781Z] Configure a credential helper to remove this warning. See [2021-06-30T15:31:27.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:31:27.781Z] [2021-06-30T15:31:27.781Z] Login Succeeded [2021-06-30T15:31:27.781Z] nexus3.edgexfoundry.org:10002 [2021-06-30T15:31:27.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:31:28.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:31:28.043Z] Configure a credential helper to remove this warning. See [2021-06-30T15:31:28.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:31:28.043Z] [2021-06-30T15:31:28.043Z] Login Succeeded [2021-06-30T15:31:28.043Z] nexus3.edgexfoundry.org:10003 [2021-06-30T15:31:28.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:31:28.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:31:28.043Z] Configure a credential helper to remove this warning. See [2021-06-30T15:31:28.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:31:28.043Z] [2021-06-30T15:31:28.043Z] Login Succeeded [2021-06-30T15:31:28.043Z] nexus3.edgexfoundry.org:10004 [2021-06-30T15:31:28.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:31:28.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:31:28.304Z] Configure a credential helper to remove this warning. See [2021-06-30T15:31:28.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:31:28.304Z] [2021-06-30T15:31:28.572Z] Login Succeeded [2021-06-30T15:31:28.572Z] docker.io [2021-06-30T15:31:28.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:31:28.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:31:28.836Z] Configure a credential helper to remove this warning. See [2021-06-30T15:31:28.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:31:28.836Z] [2021-06-30T15:31:28.836Z] Login Succeeded [2021-06-30T15:31:28.836Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T15:31:28.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T15:31:29.029Z] ========================================================= [2021-06-30T15:31:29.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T15:31:29.029Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:31:29.353Z] + 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-06-30T15:31:29.353Z] Sending build context to Docker daemon 116.2kB [2021-06-30T15:31:29.353Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T15:31:29.353Z] Step 2/10 : FROM ${BASE} [2021-06-30T15:31:29.612Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T15:31:29.612Z] 540db60ca938: Pulling fs layer [2021-06-30T15:31:29.612Z] adcc1eea9eea: Pulling fs layer [2021-06-30T15:31:29.612Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T15:31:29.612Z] 0510c868ecb4: Pulling fs layer [2021-06-30T15:31:29.612Z] afea3b2eda06: Pulling fs layer [2021-06-30T15:31:29.612Z] 7809a108b3ef: Pulling fs layer [2021-06-30T15:31:29.612Z] f706445af74f: Pulling fs layer [2021-06-30T15:31:29.612Z] afea3b2eda06: Waiting [2021-06-30T15:31:29.612Z] 7809a108b3ef: Waiting [2021-06-30T15:31:29.612Z] f706445af74f: Waiting [2021-06-30T15:31:29.612Z] 0510c868ecb4: Waiting [2021-06-30T15:31:29.612Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T15:31:29.612Z] 4c4ab2625f07: Download complete [2021-06-30T15:31:29.612Z] adcc1eea9eea: Verifying Checksum [2021-06-30T15:31:29.612Z] adcc1eea9eea: Download complete [2021-06-30T15:31:29.612Z] afea3b2eda06: Verifying Checksum [2021-06-30T15:31:29.612Z] afea3b2eda06: Download complete [2021-06-30T15:31:29.878Z] 7809a108b3ef: Verifying Checksum [2021-06-30T15:31:29.878Z] 7809a108b3ef: Download complete [2021-06-30T15:31:29.878Z] 540db60ca938: Verifying Checksum [2021-06-30T15:31:29.878Z] 540db60ca938: Download complete [2021-06-30T15:31:30.138Z] 540db60ca938: Pull complete [2021-06-30T15:31:30.398Z] adcc1eea9eea: Pull complete [2021-06-30T15:31:30.398Z] 4c4ab2625f07: Pull complete [2021-06-30T15:31:31.342Z] f706445af74f: Verifying Checksum [2021-06-30T15:31:31.343Z] f706445af74f: Download complete [2021-06-30T15:31:32.299Z] 0510c868ecb4: Verifying Checksum [2021-06-30T15:31:32.299Z] 0510c868ecb4: Download complete [2021-06-30T15:31:36.556Z] 0510c868ecb4: Pull complete [2021-06-30T15:31:36.556Z] afea3b2eda06: Pull complete [2021-06-30T15:31:36.825Z] 7809a108b3ef: Pull complete [2021-06-30T15:31:38.759Z] f706445af74f: Pull complete [2021-06-30T15:31:39.021Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T15:31:39.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T15:31:39.287Z] ---> b068be0155e3 [2021-06-30T15:31:39.287Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T15:31:55.322Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-879 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T15:31:55.350Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-06-30T15:31:55.572Z] The recommended git tool is: git [2021-06-30T15:32:00.534Z] using credential edgex-jenkins-ssh [2021-06-30T15:32:00.565Z] Cloning the remote Git repository [2021-06-30T15:32:01.264Z] ---> Running in ebe0bfbca34a [2021-06-30T15:32:01.264Z] Removing intermediate container ebe0bfbca34a [2021-06-30T15:32:01.264Z] ---> 3dd109245bdd [2021-06-30T15:32:01.264Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T15:32:01.264Z] ---> Running in 5f46b75ef8da [2021-06-30T15:32:01.264Z] Removing intermediate container 5f46b75ef8da [2021-06-30T15:32:01.264Z] ---> 2ba4a01f3124 [2021-06-30T15:32:01.264Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T15:32:01.264Z] ---> Running in a0b06c358cb6 [2021-06-30T15:32:01.264Z] Removing intermediate container a0b06c358cb6 [2021-06-30T15:32:01.264Z] ---> 08f4958f4144 [2021-06-30T15:32:01.264Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T15:32:01.264Z] ---> Running in aa9728b07c61 [2021-06-30T15:32:01.264Z] Removing intermediate container aa9728b07c61 [2021-06-30T15:32:01.264Z] ---> 8204099e8ddb [2021-06-30T15:32:01.264Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T15:32:01.264Z] ---> Running in 307aa84a55a4 [2021-06-30T15:32:01.264Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T15:32:01.264Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T15:32:00.614Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T15:32:00.719Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-06-30T15:32:00.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T15:32:00.795Z] > git --version # timeout=10 [2021-06-30T15:32:00.816Z] > git --version # 'git version 2.17.1' [2021-06-30T15:32:00.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T15:32:00.986Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T15:32:01.846Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T15:32:01.846Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T15:32:01.846Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T15:32:01.846Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T15:32:02.111Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T15:32:02.377Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T15:32:02.377Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T15:32:03.763Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T15:32:03.763Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T15:32:04.026Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T15:32:04.026Z] OK: 154 MiB in 49 packages [2021-06-30T15:32:04.285Z] Removing intermediate container 307aa84a55a4 [2021-06-30T15:32:04.286Z] ---> 7efa3479c98e [2021-06-30T15:32:04.286Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T15:32:04.547Z] ---> Running in 267af8a09a3d [2021-06-30T15:32:04.808Z] Removing intermediate container 267af8a09a3d [2021-06-30T15:32:04.808Z] ---> e86ecebcbfb8 [2021-06-30T15:32:04.808Z] Step 9/10 : COPY . . [2021-06-30T15:32:05.072Z] ---> d5882fc5ae02 [2021-06-30T15:32:05.072Z] Step 10/10 : RUN go mod download [2021-06-30T15:32:05.072Z] ---> Running in 655bf2d6a2c6 [2021-06-30T15:32:05.675Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T15:32:06.376Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 2453e380f0d7722d8a0c548d076a603dc1a13dd7 [2021-06-30T15:32:06.562Z] Merge succeeded, producing 2453e380f0d7722d8a0c548d076a603dc1a13dd7 [2021-06-30T15:32:06.563Z] Checking out Revision 2453e380f0d7722d8a0c548d076a603dc1a13dd7 (PR-127) [2021-06-30T15:32:05.695Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T15:32:05.728Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T15:32:05.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T15:32:05.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T15:32:05.776Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T15:32:06.395Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T15:32:06.410Z] > git checkout -f 2453e380f0d7722d8a0c548d076a603dc1a13dd7 # timeout=10 [2021-06-30T15:32:06.489Z] > git remote # timeout=10 [2021-06-30T15:32:06.504Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T15:32:06.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T15:32:06.529Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T15:32:06.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T15:32:06.569Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T15:32:06.591Z] > git checkout -f 2453e380f0d7722d8a0c548d076a603dc1a13dd7 # timeout=10 [2021-06-30T15:32:10.806Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T15:32:12.274Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-30T15:32:12.694Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T15:32:13.044Z] + + true [2021-06-30T15:32:13.044Z] sudo service docker restart [2021-06-30T15:32:23.206Z] Removing intermediate container 655bf2d6a2c6 [2021-06-30T15:32:23.206Z] ---> 0646b9de9f8a [2021-06-30T15:32:23.206Z] Successfully built 0646b9de9f8a [2021-06-30T15:32:23.206Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:32:23.521Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T15:32:23.521Z] . [Pipeline] withDockerContainer [2021-06-30T15:32:23.609Z] prd-centos7-docker-4c-2g-878 does not seem to be running inside a container [2021-06-30T15:32:23.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T15:32:24.462Z] $ docker top 03ffb115e0a0d4f3e294c71cee11d83c4cb211806524fc8b4a19aac3b37d0929 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T15:32:24.841Z] + go version [2021-06-30T15:32:24.841Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T15:32:24.850Z] $ docker stop --time=1 03ffb115e0a0d4f3e294c71cee11d83c4cb211806524fc8b4a19aac3b37d0929 [2021-06-30T15:32:26.068Z] $ docker rm -f 03ffb115e0a0d4f3e294c71cee11d83c4cb211806524fc8b4a19aac3b37d0929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:32:26.595Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T15:32:26.595Z] . [Pipeline] withDockerContainer [2021-06-30T15:32:26.667Z] prd-centos7-docker-4c-2g-878 does not seem to be running inside a container [2021-06-30T15:32:26.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T15:32:27.278Z] $ docker top d649ce5e2b52e403f596fb1299b541e58ebe2f138d08e3086264523f9930adec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T15:32:27.698Z] + go mod tidy [Pipeline] sh [2021-06-30T15:32:28.012Z] + make test [2021-06-30T15:32:28.012Z] go mod tidy [2021-06-30T15:32:28.012Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T15:32:28.630Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T15:32:31.391Z] provisioning config files... [2021-06-30T15:32:31.416Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config6708696554474999277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:32:31.800Z] ---> docker-login.sh [2021-06-30T15:32:31.800Z] nexus3.edgexfoundry.org:10001 [2021-06-30T15:32:32.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:32:33.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:32:33.067Z] Configure a credential helper to remove this warning. See [2021-06-30T15:32:33.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:32:33.067Z] [2021-06-30T15:32:33.067Z] Login Succeeded [2021-06-30T15:32:33.067Z] nexus3.edgexfoundry.org:10002 [2021-06-30T15:32:33.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:32:33.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:32:33.615Z] Configure a credential helper to remove this warning. See [2021-06-30T15:32:33.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:32:33.615Z] [2021-06-30T15:32:33.615Z] Login Succeeded [2021-06-30T15:32:33.615Z] nexus3.edgexfoundry.org:10003 [2021-06-30T15:32:33.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:32:34.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:32:34.165Z] Configure a credential helper to remove this warning. See [2021-06-30T15:32:34.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:32:34.165Z] [2021-06-30T15:32:34.165Z] Login Succeeded [2021-06-30T15:32:34.165Z] nexus3.edgexfoundry.org:10004 [2021-06-30T15:32:34.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:32:34.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:32:34.717Z] Configure a credential helper to remove this warning. See [2021-06-30T15:32:34.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:32:34.717Z] [2021-06-30T15:32:34.717Z] Login Succeeded [2021-06-30T15:32:34.717Z] docker.io [2021-06-30T15:32:34.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T15:32:35.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T15:32:35.594Z] Configure a credential helper to remove this warning. See [2021-06-30T15:32:35.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T15:32:35.594Z] [2021-06-30T15:32:35.594Z] Login Succeeded [2021-06-30T15:32:35.594Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T15:32:35.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T15:32:35.917Z] ========================================================= [2021-06-30T15:32:35.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T15:32:35.917Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:32:36.261Z] + 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-06-30T15:32:36.261Z] Sending build context to Docker daemon 116.2kB [2021-06-30T15:32:36.536Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T15:32:36.536Z] Step 2/10 : FROM ${BASE} [2021-06-30T15:32:37.134Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T15:32:37.134Z] 595b0fe564bb: Pulling fs layer [2021-06-30T15:32:37.134Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T15:32:37.134Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T15:32:37.134Z] ba82ee9f976e: Pulling fs layer [2021-06-30T15:32:37.134Z] 506bd15cee9f: Pulling fs layer [2021-06-30T15:32:37.134Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T15:32:37.134Z] 618dc40b7e24: Pulling fs layer [2021-06-30T15:32:37.134Z] 506bd15cee9f: Waiting [2021-06-30T15:32:37.134Z] 618dc40b7e24: Waiting [2021-06-30T15:32:37.134Z] 75a0a4a0db45: Waiting [2021-06-30T15:32:37.134Z] 5b7225fbf94c: Verifying Checksum [2021-06-30T15:32:37.134Z] 5b7225fbf94c: Download complete [2021-06-30T15:32:37.134Z] 3088b5b3c5c0: Verifying Checksum [2021-06-30T15:32:37.134Z] 3088b5b3c5c0: Download complete [2021-06-30T15:32:37.134Z] 506bd15cee9f: Verifying Checksum [2021-06-30T15:32:37.134Z] 506bd15cee9f: Download complete [2021-06-30T15:32:37.134Z] 75a0a4a0db45: Verifying Checksum [2021-06-30T15:32:37.134Z] 75a0a4a0db45: Download complete [2021-06-30T15:32:37.134Z] 595b0fe564bb: Verifying Checksum [2021-06-30T15:32:37.134Z] 595b0fe564bb: Download complete [2021-06-30T15:32:38.127Z] 595b0fe564bb: Pull complete [2021-06-30T15:32:38.408Z] 3088b5b3c5c0: Pull complete [2021-06-30T15:32:39.011Z] 5b7225fbf94c: Pull complete [2021-06-30T15:32:39.287Z] 618dc40b7e24: Verifying Checksum [2021-06-30T15:32:39.287Z] 618dc40b7e24: Download complete [2021-06-30T15:32:40.724Z] ba82ee9f976e: Download complete [2021-06-30T15:32:46.825Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T15:32:46.826Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-30T15:32:46.826Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T15:32:53.156Z] ba82ee9f976e: Pull complete [2021-06-30T15:32:53.156Z] 506bd15cee9f: Pull complete [2021-06-30T15:32:53.156Z] 75a0a4a0db45: Pull complete [2021-06-30T15:32:53.458Z] gofmt -l . [2021-06-30T15:32:53.458Z] [ "`gofmt -l .`" = "" ] [2021-06-30T15:32:53.458Z] ./bin/test-go-mod-tidy.sh [2021-06-30T15:32:53.458Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T15:32:53.468Z] $ docker stop --time=1 d649ce5e2b52e403f596fb1299b541e58ebe2f138d08e3086264523f9930adec [2021-06-30T15:32:55.182Z] $ docker rm -f d649ce5e2b52e403f596fb1299b541e58ebe2f138d08e3086264523f9930adec [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T15:32:55.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T15:32:55.784Z] 618dc40b7e24: Pull complete [2021-06-30T15:32:55.784Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T15:32:55.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T15:32:55.784Z] ---> a36622ca3599 [2021-06-30T15:32:55.784Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T15:32:55.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-30T15:32:56.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T15:32:57.267Z] + ls -al . [2021-06-30T15:32:57.267Z] total 112 [2021-06-30T15:32:57.267Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 15:32 . [2021-06-30T15:32:57.267Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 15:30 .. [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 30 15:31 Attribution.txt [2021-06-30T15:32:57.267Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 15:31 bin [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 30 15:31 CHANGELOG.md [2021-06-30T15:32:57.267Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 15:31 cmd [2021-06-30T15:32:57.267Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 30 15:32 coverage.out [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 30 15:31 Dockerfile [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 30 15:31 Dockerfile.build [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 30 15:31 .dockerignore [2021-06-30T15:32:57.267Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 30 15:31 driver [2021-06-30T15:32:57.267Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 15:31 .git [2021-06-30T15:32:57.267Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 15:31 .github [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 15:31 .gitignore [2021-06-30T15:32:57.267Z] -rw-r--r--. 1 jenkins jenkins 271 Jun 30 15:32 go.mod [2021-06-30T15:32:57.267Z] -rw-r--r--. 1 jenkins jenkins 20570 Jun 30 15:32 go.sum [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 30 15:31 Jenkinsfile [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 15:31 LICENSE [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 30 15:31 Makefile [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 30 15:31 README.md [2021-06-30T15:32:57.267Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 15:31 snap [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 15:28 VERSION [2021-06-30T15:32:57.267Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 30 15:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:32:57.574Z] + 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=2453e380f0d7722d8a0c548d076a603dc1a13dd7 --label arch=amd64 --label version=0.0.0 . [2021-06-30T15:32:57.574Z] Sending build context to Docker daemon 126kB [2021-06-30T15:32:57.574Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T15:32:57.574Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T15:32:57.574Z] ---> 0646b9de9f8a [2021-06-30T15:32:57.574Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T15:32:57.574Z] ---> Running in 73554a8ff4fe [2021-06-30T15:32:57.574Z] Removing intermediate container 73554a8ff4fe [2021-06-30T15:32:57.574Z] ---> b0a545a5863a [2021-06-30T15:32:57.574Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T15:32:57.771Z] ---> Running in f87de45d7462 [2021-06-30T15:32:57.837Z] ---> Running in b38232026cd4 [2021-06-30T15:32:57.837Z] Removing intermediate container b38232026cd4 [2021-06-30T15:32:57.837Z] ---> e298ceebab66 [2021-06-30T15:32:57.837Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T15:32:57.837Z] ---> Running in 0fecf71ef5e0 [2021-06-30T15:32:58.045Z] Removing intermediate container f87de45d7462 [2021-06-30T15:32:58.045Z] ---> bb5fdb9ce931 [2021-06-30T15:32:58.045Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T15:32:58.100Z] Removing intermediate container 0fecf71ef5e0 [2021-06-30T15:32:58.100Z] ---> 7c0e7981972c [2021-06-30T15:32:58.100Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T15:32:58.100Z] ---> Running in a591e4a9148f [2021-06-30T15:32:58.321Z] ---> Running in ceb63b52d0f8 [2021-06-30T15:32:58.677Z] Removing intermediate container a591e4a9148f [2021-06-30T15:32:58.677Z] ---> 1411cfb49633 [2021-06-30T15:32:58.677Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T15:32:58.677Z] ---> Running in 20c944b022d5 [2021-06-30T15:32:58.937Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T15:32:58.961Z] Removing intermediate container ceb63b52d0f8 [2021-06-30T15:32:58.961Z] ---> 9f36385439ef [2021-06-30T15:32:58.961Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T15:32:58.961Z] ---> Running in 7c60273d0824 [2021-06-30T15:32:59.573Z] Removing intermediate container 7c60273d0824 [2021-06-30T15:32:59.573Z] ---> 5a12848266bf [2021-06-30T15:32:59.573Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T15:32:59.573Z] ---> Running in 192b1c30f8bc [2021-06-30T15:33:00.326Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T15:33:00.588Z] OK: 154 MiB in 49 packages [2021-06-30T15:33:00.851Z] Removing intermediate container 20c944b022d5 [2021-06-30T15:33:00.851Z] ---> 226ced597ec8 [2021-06-30T15:33:00.851Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T15:33:01.118Z] ---> Running in ddf7c39b7cdb [2021-06-30T15:33:01.118Z] Removing intermediate container ddf7c39b7cdb [2021-06-30T15:33:01.118Z] ---> 733a5620c3e8 [2021-06-30T15:33:01.118Z] Step 9/25 : COPY . . [2021-06-30T15:33:01.118Z] ---> 8dd4892dbbc4 [2021-06-30T15:33:01.118Z] Step 10/25 : RUN go mod tidy [2021-06-30T15:33:01.381Z] ---> Running in 8597483a4d10 [2021-06-30T15:33:01.955Z] Removing intermediate container 8597483a4d10 [2021-06-30T15:33:01.955Z] ---> ffaa5ac6e622 [2021-06-30T15:33:01.955Z] Step 11/25 : RUN make update [2021-06-30T15:33:01.955Z] ---> Running in 29dac9ca0f90 [2021-06-30T15:33:02.192Z] Removing intermediate container 192b1c30f8bc [2021-06-30T15:33:02.192Z] ---> a9acf59de80a [2021-06-30T15:33:02.192Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T15:33:02.192Z] ---> Running in 72a7e9ac5e66 [2021-06-30T15:33:02.535Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T15:33:02.535Z] Removing intermediate container 29dac9ca0f90 [2021-06-30T15:33:02.535Z] ---> c6b8e1e1e81c [2021-06-30T15:33:02.535Z] Step 12/25 : RUN $MAKE [2021-06-30T15:33:02.535Z] ---> Running in dcb55f2f2a5b [2021-06-30T15:33:02.797Z] go mod tidy [2021-06-30T15:33:03.064Z] 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-06-30T15:33:03.170Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T15:33:04.162Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T15:33:05.138Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T15:33:05.138Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T15:33:05.409Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T15:33:05.409Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T15:33:05.409Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T15:33:05.680Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T15:33:05.680Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T15:33:06.273Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T15:33:06.274Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T15:33:06.274Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T15:33:06.274Z] OK: 144 MiB in 49 packages [2021-06-30T15:33:07.725Z] Removing intermediate container 72a7e9ac5e66 [2021-06-30T15:33:07.725Z] ---> 2aa713908454 [2021-06-30T15:33:07.725Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T15:33:07.725Z] ---> Running in adc6e46946f8 [2021-06-30T15:33:08.326Z] Removing intermediate container adc6e46946f8 [2021-06-30T15:33:08.326Z] ---> cec6b05395d9 [2021-06-30T15:33:08.326Z] Step 9/10 : COPY . . [2021-06-30T15:33:08.927Z] ---> 50661d03d447 [2021-06-30T15:33:08.927Z] Step 10/10 : RUN go mod download [2021-06-30T15:33:09.202Z] ---> Running in 359c1c61fb98 [2021-06-30T15:33:15.447Z] Removing intermediate container dcb55f2f2a5b [2021-06-30T15:33:15.447Z] ---> 16fb22176b44 [2021-06-30T15:33:15.447Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T15:33:15.447Z] 3.12: Pulling from library/alpine [2021-06-30T15:33:15.447Z] 339de151aab4: Pulling fs layer [2021-06-30T15:33:15.447Z] 339de151aab4: Verifying Checksum [2021-06-30T15:33:15.447Z] 339de151aab4: Download complete [2021-06-30T15:33:15.447Z] 339de151aab4: Pull complete [2021-06-30T15:33:15.447Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T15:33:15.447Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T15:33:15.447Z] ---> 13621d1b12d4 [2021-06-30T15:33:15.447Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T15:33:15.447Z] ---> Running in 3319e879494f [2021-06-30T15:33:15.712Z] Removing intermediate container 3319e879494f [2021-06-30T15:33:15.712Z] ---> 3c6ee214097e [2021-06-30T15:33:15.712Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T15:33:15.712Z] ---> Running in d5d934e5a99c [2021-06-30T15:33:15.712Z] Removing intermediate container d5d934e5a99c [2021-06-30T15:33:15.712Z] ---> a14728b4f597 [2021-06-30T15:33:15.712Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T15:33:15.712Z] ---> Running in 4dea0f593cfd [2021-06-30T15:33:16.289Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-30T15:33:16.289Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-30T15:33:16.289Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T15:33:16.289Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T15:33:16.289Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T15:33:16.289Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T15:33:16.289Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T15:33:16.289Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T15:33:16.289Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T15:33:16.289Z] OK: 8 MiB in 20 packages [2021-06-30T15:33:16.865Z] Removing intermediate container 4dea0f593cfd [2021-06-30T15:33:16.865Z] ---> 47c8edff6c75 [2021-06-30T15:33:16.865Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T15:33:17.439Z] ---> 6592f3c21069 [2021-06-30T15:33:17.439Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T15:33:17.439Z] ---> d75127939310 [2021-06-30T15:33:17.439Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T15:33:17.700Z] ---> 9d6499052256 [2021-06-30T15:33:17.700Z] Step 20/25 : EXPOSE 59986 [2021-06-30T15:33:17.700Z] ---> Running in 59cd0b51cd2b [2021-06-30T15:33:17.963Z] Removing intermediate container 59cd0b51cd2b [2021-06-30T15:33:17.963Z] ---> fb83d5b6ad8e [2021-06-30T15:33:17.963Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T15:33:17.963Z] ---> Running in 38b8e6ac12bb [2021-06-30T15:33:18.226Z] Removing intermediate container 38b8e6ac12bb [2021-06-30T15:33:18.226Z] ---> 3decc680eea6 [2021-06-30T15:33:18.226Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T15:33:18.226Z] ---> Running in 0a7796debec1 [2021-06-30T15:33:18.226Z] Removing intermediate container 0a7796debec1 [2021-06-30T15:33:18.226Z] ---> b5945b562457 [2021-06-30T15:33:18.226Z] Step 23/25 : LABEL arch=amd64 [2021-06-30T15:33:18.226Z] ---> Running in c49d36bbf2d6 [2021-06-30T15:33:18.487Z] Removing intermediate container c49d36bbf2d6 [2021-06-30T15:33:18.487Z] ---> 08980ca54113 [2021-06-30T15:33:18.487Z] Step 24/25 : LABEL git_sha=2453e380f0d7722d8a0c548d076a603dc1a13dd7 [2021-06-30T15:33:18.487Z] ---> Running in 01765caca86a [2021-06-30T15:33:18.487Z] Removing intermediate container 01765caca86a [2021-06-30T15:33:18.487Z] ---> 1093a09e2332 [2021-06-30T15:33:18.487Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T15:33:18.487Z] ---> Running in f24329737607 [2021-06-30T15:33:18.749Z] Removing intermediate container f24329737607 [2021-06-30T15:33:18.749Z] ---> 09ff5fcc7f40 [2021-06-30T15:33:18.749Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T15:33:18.749Z] Successfully built 09ff5fcc7f40 [2021-06-30T15:33:18.749Z] 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] libraryResource [Pipeline] sh [2021-06-30T15:33:19.563Z] ---> job-cost.sh [2021-06-30T15:33:19.563Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UKqN [2021-06-30T15:33:29.598Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T15:33:36.061Z] Removing intermediate container 359c1c61fb98 [2021-06-30T15:33:36.061Z] ---> 7c25a55718b9 [2021-06-30T15:33:36.061Z] Successfully built 7c25a55718b9 [2021-06-30T15:33:36.061Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:33:36.408Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T15:33:36.409Z] . [Pipeline] withDockerContainer [2021-06-30T15:33:36.678Z] prd-ubuntu18.04-docker-arm64-4c-16g-879 does not seem to be running inside a container [2021-06-30T15:33:36.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T15:33:38.324Z] $ docker top af4502174eba0f8f1810ed45fb5819b455ba2b0c91006b463e2316cac0f6ffb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T15:33:39.365Z] + go version [2021-06-30T15:33:39.366Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T15:33:39.392Z] $ docker stop --time=1 af4502174eba0f8f1810ed45fb5819b455ba2b0c91006b463e2316cac0f6ffb4 [2021-06-30T15:33:41.238Z] $ docker rm -f af4502174eba0f8f1810ed45fb5819b455ba2b0c91006b463e2316cac0f6ffb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:33:42.001Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T15:33:42.001Z] . [Pipeline] withDockerContainer [2021-06-30T15:33:42.263Z] prd-ubuntu18.04-docker-arm64-4c-16g-879 does not seem to be running inside a container [2021-06-30T15:33:42.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T15:33:43.933Z] $ docker top fb2795868f8cf4d35941e7d0055ced64c0a1455e5bf6090ed5556555ba75b192 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T15:33:44.587Z] lf-activate-venv(): INFO: Adding /tmp/venv-UKqN/bin to PATH [2021-06-30T15:33:44.588Z] INFO: No Stack... [2021-06-30T15:33:44.588Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T15:33:44.847Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T15:33:44.906Z] + go mod tidy [2021-06-30T15:33:45.147Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-06-30T15:33:45.147Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T15:33:45.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] [2021-06-30T15:33:45.197Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] did not exist. Created. [2021-06-30T15:33:45.197Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2021-06-30T15:33:45.535Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T15:33:45.711Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T15:33:45.735Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T15:33:46.179Z] + make test [2021-06-30T15:33:46.179Z] go mod tidy [2021-06-30T15:33:46.452Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T15:33:47.890Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T15:34:44.507Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T15:34:44.507Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-06-30T15:34:44.507Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T15:35:06.726Z] gofmt -l . [2021-06-30T15:35:06.726Z] [ "`gofmt -l .`" = "" ] [2021-06-30T15:35:06.726Z] ./bin/test-go-mod-tidy.sh [2021-06-30T15:35:06.726Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T15:35:07.344Z] $ docker stop --time=1 fb2795868f8cf4d35941e7d0055ced64c0a1455e5bf6090ed5556555ba75b192 [2021-06-30T15:35:09.497Z] $ docker rm -f fb2795868f8cf4d35941e7d0055ced64c0a1455e5bf6090ed5556555ba75b192 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T15:35:10.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T15:35:10.379Z] Warning: overwriting stash ‘coverage-report’ [2021-06-30T15:35:10.881Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T15:35:11.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T15:35:11.725Z] + ls -al . [2021-06-30T15:35:11.725Z] total 140 [2021-06-30T15:35:11.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 15:35 . [2021-06-30T15:35:11.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 15:32 .. [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 30 15:32 .dockerignore [2021-06-30T15:35:11.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 15:32 .git [2021-06-30T15:35:11.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 15:32 .github [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 15:32 .gitignore [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 30 15:32 Attribution.txt [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 30 15:32 CHANGELOG.md [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 30 15:32 Dockerfile [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 30 15:32 Dockerfile.build [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 30 15:32 Jenkinsfile [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 15:32 LICENSE [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 30 15:32 Makefile [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 30 15:32 README.md [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 15:28 VERSION [2021-06-30T15:35:11.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 15:32 bin [2021-06-30T15:35:11.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 15:32 cmd [2021-06-30T15:35:11.725Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 30 15:34 coverage.out [2021-06-30T15:35:11.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 15:32 driver [2021-06-30T15:35:11.725Z] -rw-r--r-- 1 jenkins jenkins 271 Jun 30 15:35 go.mod [2021-06-30T15:35:11.725Z] -rw-r--r-- 1 jenkins jenkins 20570 Jun 30 15:33 go.sum [2021-06-30T15:35:11.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 15:32 snap [2021-06-30T15:35:11.725Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 30 15:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:35:12.077Z] + 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=2453e380f0d7722d8a0c548d076a603dc1a13dd7 --label arch=arm64 --label version=0.0.0 . [2021-06-30T15:35:12.077Z] Sending build context to Docker daemon 126kB [2021-06-30T15:35:12.351Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T15:35:12.351Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T15:35:12.351Z] ---> 7c25a55718b9 [2021-06-30T15:35:12.351Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T15:35:12.625Z] ---> Running in be6700c8b127 [2021-06-30T15:35:13.227Z] Removing intermediate container be6700c8b127 [2021-06-30T15:35:13.227Z] ---> 92c12ec42de3 [2021-06-30T15:35:13.227Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T15:35:13.227Z] ---> Running in 409e258919cb [2021-06-30T15:35:13.824Z] Removing intermediate container 409e258919cb [2021-06-30T15:35:13.824Z] ---> a96ee5fce9a4 [2021-06-30T15:35:13.824Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T15:35:13.824Z] ---> Running in 649dee5a634c [2021-06-30T15:35:14.423Z] Removing intermediate container 649dee5a634c [2021-06-30T15:35:14.423Z] ---> e4ec425bda13 [2021-06-30T15:35:14.423Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T15:35:14.423Z] ---> Running in be87d55ac9fc [2021-06-30T15:35:17.055Z] Removing intermediate container be87d55ac9fc [2021-06-30T15:35:17.055Z] ---> 36fc30c306b4 [2021-06-30T15:35:17.055Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T15:35:17.055Z] ---> Running in 3a0b020fbd85 [2021-06-30T15:35:18.041Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T15:35:18.638Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T15:35:19.622Z] OK: 144 MiB in 49 packages [2021-06-30T15:35:20.668Z] Removing intermediate container 3a0b020fbd85 [2021-06-30T15:35:20.668Z] ---> 2e3cf538f0b1 [2021-06-30T15:35:20.668Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T15:35:20.953Z] ---> Running in 77277f3a29b3 [2021-06-30T15:35:21.571Z] Removing intermediate container 77277f3a29b3 [2021-06-30T15:35:21.571Z] ---> 4a470b9b9dd5 [2021-06-30T15:35:21.571Z] Step 9/25 : COPY . . [2021-06-30T15:35:22.178Z] ---> 5587ebae583c [2021-06-30T15:35:22.178Z] Step 10/25 : RUN go mod tidy [2021-06-30T15:35:22.460Z] ---> Running in b4cfb975e12c [2021-06-30T15:35:25.845Z] Removing intermediate container b4cfb975e12c [2021-06-30T15:35:25.845Z] ---> 82fc5b212c04 [2021-06-30T15:35:25.845Z] Step 11/25 : RUN make update [2021-06-30T15:35:25.845Z] ---> Running in 23c6f756bd39 [2021-06-30T15:35:26.438Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T15:35:27.875Z] Removing intermediate container 23c6f756bd39 [2021-06-30T15:35:27.875Z] ---> 0de22b669bf5 [2021-06-30T15:35:27.875Z] Step 12/25 : RUN $MAKE [2021-06-30T15:35:27.875Z] ---> Running in 0b360d00b033 [2021-06-30T15:35:28.858Z] go mod tidy [2021-06-30T15:35:29.455Z] 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-06-30T15:36:08.510Z] Removing intermediate container 0b360d00b033 [2021-06-30T15:36:08.510Z] ---> 7c59b68be75c [2021-06-30T15:36:08.510Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T15:36:08.510Z] 3.12: Pulling from library/alpine [2021-06-30T15:36:08.510Z] d2f70382dc9a: Pulling fs layer [2021-06-30T15:36:08.510Z] d2f70382dc9a: Verifying Checksum [2021-06-30T15:36:08.510Z] d2f70382dc9a: Download complete [2021-06-30T15:36:08.510Z] d2f70382dc9a: Pull complete [2021-06-30T15:36:08.510Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T15:36:08.510Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T15:36:08.510Z] ---> c4fd0aeabfcf [2021-06-30T15:36:08.510Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T15:36:08.510Z] ---> Running in 6f015adf1e71 [2021-06-30T15:36:08.510Z] Removing intermediate container 6f015adf1e71 [2021-06-30T15:36:08.510Z] ---> 3f38db05d450 [2021-06-30T15:36:08.510Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T15:36:08.510Z] ---> Running in 63b298559707 [2021-06-30T15:36:08.510Z] Removing intermediate container 63b298559707 [2021-06-30T15:36:08.510Z] ---> 8991aa958dc3 [2021-06-30T15:36:08.510Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T15:36:08.510Z] ---> Running in 4641994de218 [2021-06-30T15:36:08.510Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-30T15:36:08.510Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-30T15:36:08.510Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T15:36:08.510Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T15:36:08.510Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T15:36:08.510Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T15:36:08.510Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T15:36:08.510Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T15:36:08.510Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T15:36:08.510Z] OK: 8 MiB in 20 packages [2021-06-30T15:36:09.489Z] Removing intermediate container 4641994de218 [2021-06-30T15:36:09.489Z] ---> 9c2054eafc98 [2021-06-30T15:36:09.489Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T15:36:10.919Z] ---> fbfe54e7f7dc [2021-06-30T15:36:10.919Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T15:36:11.519Z] ---> 58caf8f613fd [2021-06-30T15:36:11.519Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T15:36:12.501Z] ---> ae702b787db8 [2021-06-30T15:36:12.501Z] Step 20/25 : EXPOSE 59986 [2021-06-30T15:36:12.501Z] ---> Running in 8dc58fd00fe6 [2021-06-30T15:36:13.098Z] Removing intermediate container 8dc58fd00fe6 [2021-06-30T15:36:13.098Z] ---> fc00bd281e39 [2021-06-30T15:36:13.098Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T15:36:13.098Z] ---> Running in 7f0f802bc222 [2021-06-30T15:36:13.695Z] Removing intermediate container 7f0f802bc222 [2021-06-30T15:36:13.695Z] ---> 45eb2bf85272 [2021-06-30T15:36:13.695Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T15:36:13.695Z] ---> Running in 1131541af687 [2021-06-30T15:36:14.292Z] Removing intermediate container 1131541af687 [2021-06-30T15:36:14.292Z] ---> 43afe36dd11d [2021-06-30T15:36:14.292Z] Step 23/25 : LABEL arch=arm64 [2021-06-30T15:36:14.292Z] ---> Running in cdfc1e7bca4c [2021-06-30T15:36:14.891Z] Removing intermediate container cdfc1e7bca4c [2021-06-30T15:36:14.891Z] ---> cadca22b3ba2 [2021-06-30T15:36:14.891Z] Step 24/25 : LABEL git_sha=2453e380f0d7722d8a0c548d076a603dc1a13dd7 [2021-06-30T15:36:14.891Z] ---> Running in a18190eb87c4 [2021-06-30T15:36:15.500Z] Removing intermediate container a18190eb87c4 [2021-06-30T15:36:15.500Z] ---> 021f24cbd220 [2021-06-30T15:36:15.500Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T15:36:15.500Z] ---> Running in 31af322c5014 [2021-06-30T15:36:16.096Z] Removing intermediate container 31af322c5014 [2021-06-30T15:36:16.096Z] ---> a81fb8a27652 [2021-06-30T15:36:16.096Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T15:36:16.096Z] Successfully built a81fb8a27652 [2021-06-30T15:36:16.096Z] 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] libraryResource [Pipeline] sh [2021-06-30T15:36:16.669Z] ---> job-cost.sh [2021-06-30T15:36:16.669Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-M4v7 [2021-06-30T15:36:55.670Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T15:38:32.447Z] lf-activate-venv(): INFO: Adding /tmp/venv-M4v7/bin to PATH [2021-06-30T15:38:32.447Z] INFO: No Stack... [2021-06-30T15:38:32.447Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T15:38:32.447Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T15:38:32.793Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-06-30T15:38:32.793Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T15:38:32.858Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] [2021-06-30T15:38:32.870Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] did not exist. Created. [2021-06-30T15:38:32.870Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T15:38:33.240Z] /w/workspace/device-rest-go/4@tmp/durable-02894b3b/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-02894b3b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T15:38:33.584Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T15:38:33.606Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T15:38:33.752Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T15:38:33.767Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-4-stack-cost] [Pipeline] // lock [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-06-30T15:38:34.334Z] provisioning config files... [2021-06-30T15:38:34.342Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config1200472033250272688tmp [Pipeline] { [Pipeline] sh [2021-06-30T15:38:34.689Z] + set +x [2021-06-30T15:38:34.689Z] + curl -s https://codecov.io/bash [2021-06-30T15:38:34.689Z] + bash -s -- [2021-06-30T15:38:34.689Z] [2021-06-30T15:38:34.689Z] _____ _ [2021-06-30T15:38:34.689Z] / ____| | | [2021-06-30T15:38:34.689Z] | | ___ __| | ___ ___ _____ __ [2021-06-30T15:38:34.689Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-30T15:38:34.689Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-30T15:38:34.689Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-30T15:38:34.689Z] Bash-1.0.3 [2021-06-30T15:38:34.689Z] [2021-06-30T15:38:34.689Z] [2021-06-30T15:38:34.689Z] ==> git version 2.24.4 found [2021-06-30T15:38:34.689Z] ==> 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-06-30T15:38:34.689Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-30T15:38:34.689Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-30T15:38:34.689Z] ==> Jenkins CI detected. [2021-06-30T15:38:34.689Z] project root: . [2021-06-30T15:38:34.689Z] --> token set from env [2021-06-30T15:38:34.689Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-30T15:38:34.689Z] ==> Running gcov in . (disable via -X gcov) [2021-06-30T15:38:34.689Z] ==> Python coveragepy not found [2021-06-30T15:38:34.689Z] ==> Searching for coverage reports in: [2021-06-30T15:38:34.689Z] + . [2021-06-30T15:38:34.689Z] -> Found 1 reports [2021-06-30T15:38:34.689Z] ==> Detecting git/mercurial file structure [2021-06-30T15:38:34.689Z] ==> Reading reports [2021-06-30T15:38:34.689Z] + ./coverage.out bytes=8513 [2021-06-30T15:38:34.956Z] ==> Appending adjustments [2021-06-30T15:38:34.956Z] https://docs.codecov.io/docs/fixing-reports [2021-06-30T15:38:34.956Z] + Found adjustments [2021-06-30T15:38:34.956Z] ==> Gzipping contents [2021-06-30T15:38:34.956Z] 4.0K /tmp/codecov.dZqkVv.gz [2021-06-30T15:38:34.956Z] ==> Uploading reports [2021-06-30T15:38:34.956Z] url: https://codecov.io [2021-06-30T15:38:34.956Z] query: branch=PR-127&commit=2453e380f0d7722d8a0c548d076a603dc1a13dd7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T15:38:34.956Z] -> Pinging Codecov [2021-06-30T15:38:34.956Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-127&commit=2453e380f0d7722d8a0c548d076a603dc1a13dd7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T15:38:35.532Z] -> Uploading to [2021-06-30T15:38:35.532Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-30/4E5D53B4F1F92C436F7061BF334D961C/2453e380f0d7722d8a0c548d076a603dc1a13dd7/6f53de53-61b1-41b7-8df0-e1771e4a08e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T153835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=640f1d619312f21721f3c5897566cd3cc6a48d7a96a4c9aa037c84d5f28c55b2 [2021-06-30T15:38:35.532Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-30T15:38:35.532Z] Dload Upload Total Spent Left Speed [2021-06-30T15:38:35.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1801 0 0 100 1801 0 5619 --:--:-- --:--:-- --:--:-- 5610 [2021-06-30T15:38:35.794Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2453e380f0d7722d8a0c548d076a603dc1a13dd7 [Pipeline] } [2021-06-30T15:38:35.803Z] 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] libraryResource [Pipeline] sh [2021-06-30T15:38:37.666Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:38:38.247Z] ---> package-listing.sh [2021-06-30T15:38:38.247Z] ++ facter osfamily [2021-06-30T15:38:38.247Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T15:38:38.515Z] + OS_FAMILY=redhat [2021-06-30T15:38:38.515Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T15:38:38.515Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T15:38:38.515Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T15:38:38.515Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T15:38:38.515Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T15:38:38.515Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T15:38:38.515Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T15:38:38.515Z] + case "${OS_FAMILY}" in [2021-06-30T15:38:38.515Z] + sort [2021-06-30T15:38:38.515Z] + rpm -qa [2021-06-30T15:38:39.087Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T15:38:39.087Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T15:38:39.087Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T15:38:39.087Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T15:38:39.087Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [2021-06-30T15:38:39.087Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [Pipeline] echo [2021-06-30T15:38:39.101Z] 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-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-30T15:38:39.388Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:38:39.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T15:38:39.959Z] [2021-06-30T15:38:39.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T15:38:40.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T15:38:40.538Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T15:38:40.538Z] df20fa9351a1: Pulling fs layer [2021-06-30T15:38:40.538Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T15:38:40.538Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T15:38:40.538Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T15:38:40.538Z] 93b61091891f: Pulling fs layer [2021-06-30T15:38:40.538Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T15:38:40.538Z] 5e14af77c1be: Pulling fs layer [2021-06-30T15:38:40.538Z] 01666e4c0597: Pulling fs layer [2021-06-30T15:38:40.538Z] aa168da1d23b: Pulling fs layer [2021-06-30T15:38:40.538Z] 93b9cdb0e59b: Waiting [2021-06-30T15:38:40.538Z] 5e14af77c1be: Waiting [2021-06-30T15:38:40.538Z] 01666e4c0597: Waiting [2021-06-30T15:38:40.538Z] aa168da1d23b: Waiting [2021-06-30T15:38:40.538Z] 46f8f816bc3b: Waiting [2021-06-30T15:38:40.538Z] 93b61091891f: Waiting [2021-06-30T15:38:40.538Z] 36b3adc4ff6f: Verifying Checksum [2021-06-30T15:38:40.538Z] 36b3adc4ff6f: Download complete [2021-06-30T15:38:40.538Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T15:38:40.538Z] 46f8f816bc3b: Download complete [2021-06-30T15:38:40.799Z] df20fa9351a1: Verifying Checksum [2021-06-30T15:38:40.800Z] df20fa9351a1: Download complete [2021-06-30T15:38:40.800Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T15:38:40.800Z] 93b9cdb0e59b: Download complete [2021-06-30T15:38:40.800Z] 5e14af77c1be: Verifying Checksum [2021-06-30T15:38:40.800Z] 5e14af77c1be: Download complete [2021-06-30T15:38:40.800Z] 93b61091891f: Verifying Checksum [2021-06-30T15:38:40.800Z] 93b61091891f: Download complete [2021-06-30T15:38:40.800Z] 01666e4c0597: Verifying Checksum [2021-06-30T15:38:40.800Z] 01666e4c0597: Download complete [2021-06-30T15:38:41.059Z] df20fa9351a1: Pull complete [2021-06-30T15:38:41.059Z] 36b3adc4ff6f: Pull complete [2021-06-30T15:38:41.325Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T15:38:41.325Z] 8ad3a11d3b57: Download complete [2021-06-30T15:38:41.904Z] 8ad3a11d3b57: Pull complete [2021-06-30T15:38:42.167Z] 46f8f816bc3b: Pull complete [2021-06-30T15:38:42.745Z] 93b61091891f: Pull complete [2021-06-30T15:38:42.745Z] 93b9cdb0e59b: Pull complete [2021-06-30T15:38:43.012Z] 5e14af77c1be: Pull complete [2021-06-30T15:38:43.273Z] 01666e4c0597: Pull complete [2021-06-30T15:38:43.536Z] aa168da1d23b: Verifying Checksum [2021-06-30T15:38:43.537Z] aa168da1d23b: Download complete [2021-06-30T15:38:48.872Z] aa168da1d23b: Pull complete [2021-06-30T15:38:48.872Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T15:38:48.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T15:38:48.872Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T15:38:48.947Z] prd-centos7-docker-4c-2g-874 does not seem to be running inside a container [2021-06-30T15:38:48.985Z] $ 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-127/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-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-30T15:39:04.633Z] $ docker top c8bd8433dc245fbfe1abd523fcf2ed1addd72c30b2da9e98ced1abe60ffb3d2c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T15:39:05.026Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T15:39:05.329Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T15:39:05.639Z] + ls /var/log/sa-host [2021-06-30T15:39:05.639Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T15:39:05.639Z] file_magic: OK [2021-06-30T15:39:05.639Z] HZ: Using current value: 100 [2021-06-30T15:39:05.639Z] file_header: OK [2021-06-30T15:39:05.639Z] 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-06-30T15:39:05.639Z] Statistics: [2021-06-30T15:39:05.639Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T15:39:05.639Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T15:39:05.639Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T15:39:05.639Z] file_magic: OK [2021-06-30T15:39:05.639Z] HZ: Using current value: 100 [2021-06-30T15:39:05.639Z] file_header: OK [2021-06-30T15:39:05.639Z] 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-06-30T15:39:05.639Z] Statistics: [2021-06-30T15:39:05.639Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T15:39:05.639Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T15:39:05.878Z] provisioning config files... [2021-06-30T15:39:05.890Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config7934519751170411001tmp [Pipeline] { [Pipeline] echo [2021-06-30T15:39:05.914Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:39:06.218Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T15:39:06.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:39:06.617Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T15:39:06.630Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:39:06.938Z] ---> sudo-logs.sh [2021-06-30T15:39:06.938Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T15:39:06.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:39:07.278Z] ---> job-cost.sh [2021-06-30T15:39:07.278Z] lf-activate-venv: SKIPPING [2021-06-30T15:39:07.278Z] DEBUG: total: 0.18000000715255737 [2021-06-30T15:39:07.278Z] INFO: Retrieving Stack Cost... [2021-06-30T15:39:07.851Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T15:39:08.428Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T15:39:08.443Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T15:39:08.740Z] ---> logs-deploy.sh [2021-06-30T15:39:08.740Z] lf-activate-venv: SKIPPING [2021-06-30T15:39:08.740Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-127/4 [2021-06-30T15:39:08.740Z] INFO: archiving workspace using pattern(s): [2021-06-30T15:39:09.697Z] Archives upload complete. [2021-06-30T15:39:09.697Z] INFO: archiving logs to Nexus [2021-06-30T15:39:10.282Z] ---> uname -a: [2021-06-30T15:39:10.282Z] Linux prd-centos7-docker-4c-2g-874.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] ---> lscpu: [2021-06-30T15:39:10.282Z] Architecture: x86_64 [2021-06-30T15:39:10.282Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-30T15:39:10.282Z] Byte Order: Little Endian [2021-06-30T15:39:10.282Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-30T15:39:10.282Z] CPU(s): 2 [2021-06-30T15:39:10.282Z] On-line CPU(s) list: 0,1 [2021-06-30T15:39:10.282Z] Thread(s) per core: 1 [2021-06-30T15:39:10.282Z] Core(s) per socket: 1 [2021-06-30T15:39:10.282Z] Socket(s): 2 [2021-06-30T15:39:10.282Z] NUMA node(s): 1 [2021-06-30T15:39:10.282Z] Vendor ID: AuthenticAMD [2021-06-30T15:39:10.282Z] CPU family: 23 [2021-06-30T15:39:10.282Z] Model: 49 [2021-06-30T15:39:10.282Z] Model name: AMD EPYC-Rome Processor [2021-06-30T15:39:10.282Z] Stepping: 0 [2021-06-30T15:39:10.282Z] CPU MHz: 2800.000 [2021-06-30T15:39:10.282Z] BogoMIPS: 5600.00 [2021-06-30T15:39:10.282Z] Virtualization: AMD-V [2021-06-30T15:39:10.282Z] Hypervisor vendor: KVM [2021-06-30T15:39:10.282Z] Virtualization type: full [2021-06-30T15:39:10.282Z] L1d cache: 64 KiB [2021-06-30T15:39:10.282Z] L1i cache: 64 KiB [2021-06-30T15:39:10.282Z] L2 cache: 1 MiB [2021-06-30T15:39:10.282Z] L3 cache: 32 MiB [2021-06-30T15:39:10.282Z] NUMA node0 CPU(s): 0,1 [2021-06-30T15:39:10.282Z] Vulnerability Itlb multihit: Not affected [2021-06-30T15:39:10.282Z] Vulnerability L1tf: Not affected [2021-06-30T15:39:10.282Z] Vulnerability Mds: Not affected [2021-06-30T15:39:10.282Z] Vulnerability Meltdown: Not affected [2021-06-30T15:39:10.282Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-30T15:39:10.282Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-30T15:39:10.282Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-30T15:39:10.282Z] Vulnerability Srbds: Not affected [2021-06-30T15:39:10.282Z] Vulnerability Tsx async abort: Not affected [2021-06-30T15:39:10.282Z] 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] ---> nproc: [2021-06-30T15:39:10.282Z] 2 [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] ---> df -h: [2021-06-30T15:39:10.282Z] Filesystem Size Used Available Use% Mounted on [2021-06-30T15:39:10.282Z] overlay 40.0G 7.6G 32.4G 19% / [2021-06-30T15:39:10.282Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-06-30T15:39:10.282Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-06-30T15:39:10.282Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-127@tmp [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-06-30T15:39:10.282Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] ---> free -m: [2021-06-30T15:39:10.282Z] total used free shared buff/cache available [2021-06-30T15:39:10.282Z] Mem: 7821 980 4732 0 2108 6663 [2021-06-30T15:39:10.282Z] Swap: 1023 0 1023 [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] ---> ip addr: [2021-06-30T15:39:10.282Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-06-30T15:39:10.282Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-06-30T15:39:10.282Z] inet 127.0.0.1/8 scope host lo [2021-06-30T15:39:10.282Z] valid_lft forever preferred_lft forever [2021-06-30T15:39:10.282Z] inet6 ::1/128 scope host [2021-06-30T15:39:10.282Z] valid_lft forever preferred_lft forever [2021-06-30T15:39:10.282Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-06-30T15:39:10.282Z] link/ether fa:16:3e:d3:7a:da brd ff:ff:ff:ff:ff:ff [2021-06-30T15:39:10.282Z] inet 10.30.122.101/23 brd 10.30.123.255 scope global dynamic eth0 [2021-06-30T15:39:10.282Z] valid_lft 85704sec preferred_lft 85704sec [2021-06-30T15:39:10.282Z] inet6 fe80::f816:3eff:fed3:7ada/64 scope link [2021-06-30T15:39:10.282Z] valid_lft forever preferred_lft forever [2021-06-30T15:39:10.282Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-06-30T15:39:10.282Z] link/ether 02:42:6f:a5:60:96 brd ff:ff:ff:ff:ff:ff [2021-06-30T15:39:10.282Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-06-30T15:39:10.282Z] valid_lft forever preferred_lft forever [2021-06-30T15:39:10.282Z] inet6 fe80::42:6fff:fea5:6096/64 scope link [2021-06-30T15:39:10.282Z] valid_lft forever preferred_lft forever [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] ---> sar -b -r -n DEV: [2021-06-30T15:39:10.282Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] 15:27:23 LINUX RESTART (2 CPU) [2021-06-30T15:39:10.282Z] [2021-06-30T15:39:10.282Z] 15:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-06-30T15:39:10.282Z] 15:29:01 73.80 3.56 70.24 0.00 2605.06 3871.59 0.00 [2021-06-30T15:39:10.282Z] 15:30:01 0.37 0.00 0.37 0.00 0.00 6.60 0.00 [2021-06-30T15:39:10.282Z] 15:31:01 0.22 0.00 0.22 0.00 0.00 3.10 0.00 [2021-06-30T15:39:10.282Z] 15:32:01 0.27 0.00 0.27 0.00 0.00 3.63 0.00 [2021-06-30T15:39:10.282Z] 15:33:01 0.22 0.00 0.22 0.00 0.00 3.17 0.00 [2021-06-30T15:39:10.282Z] 15:34:01 0.27 0.00 0.27 0.00 0.00 3.10 0.00 [2021-06-30T15:39:10.282Z] 15:35:01 0.23 0.00 0.23 0.00 0.00 3.86 0.00 [2021-06-30T15:39:10.282Z] 15:36:01 0.22 0.00 0.22 0.00 0.00 3.25 0.00 [2021-06-30T15:39:10.282Z] 15:37:01 0.28 0.00 0.28 0.00 0.00 3.86 0.00 [2021-06-30T15:39:10.282Z] 15:38:01 0.18 0.00 0.18 0.00 0.00 2.83 0.00 [2021-06-30T15:39:10.282Z] 15:39:01 40.11 0.13 39.97 0.00 13.72 12668.37 0.00 [2021-06-30T15:39:10.282Z] Average: 10.56 0.34 10.22 0.00 238.10 1506.83 0.00 [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] 15:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-06-30T15:39:10.283Z] 15:29:01 5447340 0 807284 10.08 2620 1751696 1283760 14.17 585676 1576324 20 [2021-06-30T15:39:10.283Z] 15:30:01 5456648 0 797968 9.96 2620 1751704 1202844 13.28 577996 1576288 20 [2021-06-30T15:39:10.283Z] 15:31:01 5456684 0 797932 9.96 2620 1751704 1202880 13.28 575328 1579048 8 [2021-06-30T15:39:10.283Z] 15:32:01 5455340 0 799272 9.98 2620 1751708 1202904 13.28 576604 1579048 8 [2021-06-30T15:39:10.283Z] 15:33:01 5452512 0 802092 10.01 2620 1751716 1202928 13.28 575112 1583424 16 [2021-06-30T15:39:10.283Z] 15:34:01 5453164 0 801440 10.01 2620 1751716 1202700 13.28 574820 1583424 12 [2021-06-30T15:39:10.283Z] 15:35:01 5451488 0 803108 10.03 2620 1751724 1195720 13.20 576404 1583424 16 [2021-06-30T15:39:10.283Z] 15:36:01 5443720 0 810868 10.12 2620 1751732 1195720 13.20 584640 1583424 8 [2021-06-30T15:39:10.283Z] 15:37:01 5442216 0 812368 10.14 2620 1751736 1195904 13.20 585856 1583424 16 [2021-06-30T15:39:10.283Z] 15:38:01 5444364 0 810216 10.12 2620 1751740 1195676 13.20 585928 1581952 20 [2021-06-30T15:39:10.283Z] 15:39:01 4884656 0 965384 12.05 2620 2156280 1373912 15.17 793104 1844388 27240 [2021-06-30T15:39:10.283Z] Average: 5398921 0 818903 10.22 2620 1788496 1223177 13.50 599224 1604924 2489 [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] 15:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-06-30T15:39:10.283Z] 15:29:01 eth0 192.26 161.96 561.52 31.90 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:29:01 docker0 60.93 49.00 4.58 134.99 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:30:01 eth0 1.87 0.38 0.47 0.22 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:31:01 eth0 2.53 0.60 0.72 0.37 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:32:01 eth0 1.12 0.28 0.33 0.20 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:33:01 eth0 0.67 0.42 0.35 0.30 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:34:01 eth0 0.48 0.15 0.09 0.01 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:35:01 eth0 1.57 0.37 0.37 0.20 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:36:01 eth0 1.23 0.30 0.35 0.20 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:37:01 eth0 0.98 0.65 0.54 0.40 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:38:01 eth0 1.15 0.18 0.16 0.07 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:39:01 eth0 233.63 211.93 2176.53 21.32 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] 15:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] Average: eth0 39.77 34.30 249.25 5.02 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] Average: docker0 5.54 4.46 0.42 12.27 0.00 0.00 0.00 0.00 [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] ---> sar -P ALL: [2021-06-30T15:39:10.283Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] 15:27:23 LINUX RESTART (2 CPU) [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] 15:28:01 CPU %user %nice %system %iowait %steal %idle [2021-06-30T15:39:10.283Z] 15:29:01 all 4.42 0.00 2.12 2.39 0.05 91.02 [2021-06-30T15:39:10.283Z] 15:29:01 0 4.94 0.00 2.28 2.89 0.05 89.84 [2021-06-30T15:39:10.283Z] 15:29:01 1 3.90 0.00 1.97 1.90 0.05 92.19 [2021-06-30T15:39:10.283Z] 15:30:01 all 0.19 0.00 0.05 0.00 0.02 99.74 [2021-06-30T15:39:10.283Z] 15:30:01 0 0.23 0.00 0.05 0.00 0.02 99.70 [2021-06-30T15:39:10.283Z] 15:30:01 1 0.15 0.00 0.05 0.00 0.02 99.78 [2021-06-30T15:39:10.283Z] 15:31:01 all 0.15 0.00 0.02 0.00 0.02 99.82 [2021-06-30T15:39:10.283Z] 15:31:01 0 0.07 0.00 0.02 0.00 0.03 99.88 [2021-06-30T15:39:10.283Z] 15:31:01 1 0.23 0.00 0.02 0.00 0.00 99.75 [2021-06-30T15:39:10.283Z] 15:32:01 all 0.16 0.00 0.03 0.01 0.01 99.80 [2021-06-30T15:39:10.283Z] 15:32:01 0 0.02 0.00 0.02 0.02 0.00 99.95 [2021-06-30T15:39:10.283Z] 15:32:01 1 0.30 0.00 0.03 0.00 0.02 99.65 [2021-06-30T15:39:10.283Z] 15:33:01 all 0.15 0.00 0.03 0.00 0.03 99.78 [2021-06-30T15:39:10.283Z] 15:33:01 0 0.23 0.00 0.03 0.00 0.03 99.70 [2021-06-30T15:39:10.283Z] 15:33:01 1 0.07 0.00 0.03 0.00 0.03 99.87 [2021-06-30T15:39:10.283Z] 15:34:01 all 0.12 0.00 0.02 0.00 0.02 99.85 [2021-06-30T15:39:10.283Z] 15:34:01 0 0.18 0.00 0.02 0.00 0.00 99.80 [2021-06-30T15:39:10.283Z] 15:34:01 1 0.05 0.00 0.02 0.00 0.03 99.90 [2021-06-30T15:39:10.283Z] 15:35:01 all 0.15 0.00 0.03 0.00 0.02 99.81 [2021-06-30T15:39:10.283Z] 15:35:01 0 0.22 0.00 0.02 0.00 0.02 99.75 [2021-06-30T15:39:10.283Z] 15:35:01 1 0.08 0.00 0.03 0.00 0.02 99.87 [2021-06-30T15:39:10.283Z] 15:36:01 all 0.10 0.00 0.03 0.00 0.03 99.85 [2021-06-30T15:39:10.283Z] 15:36:01 0 0.02 0.00 0.00 0.00 0.00 99.98 [2021-06-30T15:39:10.283Z] 15:36:01 1 0.18 0.00 0.05 0.00 0.05 99.72 [2021-06-30T15:39:10.283Z] 15:37:01 all 0.13 0.00 0.05 0.00 0.02 99.81 [2021-06-30T15:39:10.283Z] 15:37:01 0 0.07 0.00 0.03 0.00 0.02 99.88 [2021-06-30T15:39:10.283Z] 15:37:01 1 0.18 0.00 0.07 0.00 0.02 99.73 [2021-06-30T15:39:10.283Z] 15:38:01 all 0.08 0.00 0.01 0.00 0.02 99.90 [2021-06-30T15:39:10.283Z] 15:38:01 0 0.03 0.00 0.00 0.00 0.02 99.95 [2021-06-30T15:39:10.283Z] 15:38:01 1 0.12 0.00 0.02 0.00 0.02 99.85 [2021-06-30T15:39:10.283Z] 15:39:01 all 6.41 0.00 2.49 5.60 0.03 85.47 [2021-06-30T15:39:10.283Z] 15:39:01 0 5.89 0.00 2.51 5.17 0.03 86.40 [2021-06-30T15:39:10.283Z] 15:39:01 1 6.94 0.00 2.46 6.03 0.03 84.54 [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] Average: CPU %user %nice %system %iowait %steal %idle [2021-06-30T15:39:10.283Z] Average: all 1.08 0.00 0.44 0.72 0.02 97.74 [2021-06-30T15:39:10.283Z] Average: 0 1.07 0.00 0.45 0.72 0.02 97.74 [2021-06-30T15:39:10.283Z] Average: 1 1.10 0.00 0.43 0.71 0.03 97.74 [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z] [2021-06-30T15:39:10.283Z]