Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1e9cfc143a381fd03a181be6c6ca930955f09315+d1bfd12592bfcc37ebda2d741922e4b068f28a62 (226a99aba1e295e07abc2b36cb85aab44668f5e7) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-11771 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-55 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 Merge succeeded, producing d95f158d9b0264ad1415a05a888bb698dd173d24 Checking out Revision d95f158d9b0264ad1415a05a888bb698dd173d24 (PR-55) > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d95f158d9b0264ad1415a05a888bb698dd173d24 # timeout=10 Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" > git rev-list --no-walk 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:00 ========================================================= 23:08:00 EdgeX Global Pipelines Version Info 23:08:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:08:03 ------------------- 23:08:03 stable info: 23:08:03 ------------------- 23:08:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:03 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 23:08:03 Message: update stable to v1.0.162 23:08:03 ------------------- 23:08:03 experimental info: 23:08:03 ------------------- 23:08:03 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:03 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 23:08:03 Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo 23:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo 23:08:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo 23:08:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d95f158d9b0264ad1415a05a888bb698dd173d24 [Pipeline] echo 23:08:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d95f158 [Pipeline] echo 23:08:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:08:07 provisioning config files... 23:08:07 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config7230961035129114511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:07 ---> docker-login.sh 23:08:07 nexus3.edgexfoundry.org:10001 23:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:08 Configure a credential helper to remove this warning. See 23:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:08 23:08:08 Login Succeeded 23:08:08 nexus3.edgexfoundry.org:10002 23:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:08 Configure a credential helper to remove this warning. See 23:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:08 23:08:08 Login Succeeded 23:08:08 nexus3.edgexfoundry.org:10003 23:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:08 Configure a credential helper to remove this warning. See 23:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:08 23:08:08 Login Succeeded 23:08:08 nexus3.edgexfoundry.org:10004 23:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:08 Configure a credential helper to remove this warning. See 23:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:08 23:08:08 Login Succeeded 23:08:08 docker.io 23:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:09 Configure a credential helper to remove this warning. See 23:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:09 23:08:09 Login Succeeded 23:08:09 ---> docker-login.sh ends [Pipeline] } 23:08:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:10 + git log --format=format:%s -1 d95f158d9b0264ad1415a05a888bb698dd173d24 [Pipeline] echo 23:08:10 GIT_COMMIT: d95f158d9b0264ad1415a05a888bb698dd173d24, Commit Message: Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD [Pipeline] echo 23:08:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:08:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:12 23:08:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:08:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:12 latest: Pulling from edgex-devops/git-semver 23:08:12 31603596830f: Pulling fs layer 23:08:12 2a8b12db71e7: Pulling fs layer 23:08:12 6ca5941a6612: Pulling fs layer 23:08:12 ecc8261a40a4: Pulling fs layer 23:08:12 ecc8261a40a4: Waiting 23:08:12 2a8b12db71e7: Verifying Checksum 23:08:12 2a8b12db71e7: Download complete 23:08:12 31603596830f: Verifying Checksum 23:08:12 31603596830f: Download complete 23:08:12 ecc8261a40a4: Verifying Checksum 23:08:12 ecc8261a40a4: Download complete 23:08:12 6ca5941a6612: Verifying Checksum 23:08:12 6ca5941a6612: Download complete 23:08:12 31603596830f: Pull complete 23:08:12 2a8b12db71e7: Pull complete 23:08:13 6ca5941a6612: Pull complete 23:08:14 ecc8261a40a4: Pull complete 23:08:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:08:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:08:14 prd-centos7-docker-4c-2g-11771 does not seem to be running inside a container 23:08:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:08:16 $ docker top bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:16 [ssh-agent] Looking for ssh-agent implementation... 23:08:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:16 $ docker exec bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent 23:08:17 SSH_AUTH_SOCK=/tmp/ssh-9tX6SrWnPfPd/agent.11 23:08:17 SSH_AGENT_PID=16 23:08:17 Running ssh-add (command line suppressed) 23:08:17 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7864437632615900277.key (/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7864437632615900277.key) 23:08:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:17 + git tag --points-at HEAD [Pipeline] } 23:08:17 $ docker exec --env ******** --env ******** bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent -k 23:08:17 unset SSH_AUTH_SOCK; 23:08:17 unset SSH_AGENT_PID; 23:08:17 echo Agent pid 16 killed; 23:08:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:18 [ssh-agent] Looking for ssh-agent implementation... 23:08:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:18 $ docker exec bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent 23:08:18 SSH_AUTH_SOCK=/tmp/ssh-GzCRfWvzAXIA/agent.46 23:08:18 SSH_AGENT_PID=52 23:08:18 Running ssh-add (command line suppressed) 23:08:18 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7918135787173465356.key (/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7918135787173465356.key) 23:08:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:18 + git semver init 23:08:18 # -> Open(): unable to determine branch for HEAD 23:08:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.git 23:08:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-55 23:08:18 # $SEMVER_REMOTE_NAME = origin 23:08:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:08:18 # $SEMVER_USER_NAME = edgex-jenkins 23:08:18 # $SEMVER_BRANCH = PR-55 23:08:18 # $SEMVER_TEMP = /tmp/semver-172232702 23:08:18 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:08:20 # '/tmp/semver-172232702' -> '/w/workspace/dgexfoundry_device-rest-go_PR-55/.semver' 23:08:20 # -> Force: false 23:08:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.semver [Pipeline] } 23:08:20 $ docker exec --env ******** --env ******** bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent -k 23:08:20 unset SSH_AUTH_SOCK; 23:08:20 unset SSH_AGENT_PID; 23:08:20 echo Agent pid 52 killed; 23:08:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:20 + git semver [Pipeline] } 23:08:20 $ docker stop --time=1 bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 23:08:22 $ docker rm -f bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:23 Stashed 1 file(s) [Pipeline] echo 23:08:23 [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 23:08:38 Still waiting to schedule task 23:08:38 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11771’ 23:08:38 Still waiting to schedule task 23:08:38 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:09:53 Running on prd-centos7-docker-4c-2g-11774 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [Pipeline] { [Pipeline] ws 23:09:53 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 23:09:56 using credential edgex-jenkins-ssh 23:09:56 Cloning the remote Git repository 23:09:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:09:56 > git init /w/workspace/device-rest-go/2 # timeout=10 23:09:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:09:56 > git --version # timeout=10 23:09:56 > git --version # 'git version 2.16.5' 23:09:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:09:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:09:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:09:58 Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 23:09:58 Merge succeeded, producing 9ce0df90734cfd8011078d23756cc52e21edf8ea 23:09:58 Checking out Revision 9ce0df90734cfd8011078d23756cc52e21edf8ea (PR-55) 23:09:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:09:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:09:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:09:58 > git config core.sparsecheckout # timeout=10 23:09:58 > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 23:09:58 > git remote # timeout=10 23:09:58 > git config --get remote.origin.url # timeout=10 23:09:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:58 > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 23:09:58 > git rev-parse HEAD^{commit} # timeout=10 23:09:58 > git config core.sparsecheckout # timeout=10 23:09:58 > git checkout -f 9ce0df90734cfd8011078d23756cc52e21edf8ea # timeout=10 23:10:02 Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" 23:10:02 > git rev-list --no-walk 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:10:03 provisioning config files... 23:10:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config72901330460882030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:04 ---> docker-login.sh 23:10:04 nexus3.edgexfoundry.org:10001 23:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:04 Configure a credential helper to remove this warning. See 23:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:04 23:10:04 Login Succeeded 23:10:04 nexus3.edgexfoundry.org:10002 23:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:04 Configure a credential helper to remove this warning. See 23:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:04 23:10:04 Login Succeeded 23:10:04 nexus3.edgexfoundry.org:10003 23:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:04 Configure a credential helper to remove this warning. See 23:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:04 23:10:04 Login Succeeded 23:10:04 nexus3.edgexfoundry.org:10004 23:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:05 Configure a credential helper to remove this warning. See 23:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:05 23:10:05 Login Succeeded 23:10:05 docker.io 23:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:05 Configure a credential helper to remove this warning. See 23:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:05 23:10:05 Login Succeeded 23:10:05 ---> docker-login.sh ends [Pipeline] } 23:10:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:10:05 ========================================================= 23:10:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:10:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:10:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 23:10:06 Sending build context to Docker daemon 79.87kB 23:10:06 Step 1/10 : ARG BASE=golang:1.15-alpine 23:10:06 Step 2/10 : FROM ${BASE} 23:10:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:10:06 df20fa9351a1: Pulling fs layer 23:10:06 ed8968b2872e: Pulling fs layer 23:10:06 a92cc7c5fd73: Pulling fs layer 23:10:06 e871e8e8d7a9: Pulling fs layer 23:10:06 e73272ec9a57: Pulling fs layer 23:10:06 1e910a182e73: Pulling fs layer 23:10:06 4e634b169226: Pulling fs layer 23:10:06 e871e8e8d7a9: Waiting 23:10:06 e73272ec9a57: Waiting 23:10:06 1e910a182e73: Waiting 23:10:06 4e634b169226: Waiting 23:10:06 a92cc7c5fd73: Verifying Checksum 23:10:06 a92cc7c5fd73: Download complete 23:10:06 ed8968b2872e: Download complete 23:10:06 e73272ec9a57: Verifying Checksum 23:10:06 e73272ec9a57: Download complete 23:10:06 df20fa9351a1: Verifying Checksum 23:10:06 df20fa9351a1: Download complete 23:10:06 1e910a182e73: Verifying Checksum 23:10:06 1e910a182e73: Download complete 23:10:06 df20fa9351a1: Pull complete 23:10:07 ed8968b2872e: Pull complete 23:10:07 a92cc7c5fd73: Pull complete 23:10:09 4e634b169226: Verifying Checksum 23:10:09 4e634b169226: Download complete 23:10:09 e871e8e8d7a9: Verifying Checksum 23:10:09 e871e8e8d7a9: Download complete 23:10:15 e871e8e8d7a9: Pull complete 23:10:15 e73272ec9a57: Pull complete 23:10:15 1e910a182e73: Pull complete 23:10:20 4e634b169226: Pull complete 23:10:20 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 23:10:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:10:20 ---> f7629b54cfaa 23:10:20 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 23:10:20 ---> Running in 57b2c535b0a1 23:10:20 Removing intermediate container 57b2c535b0a1 23:10:20 ---> 670b85192191 23:10:20 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:10:20 ---> Running in 03899a27ce6e 23:10:20 Removing intermediate container 03899a27ce6e 23:10:20 ---> e549f35e6fb0 23:10:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:10:21 ---> Running in 1d4bc1cb59e2 23:10:21 Removing intermediate container 1d4bc1cb59e2 23:10:21 ---> d937d59501a0 23:10:21 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:10:21 ---> Running in 8f38acc759c6 23:10:22 Removing intermediate container 8f38acc759c6 23:10:22 ---> b992c19fb7ea 23:10:22 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:10:22 ---> Running in 899d234a83ad 23:10:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:10:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:10:24 OK: 166 MiB in 39 packages 23:10:25 Removing intermediate container 899d234a83ad 23:10:25 ---> eb6355e35542 23:10:25 Step 8/10 : WORKDIR /device-rest-go 23:10:25 ---> Running in 287c641e1984 23:10:25 Removing intermediate container 287c641e1984 23:10:25 ---> 734d401311c3 23:10:25 Step 9/10 : COPY . . 23:10:25 ---> a88e2f695e71 23:10:25 Step 10/10 : RUN go mod download 23:10:25 ---> Running in bd3244f657fb 23:10:47 Removing intermediate container bd3244f657fb 23:10:47 ---> a220d88a8aa3 23:10:47 Successfully built a220d88a8aa3 23:10:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:10:48 + docker inspect -f . ci-base-image-x86_64 23:10:48 . [Pipeline] withDockerContainer 23:10:48 prd-centos7-docker-4c-2g-11774 does not seem to be running inside a container 23:10:48 $ 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 ******** ci-base-image-x86_64 cat 23:10:48 $ docker top a660e9a344fbd62300f633d2b8b524bb8bc35db1349a3ebf03f27f4ba6fed33a -eo pid,comm [Pipeline] { [Pipeline] sh 23:10:49 + go version 23:10:49 go version go1.15.2 linux/amd64 [Pipeline] } 23:10:49 $ docker stop --time=1 a660e9a344fbd62300f633d2b8b524bb8bc35db1349a3ebf03f27f4ba6fed33a 23:10:50 $ docker rm -f a660e9a344fbd62300f633d2b8b524bb8bc35db1349a3ebf03f27f4ba6fed33a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:10:51 + docker inspect -f . ci-base-image-x86_64 23:10:51 . [Pipeline] withDockerContainer 23:10:51 prd-centos7-docker-4c-2g-11774 does not seem to be running inside a container 23:10:51 $ 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 ******** ci-base-image-x86_64 cat 23:10:52 $ docker top e15de2d3d8fdadd45e24efe3e360e360fb48c35546a551e32ba80ddebeb1637b -eo pid,comm [Pipeline] { [Pipeline] sh 23:10:53 + make test 23:10:53 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:10:53 ? github.com/edgexfoundry/device-rest-go [no test files] 23:11:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:11:06 ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 56.3% of statements 23:11:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:11:07 gofmt -l . 23:11:07 [ "`gofmt -l .`" = "" ] 23:11:07 ./bin/test-go-mod-tidy.sh 23:11:07 ./bin/test-attribution-txt.sh [Pipeline] } 23:11:08 $ docker stop --time=1 e15de2d3d8fdadd45e24efe3e360e360fb48c35546a551e32ba80ddebeb1637b 23:11:10 $ docker rm -f e15de2d3d8fdadd45e24efe3e360e360fb48c35546a551e32ba80ddebeb1637b [Pipeline] // withDockerContainer [Pipeline] sh 23:11:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:11:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:11:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:11:15 + ls -al . 23:11:15 total 96 23:11:15 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 10 23:11 . 23:11:15 drwxrwxr-x. 4 jenkins jenkins 28 Nov 10 23:09 .. 23:11:15 -rw-rw-r--. 1 jenkins jenkins 5294 Nov 10 23:09 Attribution.txt 23:11:15 drwxrwxr-x. 2 jenkins jenkins 64 Nov 10 23:09 bin 23:11:15 drwxrwxr-x. 3 jenkins jenkins 32 Nov 10 23:09 cmd 23:11:15 -rw-r--r--. 1 jenkins jenkins 9369 Nov 10 23:11 coverage.out 23:11:15 -rw-rw-r--. 1 jenkins jenkins 1519 Nov 10 23:09 Dockerfile 23:11:15 -rw-rw-r--. 1 jenkins jenkins 989 Nov 10 23:09 Dockerfile.build 23:11:15 -rw-rw-r--. 1 jenkins jenkins 151 Nov 10 23:09 .dockerignore 23:11:15 drwxrwxr-x. 2 jenkins jenkins 93 Nov 10 23:11 driver 23:11:15 drwxrwxr-x. 8 jenkins jenkins 179 Nov 10 23:10 .git 23:11:15 drwxrwxr-x. 2 jenkins jenkins 60 Nov 10 23:09 .github 23:11:15 -rw-rw-r--. 1 jenkins jenkins 339 Nov 10 23:09 .gitignore 23:11:15 -rw-r--r--. 1 jenkins jenkins 274 Nov 10 23:11 go.mod 23:11:15 -rw-r--r--. 1 jenkins jenkins 13804 Nov 10 23:11 go.sum 23:11:15 -rw-rw-r--. 1 jenkins jenkins 680 Nov 10 23:09 Jenkinsfile 23:11:15 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 10 23:09 LICENSE 23:11:15 -rw-rw-r--. 1 jenkins jenkins 951 Nov 10 23:09 Makefile 23:11:15 -rw-rw-r--. 1 jenkins jenkins 5917 Nov 10 23:09 README.md 23:11:15 drwxrwxr-x. 4 jenkins jenkins 54 Nov 10 23:09 snap 23:11:15 -rw-rw-r--. 1 jenkins jenkins 5 Nov 10 23:08 VERSION 23:11:15 -rw-rw-r--. 1 jenkins jenkins 713 Nov 10 23:09 version.go [Pipeline] isUnix [Pipeline] sh 23:11:15 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 --label arch=amd64 --label version=0.0.0 . 23:11:15 Sending build context to Docker daemon 91.65kB 23:11:15 Step 1/25 : ARG BASE=golang:1.15-alpine 23:11:15 Step 2/25 : FROM ${BASE} AS builder 23:11:15 ---> a220d88a8aa3 23:11:15 Step 3/25 : ARG MAKE='make build' 23:11:15 ---> Running in 15c1f8a59ff3 23:11:16 Removing intermediate container 15c1f8a59ff3 23:11:16 ---> 0038d0a50df1 23:11:16 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 23:11:16 ---> Running in 7bbde6c5d662 23:11:16 Removing intermediate container 7bbde6c5d662 23:11:16 ---> 2e3a45b10783 23:11:16 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:11:16 ---> Running in cb50ee2b1c26 23:11:16 Removing intermediate container cb50ee2b1c26 23:11:16 ---> 24d61c70ceb0 23:11:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:16 ---> Running in 1f5e9ecb10b9 23:11:17 Removing intermediate container 1f5e9ecb10b9 23:11:17 ---> d78813f923a6 23:11:17 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:17 ---> Running in 908b77070d77 23:11:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:11:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:11:19 OK: 166 MiB in 39 packages 23:11:19 Removing intermediate container 908b77070d77 23:11:19 ---> a1d0fc8fdf5b 23:11:19 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 23:11:19 ---> Running in 155d1881be67 23:11:20 Removing intermediate container 155d1881be67 23:11:20 ---> 459e8ba571db 23:11:20 Step 9/25 : COPY go.mod . 23:11:20 ---> 61abc5001432 23:11:20 Step 10/25 : COPY Makefile . 23:11:20 ---> cf6efb90051b 23:11:20 Step 11/25 : RUN make update 23:11:20 ---> Running in 1852f3d2859d 23:11:21 CGO_ENABLED=0 GO111MODULE=on go mod download 23:11:21 Removing intermediate container 1852f3d2859d 23:11:21 ---> 31b8e6901ff7 23:11:21 Step 12/25 : COPY . . 23:11:21 ---> 0021c2832885 23:11:21 Step 13/25 : RUN $MAKE 23:11:21 ---> Running in 026a9445cda5 23:11:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 23:11:34 Removing intermediate container 026a9445cda5 23:11:34 ---> 6206ea4382f3 23:11:34 Step 14/25 : FROM alpine:latest 23:11:34 latest: Pulling from library/alpine 23:11:34 188c0c94c7c5: Pulling fs layer 23:11:34 188c0c94c7c5: Verifying Checksum 23:11:34 188c0c94c7c5: Download complete 23:11:34 188c0c94c7c5: Pull complete 23:11:34 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 23:11:34 Status: Downloaded newer image for alpine:latest 23:11:34 ---> d6e46aa2470d 23:11:34 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:11:34 ---> Running in 390f3cd5ecc6 23:11:34 Removing intermediate container 390f3cd5ecc6 23:11:34 ---> 5eb112a80df3 23:11:34 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 23:11:34 ---> Running in f2630301d0d3 23:11:34 Removing intermediate container f2630301d0d3 23:11:34 ---> f53b856e1c4d 23:11:34 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 23:11:34 ---> e003451a6065 23:11:34 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 23:11:34 ---> 5c8b3b8d320f 23:11:34 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 23:11:35 ---> 42c8fcb12ddb 23:11:35 Step 20/25 : EXPOSE 49986 23:11:35 ---> Running in ea3022e17c8c 23:11:35 Removing intermediate container ea3022e17c8c 23:11:35 ---> 185104d7c3c6 23:11:35 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 23:11:35 ---> Running in cd664d64cb92 23:11:35 Removing intermediate container cd664d64cb92 23:11:35 ---> 96bd5109e1be 23:11:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:11:35 ---> Running in 7a129d15598f 23:11:36 Removing intermediate container 7a129d15598f 23:11:36 ---> d009bb09bbaa 23:11:36 Step 23/25 : LABEL arch=amd64 23:11:36 ---> Running in eb3c8b49a080 23:11:36 Removing intermediate container eb3c8b49a080 23:11:36 ---> 698ee6bd2786 23:11:36 Step 24/25 : LABEL git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 23:11:36 ---> Running in 2fea4cd35433 23:11:36 Removing intermediate container 2fea4cd35433 23:11:36 ---> 9d10733adff6 23:11:36 Step 25/25 : LABEL version=0.0.0 23:11:36 ---> Running in 3c01c1ebafae 23:11:36 Removing intermediate container 3c01c1ebafae 23:11:36 ---> cc0fd9d6ef73 23:11:36 [Warning] One or more build-args [ARCH] were not consumed 23:11:36 Successfully built cc0fd9d6ef73 23:11:36 Successfully tagged docker-device-rest-go: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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:11:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-11776 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [Pipeline] { [Pipeline] ws 23:11:54 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 23:11:59 using credential edgex-jenkins-ssh 23:11:59 Cloning the remote Git repository 23:11:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:11:59 > git init /w/workspace/device-rest-go/2 # timeout=10 23:11:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:11:59 > git --version # timeout=10 23:11:59 > git --version # 'git version 2.17.1' 23:11:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:01 Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 23:12:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:12:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:12:01 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:12:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:12:01 > git config core.sparsecheckout # timeout=10 23:12:02 > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 23:12:02 Merge succeeded, producing ee6b607195ad5bd1d41acff29762b0f402887deb 23:12:02 Checking out Revision ee6b607195ad5bd1d41acff29762b0f402887deb (PR-55) 23:12:02 > git remote # timeout=10 23:12:02 > git config --get remote.origin.url # timeout=10 23:12:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:02 > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 23:12:02 > git rev-parse HEAD^{commit} # timeout=10 23:12:02 > git config core.sparsecheckout # timeout=10 23:12:02 > git checkout -f ee6b607195ad5bd1d41acff29762b0f402887deb # timeout=10 23:12:06 Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" 23:12:06 > git rev-list --no-walk 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:12:07 provisioning config files... 23:12:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3539566098588746430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:08 ---> docker-login.sh 23:12:08 nexus3.edgexfoundry.org:10001 23:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:09 Configure a credential helper to remove this warning. See 23:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:09 23:12:09 Login Succeeded 23:12:09 nexus3.edgexfoundry.org:10002 23:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:10 Configure a credential helper to remove this warning. See 23:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:10 23:12:10 Login Succeeded 23:12:10 nexus3.edgexfoundry.org:10003 23:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:10 Configure a credential helper to remove this warning. See 23:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:10 23:12:10 Login Succeeded 23:12:10 nexus3.edgexfoundry.org:10004 23:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:11 Configure a credential helper to remove this warning. See 23:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:11 23:12:11 Login Succeeded 23:12:11 docker.io 23:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:12 Configure a credential helper to remove this warning. See 23:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:12 23:12:12 Login Succeeded 23:12:12 ---> docker-login.sh ends [Pipeline] } 23:12:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:12 ========================================================= 23:12:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:12:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:12:13 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 23:12:13 Sending build context to Docker daemon 79.87kB 23:12:13 Step 1/10 : ARG BASE=golang:1.15-alpine 23:12:13 Step 2/10 : FROM ${BASE} 23:12:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:12:13 b538f80385f9: Pulling fs layer 23:12:13 74f711af9a0d: Pulling fs layer 23:12:13 99f96fe45779: Pulling fs layer 23:12:13 8529a6b9a6be: Pulling fs layer 23:12:13 45590311c82a: Pulling fs layer 23:12:13 69ca0ff8b7b3: Pulling fs layer 23:12:13 209524e5b208: Pulling fs layer 23:12:13 8529a6b9a6be: Waiting 23:12:13 45590311c82a: Waiting 23:12:13 69ca0ff8b7b3: Waiting 23:12:13 209524e5b208: Waiting 23:12:13 99f96fe45779: Verifying Checksum 23:12:13 99f96fe45779: Download complete 23:12:13 74f711af9a0d: Verifying Checksum 23:12:13 74f711af9a0d: Download complete 23:12:13 45590311c82a: Verifying Checksum 23:12:13 45590311c82a: Download complete 23:12:13 69ca0ff8b7b3: Verifying Checksum 23:12:13 69ca0ff8b7b3: Download complete 23:12:13 b538f80385f9: Download complete 23:12:14 b538f80385f9: Pull complete 23:12:15 74f711af9a0d: Pull complete 23:12:15 99f96fe45779: Pull complete 23:12:17 209524e5b208: Verifying Checksum 23:12:17 209524e5b208: Download complete 23:12:17 8529a6b9a6be: Verifying Checksum 23:12:17 8529a6b9a6be: Download complete 23:12:28 8529a6b9a6be: Pull complete 23:12:28 45590311c82a: Pull complete 23:12:28 69ca0ff8b7b3: Pull complete 23:12:31 209524e5b208: Pull complete 23:12:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 23:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:12:31 ---> 5bddaf1c2fca 23:12:31 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 23:12:34 ---> Running in b7da5968b882 23:12:34 Removing intermediate container b7da5968b882 23:12:34 ---> 97d7bc03bf67 23:12:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:12:34 ---> Running in a27e333d37fc 23:12:35 Removing intermediate container a27e333d37fc 23:12:35 ---> ad2b29073372 23:12:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:12:35 ---> Running in 89f2387f4bdc 23:12:35 Removing intermediate container 89f2387f4bdc 23:12:35 ---> d22147897f4f 23:12:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:35 ---> Running in 6635d9c06a86 23:12:38 Removing intermediate container 6635d9c06a86 23:12:38 ---> ac770201311b 23:12:38 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:38 ---> Running in 71f5a96db49b 23:12:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:12:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:12:41 OK: 142 MiB in 39 packages 23:12:42 Removing intermediate container 71f5a96db49b 23:12:42 ---> 206369a2fa9f 23:12:42 Step 8/10 : WORKDIR /device-rest-go 23:12:43 ---> Running in 8019e7484301 23:12:43 Removing intermediate container 8019e7484301 23:12:43 ---> 801c07201dfc 23:12:43 Step 9/10 : COPY . . 23:12:44 ---> d972b46b40cb 23:12:44 Step 10/10 : RUN go mod download 23:12:44 ---> Running in 4945896b8b90 23:13:06 Removing intermediate container 4945896b8b90 23:13:06 ---> 811ae94bf495 23:13:06 Successfully built 811ae94bf495 23:13:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:13:07 + docker inspect -f . ci-base-image-arm64 23:13:07 . [Pipeline] withDockerContainer 23:13:07 prd-ubuntu18.04-docker-arm64-4c-16g-11776 does not seem to be running inside a container 23:13:07 $ 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 ******** ci-base-image-arm64 cat 23:13:09 $ docker top 6702dd2d33256f092583be0fe376424bd342d54fef75ae367ad7a407456e5b78 -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:10 + go version 23:13:10 go version go1.15.2 linux/arm64 [Pipeline] } 23:13:10 $ docker stop --time=1 6702dd2d33256f092583be0fe376424bd342d54fef75ae367ad7a407456e5b78 23:13:12 $ docker rm -f 6702dd2d33256f092583be0fe376424bd342d54fef75ae367ad7a407456e5b78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:13:13 + docker inspect -f . ci-base-image-arm64 23:13:13 . [Pipeline] withDockerContainer 23:13:14 prd-ubuntu18.04-docker-arm64-4c-16g-11776 does not seem to be running inside a container 23:13:14 $ 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 ******** ci-base-image-arm64 cat 23:13:16 $ docker top 1e4cb7d9637651aca70e4ab79e925bb29b69a223987f74444319b71a36bc8cab -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:17 + make test 23:13:17 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:13:18 ? github.com/edgexfoundry/device-rest-go [no test files] 23:13:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:13:57 ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 56.3% of statements 23:13:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:14:01 gofmt -l . 23:14:01 [ "`gofmt -l .`" = "" ] 23:14:01 ./bin/test-go-mod-tidy.sh 23:14:01 ./bin/test-attribution-txt.sh [Pipeline] } 23:14:02 $ docker stop --time=1 1e4cb7d9637651aca70e4ab79e925bb29b69a223987f74444319b71a36bc8cab 23:14:04 $ docker rm -f 1e4cb7d9637651aca70e4ab79e925bb29b69a223987f74444319b71a36bc8cab [Pipeline] // withDockerContainer [Pipeline] sh 23:14:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:05 Warning: overwriting stash ‘coverage-report’ 23:14:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:07 + ls -al . 23:14:07 total 124 23:14:07 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 23:14 . 23:14:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 23:11 .. 23:14:07 -rw-rw-r-- 1 jenkins jenkins 151 Nov 10 23:12 .dockerignore 23:14:07 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 23:12 .git 23:14:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 23:12 .github 23:14:07 -rw-rw-r-- 1 jenkins jenkins 339 Nov 10 23:12 .gitignore 23:14:07 -rw-rw-r-- 1 jenkins jenkins 5294 Nov 10 23:12 Attribution.txt 23:14:07 -rw-rw-r-- 1 jenkins jenkins 1519 Nov 10 23:12 Dockerfile 23:14:07 -rw-rw-r-- 1 jenkins jenkins 989 Nov 10 23:12 Dockerfile.build 23:14:07 -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 23:12 Jenkinsfile 23:14:07 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 23:12 LICENSE 23:14:07 -rw-rw-r-- 1 jenkins jenkins 951 Nov 10 23:12 Makefile 23:14:07 -rw-rw-r-- 1 jenkins jenkins 5917 Nov 10 23:12 README.md 23:14:07 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 23:08 VERSION 23:14:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 23:12 bin 23:14:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 23:12 cmd 23:14:07 -rw-r--r-- 1 jenkins jenkins 9369 Nov 10 23:13 coverage.out 23:14:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 23:13 driver 23:14:07 -rw-r--r-- 1 jenkins jenkins 274 Nov 10 23:14 go.mod 23:14:07 -rw-r--r-- 1 jenkins jenkins 13804 Nov 10 23:14 go.sum 23:14:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 23:12 snap 23:14:07 -rw-rw-r-- 1 jenkins jenkins 713 Nov 10 23:12 version.go [Pipeline] isUnix [Pipeline] sh 23:14:07 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 --label arch=arm64 --label version=0.0.0 . 23:14:07 Sending build context to Docker daemon 91.65kB 23:14:08 Step 1/25 : ARG BASE=golang:1.15-alpine 23:14:08 Step 2/25 : FROM ${BASE} AS builder 23:14:08 ---> 811ae94bf495 23:14:08 Step 3/25 : ARG MAKE='make build' 23:14:08 ---> Running in da72be1afc18 23:14:09 Removing intermediate container da72be1afc18 23:14:09 ---> d551641a05d6 23:14:09 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 23:14:09 ---> Running in af45a5ffa8b6 23:14:09 Removing intermediate container af45a5ffa8b6 23:14:09 ---> db0f51976e97 23:14:09 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:14:09 ---> Running in e3a645fedc28 23:14:10 Removing intermediate container e3a645fedc28 23:14:10 ---> f710f0828b0d 23:14:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:10 ---> Running in 8956034d0f74 23:14:12 Removing intermediate container 8956034d0f74 23:14:12 ---> 068c207beef6 23:14:12 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:12 ---> Running in d0ebd958c65b 23:14:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:14:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:14:15 OK: 142 MiB in 39 packages 23:14:16 Removing intermediate container d0ebd958c65b 23:14:16 ---> 64d005ceca43 23:14:16 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 23:14:16 ---> Running in 8a482545753b 23:14:17 Removing intermediate container 8a482545753b 23:14:17 ---> e6b7a9072c74 23:14:17 Step 9/25 : COPY go.mod . 23:14:17 ---> d395a53f1387 23:14:17 Step 10/25 : COPY Makefile . 23:14:18 ---> b4103e400b43 23:14:18 Step 11/25 : RUN make update 23:14:18 ---> Running in 83559eee7141 23:14:20 CGO_ENABLED=0 GO111MODULE=on go mod download 23:14:21 Removing intermediate container 83559eee7141 23:14:21 ---> 628b20c98d1e 23:14:21 Step 12/25 : COPY . . 23:14:22 ---> 9497c1d0b069 23:14:22 Step 13/25 : RUN $MAKE 23:14:22 ---> Running in 2e65935654e2 23:14:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 23:14:56 Removing intermediate container 2e65935654e2 23:14:56 ---> f15ecef2f97c 23:14:56 Step 14/25 : FROM alpine:latest 23:14:56 latest: Pulling from library/alpine 23:14:56 5f621e34cdf4: Pulling fs layer 23:14:56 5f621e34cdf4: Verifying Checksum 23:14:56 5f621e34cdf4: Download complete 23:14:56 5f621e34cdf4: Pull complete 23:14:56 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 23:14:56 Status: Downloaded newer image for alpine:latest 23:14:56 ---> 2e77e061c27f 23:14:56 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:14:56 ---> Running in 38a03961987a 23:14:56 Removing intermediate container 38a03961987a 23:14:56 ---> 7133edc20fed 23:14:56 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 23:14:56 ---> Running in 4236f5874ea3 23:14:56 Removing intermediate container 4236f5874ea3 23:14:56 ---> 8e9e2c011ea9 23:14:56 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 23:14:56 ---> 0e9af53d63f0 23:14:56 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 23:14:56 ---> b8182d4c6d2e 23:14:56 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 23:14:57 ---> 008aa914a8c8 23:14:57 Step 20/25 : EXPOSE 49986 23:14:57 ---> Running in c77f7235fe39 23:14:57 Removing intermediate container c77f7235fe39 23:14:57 ---> cf3866ccfb64 23:14:57 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 23:14:57 ---> Running in 2928785c1bdd 23:14:58 Removing intermediate container 2928785c1bdd 23:14:58 ---> 547cf82126fe 23:14:58 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:14:58 ---> Running in 1f17fe621b68 23:14:59 Removing intermediate container 1f17fe621b68 23:14:59 ---> c9a775cb87c4 23:14:59 Step 23/25 : LABEL arch=arm64 23:14:59 ---> Running in cd1a4d5b0a92 23:14:59 Removing intermediate container cd1a4d5b0a92 23:14:59 ---> 0d2861a6f557 23:14:59 Step 24/25 : LABEL git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 23:14:59 ---> Running in ca8ef316b7f0 23:15:00 Removing intermediate container ca8ef316b7f0 23:15:00 ---> 1f6a004de5cc 23:15:00 Step 25/25 : LABEL version=0.0.0 23:15:00 ---> Running in d8b97150c198 23:15:00 Removing intermediate container d8b97150c198 23:15:00 ---> 9eb8062baa4c 23:15:00 [Warning] One or more build-args [ARCH] were not consumed 23:15:00 Successfully built 9eb8062baa4c 23:15:00 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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] wrap 23:15:02 provisioning config files... 23:15:02 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config732994175417261836tmp [Pipeline] { [Pipeline] sh 23:15:03 + set +x 23:15:03 + curl -s https://codecov.io/bash 23:15:03 + bash -s -- 23:15:03 23:15:03 _____ _ 23:15:03 / ____| | | 23:15:03 | | ___ __| | ___ ___ _____ __ 23:15:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:15:03 | |___| (_) | (_| | __/ (_| (_) \ V / 23:15:03 \_____\___/ \__,_|\___|\___\___/ \_/ 23:15:03 Bash-20201106-81372f2 23:15:03 23:15:03 23:15:03 ==> Jenkins CI detected. 23:15:03 project root: . 23:15:03 --> token set from env 23:15:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:15:03 ==> Running gcov in . (disable via -X gcov) 23:15:03 ==> Python coveragepy not found 23:15:03 ==> Searching for coverage reports in: 23:15:03 + . 23:15:03 -> Found 1 reports 23:15:03 ==> Detecting git/mercurial file structure 23:15:03 ==> Reading reports 23:15:03 + ./coverage.out bytes=9369 23:15:03 ==> Appending adjustments 23:15:03 https://docs.codecov.io/docs/fixing-reports 23:15:03 + Found adjustments 23:15:03 ==> Gzipping contents 23:15:03 ==> Uploading reports 23:15:03 url: https://codecov.io 23:15:03 query: branch=PR-55&commit=d95f158d9b0264ad1415a05a888bb698dd173d24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-55%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=55&job=&cmd_args= 23:15:03 -> Pinging Codecov 23:15:03 https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-55&commit=d95f158d9b0264ad1415a05a888bb698dd173d24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-55%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=55&job=&cmd_args= 23:15:04 -> Uploading to 23:15:04 https://storage.googleapis.com/codecov/v4/raw/2020-11-10/4E5D53B4F1F92C436F7061BF334D961C/d95f158d9b0264ad1415a05a888bb698dd173d24/f0bc7c9d-8d3c-4619-acab-291f25e762f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T231504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc66d4cde503535e410a6c93de1fd535fe4c9a106f765a340220511de23a52be 23:15:04 % Total % Received % Xferd Average Speed Time Time Time Current 23:15:04 Dload Upload Total Spent Left Speed 23:15:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4153 --:--:-- --:--:-- --:--:-- 4164 23:15:04 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d95f158d9b0264ad1415a05a888bb698dd173d24 [Pipeline] } 23:15:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 23:15:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:15:08 ---> package-listing.sh 23:15:08 ++ facter osfamily 23:15:08 ++ tr '[:upper:]' '[:lower:]' 23:15:08 + OS_FAMILY=redhat 23:15:08 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-55 23:15:08 + START_PACKAGES=/tmp/packages_start.txt 23:15:08 + END_PACKAGES=/tmp/packages_end.txt 23:15:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:15:08 + PACKAGES=/tmp/packages_start.txt 23:15:08 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' 23:15:08 + PACKAGES=/tmp/packages_end.txt 23:15:08 + case "${OS_FAMILY}" in 23:15:08 + rpm -qa 23:15:08 + sort 23:15:12 + '[' -f /tmp/packages_start.txt ']' 23:15:12 + '[' -f /tmp/packages_end.txt ']' 23:15:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:15:12 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' 23:15:12 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-55/archives/ 23:15:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-55/archives/ [Pipeline] echo 23:15:12 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/dgexfoundry_device-rest-go_PR-55/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:15:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:15:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:15:12 23:15:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:15:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:15:13 alpine: Pulling from edgex-lftools-log-publisher 23:15:13 df20fa9351a1: Pulling fs layer 23:15:13 36b3adc4ff6f: Pulling fs layer 23:15:13 8ad3a11d3b57: Pulling fs layer 23:15:13 46f8f816bc3b: Pulling fs layer 23:15:13 93b61091891f: Pulling fs layer 23:15:13 93b9cdb0e59b: Pulling fs layer 23:15:13 5e14af77c1be: Pulling fs layer 23:15:13 01666e4c0597: Pulling fs layer 23:15:13 aa168da1d23b: Pulling fs layer 23:15:13 93b61091891f: Waiting 23:15:13 93b9cdb0e59b: Waiting 23:15:13 46f8f816bc3b: Waiting 23:15:13 aa168da1d23b: Waiting 23:15:13 36b3adc4ff6f: Download complete 23:15:13 46f8f816bc3b: Verifying Checksum 23:15:13 46f8f816bc3b: Download complete 23:15:13 df20fa9351a1: Verifying Checksum 23:15:13 93b9cdb0e59b: Verifying Checksum 23:15:13 93b9cdb0e59b: Download complete 23:15:13 5e14af77c1be: Download complete 23:15:13 01666e4c0597: Verifying Checksum 23:15:13 01666e4c0597: Download complete 23:15:13 93b61091891f: Verifying Checksum 23:15:13 93b61091891f: Download complete 23:15:13 8ad3a11d3b57: Verifying Checksum 23:15:13 8ad3a11d3b57: Download complete 23:15:13 df20fa9351a1: Pull complete 23:15:14 36b3adc4ff6f: Pull complete 23:15:14 8ad3a11d3b57: Pull complete 23:15:15 46f8f816bc3b: Pull complete 23:15:15 aa168da1d23b: Verifying Checksum 23:15:15 aa168da1d23b: Download complete 23:15:15 93b61091891f: Pull complete 23:15:15 93b9cdb0e59b: Pull complete 23:15:15 5e14af77c1be: Pull complete 23:15:16 01666e4c0597: Pull complete 23:15:24 aa168da1d23b: Pull complete 23:15:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:15:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:15:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:15:24 prd-centos7-docker-4c-2g-11771 does not seem to be running inside a container 23:15:24 $ 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/dgexfoundry_device-rest-go_PR-55/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:15:28 $ docker top 0990f322f60547c6f7c049d10ffbbcf93aacdd436a4462f4123d040103a05792 -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:29 + touch /tmp/pre-build-complete [Pipeline] sh 23:15:29 + mkdir -p /var/log/sa [Pipeline] sh 23:15:29 + ls /var/log/sa-host 23:15:29 + sadf -c /var/log/sa-host/sa05 23:15:29 file_magic: OK 23:15:29 HZ: Using current value: 100 23:15:29 file_header: OK 23:15:29 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 23:15:29 Statistics: 23:15:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:15:29 File successfully converted to sysstat format version 12.2.1 23:15:29 + sadf -c /var/log/sa-host/sa10 23:15:29 file_magic: OK 23:15:29 HZ: Using current value: 100 23:15:29 file_header: OK 23:15:29 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 23:15:29 Statistics: 23:15:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:15:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:15:31 provisioning config files... 23:15:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config3685596678220309214tmp [Pipeline] { [Pipeline] echo 23:15:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:15:31 ---> create-netrc.sh [Pipeline] } 23:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:15:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:15:32 ---> python-tools-install.sh [Pipeline] echo 23:15:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:15:32 ---> sudo-logs.sh 23:15:32 Archiving 'sudo' log.. [Pipeline] echo 23:15:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:15:32 ---> job-cost.sh 23:15:32 lf-activate-venv: SKIPPING 23:15:32 INFO: No Stack... 23:15:33 INFO: Retrieving Pricing Info for: v1-standard-2 23:15:34 INFO: Archiving Costs [Pipeline] echo 23:15:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:15:34 ---> logs-deploy.sh 23:15:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-55/2 23:15:34 INFO: archiving workspace using pattern(s): 23:15:36 Archives upload complete. 23:15:36 INFO: archiving logs to Nexus 23:15:37 ---> uname -a: 23:15:37 Linux prd-centos7-docker-4c-2g-11771.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 23:15:37 23:15:37 23:15:37 ---> lscpu: 23:15:37 Architecture: x86_64 23:15:37 CPU op-mode(s): 32-bit, 64-bit 23:15:37 Byte Order: Little Endian 23:15:37 Address sizes: 40 bits physical, 48 bits virtual 23:15:37 CPU(s): 4 23:15:37 On-line CPU(s) list: 0-3 23:15:37 Thread(s) per core: 1 23:15:37 Core(s) per socket: 1 23:15:37 Socket(s): 4 23:15:37 NUMA node(s): 1 23:15:37 Vendor ID: GenuineIntel 23:15:37 CPU family: 6 23:15:37 Model: 44 23:15:37 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:15:37 Stepping: 1 23:15:37 CPU MHz: 2933.436 23:15:37 BogoMIPS: 5866.87 23:15:37 Virtualization: VT-x 23:15:37 Hypervisor vendor: KVM 23:15:37 Virtualization type: full 23:15:37 L1d cache: 128 KiB 23:15:37 L1i cache: 128 KiB 23:15:37 L2 cache: 16 MiB 23:15:37 L3 cache: 64 MiB 23:15:37 NUMA node0 CPU(s): 0-3 23:15:37 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:15:37 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:15:37 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:15:37 Vulnerability Meltdown: Mitigation; PTI 23:15:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:15:37 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:15:37 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:15:37 Vulnerability Tsx async abort: Not affected 23:15:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 23:15:37 23:15:37 23:15:37 ---> nproc: 23:15:37 4 23:15:37 23:15:37 23:15:37 ---> df -h: 23:15:37 Filesystem Size Used Available Use% Mounted on 23:15:37 overlay 50.0G 7.2G 42.8G 14% / 23:15:37 tmpfs 64.0M 0 64.0M 0% /dev 23:15:37 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:15:37 shm 64.0M 0 64.0M 0% /dev/shm 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-rest-go_PR-55 23:15:37 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp 23:15:37 23:15:37 23:15:37 ---> free -m: 23:15:37 total used free shared buff/cache available 23:15:37 Mem: 1837 681 111 0 1043 1053 23:15:37 Swap: 1023 1 1022 23:15:37 23:15:37 23:15:37 ---> ip addr: 23:15:37 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:15:37 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:15:37 inet 127.0.0.1/8 scope host lo 23:15:37 valid_lft forever preferred_lft forever 23:15:37 inet6 ::1/128 scope host 23:15:37 valid_lft forever preferred_lft forever 23:15:37 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:15:37 link/ether fa:16:3e:1b:5b:d7 brd ff:ff:ff:ff:ff:ff 23:15:37 inet 10.30.122.88/23 brd 10.30.123.255 scope global dynamic eth0 23:15:37 valid_lft 85905sec preferred_lft 85905sec 23:15:37 inet6 fe80::f816:3eff:fe1b:5bd7/64 scope link 23:15:37 valid_lft forever preferred_lft forever 23:15:37 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:15:37 link/ether 02:42:5e:2c:c5:c9 brd ff:ff:ff:ff:ff:ff 23:15:37 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:15:37 valid_lft forever preferred_lft forever 23:15:37 inet6 fe80::42:5eff:fe2c:c5c9/64 scope link 23:15:37 valid_lft forever preferred_lft forever 23:15:37 23:15:37 23:15:37 ---> sar -b -r -n DEV: 23:15:37 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/10/20 _x86_64_ (4 CPU) 23:15:37 23:15:37 23:07:03 LINUX RESTART (4 CPU) 23:15:37 23:15:37 23:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:15:37 23:09:01 29.83 11.87 17.96 0.00 4559.75 2861.23 0.00 23:15:37 23:10:01 0.53 0.02 0.52 0.00 0.53 9.94 0.00 23:15:37 23:11:01 0.23 0.00 0.23 0.00 0.00 2.48 0.00 23:15:37 23:12:01 0.33 0.00 0.33 0.00 0.00 5.15 0.00 23:15:37 23:13:02 0.18 0.00 0.18 0.00 0.00 3.05 0.00 23:15:37 23:14:01 0.34 0.02 0.32 0.00 0.14 5.45 0.00 23:15:37 23:15:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 23:15:37 Average: 4.54 1.71 2.84 0.00 653.26 413.96 0.00 23:15:37 23:15:37 23:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:15:37 23:09:01 171708 0 575404 30.58 2620 1131824 1121012 38.26 437736 1112592 20 23:15:37 23:10:01 173548 0 573556 30.48 2620 1131832 1111408 37.93 438044 1110424 16 23:15:37 23:11:01 175508 0 571588 30.38 2620 1131840 1100088 37.54 437480 1109800 12 23:15:37 23:12:01 174432 0 572660 30.44 2620 1131844 1086940 37.10 441812 1106492 20 23:15:37 23:13:02 173336 0 573752 30.49 2620 1131848 1086868 37.09 454436 1095152 12 23:15:37 23:14:01 172864 0 574212 30.52 2620 1131860 1087004 37.10 455020 1095156 12 23:15:37 23:15:01 173620 0 573456 30.48 2620 1131860 1086972 37.10 454444 1095152 8 23:15:37 Average: 173574 0 573518 30.48 2620 1131844 1097185 37.44 445567 1103538 14 23:15:37 23:15:37 23:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:15:37 23:09:01 eth0 114.00 108.51 477.77 34.83 0.00 0.00 0.00 0.00 23:15:37 23:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:09:01 docker0 49.68 36.32 4.15 132.60 0.00 0.00 0.00 0.00 23:15:37 23:10:01 eth0 1.75 0.48 0.63 0.42 0.00 0.00 0.00 0.00 23:15:37 23:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:11:01 eth0 1.18 0.37 0.35 0.20 0.00 0.00 0.00 0.00 23:15:37 23:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:12:01 eth0 1.07 0.42 0.31 0.21 0.00 0.00 0.00 0.00 23:15:37 23:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:13:02 eth0 2.03 0.52 0.54 0.27 0.00 0.00 0.00 0.00 23:15:37 23:13:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:14:01 eth0 1.17 0.58 0.57 0.37 0.00 0.00 0.00 0.00 23:15:37 23:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:15:01 eth0 0.70 0.30 0.29 0.20 0.00 0.00 0.00 0.00 23:15:37 23:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 23:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 Average: eth0 17.46 15.92 68.82 5.23 0.00 0.00 0.00 0.00 23:15:37 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:15:37 Average: docker0 7.12 5.20 0.60 18.99 0.00 0.00 0.00 0.00 23:15:37 23:15:37 23:15:37 ---> sar -P ALL: 23:15:37 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/10/20 _x86_64_ (4 CPU) 23:15:37 23:15:37 23:07:03 LINUX RESTART (4 CPU) 23:15:37 23:15:37 23:08:01 CPU %user %nice %system %iowait %steal %idle 23:15:37 23:09:01 all 2.95 0.00 2.01 0.55 0.07 94.43 23:15:37 23:09:01 0 2.59 0.00 2.13 0.22 0.07 95.00 23:15:37 23:09:01 1 2.60 0.00 1.76 0.22 0.08 95.34 23:15:37 23:09:01 2 3.53 0.00 2.15 1.38 0.05 92.89 23:15:37 23:09:01 3 3.07 0.00 2.01 0.37 0.07 94.48 23:15:37 23:10:01 all 0.13 0.00 0.04 0.00 0.00 99.82 23:15:37 23:10:01 0 0.08 0.00 0.03 0.00 0.00 99.88 23:15:37 23:10:01 1 0.07 0.00 0.05 0.00 0.02 99.87 23:15:37 23:10:01 2 0.05 0.00 0.05 0.00 0.00 99.90 23:15:37 23:10:01 3 0.32 0.00 0.03 0.00 0.00 99.65 23:15:37 23:11:01 all 0.17 0.00 0.05 0.00 0.00 99.78 23:15:37 23:11:01 0 0.05 0.00 0.05 0.00 0.00 99.90 23:15:37 23:11:01 1 0.07 0.00 0.07 0.00 0.02 99.85 23:15:37 23:11:01 2 0.50 0.00 0.03 0.00 0.00 99.47 23:15:37 23:11:01 3 0.05 0.00 0.05 0.00 0.00 99.90 23:15:37 23:12:01 all 0.16 0.00 0.03 0.00 0.01 99.80 23:15:37 23:12:01 0 0.02 0.00 0.03 0.00 0.02 99.93 23:15:37 23:12:01 1 0.07 0.00 0.05 0.00 0.00 99.88 23:15:37 23:12:01 2 0.53 0.00 0.03 0.00 0.02 99.42 23:15:37 23:12:01 3 0.02 0.00 0.02 0.00 0.00 99.97 23:15:37 23:13:02 all 0.08 0.00 0.07 0.00 0.00 99.85 23:15:37 23:13:02 0 0.03 0.00 0.17 0.00 0.00 99.80 23:15:37 23:13:02 1 0.05 0.00 0.03 0.00 0.00 99.92 23:15:37 23:13:02 2 0.22 0.00 0.07 0.00 0.00 99.72 23:15:37 23:13:02 3 0.03 0.00 0.02 0.00 0.00 99.95 23:15:37 23:14:01 all 0.13 0.00 0.03 0.00 0.00 99.83 23:15:37 23:14:01 0 0.05 0.00 0.02 0.00 0.00 99.93 23:15:37 23:14:01 1 0.05 0.00 0.05 0.00 0.02 99.88 23:15:37 23:14:01 2 0.39 0.00 0.03 0.00 0.00 99.58 23:15:37 23:14:01 3 0.03 0.00 0.02 0.00 0.00 99.95 23:15:37 23:15:01 all 0.16 0.00 0.03 0.00 0.00 99.81 23:15:37 23:15:01 0 0.02 0.00 0.03 0.00 0.00 99.95 23:15:37 23:15:01 1 0.07 0.00 0.03 0.00 0.00 99.90 23:15:37 23:15:01 2 0.52 0.00 0.03 0.00 0.00 99.45 23:15:37 23:15:01 3 0.03 0.00 0.03 0.00 0.00 99.93 23:15:37 Average: all 0.54 0.00 0.32 0.08 0.01 99.05 23:15:37 Average: 0 0.40 0.00 0.35 0.03 0.01 99.20 23:15:37 Average: 1 0.42 0.00 0.29 0.03 0.02 99.24 23:15:37 Average: 2 0.82 0.00 0.34 0.20 0.01 98.63 23:15:37 Average: 3 0.51 0.00 0.31 0.05 0.01 99.12 23:15:37 23:15:37 23:15:37