Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c3b2fef99a74ce7813b49848a75e829beb75cd22+405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (7d9b2e8e8af0d4957248c1abf9ed2e0000129ac2) 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-ssh7040374704228905376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh6528798008916006613.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 9d0281235b943b7ad605f650702698f9078b2862 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-104/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-104/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3891205004984874377.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh837718238633644642.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-104/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-104/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5914886771206304331.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-builder-2c-1g-955’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-309’ is offline ‘prd-centos7-docker-4c-2g-950’ is offline ‘prd-centos7-docker-4c-2g-956’ is offline ‘prd-ubuntu18.04-docker-8c-8g-954’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-953’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-957 in /w/workspace/gexfoundry_device-rest-go_PR-104 [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-104 # 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-104@tmp/jenkins-gitclient-ssh6229106178849074293.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-104@tmp/jenkins-gitclient-ssh7245629599192613793.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 Merge succeeded, producing 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae Checking out Revision 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae (PR-104) > git config core.sparsecheckout # timeout=10 > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # 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-104@tmp/jenkins-gitclient-ssh2905556785851085196.key > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae # timeout=10 Commit message: "Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD" > git rev-list --no-walk c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-28T23:08:29.353Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-28T23:08:29.448Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-28T23:08:29.481Z] ========================================================= [2021-05-28T23:08:29.481Z] EdgeX Global Pipelines Version Info [2021-05-28T23:08:29.481Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:08:30.918Z] ------------------- [2021-05-28T23:08:30.918Z] stable info: [2021-05-28T23:08:30.918Z] ------------------- [2021-05-28T23:08:30.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-28T23:08:30.918Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-28T23:08:30.918Z] Message: update stable to v1.0.192 [2021-05-28T23:08:31.881Z] ------------------- [2021-05-28T23:08:31.881Z] experimental info: [2021-05-28T23:08:31.881Z] ------------------- [2021-05-28T23:08:31.881Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-28T23:08:31.881Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-28T23:08:31.881Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-28T23:08:32.002Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-28T23:08:32.024Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-28T23:08:32.046Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-28T23:08:32.071Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-28T23:08:32.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-28T23:08:32.118Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-28T23:08:32.142Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-28T23:08:32.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-28T23:08:32.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-28T23:08:32.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-28T23:08:32.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-28T23:08:32.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-28T23:08:32.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-28T23:08:32.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-28T23:08:32.343Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-28T23:08:32.366Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-28T23:08:32.391Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-28T23:08:32.414Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-28T23:08:32.438Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-28T23:08:32.462Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-28T23:08:32.486Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-28T23:08:32.537Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-28T23:08:32.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-28T23:08:32.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-28T23:08:32.609Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-28T23:08:32.633Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-28T23:08:32.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-104 [Pipeline] echo [2021-05-28T23:08:32.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-104 [Pipeline] echo [2021-05-28T23:08:32.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-104 [Pipeline] echo [2021-05-28T23:08:32.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae [Pipeline] echo [2021-05-28T23:08:32.755Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cec107 [Pipeline] echo [2021-05-28T23:08:32.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T23:08:32.855Z] provisioning config files... [2021-05-28T23:08:32.875Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config2376806340989084308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:08:33.215Z] ---> docker-login.sh [2021-05-28T23:08:33.215Z] nexus3.edgexfoundry.org:10001 [2021-05-28T23:08:33.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:08:33.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:08:33.480Z] Configure a credential helper to remove this warning. See [2021-05-28T23:08:33.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:08:33.480Z] [2021-05-28T23:08:33.480Z] Login Succeeded [2021-05-28T23:08:33.480Z] nexus3.edgexfoundry.org:10002 [2021-05-28T23:08:33.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:08:33.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:08:33.480Z] Configure a credential helper to remove this warning. See [2021-05-28T23:08:33.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:08:33.480Z] [2021-05-28T23:08:33.480Z] Login Succeeded [2021-05-28T23:08:33.480Z] nexus3.edgexfoundry.org:10003 [2021-05-28T23:08:33.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:08:33.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:08:33.741Z] Configure a credential helper to remove this warning. See [2021-05-28T23:08:33.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:08:33.741Z] [2021-05-28T23:08:33.741Z] Login Succeeded [2021-05-28T23:08:33.741Z] nexus3.edgexfoundry.org:10004 [2021-05-28T23:08:33.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:08:33.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:08:33.741Z] Configure a credential helper to remove this warning. See [2021-05-28T23:08:33.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:08:33.741Z] [2021-05-28T23:08:33.741Z] Login Succeeded [2021-05-28T23:08:33.741Z] docker.io [2021-05-28T23:08:33.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:08:34.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:08:34.315Z] Configure a credential helper to remove this warning. See [2021-05-28T23:08:34.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:08:34.315Z] [2021-05-28T23:08:34.315Z] Login Succeeded [2021-05-28T23:08:34.315Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T23:08:34.324Z] 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-05-28T23:08:34.762Z] + git log --format=format:%s -1 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae [Pipeline] echo [2021-05-28T23:08:34.800Z] GIT_COMMIT: 2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae, Commit Message: Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD [Pipeline] echo [2021-05-28T23:08:34.814Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:08:35.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T23:08:35.376Z] [2021-05-28T23:08:35.376Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:08:35.691Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T23:08:35.691Z] latest: Pulling from edgex-devops/git-semver [2021-05-28T23:08:35.691Z] 31603596830f: Pulling fs layer [2021-05-28T23:08:35.691Z] 54011a49482f: Pulling fs layer [2021-05-28T23:08:35.691Z] a6820b24f6d8: Pulling fs layer [2021-05-28T23:08:35.691Z] f581987b2513: Pulling fs layer [2021-05-28T23:08:35.691Z] f581987b2513: Waiting [2021-05-28T23:08:35.691Z] 54011a49482f: Verifying Checksum [2021-05-28T23:08:35.691Z] 54011a49482f: Download complete [2021-05-28T23:08:35.956Z] 31603596830f: Verifying Checksum [2021-05-28T23:08:35.956Z] 31603596830f: Download complete [2021-05-28T23:08:35.956Z] a6820b24f6d8: Verifying Checksum [2021-05-28T23:08:35.956Z] a6820b24f6d8: Download complete [2021-05-28T23:08:35.956Z] f581987b2513: Verifying Checksum [2021-05-28T23:08:35.956Z] f581987b2513: Download complete [2021-05-28T23:08:36.226Z] 31603596830f: Pull complete [2021-05-28T23:08:36.226Z] 54011a49482f: Pull complete [2021-05-28T23:08:36.824Z] a6820b24f6d8: Pull complete [2021-05-28T23:08:37.097Z] f581987b2513: Pull complete [2021-05-28T23:08:37.097Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-28T23:08:37.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T23:08:37.097Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-28T23:08:37.174Z] prd-centos7-docker-4c-2g-957 does not seem to be running inside a container [2021-05-28T23:08:37.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-28T23:08:38.139Z] $ docker top 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-28T23:08:38.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-28T23:08:38.259Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-28T23:08:38.361Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-28T23:08:38.359Z] $ docker exec 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent [2021-05-28T23:08:38.470Z] SSH_AUTH_SOCK=/tmp/ssh-P1IiW8bALnha/agent.13 [2021-05-28T23:08:38.470Z] SSH_AGENT_PID=19 [2021-05-28T23:08:38.478Z] Running ssh-add (command line suppressed) [2021-05-28T23:08:38.567Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_2159160330719894703.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_2159160330719894703.key) [2021-05-28T23:08:38.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-28T23:08:38.887Z] + git tag --points-at HEAD [Pipeline] } [2021-05-28T23:08:38.897Z] $ docker exec --env ******** --env ******** 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent -k [2021-05-28T23:08:38.983Z] unset SSH_AUTH_SOCK; [2021-05-28T23:08:38.983Z] unset SSH_AGENT_PID; [2021-05-28T23:08:38.983Z] echo Agent pid 19 killed; [2021-05-28T23:08:39.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-28T23:08:39.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-28T23:08:39.039Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-28T23:08:39.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-28T23:08:39.145Z] $ docker exec 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent [2021-05-28T23:08:39.255Z] SSH_AUTH_SOCK=/tmp/ssh-Ljemm5OvMWlc/agent.52 [2021-05-28T23:08:39.255Z] SSH_AGENT_PID=58 [2021-05-28T23:08:39.259Z] Running ssh-add (command line suppressed) [2021-05-28T23:08:39.349Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_3873974785373098216.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_3873974785373098216.key) [2021-05-28T23:08:39.367Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-28T23:08:39.670Z] + git semver init [2021-05-28T23:08:39.670Z] # -> Open(): unable to determine branch for HEAD [2021-05-28T23:08:39.670Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.git [2021-05-28T23:08:39.670Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-104 [2021-05-28T23:08:39.670Z] # $SEMVER_REMOTE_NAME = origin [2021-05-28T23:08:39.670Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-28T23:08:39.670Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-28T23:08:39.670Z] # $SEMVER_BRANCH = PR-104 [2021-05-28T23:08:39.670Z] # $SEMVER_TEMP = /tmp/semver-124156241 [2021-05-28T23:08:39.670Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-28T23:08:40.618Z] # '/tmp/semver-124156241' -> '/w/workspace/gexfoundry_device-rest-go_PR-104/.semver' [2021-05-28T23:08:40.618Z] # -> Force: false [2021-05-28T23:08:40.618Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.semver [Pipeline] } [2021-05-28T23:08:40.624Z] $ docker exec --env ******** --env ******** 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 ssh-agent -k [2021-05-28T23:08:40.716Z] unset SSH_AUTH_SOCK; [2021-05-28T23:08:40.716Z] unset SSH_AGENT_PID; [2021-05-28T23:08:40.716Z] echo Agent pid 58 killed; [2021-05-28T23:08:40.731Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-28T23:08:41.076Z] + git semver [Pipeline] } [2021-05-28T23:08:41.086Z] $ docker stop --time=1 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 [2021-05-28T23:08:42.353Z] $ docker rm -f 6a5f0ceccd619c3faccb38d9cb5cffe506fe0ad868dba831cc626690e937cc55 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-28T23:08:42.721Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-28T23:08:42.988Z] Stashed 1 file(s) [Pipeline] echo [2021-05-28T23:08:42.991Z] [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-05-28T23:08:58.170Z] Still waiting to schedule task [2021-05-28T23:08:58.171Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-28T23:08:58.172Z] Still waiting to schedule task [2021-05-28T23:08:58.173Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-28T23:11:09.891Z] Running on prd-centos7-docker-4c-2g-961 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws [2021-05-28T23:11:09.914Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-05-28T23:11:10.032Z] The recommended git tool is: git [2021-05-28T23:11:15.350Z] using credential edgex-jenkins-ssh [2021-05-28T23:11:15.364Z] Cloning the remote Git repository [2021-05-28T23:11:15.399Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T23:11:15.471Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-05-28T23:11:15.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T23:11:15.500Z] > git --version # timeout=10 [2021-05-28T23:11:15.507Z] > git --version # 'git version 2.24.4' [2021-05-28T23:11:15.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T23:11:15.531Z] [INFO] Currently running in a labeled security context [2021-05-28T23:11:15.531Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-28T23:11:15.531Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh3543252422780105983.key [2021-05-28T23:11:15.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T23:11:16.900Z] Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-28T23:11:17.018Z] Merge succeeded, producing 37f77733386d785e6611e3840a49dc6e6576ee37 [2021-05-28T23:11:17.019Z] Checking out Revision 37f77733386d785e6611e3840a49dc6e6576ee37 (PR-104) [2021-05-28T23:11:16.477Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-28T23:11:16.483Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T23:11:16.500Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-28T23:11:16.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T23:11:16.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T23:11:16.519Z] [INFO] Currently running in a labeled security context [2021-05-28T23:11:16.519Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-28T23:11:16.520Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh8708117880936624299.key [2021-05-28T23:11:16.525Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-28T23:11:16.915Z] > git config core.sparsecheckout # timeout=10 [2021-05-28T23:11:16.922Z] > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [2021-05-28T23:11:16.953Z] > git remote # timeout=10 [2021-05-28T23:11:16.963Z] > git config --get remote.origin.url # timeout=10 [2021-05-28T23:11:16.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T23:11:16.976Z] [INFO] Currently running in a labeled security context [2021-05-28T23:11:16.976Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-28T23:11:16.976Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh5027840589592592617.key [2021-05-28T23:11:16.993Z] > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 [2021-05-28T23:11:17.007Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-28T23:11:17.017Z] > git config core.sparsecheckout # timeout=10 [2021-05-28T23:11:17.025Z] > git checkout -f 37f77733386d785e6611e3840a49dc6e6576ee37 # timeout=10 [2021-05-28T23:11:20.597Z] Commit message: "Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD" [2021-05-28T23:11:20.596Z] > git rev-list --no-walk c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-28T23:11:21.763Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-28T23:11:22.086Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-28T23:11:22.384Z] + sudo service docker restart [2021-05-28T23:11:22.384Z] + true [2021-05-28T23:11:22.384Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T23:11:40.601Z] provisioning config files... [2021-05-28T23:11:40.618Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3568333402560550211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:11:40.933Z] ---> docker-login.sh [2021-05-28T23:11:40.933Z] nexus3.edgexfoundry.org:10001 [2021-05-28T23:11:40.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:11:41.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:11:41.197Z] Configure a credential helper to remove this warning. See [2021-05-28T23:11:41.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:11:41.197Z] [2021-05-28T23:11:41.197Z] Login Succeeded [2021-05-28T23:11:41.197Z] nexus3.edgexfoundry.org:10002 [2021-05-28T23:11:41.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:11:41.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:11:41.197Z] Configure a credential helper to remove this warning. See [2021-05-28T23:11:41.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:11:41.197Z] [2021-05-28T23:11:41.197Z] Login Succeeded [2021-05-28T23:11:41.458Z] nexus3.edgexfoundry.org:10003 [2021-05-28T23:11:41.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:11:41.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:11:41.458Z] Configure a credential helper to remove this warning. See [2021-05-28T23:11:41.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:11:41.458Z] [2021-05-28T23:11:41.458Z] Login Succeeded [2021-05-28T23:11:41.458Z] nexus3.edgexfoundry.org:10004 [2021-05-28T23:11:41.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:11:41.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:11:41.721Z] Configure a credential helper to remove this warning. See [2021-05-28T23:11:41.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:11:41.721Z] [2021-05-28T23:11:41.721Z] Login Succeeded [2021-05-28T23:11:41.721Z] docker.io [2021-05-28T23:11:41.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:11:41.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:11:41.983Z] Configure a credential helper to remove this warning. See [2021-05-28T23:11:41.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:11:41.983Z] [2021-05-28T23:11:41.983Z] Login Succeeded [2021-05-28T23:11:41.983Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T23:11:41.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-28T23:11:42.190Z] ========================================================= [2021-05-28T23:11:42.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-28T23:11:42.190Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:11:42.502Z] + 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-05-28T23:11:42.502Z] Sending build context to Docker daemon 92.16kB [2021-05-28T23:11:42.502Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T23:11:42.502Z] Step 2/10 : FROM ${BASE} [2021-05-28T23:11:42.502Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-28T23:11:42.502Z] 540db60ca938: Pulling fs layer [2021-05-28T23:11:42.502Z] adcc1eea9eea: Pulling fs layer [2021-05-28T23:11:42.502Z] 4c4ab2625f07: Pulling fs layer [2021-05-28T23:11:42.502Z] 0510c868ecb4: Pulling fs layer [2021-05-28T23:11:42.502Z] afea3b2eda06: Pulling fs layer [2021-05-28T23:11:42.502Z] 7809a108b3ef: Pulling fs layer [2021-05-28T23:11:42.502Z] f706445af74f: Pulling fs layer [2021-05-28T23:11:42.502Z] 0510c868ecb4: Waiting [2021-05-28T23:11:42.502Z] afea3b2eda06: Waiting [2021-05-28T23:11:42.502Z] 7809a108b3ef: Waiting [2021-05-28T23:11:42.502Z] f706445af74f: Waiting [2021-05-28T23:11:42.773Z] 4c4ab2625f07: Verifying Checksum [2021-05-28T23:11:42.773Z] 4c4ab2625f07: Download complete [2021-05-28T23:11:42.773Z] adcc1eea9eea: Verifying Checksum [2021-05-28T23:11:42.773Z] adcc1eea9eea: Download complete [2021-05-28T23:11:42.773Z] afea3b2eda06: Verifying Checksum [2021-05-28T23:11:42.773Z] afea3b2eda06: Download complete [2021-05-28T23:11:42.773Z] 7809a108b3ef: Verifying Checksum [2021-05-28T23:11:42.773Z] 7809a108b3ef: Download complete [2021-05-28T23:11:42.773Z] 540db60ca938: Verifying Checksum [2021-05-28T23:11:42.773Z] 540db60ca938: Download complete [2021-05-28T23:11:43.043Z] 540db60ca938: Pull complete [2021-05-28T23:11:43.043Z] adcc1eea9eea: Pull complete [2021-05-28T23:11:43.303Z] 4c4ab2625f07: Pull complete [2021-05-28T23:11:44.698Z] f706445af74f: Verifying Checksum [2021-05-28T23:11:44.698Z] f706445af74f: Download complete [2021-05-28T23:11:45.280Z] 0510c868ecb4: Verifying Checksum [2021-05-28T23:11:45.280Z] 0510c868ecb4: Download complete [2021-05-28T23:11:47.096Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-960 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws [2021-05-28T23:11:47.118Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-05-28T23:11:47.364Z] The recommended git tool is: git [2021-05-28T23:11:48.641Z] 0510c868ecb4: Pull complete [2021-05-28T23:11:48.907Z] afea3b2eda06: Pull complete [2021-05-28T23:11:48.907Z] 7809a108b3ef: Pull complete [2021-05-28T23:11:50.873Z] f706445af74f: Pull complete [2021-05-28T23:11:50.874Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-28T23:11:50.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-28T23:11:50.874Z] ---> b068be0155e3 [2021-05-28T23:11:50.874Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-28T23:11:53.100Z] using credential edgex-jenkins-ssh [2021-05-28T23:11:53.134Z] Cloning the remote Git repository [2021-05-28T23:11:53.442Z] ---> Running in 5be94761f20e [2021-05-28T23:11:53.443Z] Removing intermediate container 5be94761f20e [2021-05-28T23:11:53.443Z] ---> 7c64f50bf2ed [2021-05-28T23:11:53.443Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T23:11:53.215Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T23:11:53.334Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-05-28T23:11:53.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T23:11:53.418Z] > git --version # timeout=10 [2021-05-28T23:11:53.439Z] > git --version # 'git version 2.17.1' [2021-05-28T23:11:53.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T23:11:53.727Z] ---> Running in 44996785ac91 [2021-05-28T23:11:53.727Z] Removing intermediate container 44996785ac91 [2021-05-28T23:11:53.727Z] ---> d4bc3efb8b4a [2021-05-28T23:11:53.727Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T23:11:53.727Z] ---> Running in 3454fe1c500f [2021-05-28T23:11:53.727Z] Removing intermediate container 3454fe1c500f [2021-05-28T23:11:53.727Z] ---> ef070ef9f6b4 [2021-05-28T23:11:53.727Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T23:11:53.991Z] ---> Running in 97260eff4d96 [2021-05-28T23:11:54.569Z] Removing intermediate container 97260eff4d96 [2021-05-28T23:11:54.569Z] ---> 22c2cf71c889 [2021-05-28T23:11:54.569Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T23:11:54.569Z] ---> Running in 2a0b42b01744 [2021-05-28T23:11:53.608Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T23:11:54.834Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-28T23:11:55.691Z] Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-28T23:11:55.784Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-28T23:11:55.921Z] Merge succeeded, producing daa8f69b9b3c320c1b5eebad5190060972ccc48b [2021-05-28T23:11:55.921Z] Checking out Revision daa8f69b9b3c320c1b5eebad5190060972ccc48b (PR-104) [2021-05-28T23:11:56.045Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-28T23:11:56.045Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-28T23:11:56.045Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-28T23:11:55.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-28T23:11:55.148Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T23:11:55.175Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-28T23:11:55.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T23:11:55.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T23:11:55.230Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-28T23:11:55.706Z] > git config core.sparsecheckout # timeout=10 [2021-05-28T23:11:55.725Z] > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [2021-05-28T23:11:55.809Z] > git remote # timeout=10 [2021-05-28T23:11:55.826Z] > git config --get remote.origin.url # timeout=10 [2021-05-28T23:11:55.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T23:11:55.856Z] > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 [2021-05-28T23:11:55.899Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-28T23:11:55.921Z] > git config core.sparsecheckout # timeout=10 [2021-05-28T23:11:55.930Z] > git checkout -f daa8f69b9b3c320c1b5eebad5190060972ccc48b # timeout=10 [2021-05-28T23:11:56.307Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-28T23:11:56.307Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-28T23:11:56.307Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-28T23:11:56.568Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-28T23:11:56.828Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-28T23:11:56.828Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-28T23:11:57.090Z] Executing busybox-1.32.1-r6.trigger [2021-05-28T23:11:57.090Z] OK: 154 MiB in 49 packages [2021-05-28T23:11:57.352Z] Removing intermediate container 2a0b42b01744 [2021-05-28T23:11:57.352Z] ---> 59f885739c7c [2021-05-28T23:11:57.352Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-28T23:11:57.352Z] ---> Running in e33856be8034 [2021-05-28T23:11:57.616Z] Removing intermediate container e33856be8034 [2021-05-28T23:11:57.616Z] ---> 04c8ebdbc2bb [2021-05-28T23:11:57.616Z] Step 9/10 : COPY . . [2021-05-28T23:11:57.616Z] ---> bf54bcfe3d4a [2021-05-28T23:11:57.616Z] Step 10/10 : RUN go mod download [2021-05-28T23:11:57.877Z] ---> Running in c9e780800da3 [2021-05-28T23:12:00.050Z] Commit message: "Merge commit '405bc14ac6f45c2dca7c5fb451b6f8197ce2523b' into HEAD" [2021-05-28T23:12:00.051Z] > git rev-list --no-walk c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-28T23:12:01.853Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-28T23:12:02.254Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-28T23:12:02.592Z] + + truesudo [2021-05-28T23:12:02.592Z] service docker restart [2021-05-28T23:12:10.156Z] Removing intermediate container c9e780800da3 [2021-05-28T23:12:10.157Z] ---> 13f8f5cb59a9 [2021-05-28T23:12:10.157Z] Successfully built 13f8f5cb59a9 [2021-05-28T23:12:10.157Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:12:10.463Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-28T23:12:10.463Z] . [Pipeline] withDockerContainer [2021-05-28T23:12:10.558Z] prd-centos7-docker-4c-2g-961 does not seem to be running inside a container [2021-05-28T23:12:10.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-x86_64 cat [2021-05-28T23:12:10.978Z] $ docker top 2be8ba572b1c693f67af60962df625b306d900c4826db501a7fe93972695ee3d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T23:12:11.375Z] + go version [2021-05-28T23:12:11.375Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-28T23:12:11.385Z] $ docker stop --time=1 2be8ba572b1c693f67af60962df625b306d900c4826db501a7fe93972695ee3d [2021-05-28T23:12:12.597Z] $ docker rm -f 2be8ba572b1c693f67af60962df625b306d900c4826db501a7fe93972695ee3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:12:13.103Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-28T23:12:13.103Z] . [Pipeline] withDockerContainer [2021-05-28T23:12:13.179Z] prd-centos7-docker-4c-2g-961 does not seem to be running inside a container [2021-05-28T23:12:13.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-x86_64 cat [2021-05-28T23:12:13.585Z] $ docker top 160ac6bfd5037c26e03501a632335b23ea79131d258db20c18fb2853c4ae81ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T23:12:13.990Z] + go mod tidy [Pipeline] sh [2021-05-28T23:12:14.557Z] + make test [2021-05-28T23:12:14.557Z] go mod tidy [2021-05-28T23:12:14.826Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-28T23:12:15.092Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T23:12:20.929Z] provisioning config files... [2021-05-28T23:12:20.959Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config5629074230336010643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:12:21.341Z] ---> docker-login.sh [2021-05-28T23:12:21.341Z] nexus3.edgexfoundry.org:10001 [2021-05-28T23:12:22.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:12:22.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:12:22.605Z] Configure a credential helper to remove this warning. See [2021-05-28T23:12:22.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:12:22.605Z] [2021-05-28T23:12:22.605Z] Login Succeeded [2021-05-28T23:12:22.605Z] nexus3.edgexfoundry.org:10002 [2021-05-28T23:12:22.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:12:23.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:12:23.156Z] Configure a credential helper to remove this warning. See [2021-05-28T23:12:23.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:12:23.156Z] [2021-05-28T23:12:23.156Z] Login Succeeded [2021-05-28T23:12:23.156Z] nexus3.edgexfoundry.org:10003 [2021-05-28T23:12:23.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:12:23.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:12:23.704Z] Configure a credential helper to remove this warning. See [2021-05-28T23:12:23.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:12:23.704Z] [2021-05-28T23:12:23.704Z] Login Succeeded [2021-05-28T23:12:23.704Z] nexus3.edgexfoundry.org:10004 [2021-05-28T23:12:23.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:12:24.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:12:24.252Z] Configure a credential helper to remove this warning. See [2021-05-28T23:12:24.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:12:24.252Z] [2021-05-28T23:12:24.252Z] Login Succeeded [2021-05-28T23:12:24.252Z] docker.io [2021-05-28T23:12:24.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T23:12:24.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T23:12:24.795Z] Configure a credential helper to remove this warning. See [2021-05-28T23:12:24.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T23:12:24.795Z] [2021-05-28T23:12:24.795Z] Login Succeeded [2021-05-28T23:12:24.795Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T23:12:24.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-28T23:12:25.294Z] ========================================================= [2021-05-28T23:12:25.294Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-28T23:12:25.294Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:12:25.701Z] + 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-05-28T23:12:25.701Z] Sending build context to Docker daemon 92.16kB [2021-05-28T23:12:26.293Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T23:12:26.293Z] Step 2/10 : FROM ${BASE} [2021-05-28T23:12:26.293Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-28T23:12:26.293Z] 595b0fe564bb: Pulling fs layer [2021-05-28T23:12:26.293Z] 7186ed65a4f7: Pulling fs layer [2021-05-28T23:12:26.293Z] 316046926c0a: Pulling fs layer [2021-05-28T23:12:26.293Z] 4ebd0625c992: Pulling fs layer [2021-05-28T23:12:26.293Z] 207e8628e3a3: Pulling fs layer [2021-05-28T23:12:26.293Z] c791037a9be2: Pulling fs layer [2021-05-28T23:12:26.293Z] ffd874e62e21: Pulling fs layer [2021-05-28T23:12:26.293Z] 4ebd0625c992: Waiting [2021-05-28T23:12:26.293Z] 207e8628e3a3: Waiting [2021-05-28T23:12:26.293Z] c791037a9be2: Waiting [2021-05-28T23:12:26.293Z] ffd874e62e21: Waiting [2021-05-28T23:12:26.293Z] 316046926c0a: Download complete [2021-05-28T23:12:26.293Z] 7186ed65a4f7: Verifying Checksum [2021-05-28T23:12:26.293Z] 207e8628e3a3: Verifying Checksum [2021-05-28T23:12:26.293Z] 207e8628e3a3: Download complete [2021-05-28T23:12:26.569Z] c791037a9be2: Download complete [2021-05-28T23:12:26.569Z] 595b0fe564bb: Verifying Checksum [2021-05-28T23:12:26.569Z] 595b0fe564bb: Download complete [2021-05-28T23:12:27.166Z] 595b0fe564bb: Pull complete [2021-05-28T23:12:27.773Z] 7186ed65a4f7: Pull complete [2021-05-28T23:12:28.056Z] 316046926c0a: Pull complete [2021-05-28T23:12:28.658Z] ffd874e62e21: Verifying Checksum [2021-05-28T23:12:28.658Z] ffd874e62e21: Download complete [2021-05-28T23:12:29.650Z] 4ebd0625c992: Verifying Checksum [2021-05-28T23:12:29.650Z] 4ebd0625c992: Download complete [2021-05-28T23:12:33.379Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-28T23:12:33.379Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements [2021-05-28T23:12:33.379Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-28T23:12:39.831Z] 4ebd0625c992: Pull complete [2021-05-28T23:12:40.111Z] 207e8628e3a3: Pull complete [2021-05-28T23:12:40.387Z] c791037a9be2: Pull complete [2021-05-28T23:12:41.590Z] gofmt -l . [2021-05-28T23:12:41.590Z] [ "`gofmt -l .`" = "" ] [2021-05-28T23:12:41.590Z] ./bin/test-go-mod-tidy.sh [2021-05-28T23:12:41.590Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-28T23:12:41.600Z] $ docker stop --time=1 160ac6bfd5037c26e03501a632335b23ea79131d258db20c18fb2853c4ae81ae [2021-05-28T23:12:43.006Z] $ docker rm -f 160ac6bfd5037c26e03501a632335b23ea79131d258db20c18fb2853c4ae81ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-28T23:12:43.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-28T23:12:43.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-28T23:12:44.740Z] ffd874e62e21: Pull complete [2021-05-28T23:12:44.740Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-28T23:12:44.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-28T23:12:44.740Z] ---> cfc18b08335c [2021-05-28T23:12:44.740Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] sh [2021-05-28T23:12:45.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-28T23:12:45.808Z] + ls -al . [2021-05-28T23:12:45.808Z] total 104 [2021-05-28T23:12:45.808Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 28 23:12 . [2021-05-28T23:12:45.808Z] drwxrwxr-x. 4 jenkins jenkins 28 May 28 23:11 .. [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 28 23:11 Attribution.txt [2021-05-28T23:12:45.809Z] drwxrwxr-x. 2 jenkins jenkins 64 May 28 23:11 bin [2021-05-28T23:12:45.809Z] drwxrwxr-x. 3 jenkins jenkins 32 May 28 23:11 cmd [2021-05-28T23:12:45.809Z] -rw-r--r--. 1 jenkins jenkins 8513 May 28 23:12 coverage.out [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 28 23:11 Dockerfile [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 28 23:11 Dockerfile.build [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 151 May 28 23:11 .dockerignore [2021-05-28T23:12:45.809Z] drwxrwxr-x. 2 jenkins jenkins 76 May 28 23:11 driver [2021-05-28T23:12:45.809Z] drwxrwxr-x. 8 jenkins jenkins 179 May 28 23:11 .git [2021-05-28T23:12:45.809Z] drwxrwxr-x. 2 jenkins jenkins 103 May 28 23:11 .github [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 336 May 28 23:11 .gitignore [2021-05-28T23:12:45.809Z] -rw-r--r--. 1 jenkins jenkins 285 May 28 23:12 go.mod [2021-05-28T23:12:45.809Z] -rw-r--r--. 1 jenkins jenkins 21295 May 28 23:12 go.sum [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 680 May 28 23:11 Jenkinsfile [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 28 23:11 LICENSE [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 996 May 28 23:11 Makefile [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 28 23:11 README.md [2021-05-28T23:12:45.809Z] drwxrwxr-x. 4 jenkins jenkins 71 May 28 23:11 snap [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 5 May 28 23:08 VERSION [2021-05-28T23:12:45.809Z] -rw-rw-r--. 1 jenkins jenkins 713 May 28 23:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:12:46.115Z] + 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=37f77733386d785e6611e3840a49dc6e6576ee37 --label arch=amd64 --label version=0.0.0 . [2021-05-28T23:12:46.115Z] Sending build context to Docker daemon 101.9kB [2021-05-28T23:12:46.115Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T23:12:46.115Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-28T23:12:46.115Z] ---> 13f8f5cb59a9 [2021-05-28T23:12:46.115Z] Step 3/25 : ARG MAKE='make build' [2021-05-28T23:12:46.115Z] ---> Running in 79ebbfc231b8 [2021-05-28T23:12:46.115Z] Removing intermediate container 79ebbfc231b8 [2021-05-28T23:12:46.115Z] ---> 1ce934e562dd [2021-05-28T23:12:46.115Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-28T23:12:46.172Z] ---> Running in 4605f317529c [2021-05-28T23:12:46.384Z] ---> Running in 84678f6b2076 [2021-05-28T23:12:46.384Z] Removing intermediate container 84678f6b2076 [2021-05-28T23:12:46.384Z] ---> 9473912962dd [2021-05-28T23:12:46.384Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T23:12:46.384Z] ---> Running in 36e017f8784e [2021-05-28T23:12:46.384Z] Removing intermediate container 36e017f8784e [2021-05-28T23:12:46.384Z] ---> ab75ff6d07b2 [2021-05-28T23:12:46.384Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T23:12:46.651Z] ---> Running in 7ca7de770244 [2021-05-28T23:12:46.764Z] Removing intermediate container 4605f317529c [2021-05-28T23:12:46.764Z] ---> 77d14e03477f [2021-05-28T23:12:46.764Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T23:12:46.764Z] ---> Running in 603dcec40f20 [2021-05-28T23:12:46.915Z] Removing intermediate container 7ca7de770244 [2021-05-28T23:12:46.915Z] ---> b1f9c249154b [2021-05-28T23:12:46.915Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T23:12:47.183Z] ---> Running in 2e0fa23ec207 [2021-05-28T23:12:47.362Z] Removing intermediate container 603dcec40f20 [2021-05-28T23:12:47.362Z] ---> b76d67d807f9 [2021-05-28T23:12:47.362Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T23:12:47.362Z] ---> Running in 8ae89b8e31e4 [2021-05-28T23:12:47.444Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-28T23:12:47.642Z] Removing intermediate container 8ae89b8e31e4 [2021-05-28T23:12:47.642Z] ---> 1ccabbd04f00 [2021-05-28T23:12:47.642Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T23:12:47.914Z] ---> Running in 7ac649cc89ac [2021-05-28T23:12:48.389Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-28T23:12:48.650Z] OK: 154 MiB in 49 packages [2021-05-28T23:12:48.912Z] Removing intermediate container 2e0fa23ec207 [2021-05-28T23:12:48.912Z] ---> fb85f12d6b5d [2021-05-28T23:12:48.912Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-28T23:12:48.912Z] ---> Running in 7009acf4301d [2021-05-28T23:12:48.912Z] Removing intermediate container 7009acf4301d [2021-05-28T23:12:48.912Z] ---> 85b67c471d67 [2021-05-28T23:12:48.912Z] Step 9/25 : COPY . . [2021-05-28T23:12:49.176Z] ---> f0fbe662b985 [2021-05-28T23:12:49.176Z] Step 10/25 : RUN go mod tidy [2021-05-28T23:12:49.176Z] ---> Running in b7e98c6db179 [2021-05-28T23:12:50.129Z] Removing intermediate container b7e98c6db179 [2021-05-28T23:12:50.129Z] ---> dbbe4c2acd5b [2021-05-28T23:12:50.129Z] Step 11/25 : RUN make update [2021-05-28T23:12:50.129Z] ---> Running in b61a2c6b331f [2021-05-28T23:12:50.398Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-28T23:12:50.398Z] Removing intermediate container b61a2c6b331f [2021-05-28T23:12:50.398Z] ---> b78dcff1083a [2021-05-28T23:12:50.398Z] Step 12/25 : RUN $MAKE [2021-05-28T23:12:50.595Z] Removing intermediate container 7ac649cc89ac [2021-05-28T23:12:50.595Z] ---> 59bb7ea3dee7 [2021-05-28T23:12:50.595Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T23:12:50.595Z] ---> Running in b338c5bc35ab [2021-05-28T23:12:50.659Z] ---> Running in eba0beb124f4 [2021-05-28T23:12:50.923Z] go mod tidy [2021-05-28T23:12:50.923Z] 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-05-28T23:12:51.575Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-28T23:12:52.566Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-28T23:12:53.173Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-28T23:12:53.173Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-28T23:12:53.173Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-28T23:12:53.446Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-28T23:12:53.446Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-28T23:12:53.446Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-28T23:12:53.722Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-28T23:12:53.994Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-28T23:12:53.994Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-28T23:12:54.268Z] Executing busybox-1.32.1-r6.trigger [2021-05-28T23:12:54.268Z] OK: 144 MiB in 49 packages [2021-05-28T23:12:55.713Z] Removing intermediate container b338c5bc35ab [2021-05-28T23:12:55.713Z] ---> 5d43148a56b9 [2021-05-28T23:12:55.713Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-28T23:12:55.713Z] ---> Running in 98d9105ba4e3 [2021-05-28T23:12:56.311Z] Removing intermediate container 98d9105ba4e3 [2021-05-28T23:12:56.311Z] ---> 17ebd34397c6 [2021-05-28T23:12:56.311Z] Step 9/10 : COPY . . [2021-05-28T23:12:56.909Z] ---> bc48087587f3 [2021-05-28T23:12:56.909Z] Step 10/10 : RUN go mod download [2021-05-28T23:12:57.192Z] ---> Running in 1d7abb8ffa4b [2021-05-28T23:13:03.278Z] Removing intermediate container eba0beb124f4 [2021-05-28T23:13:03.278Z] ---> 1fa9c06a195a [2021-05-28T23:13:03.278Z] Step 13/25 : FROM alpine:3.12 [2021-05-28T23:13:03.278Z] 3.12: Pulling from library/alpine [2021-05-28T23:13:03.278Z] 339de151aab4: Pulling fs layer [2021-05-28T23:13:03.278Z] 339de151aab4: Verifying Checksum [2021-05-28T23:13:03.278Z] 339de151aab4: Download complete [2021-05-28T23:13:03.278Z] 339de151aab4: Pull complete [2021-05-28T23:13:03.278Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-28T23:13:03.278Z] Status: Downloaded newer image for alpine:3.12 [2021-05-28T23:13:03.278Z] ---> 13621d1b12d4 [2021-05-28T23:13:03.278Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T23:13:03.278Z] ---> Running in c928d8389ed3 [2021-05-28T23:13:03.278Z] Removing intermediate container c928d8389ed3 [2021-05-28T23:13:03.278Z] ---> a74a582b27e3 [2021-05-28T23:13:03.278Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-28T23:13:03.278Z] ---> Running in 3874c8e49a13 [2021-05-28T23:13:03.278Z] Removing intermediate container 3874c8e49a13 [2021-05-28T23:13:03.278Z] ---> c70c194b30d5 [2021-05-28T23:13:03.279Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-28T23:13:03.279Z] ---> Running in acfc8f82c819 [2021-05-28T23:13:03.279Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-28T23:13:03.539Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-28T23:13:03.539Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-28T23:13:03.539Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-28T23:13:03.539Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-28T23:13:03.539Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-28T23:13:03.539Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-28T23:13:03.539Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-28T23:13:03.539Z] Executing busybox-1.31.1-r20.trigger [2021-05-28T23:13:03.539Z] OK: 8 MiB in 20 packages [2021-05-28T23:13:03.803Z] Removing intermediate container acfc8f82c819 [2021-05-28T23:13:03.803Z] ---> b897654f8e5d [2021-05-28T23:13:03.803Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-28T23:13:04.070Z] ---> 96b059d0c9ba [2021-05-28T23:13:04.070Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-28T23:13:04.332Z] ---> 963ea19ac294 [2021-05-28T23:13:04.332Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-28T23:13:04.332Z] ---> 4771da982abe [2021-05-28T23:13:04.332Z] Step 20/25 : EXPOSE 59986 [2021-05-28T23:13:04.602Z] ---> Running in 19a934447343 [2021-05-28T23:13:04.602Z] Removing intermediate container 19a934447343 [2021-05-28T23:13:04.602Z] ---> cef7fec125a5 [2021-05-28T23:13:04.602Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-28T23:13:04.602Z] ---> Running in 837c85c6947e [2021-05-28T23:13:04.602Z] Removing intermediate container 837c85c6947e [2021-05-28T23:13:04.602Z] ---> 47594c9ba28a [2021-05-28T23:13:04.602Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-28T23:13:04.602Z] ---> Running in 917d687aad83 [2021-05-28T23:13:04.874Z] Removing intermediate container 917d687aad83 [2021-05-28T23:13:04.874Z] ---> c05928081b0c [2021-05-28T23:13:04.874Z] Step 23/25 : LABEL arch=amd64 [2021-05-28T23:13:04.874Z] ---> Running in b3cd19dfad8d [2021-05-28T23:13:04.874Z] Removing intermediate container b3cd19dfad8d [2021-05-28T23:13:04.874Z] ---> ebd9254c36d4 [2021-05-28T23:13:04.874Z] Step 24/25 : LABEL git_sha=37f77733386d785e6611e3840a49dc6e6576ee37 [2021-05-28T23:13:04.874Z] ---> Running in a239872ea82c [2021-05-28T23:13:05.137Z] Removing intermediate container a239872ea82c [2021-05-28T23:13:05.137Z] ---> 1ac6f0160a59 [2021-05-28T23:13:05.137Z] Step 25/25 : LABEL version=0.0.0 [2021-05-28T23:13:05.137Z] ---> Running in 2b440b662179 [2021-05-28T23:13:05.137Z] Removing intermediate container 2b440b662179 [2021-05-28T23:13:05.137Z] ---> ad9430f03425 [2021-05-28T23:13:05.137Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-28T23:13:05.137Z] Successfully built ad9430f03425 [2021-05-28T23:13:05.137Z] 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-05-28T23:13:05.866Z] ---> job-cost.sh [2021-05-28T23:13:05.866Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bZFI [2021-05-28T23:13:15.890Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-28T23:13:24.014Z] Removing intermediate container 1d7abb8ffa4b [2021-05-28T23:13:24.014Z] ---> f208cff95663 [2021-05-28T23:13:24.014Z] Successfully built f208cff95663 [2021-05-28T23:13:24.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:13:24.365Z] + docker inspect -f . ci-base-image-arm64 [2021-05-28T23:13:24.365Z] . [Pipeline] withDockerContainer [2021-05-28T23:13:24.629Z] prd-ubuntu18.04-docker-arm64-4c-16g-960 does not seem to be running inside a container [2021-05-28T23:13:24.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat [2021-05-28T23:13:26.305Z] $ docker top 160f357e66d2ea8a96832f92748ffde4e7bb7f201c7f29cc240d95bf41798f04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T23:13:27.248Z] + go version [2021-05-28T23:13:27.248Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-28T23:13:27.270Z] $ docker stop --time=1 160f357e66d2ea8a96832f92748ffde4e7bb7f201c7f29cc240d95bf41798f04 [2021-05-28T23:13:28.176Z] lf-activate-venv(): INFO: Adding /tmp/venv-bZFI/bin to PATH [2021-05-28T23:13:28.176Z] INFO: No Stack... [2021-05-28T23:13:28.176Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-28T23:13:28.176Z] INFO: Archiving Costs [2021-05-28T23:13:29.129Z] $ docker rm -f 160f357e66d2ea8a96832f92748ffde4e7bb7f201c7f29cc240d95bf41798f04 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:13:29.681Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-05-28T23:13:29.681Z] + cut -d, -f6 [Pipeline] lock [2021-05-28T23:13:29.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [2021-05-28T23:13:29.728Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] did not exist. Created. [2021-05-28T23:13:29.728Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-28T23:13:29.854Z] + docker inspect -f . ci-base-image-arm64 [2021-05-28T23:13:29.854Z] . [Pipeline] withDockerContainer [2021-05-28T23:13:30.065Z] + echo total: 0.05999999865889549 [2021-05-28T23:13:30.090Z] prd-ubuntu18.04-docker-arm64-4c-16g-960 does not seem to be running inside a container [2021-05-28T23:13:30.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat [2021-05-28T23:13:31.790Z] $ docker top 69c3ca970031e1abe688bfe64fbd367949c2422bd9590fd25dd93130bc89a9ee -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-05-28T23:13:32.178Z] Stashed 1 file(s) [Pipeline] } [2021-05-28T23:13:32.230Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-28T23:13:32.789Z] + go mod tidy [Pipeline] sh [2021-05-28T23:13:34.053Z] + make test [2021-05-28T23:13:34.053Z] go mod tidy [2021-05-28T23:13:34.651Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-28T23:13:36.100Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-28T23:14:32.751Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-28T23:14:32.751Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements [2021-05-28T23:14:32.751Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-28T23:14:54.999Z] gofmt -l . [2021-05-28T23:14:54.999Z] [ "`gofmt -l .`" = "" ] [2021-05-28T23:14:54.999Z] ./bin/test-go-mod-tidy.sh [2021-05-28T23:14:54.999Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-28T23:14:55.613Z] $ docker stop --time=1 69c3ca970031e1abe688bfe64fbd367949c2422bd9590fd25dd93130bc89a9ee [2021-05-28T23:14:57.601Z] $ docker rm -f 69c3ca970031e1abe688bfe64fbd367949c2422bd9590fd25dd93130bc89a9ee [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-28T23:14:58.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-28T23:14:58.517Z] Warning: overwriting stash ‘coverage-report’ [2021-05-28T23:14:58.982Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-28T23:14:59.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-28T23:14:59.763Z] + ls -al . [2021-05-28T23:14:59.763Z] total 132 [2021-05-28T23:14:59.763Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:14 . [2021-05-28T23:14:59.763Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:11 .. [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 151 May 28 23:11 .dockerignore [2021-05-28T23:14:59.763Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:11 .git [2021-05-28T23:14:59.763Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:11 .github [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 336 May 28 23:11 .gitignore [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 28 23:11 Attribution.txt [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 28 23:11 Dockerfile [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 28 23:11 Dockerfile.build [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 680 May 28 23:11 Jenkinsfile [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:11 LICENSE [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 996 May 28 23:11 Makefile [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 28 23:11 README.md [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 5 May 28 23:08 VERSION [2021-05-28T23:14:59.763Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:11 bin [2021-05-28T23:14:59.763Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:11 cmd [2021-05-28T23:14:59.763Z] -rw-r--r-- 1 jenkins jenkins 8513 May 28 23:14 coverage.out [2021-05-28T23:14:59.763Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:11 driver [2021-05-28T23:14:59.763Z] -rw-r--r-- 1 jenkins jenkins 285 May 28 23:14 go.mod [2021-05-28T23:14:59.763Z] -rw-r--r-- 1 jenkins jenkins 21295 May 28 23:13 go.sum [2021-05-28T23:14:59.763Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:11 snap [2021-05-28T23:14:59.763Z] -rw-rw-r-- 1 jenkins jenkins 713 May 28 23:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:15:00.110Z] + 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=daa8f69b9b3c320c1b5eebad5190060972ccc48b --label arch=arm64 --label version=0.0.0 . [2021-05-28T23:15:00.111Z] Sending build context to Docker daemon 101.9kB [2021-05-28T23:15:00.386Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T23:15:00.386Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-28T23:15:00.386Z] ---> f208cff95663 [2021-05-28T23:15:00.386Z] Step 3/25 : ARG MAKE='make build' [2021-05-28T23:15:00.660Z] ---> Running in b6e7153b7b22 [2021-05-28T23:15:01.255Z] Removing intermediate container b6e7153b7b22 [2021-05-28T23:15:01.255Z] ---> 18c55cbcbd45 [2021-05-28T23:15:01.256Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-28T23:15:01.256Z] ---> Running in 4d30213f45c4 [2021-05-28T23:15:01.865Z] Removing intermediate container 4d30213f45c4 [2021-05-28T23:15:01.865Z] ---> bf714a513278 [2021-05-28T23:15:01.865Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T23:15:01.865Z] ---> Running in edb336bcd677 [2021-05-28T23:15:02.466Z] Removing intermediate container edb336bcd677 [2021-05-28T23:15:02.466Z] ---> ea3fdbc648bd [2021-05-28T23:15:02.466Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T23:15:02.466Z] ---> Running in 77fdd632c3b7 [2021-05-28T23:15:05.112Z] Removing intermediate container 77fdd632c3b7 [2021-05-28T23:15:05.112Z] ---> b9bdf7be3018 [2021-05-28T23:15:05.112Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T23:15:05.112Z] ---> Running in 2563b6a00fcc [2021-05-28T23:15:06.102Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-28T23:15:07.082Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-28T23:15:07.678Z] OK: 144 MiB in 49 packages [2021-05-28T23:15:09.124Z] Removing intermediate container 2563b6a00fcc [2021-05-28T23:15:09.124Z] ---> 6f82e217c6e7 [2021-05-28T23:15:09.124Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-28T23:15:09.124Z] ---> Running in 6120f69e7142 [2021-05-28T23:15:09.404Z] Removing intermediate container 6120f69e7142 [2021-05-28T23:15:09.404Z] ---> 1147495e6bcd [2021-05-28T23:15:09.404Z] Step 9/25 : COPY . . [2021-05-28T23:15:10.385Z] ---> c7d8d4757808 [2021-05-28T23:15:10.385Z] Step 10/25 : RUN go mod tidy [2021-05-28T23:15:10.385Z] ---> Running in 6bc14d565d7c [2021-05-28T23:15:13.019Z] Removing intermediate container 6bc14d565d7c [2021-05-28T23:15:13.019Z] ---> 028dae82d300 [2021-05-28T23:15:13.019Z] Step 11/25 : RUN make update [2021-05-28T23:15:13.291Z] ---> Running in ad5f5a5f9a0b [2021-05-28T23:15:14.268Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-28T23:15:15.702Z] Removing intermediate container ad5f5a5f9a0b [2021-05-28T23:15:15.702Z] ---> 24d18e2fefce [2021-05-28T23:15:15.702Z] Step 12/25 : RUN $MAKE [2021-05-28T23:15:15.702Z] ---> Running in 0c741d19c7b7 [2021-05-28T23:15:16.682Z] go mod tidy [2021-05-28T23:15:17.285Z] 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-05-28T23:15:56.316Z] Removing intermediate container 0c741d19c7b7 [2021-05-28T23:15:56.316Z] ---> 81f57432d26a [2021-05-28T23:15:56.316Z] Step 13/25 : FROM alpine:3.12 [2021-05-28T23:15:56.316Z] 3.12: Pulling from library/alpine [2021-05-28T23:15:56.316Z] d2f70382dc9a: Pulling fs layer [2021-05-28T23:15:56.316Z] d2f70382dc9a: Download complete [2021-05-28T23:15:56.316Z] d2f70382dc9a: Pull complete [2021-05-28T23:15:56.316Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-28T23:15:56.316Z] Status: Downloaded newer image for alpine:3.12 [2021-05-28T23:15:56.316Z] ---> 9852663dfa18 [2021-05-28T23:15:56.317Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T23:15:56.317Z] ---> Running in c55cdce1a8d8 [2021-05-28T23:15:56.317Z] Removing intermediate container c55cdce1a8d8 [2021-05-28T23:15:56.317Z] ---> adebee53fa6e [2021-05-28T23:15:56.317Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-28T23:15:56.317Z] ---> Running in 1e8cf6aaa77e [2021-05-28T23:15:56.317Z] Removing intermediate container 1e8cf6aaa77e [2021-05-28T23:15:56.317Z] ---> aa8bd70ffedf [2021-05-28T23:15:56.317Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-28T23:15:56.317Z] ---> Running in 3a334af964e8 [2021-05-28T23:15:56.317Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-28T23:15:56.317Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-28T23:15:56.600Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-28T23:15:56.601Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-28T23:15:56.601Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-28T23:15:56.601Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-28T23:15:56.601Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-28T23:15:56.601Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-28T23:15:56.601Z] Executing busybox-1.31.1-r20.trigger [2021-05-28T23:15:56.601Z] OK: 8 MiB in 20 packages [2021-05-28T23:15:58.055Z] Removing intermediate container 3a334af964e8 [2021-05-28T23:15:58.055Z] ---> 8596f311b826 [2021-05-28T23:15:58.055Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-28T23:15:59.037Z] ---> 7015c4ec8b0b [2021-05-28T23:15:59.037Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-28T23:16:00.020Z] ---> 8fab361ab20b [2021-05-28T23:16:00.020Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-28T23:16:00.616Z] ---> 755d5e99d335 [2021-05-28T23:16:00.616Z] Step 20/25 : EXPOSE 59986 [2021-05-28T23:16:00.894Z] ---> Running in 38f5691d51bd [2021-05-28T23:16:01.167Z] Removing intermediate container 38f5691d51bd [2021-05-28T23:16:01.167Z] ---> 9fd2f17793b2 [2021-05-28T23:16:01.167Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-28T23:16:01.442Z] ---> Running in 8509ea718ba9 [2021-05-28T23:16:02.039Z] Removing intermediate container 8509ea718ba9 [2021-05-28T23:16:02.039Z] ---> fbecfff0f51e [2021-05-28T23:16:02.039Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-28T23:16:02.039Z] ---> Running in d37f943a8443 [2021-05-28T23:16:02.637Z] Removing intermediate container d37f943a8443 [2021-05-28T23:16:02.637Z] ---> ea5eb391df0a [2021-05-28T23:16:02.637Z] Step 23/25 : LABEL arch=arm64 [2021-05-28T23:16:02.637Z] ---> Running in 221891af854e [2021-05-28T23:16:03.237Z] Removing intermediate container 221891af854e [2021-05-28T23:16:03.237Z] ---> d592e8788df3 [2021-05-28T23:16:03.237Z] Step 24/25 : LABEL git_sha=daa8f69b9b3c320c1b5eebad5190060972ccc48b [2021-05-28T23:16:03.237Z] ---> Running in 4807ace81549 [2021-05-28T23:16:03.831Z] Removing intermediate container 4807ace81549 [2021-05-28T23:16:03.831Z] ---> a96c6df5462d [2021-05-28T23:16:03.831Z] Step 25/25 : LABEL version=0.0.0 [2021-05-28T23:16:03.831Z] ---> Running in 99f857782f9b [2021-05-28T23:16:04.425Z] Removing intermediate container 99f857782f9b [2021-05-28T23:16:04.425Z] ---> adaa59aaef3e [2021-05-28T23:16:04.425Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-28T23:16:04.425Z] Successfully built adaa59aaef3e [2021-05-28T23:16:04.425Z] 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-05-28T23:16:04.919Z] ---> job-cost.sh [2021-05-28T23:16:04.919Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-P4UX [2021-05-28T23:16:43.936Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-28T23:18:05.676Z] lf-activate-venv(): INFO: Adding /tmp/venv-P4UX/bin to PATH [2021-05-28T23:18:05.676Z] INFO: No Stack... [2021-05-28T23:18:05.676Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-28T23:18:05.948Z] INFO: Archiving Costs [Pipeline] sh [2021-05-28T23:18:06.287Z] + cut -d, -f6 [2021-05-28T23:18:06.287Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock [2021-05-28T23:18:06.347Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [2021-05-28T23:18:06.356Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] did not exist. Created. [2021-05-28T23:18:06.356Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-28T23:18:06.732Z] /w/workspace/device-rest-go/3@tmp/durable-35a1d3b0/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-35a1d3b0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-28T23:18:07.074Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-28T23:18:07.094Z] Warning: overwriting stash ‘stack-cost’ [2021-05-28T23:18:07.250Z] Stashed 1 file(s) [Pipeline] } [2021-05-28T23:18:07.264Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-3-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-05-28T23:18:07.934Z] provisioning config files... [2021-05-28T23:18:07.951Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config5574413117240574903tmp [Pipeline] { [Pipeline] sh [2021-05-28T23:18:08.263Z] + set +x [2021-05-28T23:18:08.263Z] + curl -s https://codecov.io/bash [2021-05-28T23:18:08.263Z] + bash -s -- [2021-05-28T23:18:08.263Z] [2021-05-28T23:18:08.263Z] _____ _ [2021-05-28T23:18:08.263Z] / ____| | | [2021-05-28T23:18:08.263Z] | | ___ __| | ___ ___ _____ __ [2021-05-28T23:18:08.263Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-28T23:18:08.263Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-28T23:18:08.263Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-28T23:18:08.263Z] Bash-1.0.3 [2021-05-28T23:18:08.263Z] [2021-05-28T23:18:08.263Z] [2021-05-28T23:18:08.263Z] ==> git version 2.24.4 found [2021-05-28T23:18:08.263Z] ==> 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-05-28T23:18:08.263Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-28T23:18:08.263Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-28T23:18:08.263Z] ==> Jenkins CI detected. [2021-05-28T23:18:08.525Z] project root: . [2021-05-28T23:18:08.525Z] --> token set from env [2021-05-28T23:18:08.525Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-28T23:18:08.525Z] ==> Running gcov in . (disable via -X gcov) [2021-05-28T23:18:08.525Z] ==> Python coveragepy not found [2021-05-28T23:18:08.525Z] ==> Searching for coverage reports in: [2021-05-28T23:18:08.525Z] + . [2021-05-28T23:18:08.525Z] -> Found 1 reports [2021-05-28T23:18:08.525Z] ==> Detecting git/mercurial file structure [2021-05-28T23:18:08.525Z] ==> Reading reports [2021-05-28T23:18:08.525Z] + ./coverage.out bytes=8513 [2021-05-28T23:18:08.525Z] ==> Appending adjustments [2021-05-28T23:18:08.525Z] https://docs.codecov.io/docs/fixing-reports [2021-05-28T23:18:08.525Z] + Found adjustments [2021-05-28T23:18:08.525Z] ==> Gzipping contents [2021-05-28T23:18:08.525Z] 4.0K /tmp/codecov.5OHQzi.gz [2021-05-28T23:18:08.525Z] ==> Uploading reports [2021-05-28T23:18:08.525Z] url: https://codecov.io [2021-05-28T23:18:08.525Z] query: branch=PR-104&commit=2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= [2021-05-28T23:18:08.525Z] -> Pinging Codecov [2021-05-28T23:18:08.526Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-104&commit=2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= [2021-05-28T23:18:09.097Z] -> Uploading to [2021-05-28T23:18:09.098Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-28/4E5D53B4F1F92C436F7061BF334D961C/2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae/9c1667c0-5f25-4fed-a40b-62c23ecbda8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210528%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210528T231808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c1dab88f6e81a16e80650b8c4cb70bd608bfc8c2b2386905f2411ed504f589d [2021-05-28T23:18:09.098Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-28T23:18:09.098Z] Dload Upload Total Spent Left Speed [2021-05-28T23:18:09.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4881 --:--:-- --:--:-- --:--:-- 4896 [2021-05-28T23:18:09.358Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2cec10760c2a2a4c4dd64c929f3a1f8532c5c8ae [Pipeline] } [2021-05-28T23:18:09.366Z] 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-05-28T23:18:10.222Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:18:10.787Z] ---> package-listing.sh [2021-05-28T23:18:10.787Z] ++ facter osfamily [2021-05-28T23:18:10.787Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-28T23:18:11.052Z] + OS_FAMILY=redhat [2021-05-28T23:18:11.052Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-104 [2021-05-28T23:18:11.052Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-28T23:18:11.052Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-28T23:18:11.052Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-28T23:18:11.052Z] + PACKAGES=/tmp/packages_start.txt [2021-05-28T23:18:11.052Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' [2021-05-28T23:18:11.052Z] + PACKAGES=/tmp/packages_end.txt [2021-05-28T23:18:11.052Z] + case "${OS_FAMILY}" in [2021-05-28T23:18:11.052Z] + rpm -qa [2021-05-28T23:18:11.052Z] + sort [2021-05-28T23:18:11.626Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-28T23:18:11.626Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-28T23:18:11.626Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-28T23:18:11.626Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' [2021-05-28T23:18:11.626Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ [2021-05-28T23:18:11.626Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ [Pipeline] echo [2021-05-28T23:18:11.641Z] 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-104/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-28T23:18:11.927Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:18:12.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-28T23:18:12.490Z] [2021-05-28T23:18:12.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-28T23:18:12.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-28T23:18:12.811Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-28T23:18:12.811Z] df20fa9351a1: Pulling fs layer [2021-05-28T23:18:12.811Z] 36b3adc4ff6f: Pulling fs layer [2021-05-28T23:18:12.811Z] 8ad3a11d3b57: Pulling fs layer [2021-05-28T23:18:12.811Z] 46f8f816bc3b: Pulling fs layer [2021-05-28T23:18:12.811Z] 93b61091891f: Pulling fs layer [2021-05-28T23:18:12.811Z] 93b9cdb0e59b: Pulling fs layer [2021-05-28T23:18:12.811Z] 5e14af77c1be: Pulling fs layer [2021-05-28T23:18:12.811Z] 01666e4c0597: Pulling fs layer [2021-05-28T23:18:12.811Z] aa168da1d23b: Pulling fs layer [2021-05-28T23:18:12.811Z] 46f8f816bc3b: Waiting [2021-05-28T23:18:12.811Z] 93b61091891f: Waiting [2021-05-28T23:18:12.811Z] 93b9cdb0e59b: Waiting [2021-05-28T23:18:12.811Z] 5e14af77c1be: Waiting [2021-05-28T23:18:12.811Z] 01666e4c0597: Waiting [2021-05-28T23:18:12.811Z] aa168da1d23b: Waiting [2021-05-28T23:18:12.811Z] 36b3adc4ff6f: Verifying Checksum [2021-05-28T23:18:12.811Z] 36b3adc4ff6f: Download complete [2021-05-28T23:18:12.811Z] 46f8f816bc3b: Verifying Checksum [2021-05-28T23:18:12.811Z] 46f8f816bc3b: Download complete [2021-05-28T23:18:12.811Z] df20fa9351a1: Verifying Checksum [2021-05-28T23:18:12.811Z] df20fa9351a1: Download complete [2021-05-28T23:18:13.073Z] 93b9cdb0e59b: Verifying Checksum [2021-05-28T23:18:13.073Z] 93b9cdb0e59b: Download complete [2021-05-28T23:18:13.073Z] 5e14af77c1be: Verifying Checksum [2021-05-28T23:18:13.073Z] 5e14af77c1be: Download complete [2021-05-28T23:18:13.073Z] 93b61091891f: Verifying Checksum [2021-05-28T23:18:13.073Z] 93b61091891f: Download complete [2021-05-28T23:18:13.073Z] 01666e4c0597: Verifying Checksum [2021-05-28T23:18:13.073Z] 01666e4c0597: Download complete [2021-05-28T23:18:13.073Z] df20fa9351a1: Pull complete [2021-05-28T23:18:13.073Z] 8ad3a11d3b57: Verifying Checksum [2021-05-28T23:18:13.073Z] 8ad3a11d3b57: Download complete [2021-05-28T23:18:13.338Z] 36b3adc4ff6f: Pull complete [2021-05-28T23:18:13.913Z] 8ad3a11d3b57: Pull complete [2021-05-28T23:18:13.913Z] 46f8f816bc3b: Pull complete [2021-05-28T23:18:14.174Z] 93b61091891f: Pull complete [2021-05-28T23:18:14.174Z] 93b9cdb0e59b: Pull complete [2021-05-28T23:18:14.437Z] 5e14af77c1be: Pull complete [2021-05-28T23:18:14.437Z] 01666e4c0597: Pull complete [2021-05-28T23:18:15.019Z] aa168da1d23b: Verifying Checksum [2021-05-28T23:18:15.019Z] aa168da1d23b: Download complete [2021-05-28T23:18:19.343Z] aa168da1d23b: Pull complete [2021-05-28T23:18:19.343Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-28T23:18:19.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-28T23:18:19.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-28T23:18:19.452Z] prd-centos7-docker-4c-2g-957 does not seem to be running inside a container [2021-05-28T23:18:19.502Z] $ 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-104/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-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-28T23:18:23.173Z] $ docker top 7c1872ec3c7e7f0cfdc53d2c4a3398f9f8faf9d716e041482860fc2b39c8f18a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T23:18:23.565Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-28T23:18:23.867Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-28T23:18:24.169Z] + ls /var/log/sa-host [2021-05-28T23:18:24.169Z] + sadf -c /var/log/sa-host/sa05 [2021-05-28T23:18:24.169Z] file_magic: OK [2021-05-28T23:18:24.169Z] HZ: Using current value: 100 [2021-05-28T23:18:24.169Z] file_header: OK [2021-05-28T23:18:24.169Z] 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-05-28T23:18:24.169Z] Statistics: [2021-05-28T23:18:24.169Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-28T23:18:24.169Z] File successfully converted to sysstat format version 12.2.1 [2021-05-28T23:18:24.169Z] + sadf -c /var/log/sa-host/sa28 [2021-05-28T23:18:24.169Z] file_magic: OK [2021-05-28T23:18:24.169Z] HZ: Using current value: 100 [2021-05-28T23:18:24.169Z] file_header: OK [2021-05-28T23:18:24.169Z] 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-05-28T23:18:24.169Z] Statistics: [2021-05-28T23:18:24.169Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-28T23:18:24.169Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T23:18:24.747Z] provisioning config files... [2021-05-28T23:18:24.760Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config5991763594971686777tmp [Pipeline] { [Pipeline] echo [2021-05-28T23:18:24.794Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:18:25.105Z] ---> create-netrc.sh [Pipeline] } [2021-05-28T23:18:25.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-28T23:18:25.142Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:18:25.436Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-28T23:18:25.447Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:18:25.756Z] ---> sudo-logs.sh [2021-05-28T23:18:25.756Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-28T23:18:25.790Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:18:26.085Z] ---> job-cost.sh [2021-05-28T23:18:26.085Z] lf-activate-venv: SKIPPING [2021-05-28T23:18:26.085Z] DEBUG: total: 0.18000000715255737 [2021-05-28T23:18:26.085Z] INFO: Retrieving Stack Cost... [2021-05-28T23:18:28.001Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-28T23:18:28.001Z] INFO: Archiving Costs [Pipeline] echo [2021-05-28T23:18:28.015Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T23:18:28.310Z] ---> logs-deploy.sh [2021-05-28T23:18:28.311Z] lf-activate-venv: SKIPPING [2021-05-28T23:18:28.311Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-104/3 [2021-05-28T23:18:28.311Z] INFO: archiving workspace using pattern(s): [2021-05-28T23:18:29.255Z] Archives upload complete. [2021-05-28T23:18:29.255Z] INFO: archiving logs to Nexus [2021-05-28T23:18:29.829Z] ---> uname -a: [2021-05-28T23:18:29.829Z] Linux prd-centos7-docker-4c-2g-957.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-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] ---> lscpu: [2021-05-28T23:18:29.829Z] Architecture: x86_64 [2021-05-28T23:18:29.829Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-28T23:18:29.829Z] Byte Order: Little Endian [2021-05-28T23:18:29.829Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-28T23:18:29.829Z] CPU(s): 2 [2021-05-28T23:18:29.829Z] On-line CPU(s) list: 0,1 [2021-05-28T23:18:29.829Z] Thread(s) per core: 1 [2021-05-28T23:18:29.829Z] Core(s) per socket: 1 [2021-05-28T23:18:29.829Z] Socket(s): 2 [2021-05-28T23:18:29.829Z] NUMA node(s): 1 [2021-05-28T23:18:29.829Z] Vendor ID: AuthenticAMD [2021-05-28T23:18:29.829Z] CPU family: 23 [2021-05-28T23:18:29.829Z] Model: 49 [2021-05-28T23:18:29.829Z] Model name: AMD EPYC-Rome Processor [2021-05-28T23:18:29.829Z] Stepping: 0 [2021-05-28T23:18:29.829Z] CPU MHz: 2800.000 [2021-05-28T23:18:29.829Z] BogoMIPS: 5600.00 [2021-05-28T23:18:29.829Z] Virtualization: AMD-V [2021-05-28T23:18:29.829Z] Hypervisor vendor: KVM [2021-05-28T23:18:29.829Z] Virtualization type: full [2021-05-28T23:18:29.829Z] L1d cache: 64 KiB [2021-05-28T23:18:29.829Z] L1i cache: 64 KiB [2021-05-28T23:18:29.829Z] L2 cache: 1 MiB [2021-05-28T23:18:29.829Z] L3 cache: 32 MiB [2021-05-28T23:18:29.829Z] NUMA node0 CPU(s): 0,1 [2021-05-28T23:18:29.829Z] Vulnerability Itlb multihit: Not affected [2021-05-28T23:18:29.829Z] Vulnerability L1tf: Not affected [2021-05-28T23:18:29.829Z] Vulnerability Mds: Not affected [2021-05-28T23:18:29.829Z] Vulnerability Meltdown: Not affected [2021-05-28T23:18:29.829Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-28T23:18:29.829Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-28T23:18:29.829Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-28T23:18:29.829Z] Vulnerability Srbds: Not affected [2021-05-28T23:18:29.829Z] Vulnerability Tsx async abort: Not affected [2021-05-28T23:18:29.829Z] 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-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] ---> nproc: [2021-05-28T23:18:29.829Z] 2 [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] ---> df -h: [2021-05-28T23:18:29.829Z] Filesystem Size Used Available Use% Mounted on [2021-05-28T23:18:29.829Z] overlay 40.0G 7.6G 32.4G 19% / [2021-05-28T23:18:29.829Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-28T23:18:29.829Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-05-28T23:18:29.829Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-104 [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-104@tmp [2021-05-28T23:18:29.829Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] ---> free -m: [2021-05-28T23:18:29.829Z] total used free shared buff/cache available [2021-05-28T23:18:29.829Z] Mem: 7821 982 4729 0 2108 6660 [2021-05-28T23:18:29.829Z] Swap: 1023 0 1023 [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] ---> ip addr: [2021-05-28T23:18:29.829Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-28T23:18:29.829Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-28T23:18:29.829Z] inet 127.0.0.1/8 scope host lo [2021-05-28T23:18:29.829Z] valid_lft forever preferred_lft forever [2021-05-28T23:18:29.829Z] inet6 ::1/128 scope host [2021-05-28T23:18:29.829Z] valid_lft forever preferred_lft forever [2021-05-28T23:18:29.829Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-28T23:18:29.829Z] link/ether fa:16:3e:7a:79:14 brd ff:ff:ff:ff:ff:ff [2021-05-28T23:18:29.829Z] inet 10.30.123.72/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-28T23:18:29.829Z] valid_lft 85764sec preferred_lft 85764sec [2021-05-28T23:18:29.829Z] inet6 fe80::f816:3eff:fe7a:7914/64 scope link [2021-05-28T23:18:29.829Z] valid_lft forever preferred_lft forever [2021-05-28T23:18:29.829Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-28T23:18:29.829Z] link/ether 02:42:a4:50:ab:73 brd ff:ff:ff:ff:ff:ff [2021-05-28T23:18:29.829Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-28T23:18:29.829Z] valid_lft forever preferred_lft forever [2021-05-28T23:18:29.829Z] inet6 fe80::42:a4ff:fe50:ab73/64 scope link [2021-05-28T23:18:29.829Z] valid_lft forever preferred_lft forever [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] ---> sar -b -r -n DEV: [2021-05-28T23:18:29.829Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] 23:07:42 LINUX RESTART (2 CPU) [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] 23:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-05-28T23:18:29.829Z] 23:09:01 150.25 26.51 123.74 0.00 6041.43 40570.90 0.00 [2021-05-28T23:18:29.829Z] 23:10:02 1.88 0.00 1.88 0.00 0.00 39.94 0.00 [2021-05-28T23:18:29.829Z] 23:11:01 0.41 0.00 0.41 0.00 0.00 6.05 0.00 [2021-05-28T23:18:29.829Z] 23:12:01 0.20 0.00 0.20 0.00 0.00 2.07 0.00 [2021-05-28T23:18:29.829Z] 23:13:01 0.28 0.00 0.28 0.00 0.00 4.00 0.00 [2021-05-28T23:18:29.829Z] 23:14:01 0.30 0.00 0.30 0.00 0.00 4.25 0.00 [2021-05-28T23:18:29.829Z] 23:15:01 0.23 0.00 0.23 0.00 0.00 3.36 0.00 [2021-05-28T23:18:29.829Z] 23:16:01 0.25 0.00 0.25 0.00 0.00 3.56 0.00 [2021-05-28T23:18:29.829Z] 23:17:01 0.23 0.00 0.23 0.00 0.00 2.03 0.00 [2021-05-28T23:18:29.829Z] 23:18:01 0.22 0.00 0.22 0.00 0.00 3.33 0.00 [2021-05-28T23:18:29.829Z] Average: 15.46 2.66 12.80 0.00 605.40 4072.41 0.00 [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] 23:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-05-28T23:18:29.829Z] 23:09:01 5448548 0 806232 10.07 2620 1751532 1287812 14.22 578484 1582276 128 [2021-05-28T23:18:29.829Z] 23:10:02 5452928 0 801844 10.01 2620 1751540 1258356 13.89 574904 1582240 16 [2021-05-28T23:18:29.829Z] 23:11:01 5459348 0 795424 9.93 2620 1751540 1204684 13.30 572228 1579624 12 [2021-05-28T23:18:29.829Z] 23:12:01 5455056 0 799712 9.99 2620 1751544 1204912 13.30 576552 1579624 20 [2021-05-28T23:18:29.829Z] 23:13:01 5456152 0 798608 9.97 2620 1751552 1204684 13.30 569184 1585632 20 [2021-05-28T23:18:29.829Z] 23:14:01 5456072 0 798688 9.97 2620 1751552 1204756 13.30 569560 1585632 8 [2021-05-28T23:18:29.829Z] 23:15:01 5455484 0 799268 9.98 2620 1751560 1204888 13.30 570312 1585632 20 [2021-05-28T23:18:29.829Z] 23:16:01 5453880 0 800840 10.00 2620 1751592 1204684 13.30 572352 1585640 20 [2021-05-28T23:18:29.829Z] 23:17:01 5445048 0 809692 10.11 2620 1751572 1204684 13.30 580792 1585632 8 [2021-05-28T23:18:29.829Z] 23:18:01 5445136 0 809600 10.11 2620 1751576 1204684 13.30 582704 1583720 8 [2021-05-28T23:18:29.829Z] Average: 5452765 0 801991 10.01 2620 1751556 1218414 13.45 574707 1583565 26 [2021-05-28T23:18:29.829Z] [2021-05-28T23:18:29.829Z] 23:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-05-28T23:18:29.829Z] 23:09:01 eth0 666.27 502.96 1327.72 94.50 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:09:01 docker0 59.82 40.39 4.90 133.91 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:10:02 eth0 0.92 0.42 0.53 0.38 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:10:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:10:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:11:01 eth0 1.24 0.07 0.12 0.01 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:12:01 eth0 1.00 0.70 0.58 0.37 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:13:01 eth0 0.17 0.08 0.01 0.04 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:14:01 eth0 0.30 0.23 0.14 0.07 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.829Z] 23:15:01 eth0 0.92 0.33 0.32 0.20 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:16:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:17:01 eth0 0.13 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:18:01 eth0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] 23:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] Average: eth0 67.25 50.60 133.22 9.58 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] Average: docker0 5.99 4.05 0.49 13.42 0.00 0.00 0.00 0.00 [2021-05-28T23:18:29.830Z] [2021-05-28T23:18:29.830Z] [2021-05-28T23:18:29.830Z] ---> sar -P ALL: [2021-05-28T23:18:29.830Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) [2021-05-28T23:18:29.830Z] [2021-05-28T23:18:29.830Z] 23:07:42 LINUX RESTART (2 CPU) [2021-05-28T23:18:29.830Z] [2021-05-28T23:18:29.830Z] 23:08:01 CPU %user %nice %system %iowait %steal %idle [2021-05-28T23:18:29.830Z] 23:09:01 all 17.81 0.00 5.82 12.74 0.09 63.54 [2021-05-28T23:18:29.830Z] 23:09:01 0 17.28 0.00 6.12 12.62 0.09 63.90 [2021-05-28T23:18:29.830Z] 23:09:01 1 18.33 0.00 5.53 12.87 0.09 63.19 [2021-05-28T23:18:29.830Z] 23:10:02 all 0.09 0.00 0.04 0.00 0.03 99.83 [2021-05-28T23:18:29.830Z] 23:10:02 0 0.08 0.00 0.05 0.00 0.03 99.83 [2021-05-28T23:18:29.830Z] 23:10:02 1 0.10 0.00 0.03 0.00 0.03 99.83 [2021-05-28T23:18:29.830Z] 23:11:01 all 0.11 0.00 0.03 0.00 0.03 99.82 [2021-05-28T23:18:29.830Z] 23:11:01 0 0.03 0.00 0.03 0.00 0.03 99.90 [2021-05-28T23:18:29.830Z] 23:11:01 1 0.19 0.00 0.03 0.00 0.03 99.74 [2021-05-28T23:18:29.830Z] 23:12:01 all 0.16 0.00 0.03 0.00 0.03 99.78 [2021-05-28T23:18:29.830Z] 23:12:01 0 0.08 0.00 0.03 0.00 0.03 99.85 [2021-05-28T23:18:29.830Z] 23:12:01 1 0.23 0.00 0.03 0.00 0.02 99.72 [2021-05-28T23:18:29.830Z] 23:13:01 all 0.13 0.00 0.03 0.00 0.03 99.82 [2021-05-28T23:18:29.830Z] 23:13:01 0 0.07 0.00 0.03 0.00 0.02 99.88 [2021-05-28T23:18:29.830Z] 23:13:01 1 0.20 0.00 0.02 0.00 0.03 99.75 [2021-05-28T23:18:29.830Z] 23:14:01 all 0.03 0.00 0.03 0.00 0.03 99.92 [2021-05-28T23:18:29.830Z] 23:14:01 0 0.02 0.00 0.02 0.00 0.02 99.95 [2021-05-28T23:18:29.830Z] 23:14:01 1 0.05 0.00 0.03 0.00 0.03 99.88 [2021-05-28T23:18:29.830Z] 23:15:01 all 0.07 0.00 0.03 0.00 0.03 99.87 [2021-05-28T23:18:29.830Z] 23:15:01 0 0.07 0.00 0.05 0.00 0.03 99.85 [2021-05-28T23:18:29.830Z] 23:15:01 1 0.07 0.00 0.02 0.00 0.02 99.90 [2021-05-28T23:18:29.830Z] 23:16:01 all 0.08 0.00 0.03 0.00 0.03 99.87 [2021-05-28T23:18:29.830Z] 23:16:01 0 0.12 0.00 0.03 0.00 0.03 99.82 [2021-05-28T23:18:29.830Z] 23:16:01 1 0.03 0.00 0.02 0.00 0.03 99.92 [2021-05-28T23:18:29.830Z] 23:17:01 all 0.05 0.00 0.02 0.00 0.03 99.90 [2021-05-28T23:18:29.830Z] 23:17:01 0 0.05 0.00 0.03 0.00 0.05 99.87 [2021-05-28T23:18:29.830Z] 23:17:01 1 0.05 0.00 0.00 0.00 0.02 99.93 [2021-05-28T23:18:29.830Z] 23:18:01 all 0.08 0.00 0.03 0.00 0.03 99.87 [2021-05-28T23:18:29.830Z] 23:18:01 0 0.07 0.00 0.03 0.00 0.03 99.87 [2021-05-28T23:18:29.830Z] 23:18:01 1 0.10 0.00 0.02 0.00 0.02 99.87 [2021-05-28T23:18:29.830Z] Average: all 1.80 0.00 0.59 1.23 0.03 96.35 [2021-05-28T23:18:29.830Z] Average: 0 1.72 0.00 0.62 1.21 0.04 96.41 [2021-05-28T23:18:29.830Z] Average: 1 1.88 0.00 0.56 1.25 0.03 96.28 [2021-05-28T23:18:29.830Z] [2021-05-28T23:18:29.830Z] [2021-05-28T23:18:29.830Z]