Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Obtained Jenkinsfile from 9d07684563d8f4d23885c055d6756f238caffb9a+c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (62b184a10151e37d361d1acc628ff3849dad4775) 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-ssh129712700307177102.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1028047718252216026.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh835116557243073105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh280012458865492755.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2322354986852500376.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-838 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh6947774909898643493.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 9d07684563d8f4d23885c055d6756f238caffb9a Merge succeeded, producing 9d07684563d8f4d23885c055d6756f238caffb9a Checking out Revision 9d07684563d8f4d23885c055d6756f238caffb9a (PR-127) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh2330897895131702048.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d07684563d8f4d23885c055d6756f238caffb9a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh2452946737414411736.key > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d07684563d8f4d23885c055d6756f238caffb9a # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 8ffea0f55d6214429cee9528100909bf3cc0e2ad # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-30T12:21:56.387Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-30T12:21:56.504Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T12:21:56.536Z] ========================================================= [2021-06-30T12:21:56.536Z] EdgeX Global Pipelines Version Info [2021-06-30T12:21:56.536Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:21:57.951Z] ------------------- [2021-06-30T12:21:57.951Z] stable info: [2021-06-30T12:21:57.951Z] ------------------- [2021-06-30T12:21:57.951Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T12:21:57.951Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T12:21:57.951Z] Message: update stable to v1.0.195 [2021-06-30T12:21:58.527Z] ------------------- [2021-06-30T12:21:58.527Z] experimental info: [2021-06-30T12:21:58.527Z] ------------------- [2021-06-30T12:21:58.527Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T12:21:58.527Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T12:21:58.527Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T12:21:58.668Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-30T12:21:58.698Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-30T12:21:58.727Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T12:21:58.757Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T12:21:58.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T12:21:58.808Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T12:21:58.834Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T12:21:58.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T12:21:58.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-30T12:21:58.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T12:21:58.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T12:21:58.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-30T12:21:58.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T12:21:59.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T12:21:59.047Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T12:21:59.079Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T12:21:59.111Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T12:21:59.146Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T12:21:59.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T12:21:59.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-30T12:21:59.246Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-30T12:21:59.275Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-30T12:21:59.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T12:21:59.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T12:21:59.352Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T12:21:59.455Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T12:21:59.482Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-06-30T12:21:59.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-06-30T12:21:59.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-06-30T12:21:59.565Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d07684563d8f4d23885c055d6756f238caffb9a [Pipeline] echo [2021-06-30T12:21:59.595Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d07684 [Pipeline] echo [2021-06-30T12:21:59.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T12:21:59.713Z] provisioning config files... [2021-06-30T12:21:59.730Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config7849548375009573772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:22:00.062Z] ---> docker-login.sh [2021-06-30T12:22:00.062Z] nexus3.edgexfoundry.org:10001 [2021-06-30T12:22:00.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:22:00.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:22:00.328Z] Configure a credential helper to remove this warning. See [2021-06-30T12:22:00.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:22:00.328Z] [2021-06-30T12:22:00.328Z] Login Succeeded [2021-06-30T12:22:00.328Z] nexus3.edgexfoundry.org:10002 [2021-06-30T12:22:00.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:22:00.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:22:00.596Z] Configure a credential helper to remove this warning. See [2021-06-30T12:22:00.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:22:00.596Z] [2021-06-30T12:22:00.596Z] Login Succeeded [2021-06-30T12:22:00.596Z] nexus3.edgexfoundry.org:10003 [2021-06-30T12:22:00.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:22:00.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:22:00.860Z] Configure a credential helper to remove this warning. See [2021-06-30T12:22:00.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:22:00.860Z] [2021-06-30T12:22:00.860Z] Login Succeeded [2021-06-30T12:22:00.860Z] nexus3.edgexfoundry.org:10004 [2021-06-30T12:22:00.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:22:00.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:22:00.860Z] Configure a credential helper to remove this warning. See [2021-06-30T12:22:00.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:22:00.860Z] [2021-06-30T12:22:00.860Z] Login Succeeded [2021-06-30T12:22:00.860Z] docker.io [2021-06-30T12:22:00.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:22:01.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:22:01.446Z] Configure a credential helper to remove this warning. See [2021-06-30T12:22:01.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:22:01.446Z] [2021-06-30T12:22:01.446Z] Login Succeeded [2021-06-30T12:22:01.446Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T12:22:01.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T12:22:02.020Z] + git log --format=format:%s -1 9d07684563d8f4d23885c055d6756f238caffb9a [Pipeline] echo [2021-06-30T12:22:02.061Z] GIT_COMMIT: 9d07684563d8f4d23885c055d6756f238caffb9a, Commit Message: feat(snap): add go-based configure and install hooks [Pipeline] echo [2021-06-30T12:22:02.075Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:22:03.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T12:22:03.161Z] [2021-06-30T12:22:03.161Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:22:03.478Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T12:22:03.478Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T12:22:03.478Z] 31603596830f: Pulling fs layer [2021-06-30T12:22:03.478Z] 54011a49482f: Pulling fs layer [2021-06-30T12:22:03.478Z] a6820b24f6d8: Pulling fs layer [2021-06-30T12:22:03.478Z] f581987b2513: Pulling fs layer [2021-06-30T12:22:03.478Z] f581987b2513: Waiting [2021-06-30T12:22:03.478Z] 54011a49482f: Verifying Checksum [2021-06-30T12:22:03.478Z] 54011a49482f: Download complete [2021-06-30T12:22:03.743Z] 31603596830f: Verifying Checksum [2021-06-30T12:22:03.743Z] 31603596830f: Download complete [2021-06-30T12:22:03.743Z] a6820b24f6d8: Verifying Checksum [2021-06-30T12:22:03.743Z] a6820b24f6d8: Download complete [2021-06-30T12:22:03.743Z] f581987b2513: Verifying Checksum [2021-06-30T12:22:03.743Z] f581987b2513: Download complete [2021-06-30T12:22:03.743Z] 31603596830f: Pull complete [2021-06-30T12:22:04.011Z] 54011a49482f: Pull complete [2021-06-30T12:22:04.593Z] a6820b24f6d8: Pull complete [2021-06-30T12:22:04.854Z] f581987b2513: Pull complete [2021-06-30T12:22:04.854Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T12:22:04.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T12:22:04.854Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T12:22:04.955Z] prd-centos7-docker-4c-2g-838 does not seem to be running inside a container [2021-06-30T12:22:05.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T12:22:06.164Z] $ docker top 64763c41ef548d0928f4d61f67e17034811b0d1db1d1ac51c294345b79e8a11e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T12:22:06.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T12:22:06.312Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T12:22:06.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T12:22:06.422Z] $ docker exec 64763c41ef548d0928f4d61f67e17034811b0d1db1d1ac51c294345b79e8a11e ssh-agent [2021-06-30T12:22:06.515Z] SSH_AUTH_SOCK=/tmp/ssh-OD7KUqS8qOZu/agent.15 [2021-06-30T12:22:06.515Z] SSH_AGENT_PID=22 [2021-06-30T12:22:06.521Z] Running ssh-add (command line suppressed) [2021-06-30T12:22:06.615Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_9062881682729640339.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_9062881682729640339.key) [2021-06-30T12:22:06.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T12:22:06.945Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T12:22:06.957Z] $ docker exec --env ******** --env ******** 64763c41ef548d0928f4d61f67e17034811b0d1db1d1ac51c294345b79e8a11e ssh-agent -k [2021-06-30T12:22:07.048Z] unset SSH_AUTH_SOCK; [2021-06-30T12:22:07.049Z] unset SSH_AGENT_PID; [2021-06-30T12:22:07.049Z] echo Agent pid 22 killed; [2021-06-30T12:22:07.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-30T12:22:07.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T12:22:07.186Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T12:22:07.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T12:22:07.293Z] $ docker exec 64763c41ef548d0928f4d61f67e17034811b0d1db1d1ac51c294345b79e8a11e ssh-agent [2021-06-30T12:22:07.402Z] SSH_AUTH_SOCK=/tmp/ssh-sl8cW50Z2JbI/agent.56 [2021-06-30T12:22:07.402Z] SSH_AGENT_PID=62 [2021-06-30T12:22:07.408Z] Running ssh-add (command line suppressed) [2021-06-30T12:22:07.507Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_5458525704043666407.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_5458525704043666407.key) [2021-06-30T12:22:07.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T12:22:07.866Z] + git semver init [2021-06-30T12:22:07.866Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T12:22:07.866Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.git [2021-06-30T12:22:07.866Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T12:22:07.866Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T12:22:07.866Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T12:22:07.866Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T12:22:07.866Z] # $SEMVER_BRANCH = PR-127 [2021-06-30T12:22:07.866Z] # $SEMVER_TEMP = /tmp/semver-581158429 [2021-06-30T12:22:07.866Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-30T12:22:08.811Z] # '/tmp/semver-581158429' -> '/w/workspace/gexfoundry_device-rest-go_PR-127/.semver' [2021-06-30T12:22:08.811Z] # -> Force: false [2021-06-30T12:22:08.811Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.semver [Pipeline] } [2021-06-30T12:22:08.820Z] $ docker exec --env ******** --env ******** 64763c41ef548d0928f4d61f67e17034811b0d1db1d1ac51c294345b79e8a11e ssh-agent -k [2021-06-30T12:22:08.928Z] unset SSH_AUTH_SOCK; [2021-06-30T12:22:08.929Z] unset SSH_AGENT_PID; [2021-06-30T12:22:08.929Z] echo Agent pid 62 killed; [2021-06-30T12:22:08.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T12:22:09.284Z] + git semver [Pipeline] } [2021-06-30T12:22:09.299Z] $ docker stop --time=1 64763c41ef548d0928f4d61f67e17034811b0d1db1d1ac51c294345b79e8a11e [2021-06-30T12:22:10.636Z] $ docker rm -f 64763c41ef548d0928f4d61f67e17034811b0d1db1d1ac51c294345b79e8a11e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T12:22:11.033Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T12:22:11.343Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T12:22:11.347Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-30T12:22:26.596Z] Still waiting to schedule task [2021-06-30T12:22:26.597Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-30T12:22:26.599Z] Still waiting to schedule task [2021-06-30T12:22:26.600Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-30T12:24:20.669Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-839 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T12:24:20.693Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-06-30T12:24:20.947Z] The recommended git tool is: git [2021-06-30T12:24:26.035Z] using credential edgex-jenkins-ssh [2021-06-30T12:24:26.055Z] Cloning the remote Git repository [2021-06-30T12:24:26.107Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T12:24:26.277Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-06-30T12:24:26.395Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T12:24:26.396Z] > git --version # timeout=10 [2021-06-30T12:24:26.433Z] > git --version # 'git version 2.17.1' [2021-06-30T12:24:26.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T12:24:26.572Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T12:24:28.190Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T12:24:28.210Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T12:24:28.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T12:24:28.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T12:24:28.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T12:24:28.290Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T12:24:28.913Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 9d07684563d8f4d23885c055d6756f238caffb9a [2021-06-30T12:24:29.094Z] Merge succeeded, producing 9d07684563d8f4d23885c055d6756f238caffb9a [2021-06-30T12:24:29.094Z] Checking out Revision 9d07684563d8f4d23885c055d6756f238caffb9a (PR-127) [2021-06-30T12:24:28.926Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T12:24:28.942Z] > git checkout -f 9d07684563d8f4d23885c055d6756f238caffb9a # timeout=10 [2021-06-30T12:24:29.018Z] > git remote # timeout=10 [2021-06-30T12:24:29.034Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T12:24:29.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T12:24:29.055Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T12:24:29.074Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T12:24:29.094Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T12:24:29.103Z] > git checkout -f 9d07684563d8f4d23885c055d6756f238caffb9a # timeout=10 [2021-06-30T12:24:33.489Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T12:24:34.987Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-30T12:24:35.409Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T12:24:35.761Z] + sudo service docker restart [2021-06-30T12:24:35.761Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T12:24:54.111Z] provisioning config files... [2021-06-30T12:24:54.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2062976431236150524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:24:54.510Z] ---> docker-login.sh [2021-06-30T12:24:54.510Z] nexus3.edgexfoundry.org:10001 [2021-06-30T12:24:55.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:24:55.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:24:55.778Z] Configure a credential helper to remove this warning. See [2021-06-30T12:24:55.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:24:55.778Z] [2021-06-30T12:24:55.778Z] Login Succeeded [2021-06-30T12:24:55.778Z] nexus3.edgexfoundry.org:10002 [2021-06-30T12:24:56.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:24:56.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:24:56.332Z] Configure a credential helper to remove this warning. See [2021-06-30T12:24:56.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:24:56.332Z] [2021-06-30T12:24:56.332Z] Login Succeeded [2021-06-30T12:24:56.332Z] nexus3.edgexfoundry.org:10003 [2021-06-30T12:24:56.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:24:56.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:24:56.605Z] Configure a credential helper to remove this warning. See [2021-06-30T12:24:56.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:24:56.605Z] [2021-06-30T12:24:56.605Z] Login Succeeded [2021-06-30T12:24:56.605Z] nexus3.edgexfoundry.org:10004 [2021-06-30T12:24:56.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:24:57.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:24:57.162Z] Configure a credential helper to remove this warning. See [2021-06-30T12:24:57.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:24:57.162Z] [2021-06-30T12:24:57.162Z] Login Succeeded [2021-06-30T12:24:57.162Z] docker.io [2021-06-30T12:24:57.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:24:58.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:24:58.030Z] Configure a credential helper to remove this warning. See [2021-06-30T12:24:58.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:24:58.030Z] [2021-06-30T12:24:58.030Z] Login Succeeded [2021-06-30T12:24:58.030Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T12:24:58.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-30T12:24:58.221Z] Running on prd-centos7-docker-4c-2g-840 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T12:24:58.239Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-06-30T12:24:58.351Z] The recommended git tool is: git [Pipeline] echo [2021-06-30T12:24:58.361Z] ========================================================= [2021-06-30T12:24:58.361Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T12:24:58.361Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:24:58.719Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-30T12:24:58.719Z] Sending build context to Docker daemon 115.7kB [2021-06-30T12:24:58.997Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T12:24:58.997Z] Step 2/10 : FROM ${BASE} [2021-06-30T12:24:59.275Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T12:24:59.276Z] 595b0fe564bb: Pulling fs layer [2021-06-30T12:24:59.276Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T12:24:59.276Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T12:24:59.276Z] ba82ee9f976e: Pulling fs layer [2021-06-30T12:24:59.276Z] 506bd15cee9f: Pulling fs layer [2021-06-30T12:24:59.276Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T12:24:59.276Z] 618dc40b7e24: Pulling fs layer [2021-06-30T12:24:59.276Z] ba82ee9f976e: Waiting [2021-06-30T12:24:59.276Z] 506bd15cee9f: Waiting [2021-06-30T12:24:59.276Z] 75a0a4a0db45: Waiting [2021-06-30T12:24:59.276Z] 618dc40b7e24: Waiting [2021-06-30T12:24:59.276Z] 5b7225fbf94c: Verifying Checksum [2021-06-30T12:24:59.276Z] 5b7225fbf94c: Download complete [2021-06-30T12:24:59.276Z] 3088b5b3c5c0: Download complete [2021-06-30T12:24:59.276Z] 506bd15cee9f: Download complete [2021-06-30T12:24:59.276Z] 75a0a4a0db45: Download complete [2021-06-30T12:24:59.276Z] 595b0fe564bb: Verifying Checksum [2021-06-30T12:24:59.276Z] 595b0fe564bb: Download complete [2021-06-30T12:25:00.268Z] 595b0fe564bb: Pull complete [2021-06-30T12:25:00.610Z] 3088b5b3c5c0: Pull complete [2021-06-30T12:25:00.886Z] using credential edgex-jenkins-ssh [2021-06-30T12:25:00.900Z] Cloning the remote Git repository [2021-06-30T12:25:01.626Z] 5b7225fbf94c: Pull complete [2021-06-30T12:25:00.142Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T12:25:00.212Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-06-30T12:25:00.260Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T12:25:00.260Z] > git --version # timeout=10 [2021-06-30T12:25:00.273Z] > git --version # 'git version 2.24.4' [2021-06-30T12:25:00.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T12:25:00.298Z] [INFO] Currently running in a labeled security context [2021-06-30T12:25:00.299Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T12:25:00.299Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh2043704443202957478.key [2021-06-30T12:25:00.318Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T12:25:01.907Z] 618dc40b7e24: Verifying Checksum [2021-06-30T12:25:01.907Z] 618dc40b7e24: Download complete [2021-06-30T12:25:01.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T12:25:01.565Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T12:25:01.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T12:25:01.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T12:25:01.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T12:25:01.605Z] [INFO] Currently running in a labeled security context [2021-06-30T12:25:01.605Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T12:25:01.605Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh6727858605537577996.key [2021-06-30T12:25:01.610Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T12:25:03.343Z] ba82ee9f976e: Verifying Checksum [2021-06-30T12:25:03.343Z] ba82ee9f976e: Download complete [2021-06-30T12:25:03.541Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 9d07684563d8f4d23885c055d6756f238caffb9a [2021-06-30T12:25:03.627Z] Merge succeeded, producing 9d07684563d8f4d23885c055d6756f238caffb9a [2021-06-30T12:25:03.627Z] Checking out Revision 9d07684563d8f4d23885c055d6756f238caffb9a (PR-127) [2021-06-30T12:25:02.977Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T12:25:02.990Z] > git checkout -f 9d07684563d8f4d23885c055d6756f238caffb9a # timeout=10 [2021-06-30T12:25:03.025Z] > git remote # timeout=10 [2021-06-30T12:25:03.030Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T12:25:03.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T12:25:03.039Z] [INFO] Currently running in a labeled security context [2021-06-30T12:25:03.039Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T12:25:03.039Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh7787733393649866568.key [2021-06-30T12:25:03.046Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T12:25:03.055Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T12:25:03.065Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T12:25:03.081Z] > git checkout -f 9d07684563d8f4d23885c055d6756f238caffb9a # timeout=10 [2021-06-30T12:25:06.975Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T12:25:08.038Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T12:25:08.362Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T12:25:08.662Z] + sudo service docker restart [2021-06-30T12:25:08.662Z] + true [2021-06-30T12:25:08.662Z] Redirecting to /bin/systemctl restart docker.service [2021-06-30T12:25:13.518Z] ba82ee9f976e: Pull complete [2021-06-30T12:25:13.791Z] 506bd15cee9f: Pull complete [2021-06-30T12:25:14.066Z] 75a0a4a0db45: Pull complete [2021-06-30T12:25:17.465Z] 618dc40b7e24: Pull complete [2021-06-30T12:25:17.465Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T12:25:17.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T12:25:17.465Z] ---> a36622ca3599 [2021-06-30T12:25:17.465Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T12:25:19.467Z] ---> Running in c38e31868280 [2021-06-30T12:25:20.062Z] Removing intermediate container c38e31868280 [2021-06-30T12:25:20.062Z] ---> 905f3ae159c8 [2021-06-30T12:25:20.062Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T12:25:20.338Z] ---> Running in 30bfd706d6df [2021-06-30T12:25:20.611Z] Removing intermediate container 30bfd706d6df [2021-06-30T12:25:20.611Z] ---> 555f7698eb24 [2021-06-30T12:25:20.611Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T12:25:20.884Z] ---> Running in 264f0fb704d3 [2021-06-30T12:25:21.480Z] Removing intermediate container 264f0fb704d3 [2021-06-30T12:25:21.480Z] ---> 191f42052b94 [2021-06-30T12:25:21.480Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T12:25:21.480Z] ---> Running in b5838a02630a [2021-06-30T12:25:24.114Z] Removing intermediate container b5838a02630a [2021-06-30T12:25:24.114Z] ---> 77787bf7b880 [2021-06-30T12:25:24.114Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T12:25:24.114Z] ---> Running in a6ba686756f6 [2021-06-30T12:25:25.096Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T12:25:26.070Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T12:25:26.847Z] provisioning config files... [2021-06-30T12:25:26.862Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6667441388568372105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:25:27.053Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T12:25:27.053Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T12:25:27.053Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T12:25:27.053Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T12:25:27.197Z] ---> docker-login.sh [2021-06-30T12:25:27.197Z] nexus3.edgexfoundry.org:10001 [2021-06-30T12:25:27.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:25:27.343Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T12:25:27.343Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T12:25:27.343Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T12:25:27.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:25:27.463Z] Configure a credential helper to remove this warning. See [2021-06-30T12:25:27.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:25:27.463Z] [2021-06-30T12:25:27.463Z] Login Succeeded [2021-06-30T12:25:27.463Z] nexus3.edgexfoundry.org:10002 [2021-06-30T12:25:27.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:25:27.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:25:27.463Z] Configure a credential helper to remove this warning. See [2021-06-30T12:25:27.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:25:27.463Z] [2021-06-30T12:25:27.463Z] Login Succeeded [2021-06-30T12:25:27.463Z] nexus3.edgexfoundry.org:10003 [2021-06-30T12:25:27.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:25:27.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:25:27.729Z] Configure a credential helper to remove this warning. See [2021-06-30T12:25:27.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:25:27.729Z] [2021-06-30T12:25:27.729Z] Login Succeeded [2021-06-30T12:25:27.729Z] nexus3.edgexfoundry.org:10004 [2021-06-30T12:25:27.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:25:27.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:25:27.729Z] Configure a credential helper to remove this warning. See [2021-06-30T12:25:27.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:25:27.729Z] [2021-06-30T12:25:27.729Z] Login Succeeded [2021-06-30T12:25:27.729Z] docker.io [2021-06-30T12:25:27.934Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T12:25:27.934Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T12:25:27.934Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T12:25:27.934Z] OK: 144 MiB in 49 packages [2021-06-30T12:25:27.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:25:28.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:25:28.253Z] Configure a credential helper to remove this warning. See [2021-06-30T12:25:28.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:25:28.253Z] [2021-06-30T12:25:28.253Z] Login Succeeded [2021-06-30T12:25:28.253Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T12:25:28.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T12:25:28.432Z] ========================================================= [2021-06-30T12:25:28.432Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T12:25:28.432Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:25:28.755Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-30T12:25:28.755Z] Sending build context to Docker daemon 115.7kB [2021-06-30T12:25:28.755Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T12:25:28.755Z] Step 2/10 : FROM ${BASE} [2021-06-30T12:25:28.755Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T12:25:28.755Z] 540db60ca938: Pulling fs layer [2021-06-30T12:25:28.755Z] adcc1eea9eea: Pulling fs layer [2021-06-30T12:25:28.755Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T12:25:28.755Z] 0510c868ecb4: Pulling fs layer [2021-06-30T12:25:28.755Z] afea3b2eda06: Pulling fs layer [2021-06-30T12:25:28.755Z] 7809a108b3ef: Pulling fs layer [2021-06-30T12:25:28.755Z] f706445af74f: Pulling fs layer [2021-06-30T12:25:28.755Z] 0510c868ecb4: Waiting [2021-06-30T12:25:28.755Z] afea3b2eda06: Waiting [2021-06-30T12:25:28.755Z] 7809a108b3ef: Waiting [2021-06-30T12:25:28.755Z] f706445af74f: Waiting [2021-06-30T12:25:28.755Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T12:25:28.755Z] 4c4ab2625f07: Download complete [2021-06-30T12:25:28.755Z] adcc1eea9eea: Verifying Checksum [2021-06-30T12:25:28.755Z] adcc1eea9eea: Download complete [2021-06-30T12:25:29.025Z] afea3b2eda06: Verifying Checksum [2021-06-30T12:25:29.025Z] afea3b2eda06: Download complete [2021-06-30T12:25:29.025Z] 540db60ca938: Verifying Checksum [2021-06-30T12:25:29.025Z] 7809a108b3ef: Verifying Checksum [2021-06-30T12:25:29.025Z] 7809a108b3ef: Download complete [2021-06-30T12:25:29.025Z] 540db60ca938: Pull complete [2021-06-30T12:25:29.290Z] adcc1eea9eea: Pull complete [2021-06-30T12:25:29.290Z] 4c4ab2625f07: Pull complete [2021-06-30T12:25:29.400Z] Removing intermediate container a6ba686756f6 [2021-06-30T12:25:29.400Z] ---> 3affd307823e [2021-06-30T12:25:29.400Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T12:25:29.679Z] ---> Running in 1d3218a8ed99 [2021-06-30T12:25:30.275Z] Removing intermediate container 1d3218a8ed99 [2021-06-30T12:25:30.275Z] ---> ba0a2bc8e1b0 [2021-06-30T12:25:30.276Z] Step 9/10 : COPY . . [2021-06-30T12:25:30.677Z] f706445af74f: Verifying Checksum [2021-06-30T12:25:30.677Z] f706445af74f: Download complete [2021-06-30T12:25:30.937Z] 0510c868ecb4: Verifying Checksum [2021-06-30T12:25:30.937Z] 0510c868ecb4: Download complete [2021-06-30T12:25:31.257Z] ---> 22023f844f09 [2021-06-30T12:25:31.257Z] Step 10/10 : RUN go mod download [2021-06-30T12:25:31.532Z] ---> Running in c2660fb0c008 [2021-06-30T12:25:34.268Z] 0510c868ecb4: Pull complete [2021-06-30T12:25:34.268Z] afea3b2eda06: Pull complete [2021-06-30T12:25:34.268Z] 7809a108b3ef: Pull complete [2021-06-30T12:25:35.672Z] f706445af74f: Pull complete [2021-06-30T12:25:35.672Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T12:25:35.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T12:25:35.673Z] ---> b068be0155e3 [2021-06-30T12:25:35.673Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T12:25:38.982Z] ---> Running in 5d550e04d31f [2021-06-30T12:25:39.244Z] Removing intermediate container 5d550e04d31f [2021-06-30T12:25:39.244Z] ---> 269c387b08c8 [2021-06-30T12:25:39.244Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T12:25:39.244Z] ---> Running in 0eb5b3bfb1b4 [2021-06-30T12:25:39.244Z] Removing intermediate container 0eb5b3bfb1b4 [2021-06-30T12:25:39.244Z] ---> b509148f2f01 [2021-06-30T12:25:39.244Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T12:25:39.244Z] ---> Running in d090c01bf987 [2021-06-30T12:25:39.507Z] Removing intermediate container d090c01bf987 [2021-06-30T12:25:39.507Z] ---> 825fa16e7481 [2021-06-30T12:25:39.507Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T12:25:39.507Z] ---> Running in 36396e0f6ce3 [2021-06-30T12:25:40.095Z] Removing intermediate container 36396e0f6ce3 [2021-06-30T12:25:40.095Z] ---> ad368be9ee75 [2021-06-30T12:25:40.095Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T12:25:40.095Z] ---> Running in 7d63e50cda34 [2021-06-30T12:25:40.360Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T12:25:41.303Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T12:25:41.564Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T12:25:41.564Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T12:25:41.825Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T12:25:41.825Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T12:25:41.825Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T12:25:42.086Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T12:25:42.086Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T12:25:42.348Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T12:25:42.348Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T12:25:42.615Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T12:25:42.615Z] OK: 154 MiB in 49 packages [2021-06-30T12:25:42.877Z] Removing intermediate container 7d63e50cda34 [2021-06-30T12:25:42.877Z] ---> 1151b25f6ee2 [2021-06-30T12:25:42.877Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T12:25:42.877Z] ---> Running in 6df589512aa9 [2021-06-30T12:25:43.138Z] Removing intermediate container 6df589512aa9 [2021-06-30T12:25:43.138Z] ---> b0be121383d8 [2021-06-30T12:25:43.138Z] Step 9/10 : COPY . . [2021-06-30T12:25:43.399Z] ---> b9233ca334f2 [2021-06-30T12:25:43.399Z] Step 10/10 : RUN go mod download [2021-06-30T12:25:43.399Z] ---> Running in 487e991ad4e1 [2021-06-30T12:25:55.671Z] Removing intermediate container 487e991ad4e1 [2021-06-30T12:25:55.671Z] ---> dc6e6d553a49 [2021-06-30T12:25:55.671Z] Successfully built dc6e6d553a49 [2021-06-30T12:25:55.671Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:25:55.986Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T12:25:55.986Z] . [Pipeline] withDockerContainer [2021-06-30T12:25:56.066Z] prd-centos7-docker-4c-2g-840 does not seem to be running inside a container [2021-06-30T12:25:56.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T12:25:56.473Z] $ docker top a32db500ae62d7d7d3d2131574264b4c0740c678adc26151ae933b8cdc76f36b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T12:25:56.848Z] + go version [2021-06-30T12:25:56.848Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T12:25:56.860Z] $ docker stop --time=1 a32db500ae62d7d7d3d2131574264b4c0740c678adc26151ae933b8cdc76f36b [2021-06-30T12:25:58.036Z] $ docker rm -f a32db500ae62d7d7d3d2131574264b4c0740c678adc26151ae933b8cdc76f36b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2021-06-30T12:25:58.337Z] Removing intermediate container c2660fb0c008 [2021-06-30T12:25:58.337Z] ---> 7bd255266d29 [2021-06-30T12:25:58.338Z] Successfully built 7bd255266d29 [2021-06-30T12:25:58.338Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:25:58.628Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T12:25:58.628Z] . [Pipeline] withDockerContainer [2021-06-30T12:25:58.708Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T12:25:58.708Z] . [2021-06-30T12:25:58.720Z] prd-centos7-docker-4c-2g-840 does not seem to be running inside a container [2021-06-30T12:25:58.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T12:25:59.129Z] $ docker top a7151542cb18021fc525e361aa62bc9322ee35bca8219e62688384205f966a75 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-06-30T12:25:59.633Z] prd-ubuntu18.04-docker-arm64-4c-16g-839 does not seem to be running inside a container [2021-06-30T12:25:59.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T12:26:01.603Z] $ docker top 5143057289dee290936eaac9b4c3b80ee17998ca57a6cc0495c048f7cb97e0da -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-30T12:26:02.229Z] + go mod tidy [Pipeline] sh [2021-06-30T12:26:02.629Z] + go version [2021-06-30T12:26:02.629Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T12:26:02.657Z] $ docker stop --time=1 5143057289dee290936eaac9b4c3b80ee17998ca57a6cc0495c048f7cb97e0da [2021-06-30T12:26:02.799Z] + make test [2021-06-30T12:26:02.799Z] go mod tidy [2021-06-30T12:26:02.799Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T12:26:03.383Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T12:26:04.495Z] $ docker rm -f 5143057289dee290936eaac9b4c3b80ee17998ca57a6cc0495c048f7cb97e0da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:26:05.197Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T12:26:05.197Z] . [Pipeline] withDockerContainer [2021-06-30T12:26:05.419Z] prd-ubuntu18.04-docker-arm64-4c-16g-839 does not seem to be running inside a container [2021-06-30T12:26:05.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T12:26:07.100Z] $ docker top 89e64a34b743759acbd85eedac90976eac857cf7eb41112e60b6d270ff88c310 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T12:26:08.033Z] + go mod tidy [Pipeline] sh [2021-06-30T12:26:09.304Z] + make test [2021-06-30T12:26:09.304Z] go mod tidy [2021-06-30T12:26:09.580Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T12:26:11.026Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T12:26:18.430Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T12:26:19.386Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-30T12:26:19.386Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T12:26:26.016Z] gofmt -l . [2021-06-30T12:26:26.016Z] [ "`gofmt -l .`" = "" ] [2021-06-30T12:26:26.016Z] ./bin/test-go-mod-tidy.sh [2021-06-30T12:26:26.279Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T12:26:26.867Z] $ docker stop --time=1 a7151542cb18021fc525e361aa62bc9322ee35bca8219e62688384205f966a75 [2021-06-30T12:26:28.286Z] $ docker rm -f a7151542cb18021fc525e361aa62bc9322ee35bca8219e62688384205f966a75 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T12:26:28.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T12:26:28.943Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-30T12:26:31.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T12:26:32.260Z] + ls -al . [2021-06-30T12:26:32.261Z] total 112 [2021-06-30T12:26:32.261Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 12:26 . [2021-06-30T12:26:32.261Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 12:25 .. [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 30 12:25 Attribution.txt [2021-06-30T12:26:32.261Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 12:25 bin [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 30 12:25 CHANGELOG.md [2021-06-30T12:26:32.261Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 12:25 cmd [2021-06-30T12:26:32.261Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 30 12:26 coverage.out [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 30 12:25 Dockerfile [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 30 12:25 Dockerfile.build [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 30 12:25 .dockerignore [2021-06-30T12:26:32.261Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 30 12:25 driver [2021-06-30T12:26:32.261Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 12:25 .git [2021-06-30T12:26:32.261Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 12:25 .github [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 12:25 .gitignore [2021-06-30T12:26:32.261Z] -rw-r--r--. 1 jenkins jenkins 271 Jun 30 12:26 go.mod [2021-06-30T12:26:32.261Z] -rw-r--r--. 1 jenkins jenkins 20570 Jun 30 12:26 go.sum [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 30 12:25 Jenkinsfile [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 12:25 LICENSE [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 30 12:25 Makefile [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 30 12:25 README.md [2021-06-30T12:26:32.261Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 12:25 snap [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 12:22 VERSION [2021-06-30T12:26:32.261Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 30 12:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:26:32.575Z] + 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=9d07684563d8f4d23885c055d6756f238caffb9a --label arch=amd64 --label version=0.0.0 . [2021-06-30T12:26:32.575Z] Sending build context to Docker daemon 125.4kB [2021-06-30T12:26:32.575Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T12:26:32.575Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T12:26:32.575Z] ---> dc6e6d553a49 [2021-06-30T12:26:32.575Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T12:26:32.575Z] ---> Running in b55619954439 [2021-06-30T12:26:32.575Z] Removing intermediate container b55619954439 [2021-06-30T12:26:32.575Z] ---> 94fadc44d1a1 [2021-06-30T12:26:32.575Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T12:26:32.575Z] ---> Running in cf4d20d08e60 [2021-06-30T12:26:32.841Z] Removing intermediate container cf4d20d08e60 [2021-06-30T12:26:32.841Z] ---> 051c8e604f61 [2021-06-30T12:26:32.841Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T12:26:32.841Z] ---> Running in 20bfb461c41a [2021-06-30T12:26:32.841Z] Removing intermediate container 20bfb461c41a [2021-06-30T12:26:32.841Z] ---> 108556f42c4d [2021-06-30T12:26:32.841Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T12:26:32.841Z] ---> Running in 40b397c9e429 [2021-06-30T12:26:33.412Z] Removing intermediate container 40b397c9e429 [2021-06-30T12:26:33.412Z] ---> 21fe292027b5 [2021-06-30T12:26:33.412Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T12:26:33.412Z] ---> Running in 6a66ca842486 [2021-06-30T12:26:33.673Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T12:26:34.617Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T12:26:35.192Z] OK: 154 MiB in 49 packages [2021-06-30T12:26:35.192Z] Removing intermediate container 6a66ca842486 [2021-06-30T12:26:35.192Z] ---> fdc63343ebf7 [2021-06-30T12:26:35.192Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T12:26:35.192Z] ---> Running in a05d73dc5758 [2021-06-30T12:26:35.455Z] Removing intermediate container a05d73dc5758 [2021-06-30T12:26:35.455Z] ---> e28c97d89d1f [2021-06-30T12:26:35.455Z] Step 9/25 : COPY . . [2021-06-30T12:26:35.455Z] ---> 100083397886 [2021-06-30T12:26:35.455Z] Step 10/25 : RUN go mod tidy [2021-06-30T12:26:35.720Z] ---> Running in 55ec7e5fe246 [2021-06-30T12:26:36.300Z] Removing intermediate container 55ec7e5fe246 [2021-06-30T12:26:36.300Z] ---> 05e8c4b5c2ec [2021-06-30T12:26:36.300Z] Step 11/25 : RUN make update [2021-06-30T12:26:36.300Z] ---> Running in 7e9a3271dc6c [2021-06-30T12:26:36.571Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T12:26:36.833Z] Removing intermediate container 7e9a3271dc6c [2021-06-30T12:26:36.833Z] ---> a6327182b967 [2021-06-30T12:26:36.833Z] Step 12/25 : RUN $MAKE [2021-06-30T12:26:36.833Z] ---> Running in b165d3d51020 [2021-06-30T12:26:37.102Z] go mod tidy [2021-06-30T12:26:37.366Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-30T12:26:49.728Z] Removing intermediate container b165d3d51020 [2021-06-30T12:26:49.728Z] ---> f7dd885140d7 [2021-06-30T12:26:49.728Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T12:26:49.728Z] 3.12: Pulling from library/alpine [2021-06-30T12:26:49.728Z] 339de151aab4: Pulling fs layer [2021-06-30T12:26:49.728Z] 339de151aab4: Download complete [2021-06-30T12:26:49.728Z] 339de151aab4: Pull complete [2021-06-30T12:26:49.728Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T12:26:49.728Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T12:26:49.728Z] ---> 13621d1b12d4 [2021-06-30T12:26:49.728Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T12:26:49.728Z] ---> Running in 3d79e56986eb [2021-06-30T12:26:49.728Z] Removing intermediate container 3d79e56986eb [2021-06-30T12:26:49.728Z] ---> b9c841b4e329 [2021-06-30T12:26:49.728Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T12:26:49.728Z] ---> Running in bc35038bfdfe [2021-06-30T12:26:49.728Z] Removing intermediate container bc35038bfdfe [2021-06-30T12:26:49.728Z] ---> d3422494b50b [2021-06-30T12:26:49.728Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T12:26:49.728Z] ---> Running in 20219141b5ae [2021-06-30T12:26:49.728Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-30T12:26:49.728Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-30T12:26:49.728Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T12:26:49.728Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T12:26:49.728Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T12:26:49.728Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T12:26:49.728Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T12:26:49.728Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T12:26:49.728Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T12:26:49.728Z] OK: 8 MiB in 20 packages [2021-06-30T12:26:49.728Z] Removing intermediate container 20219141b5ae [2021-06-30T12:26:49.728Z] ---> c49c3d7a5b9c [2021-06-30T12:26:49.728Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T12:26:50.300Z] ---> 8087b6dfa43c [2021-06-30T12:26:50.300Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T12:26:50.300Z] ---> 1636696107a6 [2021-06-30T12:26:50.300Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T12:26:50.565Z] ---> 130000840859 [2021-06-30T12:26:50.565Z] Step 20/25 : EXPOSE 59986 [2021-06-30T12:26:50.565Z] ---> Running in 774f89fc52ce [2021-06-30T12:26:50.565Z] Removing intermediate container 774f89fc52ce [2021-06-30T12:26:50.565Z] ---> 7207fbfa7a47 [2021-06-30T12:26:50.565Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T12:26:50.565Z] ---> Running in 15f84730ae68 [2021-06-30T12:26:50.565Z] Removing intermediate container 15f84730ae68 [2021-06-30T12:26:50.565Z] ---> abc218a74fbe [2021-06-30T12:26:50.565Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T12:26:50.565Z] ---> Running in ced8f3f4114f [2021-06-30T12:26:50.825Z] Removing intermediate container ced8f3f4114f [2021-06-30T12:26:50.825Z] ---> b8ad76c7668a [2021-06-30T12:26:50.825Z] Step 23/25 : LABEL arch=amd64 [2021-06-30T12:26:50.825Z] ---> Running in 1d2b1b3ea57b [2021-06-30T12:26:50.825Z] Removing intermediate container 1d2b1b3ea57b [2021-06-30T12:26:50.825Z] ---> 270be00b069b [2021-06-30T12:26:50.825Z] Step 24/25 : LABEL git_sha=9d07684563d8f4d23885c055d6756f238caffb9a [2021-06-30T12:26:50.825Z] ---> Running in b0f0c940ca5f [2021-06-30T12:26:51.086Z] Removing intermediate container b0f0c940ca5f [2021-06-30T12:26:51.086Z] ---> 6235c6a5a0e5 [2021-06-30T12:26:51.086Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T12:26:51.086Z] ---> Running in 43c1dd53935f [2021-06-30T12:26:51.086Z] Removing intermediate container 43c1dd53935f [2021-06-30T12:26:51.086Z] ---> 8fe021a55762 [2021-06-30T12:26:51.086Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T12:26:51.086Z] Successfully built 8fe021a55762 [2021-06-30T12:26:51.086Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:26:52.096Z] ---> job-cost.sh [2021-06-30T12:26:52.096Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fsPJ [2021-06-30T12:27:02.144Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T12:27:07.631Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T12:27:07.631Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-06-30T12:27:07.631Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T12:27:14.412Z] lf-activate-venv(): INFO: Adding /tmp/venv-fsPJ/bin to PATH [2021-06-30T12:27:14.412Z] INFO: No Stack... [2021-06-30T12:27:14.412Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T12:27:14.676Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T12:27:14.978Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-06-30T12:27:14.978Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T12:27:15.010Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] [2021-06-30T12:27:15.024Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] did not exist. Created. [2021-06-30T12:27:15.025Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T12:27:15.357Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T12:27:15.432Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T12:27:15.447Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T12:27:29.848Z] gofmt -l . [2021-06-30T12:27:29.848Z] [ "`gofmt -l .`" = "" ] [2021-06-30T12:27:29.848Z] ./bin/test-go-mod-tidy.sh [2021-06-30T12:27:29.848Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T12:27:29.878Z] $ docker stop --time=1 89e64a34b743759acbd85eedac90976eac857cf7eb41112e60b6d270ff88c310 [2021-06-30T12:27:31.944Z] $ docker rm -f 89e64a34b743759acbd85eedac90976eac857cf7eb41112e60b6d270ff88c310 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T12:27:32.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T12:27:32.833Z] Warning: overwriting stash ‘coverage-report’ [2021-06-30T12:27:33.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T12:27:33.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T12:27:34.126Z] + ls -al . [2021-06-30T12:27:34.126Z] total 140 [2021-06-30T12:27:34.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:27 . [2021-06-30T12:27:34.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:24 .. [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 30 12:24 .dockerignore [2021-06-30T12:27:34.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:24 .git [2021-06-30T12:27:34.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:24 .github [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 12:24 .gitignore [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 30 12:24 Attribution.txt [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 30 12:24 CHANGELOG.md [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 30 12:24 Dockerfile [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 30 12:24 Dockerfile.build [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 30 12:24 Jenkinsfile [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 12:24 LICENSE [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 30 12:24 Makefile [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 30 12:24 README.md [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 12:22 VERSION [2021-06-30T12:27:34.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:24 bin [2021-06-30T12:27:34.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:24 cmd [2021-06-30T12:27:34.126Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 30 12:27 coverage.out [2021-06-30T12:27:34.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:24 driver [2021-06-30T12:27:34.126Z] -rw-r--r-- 1 jenkins jenkins 271 Jun 30 12:27 go.mod [2021-06-30T12:27:34.126Z] -rw-r--r-- 1 jenkins jenkins 20570 Jun 30 12:26 go.sum [2021-06-30T12:27:34.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:24 snap [2021-06-30T12:27:34.126Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 30 12:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:27:34.471Z] + 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=9d07684563d8f4d23885c055d6756f238caffb9a --label arch=arm64 --label version=0.0.0 . [2021-06-30T12:27:34.471Z] Sending build context to Docker daemon 125.4kB [2021-06-30T12:27:34.744Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T12:27:34.744Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T12:27:34.744Z] ---> 7bd255266d29 [2021-06-30T12:27:34.744Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T12:27:35.017Z] ---> Running in 2a43e1eb9a3f [2021-06-30T12:27:35.628Z] Removing intermediate container 2a43e1eb9a3f [2021-06-30T12:27:35.628Z] ---> f48828d20a83 [2021-06-30T12:27:35.628Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T12:27:35.628Z] ---> Running in 241254e00330 [2021-06-30T12:27:36.221Z] Removing intermediate container 241254e00330 [2021-06-30T12:27:36.221Z] ---> 0053e822d752 [2021-06-30T12:27:36.221Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T12:27:36.221Z] ---> Running in 156c8f071616 [2021-06-30T12:27:36.822Z] Removing intermediate container 156c8f071616 [2021-06-30T12:27:36.822Z] ---> 9d7bee198607 [2021-06-30T12:27:36.822Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T12:27:36.822Z] ---> Running in b75dcdd846da [2021-06-30T12:27:38.796Z] Removing intermediate container b75dcdd846da [2021-06-30T12:27:38.796Z] ---> b05e0f30500d [2021-06-30T12:27:38.796Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T12:27:39.070Z] ---> Running in 18ecfb3f33d2 [2021-06-30T12:27:40.053Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T12:27:41.477Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T12:27:43.450Z] OK: 144 MiB in 49 packages [2021-06-30T12:27:44.426Z] Removing intermediate container 18ecfb3f33d2 [2021-06-30T12:27:44.426Z] ---> af3f9d67bde1 [2021-06-30T12:27:44.426Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T12:27:44.697Z] ---> Running in ecb67d494b26 [2021-06-30T12:27:45.302Z] Removing intermediate container ecb67d494b26 [2021-06-30T12:27:45.302Z] ---> e1c937a87b44 [2021-06-30T12:27:45.302Z] Step 9/25 : COPY . . [2021-06-30T12:27:45.898Z] ---> 7fad2469a203 [2021-06-30T12:27:45.898Z] Step 10/25 : RUN go mod tidy [2021-06-30T12:27:46.170Z] ---> Running in 7c3bd0da3543 [2021-06-30T12:27:48.784Z] Removing intermediate container 7c3bd0da3543 [2021-06-30T12:27:48.784Z] ---> 960dd212bf8d [2021-06-30T12:27:48.784Z] Step 11/25 : RUN make update [2021-06-30T12:27:48.784Z] ---> Running in 47a653ce4c1e [2021-06-30T12:27:49.760Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T12:27:51.191Z] Removing intermediate container 47a653ce4c1e [2021-06-30T12:27:51.191Z] ---> 6d707f74aec6 [2021-06-30T12:27:51.191Z] Step 12/25 : RUN $MAKE [2021-06-30T12:27:51.191Z] ---> Running in 01eab2109aea [2021-06-30T12:27:52.169Z] go mod tidy [2021-06-30T12:27:52.770Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-30T12:28:27.420Z] Removing intermediate container 01eab2109aea [2021-06-30T12:28:27.420Z] ---> 741983586ea6 [2021-06-30T12:28:27.420Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T12:28:27.420Z] 3.12: Pulling from library/alpine [2021-06-30T12:28:27.420Z] d2f70382dc9a: Pulling fs layer [2021-06-30T12:28:27.694Z] d2f70382dc9a: Verifying Checksum [2021-06-30T12:28:27.694Z] d2f70382dc9a: Download complete [2021-06-30T12:28:28.299Z] d2f70382dc9a: Pull complete [2021-06-30T12:28:28.299Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T12:28:28.299Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T12:28:28.299Z] ---> c4fd0aeabfcf [2021-06-30T12:28:28.299Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T12:28:28.896Z] ---> Running in 9694651db0ef [2021-06-30T12:28:29.169Z] Removing intermediate container 9694651db0ef [2021-06-30T12:28:29.169Z] ---> 9cf592911f12 [2021-06-30T12:28:29.169Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T12:28:29.446Z] ---> Running in 029b5be9513c [2021-06-30T12:28:37.326Z] Removing intermediate container 029b5be9513c [2021-06-30T12:28:37.326Z] ---> b1ff6f308347 [2021-06-30T12:28:37.326Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T12:28:37.326Z] ---> Running in 77a081b24080 [2021-06-30T12:28:37.326Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-30T12:28:37.326Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-30T12:28:37.326Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T12:28:37.326Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T12:28:37.326Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T12:28:37.326Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T12:28:37.326Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T12:28:37.326Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T12:28:37.326Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T12:28:37.326Z] OK: 8 MiB in 20 packages [2021-06-30T12:28:37.326Z] Removing intermediate container 77a081b24080 [2021-06-30T12:28:37.326Z] ---> 1076755a45cf [2021-06-30T12:28:37.326Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T12:28:37.326Z] ---> 0d3e9c4320e3 [2021-06-30T12:28:37.326Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T12:28:37.326Z] ---> 69515b30c987 [2021-06-30T12:28:37.326Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T12:28:37.326Z] ---> 860be951143e [2021-06-30T12:28:37.326Z] Step 20/25 : EXPOSE 59986 [2021-06-30T12:28:37.601Z] ---> Running in 1eb916224db8 [2021-06-30T12:28:38.195Z] Removing intermediate container 1eb916224db8 [2021-06-30T12:28:38.195Z] ---> ad1aeb1ebb67 [2021-06-30T12:28:38.195Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T12:28:38.195Z] ---> Running in 3eb983258ee5 [2021-06-30T12:28:38.786Z] Removing intermediate container 3eb983258ee5 [2021-06-30T12:28:38.787Z] ---> 6700cde82c00 [2021-06-30T12:28:38.787Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T12:28:39.072Z] ---> Running in 37ba059d7ea4 [2021-06-30T12:28:39.345Z] Removing intermediate container 37ba059d7ea4 [2021-06-30T12:28:39.345Z] ---> e87a7e6c219c [2021-06-30T12:28:39.345Z] Step 23/25 : LABEL arch=arm64 [2021-06-30T12:28:39.629Z] ---> Running in 206d7b6eab57 [2021-06-30T12:28:39.902Z] Removing intermediate container 206d7b6eab57 [2021-06-30T12:28:39.902Z] ---> f41ed86c804f [2021-06-30T12:28:39.902Z] Step 24/25 : LABEL git_sha=9d07684563d8f4d23885c055d6756f238caffb9a [2021-06-30T12:28:40.178Z] ---> Running in 3134e42a1857 [2021-06-30T12:28:40.776Z] Removing intermediate container 3134e42a1857 [2021-06-30T12:28:40.776Z] ---> 7e99f9909567 [2021-06-30T12:28:40.776Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T12:28:40.776Z] ---> Running in 9114ebd55e9f [2021-06-30T12:28:41.371Z] Removing intermediate container 9114ebd55e9f [2021-06-30T12:28:41.371Z] ---> 75d4c49576a4 [2021-06-30T12:28:41.371Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T12:28:41.371Z] Successfully built 75d4c49576a4 [2021-06-30T12:28:41.371Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:28:42.042Z] ---> job-cost.sh [2021-06-30T12:28:42.042Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RXer [2021-06-30T12:29:21.051Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T12:30:42.821Z] lf-activate-venv(): INFO: Adding /tmp/venv-RXer/bin to PATH [2021-06-30T12:30:42.821Z] INFO: No Stack... [2021-06-30T12:30:43.098Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T12:30:43.691Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T12:30:44.039Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-06-30T12:30:44.039Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T12:30:44.117Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] [2021-06-30T12:30:44.126Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] did not exist. Created. [2021-06-30T12:30:44.127Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T12:30:46.496Z] /w/workspace/device-rest-go/2@tmp/durable-9ed0d8b5/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-9ed0d8b5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T12:30:46.843Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T12:30:46.874Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T12:30:47.028Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T12:30:47.046Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-30T12:30:47.830Z] provisioning config files... [2021-06-30T12:30:47.839Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config4252443257887555595tmp [Pipeline] { [Pipeline] sh [2021-06-30T12:30:48.162Z] + set +x [2021-06-30T12:30:48.162Z] + bash -s -- [2021-06-30T12:30:48.162Z] + curl -s https://codecov.io/bash [2021-06-30T12:30:48.429Z] [2021-06-30T12:30:48.429Z] _____ _ [2021-06-30T12:30:48.429Z] / ____| | | [2021-06-30T12:30:48.429Z] | | ___ __| | ___ ___ _____ __ [2021-06-30T12:30:48.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-30T12:30:48.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-30T12:30:48.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-30T12:30:48.429Z] Bash-1.0.3 [2021-06-30T12:30:48.429Z] [2021-06-30T12:30:48.429Z] [2021-06-30T12:30:48.429Z] ==> git version 2.24.4 found [2021-06-30T12:30:48.429Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-30T12:30:48.429Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-30T12:30:48.429Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-30T12:30:48.429Z] ==> Jenkins CI detected. [2021-06-30T12:30:48.429Z] project root: . [2021-06-30T12:30:48.429Z] --> token set from env [2021-06-30T12:30:48.429Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-30T12:30:48.429Z] ==> Running gcov in . (disable via -X gcov) [2021-06-30T12:30:48.429Z] ==> Python coveragepy not found [2021-06-30T12:30:48.429Z] ==> Searching for coverage reports in: [2021-06-30T12:30:48.429Z] + . [2021-06-30T12:30:48.429Z] -> Found 1 reports [2021-06-30T12:30:48.429Z] ==> Detecting git/mercurial file structure [2021-06-30T12:30:48.429Z] ==> Reading reports [2021-06-30T12:30:48.429Z] + ./coverage.out bytes=8513 [2021-06-30T12:30:48.429Z] ==> Appending adjustments [2021-06-30T12:30:48.429Z] https://docs.codecov.io/docs/fixing-reports [2021-06-30T12:30:48.690Z] + Found adjustments [2021-06-30T12:30:48.690Z] ==> Gzipping contents [2021-06-30T12:30:48.690Z] 4.0K /tmp/codecov.xdlZCp.gz [2021-06-30T12:30:48.690Z] ==> Uploading reports [2021-06-30T12:30:48.690Z] url: https://codecov.io [2021-06-30T12:30:48.690Z] query: branch=PR-127&commit=9d07684563d8f4d23885c055d6756f238caffb9a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T12:30:48.690Z] -> Pinging Codecov [2021-06-30T12:30:48.690Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-127&commit=9d07684563d8f4d23885c055d6756f238caffb9a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T12:30:49.262Z] -> Uploading to [2021-06-30T12:30:49.262Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-30/4E5D53B4F1F92C436F7061BF334D961C/9d07684563d8f4d23885c055d6756f238caffb9a/21cbe430-2cf9-49c5-bfc8-81933d39c790.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T123048Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb37126f76d73ed9a8eb38db94e0e2c718e8176958ddba4c3429cfa9b1fab7f2 [2021-06-30T12:30:49.262Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-30T12:30:49.262Z] Dload Upload Total Spent Left Speed [2021-06-30T12:30:49.523Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1785 0 0 100 1785 0 4071 --:--:-- --:--:-- --:--:-- 4066 100 1785 0 0 100 1785 0 4070 --:--:-- --:--:-- --:--:-- 4066 [2021-06-30T12:30:49.523Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9d07684563d8f4d23885c055d6756f238caffb9a [Pipeline] } [2021-06-30T12:30:49.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:30:51.762Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:30:52.330Z] ---> package-listing.sh [2021-06-30T12:30:52.330Z] ++ facter osfamily [2021-06-30T12:30:52.330Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T12:30:52.591Z] + OS_FAMILY=redhat [2021-06-30T12:30:52.592Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T12:30:52.592Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T12:30:52.592Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T12:30:52.592Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T12:30:52.592Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T12:30:52.592Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T12:30:52.592Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T12:30:52.592Z] + case "${OS_FAMILY}" in [2021-06-30T12:30:52.592Z] + rpm -qa [2021-06-30T12:30:52.592Z] + sort [2021-06-30T12:30:53.165Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T12:30:53.165Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T12:30:53.166Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T12:30:53.166Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T12:30:53.166Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [2021-06-30T12:30:53.166Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [Pipeline] echo [2021-06-30T12:30:53.179Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-30T12:30:53.470Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:30:54.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T12:30:54.042Z] [2021-06-30T12:30:54.042Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:30:54.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T12:30:54.376Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T12:30:54.376Z] df20fa9351a1: Pulling fs layer [2021-06-30T12:30:54.376Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T12:30:54.376Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T12:30:54.376Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T12:30:54.376Z] 93b61091891f: Pulling fs layer [2021-06-30T12:30:54.376Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T12:30:54.376Z] 5e14af77c1be: Pulling fs layer [2021-06-30T12:30:54.376Z] 01666e4c0597: Pulling fs layer [2021-06-30T12:30:54.376Z] aa168da1d23b: Pulling fs layer [2021-06-30T12:30:54.376Z] 93b9cdb0e59b: Waiting [2021-06-30T12:30:54.376Z] 46f8f816bc3b: Waiting [2021-06-30T12:30:54.376Z] 5e14af77c1be: Waiting [2021-06-30T12:30:54.376Z] 01666e4c0597: Waiting [2021-06-30T12:30:54.376Z] aa168da1d23b: Waiting [2021-06-30T12:30:54.376Z] 93b61091891f: Waiting [2021-06-30T12:30:54.642Z] 36b3adc4ff6f: Verifying Checksum [2021-06-30T12:30:54.642Z] 36b3adc4ff6f: Download complete [2021-06-30T12:30:54.642Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T12:30:54.642Z] 46f8f816bc3b: Download complete [2021-06-30T12:30:54.642Z] df20fa9351a1: Verifying Checksum [2021-06-30T12:30:54.642Z] df20fa9351a1: Download complete [2021-06-30T12:30:54.642Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T12:30:54.642Z] 93b9cdb0e59b: Download complete [2021-06-30T12:30:54.642Z] 93b61091891f: Verifying Checksum [2021-06-30T12:30:54.642Z] 93b61091891f: Download complete [2021-06-30T12:30:54.642Z] 5e14af77c1be: Verifying Checksum [2021-06-30T12:30:54.642Z] 5e14af77c1be: Download complete [2021-06-30T12:30:54.642Z] 01666e4c0597: Verifying Checksum [2021-06-30T12:30:54.642Z] 01666e4c0597: Download complete [2021-06-30T12:30:54.902Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T12:30:54.902Z] 8ad3a11d3b57: Download complete [2021-06-30T12:30:54.902Z] df20fa9351a1: Pull complete [2021-06-30T12:30:55.163Z] 36b3adc4ff6f: Pull complete [2021-06-30T12:30:55.739Z] 8ad3a11d3b57: Pull complete [2021-06-30T12:30:55.740Z] 46f8f816bc3b: Pull complete [2021-06-30T12:30:56.312Z] 93b61091891f: Pull complete [2021-06-30T12:30:56.313Z] 93b9cdb0e59b: Pull complete [2021-06-30T12:30:56.313Z] 5e14af77c1be: Pull complete [2021-06-30T12:30:56.577Z] 01666e4c0597: Pull complete [2021-06-30T12:30:56.840Z] aa168da1d23b: Verifying Checksum [2021-06-30T12:30:56.840Z] aa168da1d23b: Download complete [2021-06-30T12:31:01.106Z] aa168da1d23b: Pull complete [2021-06-30T12:31:01.106Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T12:31:01.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T12:31:01.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T12:31:01.196Z] prd-centos7-docker-4c-2g-838 does not seem to be running inside a container [2021-06-30T12:31:01.233Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-30T12:31:04.256Z] $ docker top dffa57d47053be78a0acc9034d4c370da5b551fdda9a59907195fcb3fc5e96ac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T12:31:04.650Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T12:31:04.951Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T12:31:05.251Z] + ls /var/log/sa-host [2021-06-30T12:31:05.251Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T12:31:05.251Z] file_magic: OK [2021-06-30T12:31:05.251Z] HZ: Using current value: 100 [2021-06-30T12:31:05.251Z] file_header: OK [2021-06-30T12:31:05.251Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-30T12:31:05.251Z] Statistics: [2021-06-30T12:31:05.251Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T12:31:05.251Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T12:31:05.251Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T12:31:05.251Z] file_magic: OK [2021-06-30T12:31:05.251Z] HZ: Using current value: 100 [2021-06-30T12:31:05.251Z] file_header: OK [2021-06-30T12:31:05.251Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-30T12:31:05.251Z] Statistics: [2021-06-30T12:31:05.251Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T12:31:05.251Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T12:31:05.941Z] provisioning config files... [2021-06-30T12:31:05.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config8706693712260166491tmp [Pipeline] { [Pipeline] echo [2021-06-30T12:31:05.983Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:31:09.919Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T12:31:09.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:31:10.353Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T12:31:10.363Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:31:10.670Z] ---> sudo-logs.sh [2021-06-30T12:31:10.671Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T12:31:10.696Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:31:10.992Z] ---> job-cost.sh [2021-06-30T12:31:10.992Z] lf-activate-venv: SKIPPING [2021-06-30T12:31:10.992Z] DEBUG: total: 0.18000000715255737 [2021-06-30T12:31:10.992Z] INFO: Retrieving Stack Cost... [2021-06-30T12:31:12.383Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T12:31:12.645Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T12:31:12.659Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:31:12.968Z] ---> logs-deploy.sh [2021-06-30T12:31:12.968Z] lf-activate-venv: SKIPPING [2021-06-30T12:31:12.968Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-127/2 [2021-06-30T12:31:12.968Z] INFO: archiving workspace using pattern(s): [2021-06-30T12:31:13.915Z] Archives upload complete. [2021-06-30T12:31:13.915Z] INFO: archiving logs to Nexus [2021-06-30T12:31:14.497Z] ---> uname -a: [2021-06-30T12:31:14.497Z] Linux prd-centos7-docker-4c-2g-838.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-30T12:31:14.497Z] [2021-06-30T12:31:14.497Z] [2021-06-30T12:31:14.497Z] ---> lscpu: [2021-06-30T12:31:14.497Z] Architecture: x86_64 [2021-06-30T12:31:14.497Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-30T12:31:14.497Z] Byte Order: Little Endian [2021-06-30T12:31:14.497Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-30T12:31:14.497Z] CPU(s): 2 [2021-06-30T12:31:14.497Z] On-line CPU(s) list: 0,1 [2021-06-30T12:31:14.497Z] Thread(s) per core: 1 [2021-06-30T12:31:14.497Z] Core(s) per socket: 1 [2021-06-30T12:31:14.498Z] Socket(s): 2 [2021-06-30T12:31:14.498Z] NUMA node(s): 1 [2021-06-30T12:31:14.498Z] Vendor ID: AuthenticAMD [2021-06-30T12:31:14.498Z] CPU family: 23 [2021-06-30T12:31:14.498Z] Model: 49 [2021-06-30T12:31:14.498Z] Model name: AMD EPYC-Rome Processor [2021-06-30T12:31:14.498Z] Stepping: 0 [2021-06-30T12:31:14.498Z] CPU MHz: 2799.998 [2021-06-30T12:31:14.498Z] BogoMIPS: 5599.99 [2021-06-30T12:31:14.498Z] Virtualization: AMD-V [2021-06-30T12:31:14.498Z] Hypervisor vendor: KVM [2021-06-30T12:31:14.498Z] Virtualization type: full [2021-06-30T12:31:14.498Z] L1d cache: 64 KiB [2021-06-30T12:31:14.498Z] L1i cache: 64 KiB [2021-06-30T12:31:14.498Z] L2 cache: 1 MiB [2021-06-30T12:31:14.498Z] L3 cache: 32 MiB [2021-06-30T12:31:14.498Z] NUMA node0 CPU(s): 0,1 [2021-06-30T12:31:14.498Z] Vulnerability Itlb multihit: Not affected [2021-06-30T12:31:14.498Z] Vulnerability L1tf: Not affected [2021-06-30T12:31:14.498Z] Vulnerability Mds: Not affected [2021-06-30T12:31:14.498Z] Vulnerability Meltdown: Not affected [2021-06-30T12:31:14.498Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-30T12:31:14.498Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-30T12:31:14.498Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-30T12:31:14.498Z] Vulnerability Srbds: Not affected [2021-06-30T12:31:14.498Z] Vulnerability Tsx async abort: Not affected [2021-06-30T12:31:14.498Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] ---> nproc: [2021-06-30T12:31:14.498Z] 2 [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] ---> df -h: [2021-06-30T12:31:14.498Z] Filesystem Size Used Available Use% Mounted on [2021-06-30T12:31:14.498Z] overlay 40.0G 7.6G 32.4G 19% / [2021-06-30T12:31:14.498Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-06-30T12:31:14.498Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-06-30T12:31:14.498Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-127@tmp [2021-06-30T12:31:14.498Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] ---> free -m: [2021-06-30T12:31:14.498Z] total used free shared buff/cache available [2021-06-30T12:31:14.498Z] Mem: 7821 990 4722 0 2108 6653 [2021-06-30T12:31:14.498Z] Swap: 1023 0 1023 [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] ---> ip addr: [2021-06-30T12:31:14.498Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-06-30T12:31:14.498Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-06-30T12:31:14.498Z] inet 127.0.0.1/8 scope host lo [2021-06-30T12:31:14.498Z] valid_lft forever preferred_lft forever [2021-06-30T12:31:14.498Z] inet6 ::1/128 scope host [2021-06-30T12:31:14.498Z] valid_lft forever preferred_lft forever [2021-06-30T12:31:14.498Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-06-30T12:31:14.498Z] link/ether fa:16:3e:0b:cd:b4 brd ff:ff:ff:ff:ff:ff [2021-06-30T12:31:14.498Z] inet 10.30.122.113/23 brd 10.30.123.255 scope global dynamic eth0 [2021-06-30T12:31:14.498Z] valid_lft 85811sec preferred_lft 85811sec [2021-06-30T12:31:14.498Z] inet6 fe80::f816:3eff:fe0b:cdb4/64 scope link [2021-06-30T12:31:14.498Z] valid_lft forever preferred_lft forever [2021-06-30T12:31:14.498Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-06-30T12:31:14.498Z] link/ether 02:42:7b:3a:43:21 brd ff:ff:ff:ff:ff:ff [2021-06-30T12:31:14.498Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-06-30T12:31:14.498Z] valid_lft forever preferred_lft forever [2021-06-30T12:31:14.498Z] inet6 fe80::42:7bff:fe3a:4321/64 scope link [2021-06-30T12:31:14.498Z] valid_lft forever preferred_lft forever [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] ---> sar -b -r -n DEV: [2021-06-30T12:31:14.498Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] 12:21:15 LINUX RESTART (2 CPU) [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] 12:22:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-06-30T12:31:14.498Z] 12:23:01 18.54 0.67 17.87 0.00 352.43 3464.92 0.00 [2021-06-30T12:31:14.498Z] 12:24:01 0.42 0.00 0.42 0.00 0.00 6.91 0.00 [2021-06-30T12:31:14.498Z] 12:25:01 0.28 0.00 0.28 0.00 0.00 3.47 0.00 [2021-06-30T12:31:14.498Z] 12:26:01 0.20 0.00 0.20 0.00 0.00 2.70 0.00 [2021-06-30T12:31:14.498Z] 12:27:01 0.20 0.00 0.20 0.00 0.00 1.95 0.00 [2021-06-30T12:31:14.498Z] 12:28:01 0.33 0.00 0.33 0.00 0.00 4.81 0.00 [2021-06-30T12:31:14.498Z] 12:29:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 [2021-06-30T12:31:14.498Z] 12:30:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 [2021-06-30T12:31:14.498Z] 12:31:01 15.84 0.13 15.71 0.00 13.72 2108.21 0.00 [2021-06-30T12:31:14.498Z] Average: 4.03 0.09 3.94 0.00 40.69 622.20 0.00 [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] 12:22:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-06-30T12:31:14.498Z] 12:23:01 5452984 0 801616 10.01 2620 1751720 1249024 13.79 579948 1577416 20 [2021-06-30T12:31:14.498Z] 12:24:01 5456860 0 797732 9.96 2620 1751728 1204892 13.30 577772 1577380 16 [2021-06-30T12:31:14.498Z] 12:25:01 5454328 0 800264 9.99 2620 1751728 1205120 13.31 580192 1576356 8 [2021-06-30T12:31:14.498Z] 12:26:01 5454964 0 799620 9.98 2620 1751736 1204808 13.30 580404 1576360 12 [2021-06-30T12:31:14.498Z] 12:27:01 5451548 0 803032 10.03 2620 1751740 1204916 13.30 575608 1584444 20 [2021-06-30T12:31:14.498Z] 12:28:01 5451564 0 803016 10.03 2620 1751740 1204928 13.30 575648 1584444 8 [2021-06-30T12:31:14.498Z] 12:29:01 5451876 0 802692 10.02 2620 1751752 1204856 13.30 575408 1584444 16 [2021-06-30T12:31:14.498Z] 12:30:01 5450604 0 803960 10.04 2620 1751756 1204808 13.30 576416 1584444 8 [2021-06-30T12:31:14.498Z] 12:31:01 4892320 0 957704 11.96 2620 2156296 1384256 15.28 795100 1849096 320320 [2021-06-30T12:31:14.498Z] Average: 5390783 0 818848 10.22 2620 1796688 1229734 13.58 601833 1610487 35603 [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] 12:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-06-30T12:31:14.498Z] 12:23:01 eth0 104.18 101.18 462.78 17.36 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:23:01 docker0 55.86 45.10 4.68 134.47 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:24:01 eth0 2.42 0.92 3.19 0.06 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:25:01 eth0 1.30 0.53 0.57 0.37 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:26:01 eth0 0.13 0.08 0.01 0.03 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:27:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:28:01 eth0 0.20 0.15 0.07 0.01 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:29:01 eth0 0.15 0.15 0.06 0.01 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:30:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:31:01 eth0 199.73 178.46 2173.27 18.59 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] 12:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] Average: eth0 34.27 31.31 293.37 4.06 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] Average: docker0 6.21 5.01 0.52 14.94 0.00 0.00 0.00 0.00 [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] ---> sar -P ALL: [2021-06-30T12:31:14.498Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] 12:21:15 LINUX RESTART (2 CPU) [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] 12:22:01 CPU %user %nice %system %iowait %steal %idle [2021-06-30T12:31:14.498Z] 12:23:01 all 2.75 0.00 1.41 0.57 0.03 95.23 [2021-06-30T12:31:14.498Z] 12:23:01 0 3.06 0.00 1.39 0.87 0.03 94.64 [2021-06-30T12:31:14.498Z] 12:23:01 1 2.44 0.00 1.43 0.27 0.03 95.82 [2021-06-30T12:31:14.498Z] 12:24:01 all 0.10 0.00 0.04 0.00 0.03 99.82 [2021-06-30T12:31:14.498Z] 12:24:01 0 0.03 0.00 0.05 0.00 0.03 99.88 [2021-06-30T12:31:14.498Z] 12:24:01 1 0.17 0.00 0.03 0.00 0.03 99.77 [2021-06-30T12:31:14.498Z] 12:25:01 all 0.13 0.00 0.02 0.00 0.02 99.84 [2021-06-30T12:31:14.498Z] 12:25:01 0 0.07 0.00 0.02 0.00 0.02 99.90 [2021-06-30T12:31:14.498Z] 12:25:01 1 0.18 0.00 0.02 0.00 0.02 99.78 [2021-06-30T12:31:14.498Z] 12:26:01 all 0.10 0.00 0.03 0.00 0.03 99.84 [2021-06-30T12:31:14.498Z] 12:26:01 0 0.03 0.00 0.03 0.00 0.03 99.90 [2021-06-30T12:31:14.498Z] 12:26:01 1 0.17 0.00 0.02 0.00 0.03 99.78 [2021-06-30T12:31:14.498Z] 12:27:01 all 0.18 0.00 0.18 0.00 0.03 99.62 [2021-06-30T12:31:14.498Z] 12:27:01 0 0.10 0.00 0.23 0.00 0.02 99.65 [2021-06-30T12:31:14.498Z] 12:27:01 1 0.25 0.00 0.12 0.00 0.03 99.60 [2021-06-30T12:31:14.498Z] 12:28:01 all 0.08 0.00 0.03 0.00 0.02 99.87 [2021-06-30T12:31:14.498Z] 12:28:01 0 0.02 0.00 0.03 0.00 0.00 99.95 [2021-06-30T12:31:14.498Z] 12:28:01 1 0.15 0.00 0.03 0.00 0.03 99.78 [2021-06-30T12:31:14.498Z] 12:29:01 all 0.12 0.00 0.03 0.00 0.03 99.83 [2021-06-30T12:31:14.498Z] 12:29:01 0 0.05 0.00 0.03 0.00 0.03 99.88 [2021-06-30T12:31:14.498Z] 12:29:01 1 0.18 0.00 0.02 0.00 0.02 99.78 [2021-06-30T12:31:14.498Z] 12:30:01 all 0.09 0.00 0.03 0.00 0.03 99.85 [2021-06-30T12:31:14.498Z] 12:30:01 0 0.03 0.00 0.05 0.00 0.03 99.88 [2021-06-30T12:31:14.498Z] 12:30:01 1 0.15 0.00 0.02 0.00 0.02 99.82 [2021-06-30T12:31:14.498Z] 12:31:01 all 6.67 0.00 2.51 0.24 0.03 90.55 [2021-06-30T12:31:14.498Z] 12:31:01 0 6.12 0.00 2.93 0.19 0.03 90.73 [2021-06-30T12:31:14.498Z] 12:31:01 1 7.23 0.00 2.09 0.29 0.03 90.36 [2021-06-30T12:31:14.498Z] Average: all 1.12 0.00 0.47 0.09 0.03 98.29 [2021-06-30T12:31:14.498Z] Average: 0 1.05 0.00 0.53 0.12 0.03 98.29 [2021-06-30T12:31:14.498Z] Average: 1 1.20 0.00 0.42 0.06 0.03 98.29 [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z] [2021-06-30T12:31:14.498Z]