Pull request #69 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 FelixTing for edgexfoundry/device-rest-go Loading trusted files from base branch master at 9e4888f50a2a312870744f4f89808877d999d7c6 rather than c9735759aa0332367e0786e3538ddaf66780adec Obtained Jenkinsfile from 9e4888f50a2a312870744f4f89808877d999d7c6 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24917 in /w/workspace/dgexfoundry_device-rest-go_PR-69 [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-69 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit c9735759aa0332367e0786e3538ddaf66780adec > 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 --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/69/head:refs/remotes/origin/PR-69 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9735759aa0332367e0786e3538ddaf66780adec # timeout=10 Merge succeeded, producing c9735759aa0332367e0786e3538ddaf66780adec Checking out Revision c9735759aa0332367e0786e3538ddaf66780adec (PR-69) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9735759aa0332367e0786e3538ddaf66780adec # timeout=10 Commit message: "feat: Remove Logging configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:45:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:12 ========================================================= 05:45:12 EdgeX Global Pipelines Version Info 05:45:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ab8908e787e49b186e2887f0f5a0a68fe9938005 # timeout=10 05:45:15 ------------------- 05:45:15 stable info: 05:45:15 ------------------- 05:45:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:15 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:45:15 Message: update stable to v1.0.179 05:45:16 ------------------- 05:45:16 experimental info: 05:45:16 ------------------- 05:45:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:16 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:45:16 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-69 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-69 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-69 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9735759aa0332367e0786e3538ddaf66780adec [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c973575 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:45:20 provisioning config files... 05:45:20 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/config7141901885838657261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:20 ---> docker-login.sh 05:45:20 nexus3.edgexfoundry.org:10001 05:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:21 Configure a credential helper to remove this warning. See 05:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:21 05:45:21 Login Succeeded 05:45:21 nexus3.edgexfoundry.org:10002 05:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:21 Configure a credential helper to remove this warning. See 05:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:21 05:45:21 Login Succeeded 05:45:21 nexus3.edgexfoundry.org:10003 05:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:22 Configure a credential helper to remove this warning. See 05:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:22 05:45:22 Login Succeeded 05:45:22 nexus3.edgexfoundry.org:10004 05:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:22 Configure a credential helper to remove this warning. See 05:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:22 05:45:22 Login Succeeded 05:45:22 docker.io 05:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:23 Configure a credential helper to remove this warning. See 05:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:23 05:45:23 Login Succeeded 05:45:23 ---> docker-login.sh ends [Pipeline] } 05:45:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:23 + git log --format=format:%s -1 c9735759aa0332367e0786e3538ddaf66780adec [Pipeline] echo 05:45:24 GIT_COMMIT: c9735759aa0332367e0786e3538ddaf66780adec, Commit Message: feat: Remove Logging configuration [Pipeline] echo 05:45:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:25 05:45:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:45:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:25 latest: Pulling from edgex-devops/git-semver 05:45:25 31603596830f: Pulling fs layer 05:45:25 2a8b12db71e7: Pulling fs layer 05:45:25 6ca5941a6612: Pulling fs layer 05:45:25 ecc8261a40a4: Pulling fs layer 05:45:25 ecc8261a40a4: Waiting 05:45:25 2a8b12db71e7: Verifying Checksum 05:45:25 2a8b12db71e7: Download complete 05:45:25 31603596830f: Verifying Checksum 05:45:25 31603596830f: Download complete 05:45:26 ecc8261a40a4: Verifying Checksum 05:45:26 ecc8261a40a4: Download complete 05:45:26 6ca5941a6612: Verifying Checksum 05:45:26 6ca5941a6612: Download complete 05:45:26 31603596830f: Pull complete 05:45:26 2a8b12db71e7: Pull complete 05:45:28 6ca5941a6612: Pull complete 05:45:28 ecc8261a40a4: Pull complete 05:45:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:45:29 prd-centos7-docker-4c-2g-24917 does not seem to be running inside a container 05:45:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-69 -v /w/workspace/dgexfoundry_device-rest-go_PR-69:/w/workspace/dgexfoundry_device-rest-go_PR-69:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-69@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 05:45:31 $ docker top 5b4dac030c514ecc58342863e827db602968027da68b50869b4052a0b470261c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:32 [ssh-agent] Looking for ssh-agent implementation... 05:45:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:32 $ docker exec 5b4dac030c514ecc58342863e827db602968027da68b50869b4052a0b470261c ssh-agent 05:45:33 SSH_AUTH_SOCK=/tmp/ssh-B8hPO93V5oiW/agent.11 05:45:33 SSH_AGENT_PID=16 05:45:33 Running ssh-add (command line suppressed) 05:45:33 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_4833514964217863197.key (/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_4833514964217863197.key) 05:45:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:34 + git tag --points-at HEAD [Pipeline] } 05:45:34 $ docker exec --env ******** --env ******** 5b4dac030c514ecc58342863e827db602968027da68b50869b4052a0b470261c ssh-agent -k 05:45:34 unset SSH_AUTH_SOCK; 05:45:34 unset SSH_AGENT_PID; 05:45:34 echo Agent pid 16 killed; 05:45:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:45:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:34 [ssh-agent] Looking for ssh-agent implementation... 05:45:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:35 $ docker exec 5b4dac030c514ecc58342863e827db602968027da68b50869b4052a0b470261c ssh-agent 05:45:35 SSH_AUTH_SOCK=/tmp/ssh-KNzuoq0S4JIy/agent.44 05:45:35 SSH_AGENT_PID=49 05:45:35 Running ssh-add (command line suppressed) 05:45:35 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_1882240009389284867.key (/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_1882240009389284867.key) 05:45:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:36 + git semver init 05:45:36 # -> Open(): unable to determine branch for HEAD 05:45:36 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-69/.git 05:45:36 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-69 05:45:36 # $SEMVER_REMOTE_NAME = origin 05:45:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:45:36 # $SEMVER_USER_NAME = edgex-jenkins 05:45:36 # $SEMVER_BRANCH = PR-69 05:45:36 # $SEMVER_TEMP = /tmp/semver-132180735 05:45:36 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 05:45:37 # '/tmp/semver-132180735' -> '/w/workspace/dgexfoundry_device-rest-go_PR-69/.semver' 05:45:37 # -> Force: false 05:45:37 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-69/.semver [Pipeline] } 05:45:37 $ docker exec --env ******** --env ******** 5b4dac030c514ecc58342863e827db602968027da68b50869b4052a0b470261c ssh-agent -k 05:45:38 unset SSH_AUTH_SOCK; 05:45:38 unset SSH_AGENT_PID; 05:45:38 echo Agent pid 49 killed; 05:45:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:39 + git semver [Pipeline] } 05:45:39 $ docker stop --time=1 5b4dac030c514ecc58342863e827db602968027da68b50869b4052a0b470261c 05:45:40 $ docker rm -f 5b4dac030c514ecc58342863e827db602968027da68b50869b4052a0b470261c [Pipeline] // withDockerContainer [Pipeline] sh 05:45:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:45:42 Stashed 1 file(s) [Pipeline] echo 05:45:42 [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 05:45:57 Still waiting to schedule task 05:45:57 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24917’ 05:45:57 Still waiting to schedule task 05:45:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:47:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24918 in /w/workspace/dgexfoundry_device-rest-go_PR-69 [Pipeline] { [Pipeline] ws 05:47:48 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 05:47:53 using credential edgex-jenkins-ssh 05:47:53 Cloning the remote Git repository 05:47:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:47:53 > git init /w/workspace/device-rest-go/4 # timeout=10 05:47:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:47:53 > git --version # timeout=10 05:47:53 > git --version # 'git version 2.17.1' 05:47:53 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:56 Merging remotes/origin/master commit 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit c9735759aa0332367e0786e3538ddaf66780adec 05:47:56 Merge succeeded, producing c9735759aa0332367e0786e3538ddaf66780adec 05:47:56 Checking out Revision c9735759aa0332367e0786e3538ddaf66780adec (PR-69) 05:47:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:47:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:47:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/69/head:refs/remotes/origin/PR-69 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:47:56 > git config core.sparsecheckout # timeout=10 05:47:56 > git checkout -f c9735759aa0332367e0786e3538ddaf66780adec # timeout=10 05:47:56 > git remote # timeout=10 05:47:56 > git config --get remote.origin.url # timeout=10 05:47:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:56 > git merge 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 05:47:56 > git rev-parse HEAD^{commit} # timeout=10 05:47:56 > git config core.sparsecheckout # timeout=10 05:47:56 > git checkout -f c9735759aa0332367e0786e3538ddaf66780adec # timeout=10 05:48:00 Commit message: "feat: Remove Logging configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:02 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:48:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:48:03 + sudo service docker restart 05:48:03 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:48:05 provisioning config files... 05:48:05 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config8359843272490524528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:06 ---> docker-login.sh 05:48:06 nexus3.edgexfoundry.org:10001 05:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:07 Configure a credential helper to remove this warning. See 05:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:07 05:48:07 Login Succeeded 05:48:07 nexus3.edgexfoundry.org:10002 05:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:08 Configure a credential helper to remove this warning. See 05:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:08 05:48:08 Login Succeeded 05:48:08 nexus3.edgexfoundry.org:10003 05:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:08 Configure a credential helper to remove this warning. See 05:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:08 05:48:08 Login Succeeded 05:48:08 nexus3.edgexfoundry.org:10004 05:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:09 Configure a credential helper to remove this warning. See 05:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:09 05:48:09 Login Succeeded 05:48:09 docker.io 05:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:09 Configure a credential helper to remove this warning. See 05:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:09 05:48:09 Login Succeeded 05:48:10 ---> docker-login.sh ends [Pipeline] } 05:48:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:10 ========================================================= 05:48:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:48:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:48:10 + 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 . 05:48:10 Sending build context to Docker daemon 89.09kB 05:48:11 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 05:48:11 Step 2/10 : FROM ${BASE} 05:48:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:48:11 5f621e34cdf4: Pulling fs layer 05:48:11 a4357932f1b6: Pulling fs layer 05:48:11 18c013af1878: Pulling fs layer 05:48:11 00ac8860ef70: Pulling fs layer 05:48:11 63d7cb157983: Pulling fs layer 05:48:11 b116817d02f9: Pulling fs layer 05:48:11 745a02a5169b: Pulling fs layer 05:48:11 00ac8860ef70: Waiting 05:48:11 63d7cb157983: Waiting 05:48:11 b116817d02f9: Waiting 05:48:11 745a02a5169b: Waiting 05:48:11 18c013af1878: Verifying Checksum 05:48:11 18c013af1878: Download complete 05:48:11 a4357932f1b6: Verifying Checksum 05:48:11 a4357932f1b6: Download complete 05:48:11 63d7cb157983: Verifying Checksum 05:48:11 63d7cb157983: Download complete 05:48:12 b116817d02f9: Verifying Checksum 05:48:12 b116817d02f9: Download complete 05:48:12 5f621e34cdf4: Verifying Checksum 05:48:12 5f621e34cdf4: Download complete 05:48:12 5f621e34cdf4: Pull complete 05:48:13 a4357932f1b6: Pull complete 05:48:14 18c013af1878: Pull complete 05:48:14 745a02a5169b: Verifying Checksum 05:48:16 00ac8860ef70: Verifying Checksum 05:48:16 00ac8860ef70: Download complete 05:48:26 00ac8860ef70: Pull complete 05:48:26 63d7cb157983: Pull complete 05:48:26 b116817d02f9: Pull complete 05:48:30 745a02a5169b: Pull complete 05:48:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:48:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:48:30 ---> b7e6874047d6 05:48:30 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:48:32 ---> Running in 0f4e38e52371 05:48:33 Removing intermediate container 0f4e38e52371 05:48:33 ---> a950d4f905ca 05:48:33 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:48:33 ---> Running in d7846fd5cf6a 05:48:33 Removing intermediate container d7846fd5cf6a 05:48:33 ---> 741a3648de1d 05:48:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:48:33 ---> Running in 110392eb2d90 05:48:34 Removing intermediate container 110392eb2d90 05:48:34 ---> 2e0cccd87402 05:48:34 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:34 ---> Running in 617e204deafd 05:48:36 Removing intermediate container 617e204deafd 05:48:36 ---> 22477b6edad8 05:48:36 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:48:36 ---> Running in 2f3557d06e09 05:48:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:48:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:48:39 OK: 142 MiB in 39 packages 05:48:40 Removing intermediate container 2f3557d06e09 05:48:40 ---> 11099f6ddb86 05:48:40 Step 8/10 : WORKDIR /device-rest-go 05:48:40 ---> Running in e2b7d4669ae4 05:48:41 Removing intermediate container e2b7d4669ae4 05:48:41 ---> 005edb83d344 05:48:41 Step 9/10 : COPY . . 05:48:42 ---> 341c1fa86e63 05:48:42 Step 10/10 : RUN go mod download 05:48:42 ---> Running in 3f06ff7651bb 05:48:58 Running on prd-centos7-docker-4c-2g-24919 in /w/workspace/dgexfoundry_device-rest-go_PR-69 [Pipeline] { [Pipeline] ws 05:48:58 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 05:49:04 Removing intermediate container 3f06ff7651bb 05:49:04 ---> 8d09fef41c7e 05:49:04 Successfully built 8d09fef41c7e 05:49:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:49:04 + docker inspect -f . ci-base-image-arm64 05:49:04 . [Pipeline] withDockerContainer 05:49:04 prd-ubuntu18.04-docker-arm64-4c-16g-24918 does not seem to be running inside a container 05:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:49:05 using credential edgex-jenkins-ssh 05:49:05 Cloning the remote Git repository 05:49:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:49:05 > git init /w/workspace/device-rest-go/4 # timeout=10 05:49:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:49:05 > git --version # timeout=10 05:49:05 > git --version # 'git version 2.24.3' 05:49:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:06 $ docker top ba9411a6450800c45cd9986ec2b510f0694e18259ed9550dfbe904a5f6f49b2d -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:07 + go version 05:49:07 go version go1.15.5 linux/arm64 [Pipeline] } 05:49:07 $ docker stop --time=1 ba9411a6450800c45cd9986ec2b510f0694e18259ed9550dfbe904a5f6f49b2d 05:49:07 Merging remotes/origin/master commit 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit c9735759aa0332367e0786e3538ddaf66780adec 05:49:08 Merge succeeded, producing c9735759aa0332367e0786e3538ddaf66780adec 05:49:08 Checking out Revision c9735759aa0332367e0786e3538ddaf66780adec (PR-69) 05:49:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:49:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:49:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:49:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/69/head:refs/remotes/origin/PR-69 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:07 > git config core.sparsecheckout # timeout=10 05:49:07 > git checkout -f c9735759aa0332367e0786e3538ddaf66780adec # timeout=10 05:49:08 > git remote # timeout=10 05:49:08 > git config --get remote.origin.url # timeout=10 05:49:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:08 > git merge 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 05:49:08 > git rev-parse HEAD^{commit} # timeout=10 05:49:08 > git config core.sparsecheckout # timeout=10 05:49:08 > git checkout -f c9735759aa0332367e0786e3538ddaf66780adec # timeout=10 05:49:09 $ docker rm -f ba9411a6450800c45cd9986ec2b510f0694e18259ed9550dfbe904a5f6f49b2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:10 + docker inspect -f . ci-base-image-arm64 05:49:10 . [Pipeline] withDockerContainer 05:49:10 prd-ubuntu18.04-docker-arm64-4c-16g-24918 does not seem to be running inside a container 05:49:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:49:12 $ docker top e12fa019838bcf60a955eee893056cf13f7d07b2adaf9611de8f3b277bb52cac -eo pid,comm 05:49:12 Commit message: "feat: Remove Logging configuration" [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:13 + make test 05:49:13 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:49:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:49:14 ? github.com/edgexfoundry/device-rest-go [no test files] 05:49:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:49:14 + sudo service docker restart 05:49:14 + true 05:49:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:49:16 provisioning config files... 05:49:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config6357276247678104316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:16 ---> docker-login.sh 05:49:16 nexus3.edgexfoundry.org:10001 05:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:17 Configure a credential helper to remove this warning. See 05:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:17 05:49:17 Login Succeeded 05:49:17 nexus3.edgexfoundry.org:10002 05:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:18 Configure a credential helper to remove this warning. See 05:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:18 05:49:18 Login Succeeded 05:49:18 nexus3.edgexfoundry.org:10003 05:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:18 Configure a credential helper to remove this warning. See 05:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:18 05:49:18 Login Succeeded 05:49:18 nexus3.edgexfoundry.org:10004 05:49:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:19 Configure a credential helper to remove this warning. See 05:49:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:19 05:49:19 Login Succeeded 05:49:19 docker.io 05:49:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:19 Configure a credential helper to remove this warning. See 05:49:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:19 05:49:19 Login Succeeded 05:49:19 ---> docker-login.sh ends [Pipeline] } 05:49:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:49:20 ========================================================= 05:49:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:49:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:49:20 + 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 . 05:49:20 Sending build context to Docker daemon 89.09kB 05:49:20 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 05:49:20 Step 2/10 : FROM ${BASE} 05:49:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:20 188c0c94c7c5: Pulling fs layer 05:49:20 0ef7d3d256c8: Pulling fs layer 05:49:20 de9db76c5a1d: Pulling fs layer 05:49:20 bca2f99d35d6: Pulling fs layer 05:49:20 93359f2a8cfa: Pulling fs layer 05:49:20 7c6f9722023f: Pulling fs layer 05:49:20 a35cf1a2eb13: Pulling fs layer 05:49:20 93359f2a8cfa: Waiting 05:49:20 a35cf1a2eb13: Waiting 05:49:20 bca2f99d35d6: Waiting 05:49:20 7c6f9722023f: Waiting 05:49:20 de9db76c5a1d: Verifying Checksum 05:49:20 de9db76c5a1d: Download complete 05:49:20 0ef7d3d256c8: Download complete 05:49:20 93359f2a8cfa: Verifying Checksum 05:49:20 93359f2a8cfa: Download complete 05:49:21 7c6f9722023f: Download complete 05:49:21 188c0c94c7c5: Verifying Checksum 05:49:21 188c0c94c7c5: Download complete 05:49:22 188c0c94c7c5: Pull complete 05:49:22 0ef7d3d256c8: Pull complete 05:49:22 de9db76c5a1d: Pull complete 05:49:25 a35cf1a2eb13: Verifying Checksum 05:49:25 a35cf1a2eb13: Download complete 05:49:27 bca2f99d35d6: Verifying Checksum 05:49:27 bca2f99d35d6: Download complete 05:49:40 bca2f99d35d6: Pull complete 05:49:40 93359f2a8cfa: Pull complete 05:49:40 7c6f9722023f: Pull complete 05:49:45 a35cf1a2eb13: Pull complete 05:49:45 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:49:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:49:45 ---> a62c8e92a672 05:49:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:49:45 ---> Running in 0a1c518eaf55 05:49:46 Removing intermediate container 0a1c518eaf55 05:49:46 ---> d7154a9f37a4 05:49:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:49:46 ---> Running in 0f6d7b2bd39e 05:49:46 Removing intermediate container 0f6d7b2bd39e 05:49:46 ---> 2e932078bbc4 05:49:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:49:46 ---> Running in 8fd71c2dcafc 05:49:46 Removing intermediate container 8fd71c2dcafc 05:49:46 ---> 3be59be32c4e 05:49:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:47 ---> Running in c81d118fc12c 05:49:49 Removing intermediate container c81d118fc12c 05:49:49 ---> 13e715ad15af 05:49:49 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:49:49 ---> Running in 81d3cd1000ca 05:49:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:49:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:49:51 OK: 166 MiB in 39 packages 05:49:52 Removing intermediate container 81d3cd1000ca 05:49:52 ---> 6e0bc148dd92 05:49:52 Step 8/10 : WORKDIR /device-rest-go 05:49:52 ---> Running in b5059687a967 05:49:53 Removing intermediate container b5059687a967 05:49:53 ---> 699d7079f757 05:49:53 Step 9/10 : COPY . . 05:49:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:49:53 ok github.com/edgexfoundry/device-rest-go/driver 0.207s coverage: 56.3% of statements 05:49:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:49:53 ---> b36d761ba6e1 05:49:53 Step 10/10 : RUN go mod download 05:49:53 ---> Running in 8c13e0023903 05:49:54 gofmt -l . 05:49:54 [ "`gofmt -l .`" = "" ] 05:49:54 ./bin/test-go-mod-tidy.sh 05:49:54 ./bin/test-attribution-txt.sh [Pipeline] } 05:49:55 $ docker stop --time=1 e12fa019838bcf60a955eee893056cf13f7d07b2adaf9611de8f3b277bb52cac 05:49:58 $ docker rm -f e12fa019838bcf60a955eee893056cf13f7d07b2adaf9611de8f3b277bb52cac [Pipeline] // withDockerContainer [Pipeline] sh 05:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:49:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:03 + ls -al . 05:50:03 total 124 05:50:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 05:49 . 05:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 05:47 .. 05:50:03 -rw-rw-r-- 1 jenkins jenkins 151 Feb 4 05:47 .dockerignore 05:50:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 05:48 .git 05:50:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 05:47 .github 05:50:03 -rw-rw-r-- 1 jenkins jenkins 339 Feb 4 05:47 .gitignore 05:50:03 -rw-rw-r-- 1 jenkins jenkins 5294 Feb 4 05:47 Attribution.txt 05:50:03 -rw-rw-r-- 1 jenkins jenkins 1530 Feb 4 05:47 Dockerfile 05:50:03 -rw-rw-r-- 1 jenkins jenkins 1002 Feb 4 05:47 Dockerfile.build 05:50:03 -rw-rw-r-- 1 jenkins jenkins 680 Feb 4 05:47 Jenkinsfile 05:50:03 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 4 05:47 LICENSE 05:50:03 -rw-rw-r-- 1 jenkins jenkins 951 Feb 4 05:47 Makefile 05:50:03 -rw-rw-r-- 1 jenkins jenkins 5917 Feb 4 05:47 README.md 05:50:03 -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 05:45 VERSION 05:50:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 05:47 bin 05:50:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 05:47 cmd 05:50:03 -rw-r--r-- 1 jenkins jenkins 9369 Feb 4 05:49 coverage.out 05:50:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 05:49 driver 05:50:03 -rw-r--r-- 1 jenkins jenkins 267 Feb 4 05:49 go.mod 05:50:03 -rw-r--r-- 1 jenkins jenkins 13985 Feb 4 05:49 go.sum 05:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 05:47 snap 05:50:03 -rw-rw-r-- 1 jenkins jenkins 713 Feb 4 05:47 version.go [Pipeline] isUnix [Pipeline] sh 05:50:03 + 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=c9735759aa0332367e0786e3538ddaf66780adec --label arch=arm64 --label version=0.0.0 . 05:50:03 Sending build context to Docker daemon 100.9kB 05:50:03 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 05:50:03 Step 2/25 : FROM ${BASE} AS builder 05:50:03 ---> 8d09fef41c7e 05:50:03 Step 3/25 : ARG MAKE='make build' 05:50:03 ---> Running in a47d943c28ec 05:50:04 Removing intermediate container a47d943c28ec 05:50:04 ---> 394234b95a2e 05:50:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 05:50:04 ---> Running in 5da19cbf6b97 05:50:05 Removing intermediate container 5da19cbf6b97 05:50:05 ---> 725891ee096d 05:50:05 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 05:50:05 ---> Running in ae7fbca7db22 05:50:05 Removing intermediate container ae7fbca7db22 05:50:05 ---> a4858759e841 05:50:05 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:05 ---> Running in 32e3bc6a8f1c 05:50:07 Removing intermediate container 32e3bc6a8f1c 05:50:07 ---> 2f8df63425d2 05:50:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:50:07 ---> Running in 2dff52d7e7a0 05:50:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:50:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:50:10 OK: 142 MiB in 39 packages 05:50:11 Removing intermediate container 2dff52d7e7a0 05:50:11 ---> d9eb4a8700cd 05:50:11 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 05:50:11 ---> Running in a907aa00faea 05:50:12 Removing intermediate container a907aa00faea 05:50:12 ---> 7fa0610a2053 05:50:12 Step 9/25 : COPY go.mod . 05:50:12 ---> 3dc296acff07 05:50:12 Step 10/25 : COPY Makefile . 05:50:13 ---> 37dcb901bf5f 05:50:13 Step 11/25 : RUN make update 05:50:13 ---> Running in a22d8ccfc763 05:50:14 CGO_ENABLED=0 GO111MODULE=on go mod download 05:50:15 Removing intermediate container a22d8ccfc763 05:50:15 ---> 9cd2abf7ac8c 05:50:15 Step 12/25 : COPY . . 05:50:16 ---> 30b730083541 05:50:16 Step 13/25 : RUN $MAKE 05:50:16 ---> Running in ff5518295f15 05:50:17 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 05:50:21 Removing intermediate container 8c13e0023903 05:50:21 ---> d720ce66751d 05:50:21 Successfully built d720ce66751d 05:50:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:50:21 + docker inspect -f . ci-base-image-x86_64 05:50:21 . [Pipeline] withDockerContainer 05:50:22 prd-centos7-docker-4c-2g-24919 does not seem to be running inside a container 05:50:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:50:24 $ docker top 98065d7c791eb20749dd26c719da63699d328ddf10b4990761d72b2c36204c98 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:25 + go version 05:50:25 go version go1.15.5 linux/amd64 [Pipeline] } 05:50:25 $ docker stop --time=1 98065d7c791eb20749dd26c719da63699d328ddf10b4990761d72b2c36204c98 05:50:27 $ docker rm -f 98065d7c791eb20749dd26c719da63699d328ddf10b4990761d72b2c36204c98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:28 + docker inspect -f . ci-base-image-x86_64 05:50:28 . [Pipeline] withDockerContainer 05:50:28 prd-centos7-docker-4c-2g-24919 does not seem to be running inside a container 05:50:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:50:29 $ docker top dc627d1b29d870a64054ece0499b839291fc1588c1b1e16119a575f831f4cba3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:30 + make test 05:50:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:50:32 ? github.com/edgexfoundry/device-rest-go [no test files] 05:50:49 Removing intermediate container ff5518295f15 05:50:49 ---> 5e9227d5469d 05:50:49 Step 14/25 : FROM alpine:3.12 05:50:49 3.12: Pulling from library/alpine 05:50:49 159e5727ea61: Pulling fs layer 05:50:49 159e5727ea61: Verifying Checksum 05:50:49 159e5727ea61: Download complete 05:50:49 159e5727ea61: Pull complete 05:50:49 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 05:50:49 Status: Downloaded newer image for alpine:3.12 05:50:49 ---> afeebe901d6b 05:50:49 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:50:49 ---> Running in 559578bfd9c9 05:50:49 Removing intermediate container 559578bfd9c9 05:50:49 ---> 7efaf5602d02 05:50:49 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 05:50:49 ---> Running in 950f4cca533d 05:50:49 Removing intermediate container 950f4cca533d 05:50:49 ---> 9c5fb8c09fa6 05:50:49 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 05:50:49 ---> 511998ab9697 05:50:49 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 05:50:49 ---> 16c4dd3a6474 05:50:49 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 05:50:49 ---> e39a6861ef06 05:50:49 Step 20/25 : EXPOSE 49986 05:50:50 ---> Running in 127e064e5745 05:50:50 Removing intermediate container 127e064e5745 05:50:50 ---> e2f13968aafb 05:50:50 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 05:50:50 ---> Running in b4b52798b728 05:50:51 Removing intermediate container b4b52798b728 05:50:51 ---> 710f12910e8a 05:50:51 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:50:51 ---> Running in d6a46dfea0f9 05:50:51 Removing intermediate container d6a46dfea0f9 05:50:51 ---> 219c13583a08 05:50:51 Step 23/25 : LABEL arch=arm64 05:50:51 ---> Running in 4073842b5604 05:50:52 Removing intermediate container 4073842b5604 05:50:52 ---> 29c5084a4b71 05:50:52 Step 24/25 : LABEL git_sha=c9735759aa0332367e0786e3538ddaf66780adec 05:50:52 ---> Running in 2bb2961d5b3d 05:50:53 Removing intermediate container 2bb2961d5b3d 05:50:53 ---> 074b38713576 05:50:53 Step 25/25 : LABEL version=0.0.0 05:50:53 ---> Running in c2d99efec361 05:50:53 Removing intermediate container c2d99efec361 05:50:53 ---> af5da4096c08 05:50:53 [Warning] One or more build-args [ARCH] were not consumed 05:50:53 Successfully built af5da4096c08 05:50:53 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] } 05:50:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:50:56 ok github.com/edgexfoundry/device-rest-go/driver 0.107s coverage: 56.3% of statements 05:50:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:51:00 gofmt -l . 05:51:00 [ "`gofmt -l .`" = "" ] 05:51:00 ./bin/test-go-mod-tidy.sh 05:51:01 ./bin/test-attribution-txt.sh [Pipeline] } 05:51:02 $ docker stop --time=1 dc627d1b29d870a64054ece0499b839291fc1588c1b1e16119a575f831f4cba3 05:51:04 $ docker rm -f dc627d1b29d870a64054ece0499b839291fc1588c1b1e16119a575f831f4cba3 [Pipeline] // withDockerContainer [Pipeline] sh 05:51:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:51:05 Warning: overwriting stash ‘coverage-report’ 05:51:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:51:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:07 + ls -al . 05:51:07 total 96 05:51:07 drwxrwxr-x. 8 jenkins jenkins 4096 Feb 4 05:51 . 05:51:07 drwxrwxr-x. 4 jenkins jenkins 28 Feb 4 05:49 .. 05:51:07 -rw-rw-r--. 1 jenkins jenkins 5294 Feb 4 05:49 Attribution.txt 05:51:07 drwxrwxr-x. 2 jenkins jenkins 64 Feb 4 05:49 bin 05:51:07 drwxrwxr-x. 3 jenkins jenkins 32 Feb 4 05:49 cmd 05:51:07 -rw-r--r--. 1 jenkins jenkins 9369 Feb 4 05:50 coverage.out 05:51:07 -rw-rw-r--. 1 jenkins jenkins 1530 Feb 4 05:49 Dockerfile 05:51:07 -rw-rw-r--. 1 jenkins jenkins 1002 Feb 4 05:49 Dockerfile.build 05:51:07 -rw-rw-r--. 1 jenkins jenkins 151 Feb 4 05:49 .dockerignore 05:51:07 drwxrwxr-x. 2 jenkins jenkins 93 Feb 4 05:50 driver 05:51:07 drwxrwxr-x. 8 jenkins jenkins 179 Feb 4 05:49 .git 05:51:07 drwxrwxr-x. 2 jenkins jenkins 103 Feb 4 05:49 .github 05:51:07 -rw-rw-r--. 1 jenkins jenkins 339 Feb 4 05:49 .gitignore 05:51:07 -rw-r--r--. 1 jenkins jenkins 267 Feb 4 05:51 go.mod 05:51:07 -rw-r--r--. 1 jenkins jenkins 13985 Feb 4 05:51 go.sum 05:51:07 -rw-rw-r--. 1 jenkins jenkins 680 Feb 4 05:49 Jenkinsfile 05:51:07 -rw-rw-r--. 1 jenkins jenkins 11340 Feb 4 05:49 LICENSE 05:51:07 -rw-rw-r--. 1 jenkins jenkins 951 Feb 4 05:49 Makefile 05:51:07 -rw-rw-r--. 1 jenkins jenkins 5917 Feb 4 05:49 README.md 05:51:07 drwxrwxr-x. 4 jenkins jenkins 71 Feb 4 05:49 snap 05:51:07 -rw-rw-r--. 1 jenkins jenkins 5 Feb 4 05:45 VERSION 05:51:07 -rw-rw-r--. 1 jenkins jenkins 713 Feb 4 05:49 version.go [Pipeline] isUnix [Pipeline] sh 05:51:07 + 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=c9735759aa0332367e0786e3538ddaf66780adec --label arch=amd64 --label version=0.0.0 . 05:51:07 Sending build context to Docker daemon 100.9kB 05:51:07 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 05:51:07 Step 2/25 : FROM ${BASE} AS builder 05:51:07 ---> d720ce66751d 05:51:07 Step 3/25 : ARG MAKE='make build' 05:51:08 ---> Running in 8bf29b44fb12 05:51:08 Removing intermediate container 8bf29b44fb12 05:51:08 ---> 5306294fb27e 05:51:08 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 05:51:08 ---> Running in 480a73fd038f 05:51:08 Removing intermediate container 480a73fd038f 05:51:08 ---> a7b8f02c9c98 05:51:08 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 05:51:09 ---> Running in 871908e5d963 05:51:09 Removing intermediate container 871908e5d963 05:51:09 ---> a4a9a74de382 05:51:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:09 ---> Running in f10994d6794b 05:51:11 Removing intermediate container f10994d6794b 05:51:11 ---> e9383b800925 05:51:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:51:11 ---> Running in 3985ce2ae83b 05:51:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:13 OK: 166 MiB in 39 packages 05:51:14 Removing intermediate container 3985ce2ae83b 05:51:14 ---> 613dd5110517 05:51:14 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 05:51:14 ---> Running in 5989e957daf9 05:51:14 Removing intermediate container 5989e957daf9 05:51:14 ---> daf5276b34b0 05:51:14 Step 9/25 : COPY go.mod . 05:51:14 ---> c2018a44859e 05:51:14 Step 10/25 : COPY Makefile . 05:51:15 ---> 6d9cb7bb9629 05:51:15 Step 11/25 : RUN make update 05:51:15 ---> Running in 32a7cfd4358f 05:51:16 CGO_ENABLED=0 GO111MODULE=on go mod download 05:51:17 Removing intermediate container 32a7cfd4358f 05:51:17 ---> 677f988dbb4d 05:51:17 Step 12/25 : COPY . . 05:51:17 ---> 733f8a17cc33 05:51:17 Step 13/25 : RUN $MAKE 05:51:18 ---> Running in 9b52683205f0 05:51:19 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 05:51:41 Removing intermediate container 9b52683205f0 05:51:41 ---> 5c3cb77be44d 05:51:41 Step 14/25 : FROM alpine:3.12 05:51:41 3.12: Pulling from library/alpine 05:51:41 801bfaa63ef2: Pulling fs layer 05:51:41 801bfaa63ef2: Verifying Checksum 05:51:41 801bfaa63ef2: Pull complete 05:51:41 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 05:51:41 Status: Downloaded newer image for alpine:3.12 05:51:41 ---> 389fef711851 05:51:41 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:51:41 ---> Running in e887e4682f90 05:51:41 Removing intermediate container e887e4682f90 05:51:41 ---> 6223359fae9b 05:51:41 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 05:51:41 ---> Running in b9df4cb1c049 05:51:41 Removing intermediate container b9df4cb1c049 05:51:41 ---> c96395534a77 05:51:41 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 05:51:42 ---> 8513d8bd535a 05:51:42 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 05:51:42 ---> 45ea06952f86 05:51:42 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 05:51:43 ---> ee99ee3aee06 05:51:43 Step 20/25 : EXPOSE 49986 05:51:44 ---> Running in 5f41b11c332d 05:51:44 Removing intermediate container 5f41b11c332d 05:51:44 ---> dc860b291b81 05:51:44 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 05:51:44 ---> Running in 94a1a475822b 05:51:44 Removing intermediate container 94a1a475822b 05:51:44 ---> e19f40179fdb 05:51:44 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:51:44 ---> Running in 837785aaef53 05:51:45 Removing intermediate container 837785aaef53 05:51:45 ---> c0c52929db45 05:51:45 Step 23/25 : LABEL arch=amd64 05:51:45 ---> Running in 4943281a41c1 05:51:45 Removing intermediate container 4943281a41c1 05:51:45 ---> d7e252ba0b70 05:51:45 Step 24/25 : LABEL git_sha=c9735759aa0332367e0786e3538ddaf66780adec 05:51:45 ---> Running in b7eb04b1e10a 05:51:46 Removing intermediate container b7eb04b1e10a 05:51:46 ---> 88129e714172 05:51:46 Step 25/25 : LABEL version=0.0.0 05:51:46 ---> Running in 2da290009464 05:51:46 Removing intermediate container 2da290009464 05:51:46 ---> 03e56706c430 05:51:46 [Warning] One or more build-args [ARCH] were not consumed 05:51:46 Successfully built 03e56706c430 05:51:46 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:51:48 provisioning config files... 05:51:48 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/config6050175500818949144tmp [Pipeline] { [Pipeline] sh 05:51:49 + set +x 05:51:49 + curl -s https://codecov.io/bash 05:51:49 + bash -s -- 05:51:49 05:51:49 _____ _ 05:51:49 / ____| | | 05:51:49 | | ___ __| | ___ ___ _____ __ 05:51:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:51:49 | |___| (_) | (_| | __/ (_| (_) \ V / 05:51:49 \_____\___/ \__,_|\___|\___\___/ \_/ 05:51:49 Bash-20210129-7c25fce 05:51:49 05:51:49 05:51:49 ==> git version 2.24.3 found 05:51:49 ==> 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 05:51:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:51:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:51:49 ==> Jenkins CI detected. 05:51:49 project root: . 05:51:49 --> token set from env 05:51:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:51:49 ==> Running gcov in . (disable via -X gcov) 05:51:49 ==> Python coveragepy not found 05:51:49 ==> Searching for coverage reports in: 05:51:49 + . 05:51:49 -> Found 1 reports 05:51:49 ==> Detecting git/mercurial file structure 05:51:49 ==> Reading reports 05:51:49 + ./coverage.out bytes=9369 05:51:49 ==> Appending adjustments 05:51:49 https://docs.codecov.io/docs/fixing-reports 05:51:49 + Found adjustments 05:51:49 ==> Gzipping contents 05:51:49 4.0K /tmp/codecov.D7R3WW.gz 05:51:49 ==> Uploading reports 05:51:49 url: https://codecov.io 05:51:49 query: branch=PR-69&commit=c9735759aa0332367e0786e3538ddaf66780adec&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-69%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=69&job=&cmd_args= 05:51:49 -> Pinging Codecov 05:51:49 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-69&commit=c9735759aa0332367e0786e3538ddaf66780adec&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-69%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=69&job=&cmd_args= 05:51:50 -> Uploading to 05:51:50 https://storage.googleapis.com/codecov/v4/raw/2021-02-04/4E5D53B4F1F92C436F7061BF334D961C/c9735759aa0332367e0786e3538ddaf66780adec/778a89e8-73e1-4195-9500-63fa5d08466e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210204T055150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fe54b07da0e436016137426b08171fef20075b2cc1b223c8ab2ac78fbece81f 05:51:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:51:50 Dload Upload Total Spent Left Speed 05:51:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3852 --:--:-- --:--:-- --:--:-- 3861 05:51:50 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c9735759aa0332367e0786e3538ddaf66780adec [Pipeline] } 05:51:50 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 05:51:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:51:54 ---> package-listing.sh 05:51:54 ++ facter osfamily 05:51:54 ++ tr '[:upper:]' '[:lower:]' 05:51:54 + OS_FAMILY=redhat 05:51:54 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-69 05:51:54 + START_PACKAGES=/tmp/packages_start.txt 05:51:54 + END_PACKAGES=/tmp/packages_end.txt 05:51:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:51:54 + PACKAGES=/tmp/packages_start.txt 05:51:54 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-69 ']' 05:51:54 + PACKAGES=/tmp/packages_end.txt 05:51:54 + case "${OS_FAMILY}" in 05:51:54 + sort 05:51:54 + rpm -qa 05:52:01 + '[' -f /tmp/packages_start.txt ']' 05:52:01 + '[' -f /tmp/packages_end.txt ']' 05:52:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:52:01 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-69 ']' 05:52:01 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-69/archives/ 05:52:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-69/archives/ [Pipeline] echo 05:52:01 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-69/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:52:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:52:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:02 05:52:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:52:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:03 alpine: Pulling from edgex-lftools-log-publisher 05:52:03 df20fa9351a1: Pulling fs layer 05:52:03 36b3adc4ff6f: Pulling fs layer 05:52:03 8ad3a11d3b57: Pulling fs layer 05:52:03 46f8f816bc3b: Pulling fs layer 05:52:03 93b61091891f: Pulling fs layer 05:52:03 93b9cdb0e59b: Pulling fs layer 05:52:03 46f8f816bc3b: Waiting 05:52:03 93b61091891f: Waiting 05:52:03 5e14af77c1be: Pulling fs layer 05:52:03 01666e4c0597: Pulling fs layer 05:52:03 5e14af77c1be: Waiting 05:52:03 aa168da1d23b: Pulling fs layer 05:52:03 01666e4c0597: Waiting 05:52:03 aa168da1d23b: Waiting 05:52:03 93b9cdb0e59b: Waiting 05:52:03 36b3adc4ff6f: Verifying Checksum 05:52:03 36b3adc4ff6f: Download complete 05:52:03 46f8f816bc3b: Verifying Checksum 05:52:03 46f8f816bc3b: Download complete 05:52:03 df20fa9351a1: Verifying Checksum 05:52:03 df20fa9351a1: Download complete 05:52:03 93b9cdb0e59b: Verifying Checksum 05:52:03 93b9cdb0e59b: Download complete 05:52:03 5e14af77c1be: Verifying Checksum 05:52:03 5e14af77c1be: Download complete 05:52:03 01666e4c0597: Download complete 05:52:03 93b61091891f: Verifying Checksum 05:52:03 93b61091891f: Download complete 05:52:04 df20fa9351a1: Pull complete 05:52:04 36b3adc4ff6f: Pull complete 05:52:04 8ad3a11d3b57: Verifying Checksum 05:52:04 8ad3a11d3b57: Download complete 05:52:07 8ad3a11d3b57: Pull complete 05:52:07 46f8f816bc3b: Pull complete 05:52:08 93b61091891f: Pull complete 05:52:08 93b9cdb0e59b: Pull complete 05:52:08 5e14af77c1be: Pull complete 05:52:09 01666e4c0597: Pull complete 05:52:09 aa168da1d23b: Verifying Checksum 05:52:09 aa168da1d23b: Download complete 05:52:22 aa168da1d23b: Pull complete 05:52:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:52:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:52:22 prd-centos7-docker-4c-2g-24917 does not seem to be running inside a container 05:52:22 $ 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-69/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-69 -v /w/workspace/dgexfoundry_device-rest-go_PR-69:/w/workspace/dgexfoundry_device-rest-go_PR-69:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-69@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 05:52:31 $ docker top 587768313aea91fcb65ebbd16a7d7d52aea4470caf5f9a935a0198f2b16343ff -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:32 + touch /tmp/pre-build-complete [Pipeline] sh 05:52:33 + mkdir -p /var/log/sa [Pipeline] sh 05:52:33 + ls /var/log/sa-host 05:52:33 + sadf -c /var/log/sa-host/sa04 05:52:33 file_magic: OK 05:52:33 HZ: Using current value: 100 05:52:33 file_header: OK 05:52:33 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 05:52:33 Statistics: 05:52:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:52:33 File successfully converted to sysstat format version 12.2.1 05:52:33 + sadf -c /var/log/sa-host/sa23 05:52:33 file_magic: OK 05:52:33 HZ: Using current value: 100 05:52:33 file_header: OK 05:52:33 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 05:52:33 Statistics: 05:52:33 Hnuu...uuuununununu... 05:52:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:34 provisioning config files... 05:52:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/config7507408633080703258tmp [Pipeline] { [Pipeline] echo 05:52:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:52:34 ---> create-netrc.sh [Pipeline] } 05:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:52:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:52:35 ---> python-tools-install.sh [Pipeline] echo 05:52:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:52:35 ---> sudo-logs.sh 05:52:35 Archiving 'sudo' log.. [Pipeline] echo 05:52:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:52:36 ---> job-cost.sh 05:52:36 lf-activate-venv: SKIPPING 05:52:36 INFO: No Stack... 05:52:37 INFO: Retrieving Pricing Info for: v1-standard-2 05:52:38 INFO: Archiving Costs [Pipeline] echo 05:52:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:52:39 ---> logs-deploy.sh 05:52:39 lf-activate-venv: SKIPPING 05:52:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-69/4 05:52:39 INFO: archiving workspace using pattern(s): 05:52:41 Archives upload complete. 05:52:41 INFO: archiving logs to Nexus 05:52:43 ---> uname -a: 05:52:43 Linux prd-centos7-docker-4c-2g-24917.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 05:52:43 05:52:43 05:52:43 ---> lscpu: 05:52:43 Architecture: x86_64 05:52:43 CPU op-mode(s): 32-bit, 64-bit 05:52:43 Byte Order: Little Endian 05:52:43 Address sizes: 40 bits physical, 48 bits virtual 05:52:43 CPU(s): 4 05:52:43 On-line CPU(s) list: 0-3 05:52:43 Thread(s) per core: 1 05:52:43 Core(s) per socket: 1 05:52:43 Socket(s): 4 05:52:43 NUMA node(s): 1 05:52:43 Vendor ID: GenuineIntel 05:52:43 CPU family: 6 05:52:43 Model: 44 05:52:43 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:52:43 Stepping: 1 05:52:43 CPU MHz: 2933.438 05:52:43 BogoMIPS: 5866.87 05:52:43 Virtualization: VT-x 05:52:43 Hypervisor vendor: KVM 05:52:43 Virtualization type: full 05:52:43 L1d cache: 128 KiB 05:52:43 L1i cache: 128 KiB 05:52:43 L2 cache: 16 MiB 05:52:43 L3 cache: 64 MiB 05:52:43 NUMA node0 CPU(s): 0-3 05:52:43 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:52:43 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:52:43 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:52:43 Vulnerability Meltdown: Mitigation; PTI 05:52:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:52:43 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:52:43 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:52:43 Vulnerability Srbds: Not affected 05:52:43 Vulnerability Tsx async abort: Not affected 05:52:43 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 05:52:43 05:52:43 05:52:43 ---> nproc: 05:52:43 4 05:52:43 05:52:43 05:52:43 ---> df -h: 05:52:43 Filesystem Size Used Available Use% Mounted on 05:52:43 overlay 50.0G 7.3G 42.7G 15% / 05:52:43 tmpfs 64.0M 0 64.0M 0% /dev 05:52:43 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 05:52:43 shm 64.0M 0 64.0M 0% /dev/shm 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-69 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 05:52:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 05:52:43 05:52:43 05:52:43 ---> free -m: 05:52:43 total used free shared buff/cache available 05:52:43 Mem: 1837 695 110 0 1031 1036 05:52:43 Swap: 1023 1 1022 05:52:43 05:52:43 05:52:43 ---> ip addr: 05:52:43 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:52:43 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:52:43 inet 127.0.0.1/8 scope host lo 05:52:43 valid_lft forever preferred_lft forever 05:52:43 inet6 ::1/128 scope host 05:52:43 valid_lft forever preferred_lft forever 05:52:43 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:52:43 link/ether fa:16:3e:68:49:79 brd ff:ff:ff:ff:ff:ff 05:52:43 inet 10.30.122.78/23 brd 10.30.123.255 scope global dynamic eth0 05:52:43 valid_lft 85890sec preferred_lft 85890sec 05:52:43 inet6 fe80::f816:3eff:fe68:4979/64 scope link 05:52:43 valid_lft forever preferred_lft forever 05:52:43 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:52:43 link/ether 02:42:ef:1f:ce:fa brd ff:ff:ff:ff:ff:ff 05:52:43 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:52:43 valid_lft forever preferred_lft forever 05:52:43 inet6 fe80::42:efff:fe1f:cefa/64 scope link 05:52:43 valid_lft forever preferred_lft forever 05:52:43 05:52:43 05:52:43 ---> sar -b -r -n DEV: 05:52:43 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/04/21 _x86_64_ (4 CPU) 05:52:43 05:52:43 05:44:01 LINUX RESTART (4 CPU) 05:52:43 05:52:43 05:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:52:43 05:46:01 46.72 14.35 32.37 0.00 4608.12 3271.57 0.00 05:52:43 05:47:01 2.25 0.00 2.25 0.00 0.00 44.59 0.00 05:52:43 05:48:01 0.45 0.00 0.45 0.00 0.00 5.08 0.00 05:52:43 05:49:01 0.32 0.00 0.32 0.00 0.00 4.80 0.00 05:52:43 05:50:01 0.28 0.00 0.28 0.00 0.00 3.98 0.00 05:52:43 05:51:01 0.23 0.00 0.23 0.00 0.00 2.05 0.00 05:52:43 05:52:02 49.01 47.13 1.88 0.00 3923.13 40.80 0.00 05:52:43 Average: 14.19 8.79 5.40 0.00 1219.46 482.01 0.00 05:52:43 05:52:43 05:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:52:43 05:46:01 147752 0 606352 32.23 2620 1124820 1168324 39.87 416292 1115584 132 05:52:43 05:47:01 161476 0 592620 31.50 2620 1124828 1074892 36.68 425684 1094400 16 05:52:43 05:48:01 159804 0 594288 31.59 2620 1124832 1075216 36.70 427540 1094400 16 05:52:43 05:49:01 159708 0 594380 31.59 2620 1124836 1075144 36.69 433232 1089300 20 05:52:43 05:50:01 159472 0 594612 31.60 2620 1124840 1075132 36.69 426428 1096064 12 05:52:43 05:51:01 160932 0 593148 31.52 2620 1124844 1074892 36.68 425260 1096064 12 05:52:43 05:52:02 89144 0 603028 32.05 2620 1186752 1104168 37.68 418940 1173148 112 05:52:43 Average: 148327 0 596918 31.72 2620 1133679 1092538 37.29 424768 1108423 46 05:52:43 05:52:43 05:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:52:43 05:46:01 eth0 190.55 176.56 808.64 68.79 0.00 0.00 0.00 0.00 05:52:43 05:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:46:01 docker0 60.56 47.92 5.14 134.93 0.00 0.00 0.00 0.00 05:52:43 05:47:01 eth0 0.75 0.12 0.06 0.03 0.00 0.00 0.00 0.00 05:52:43 05:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:48:01 eth0 1.98 1.20 3.14 0.26 0.00 0.00 0.00 0.00 05:52:43 05:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:49:01 eth0 0.75 0.30 0.30 0.17 0.00 0.00 0.00 0.00 05:52:43 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:50:01 eth0 0.22 0.15 0.14 0.10 0.00 0.00 0.00 0.00 05:52:43 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:51:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:52:02 eth0 13.07 8.46 13.29 4.91 0.00 0.00 0.00 0.00 05:52:43 05:52:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 05:52:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 Average: eth0 29.63 26.70 117.98 10.61 0.00 0.00 0.00 0.00 05:52:43 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:43 Average: docker0 8.65 6.85 0.73 19.28 0.00 0.00 0.00 0.00 05:52:43 05:52:43 05:52:43 ---> sar -P ALL: 05:52:43 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/04/21 _x86_64_ (4 CPU) 05:52:43 05:52:43 05:44:01 LINUX RESTART (4 CPU) 05:52:43 05:52:43 05:45:01 CPU %user %nice %system %iowait %steal %idle 05:52:43 05:46:01 all 4.48 0.00 2.73 0.97 9.55 82.27 05:52:43 05:46:01 0 4.79 0.00 3.26 2.39 10.53 79.04 05:52:43 05:46:01 1 4.45 0.00 2.64 0.41 9.91 82.60 05:52:43 05:46:01 2 4.65 0.00 2.64 0.46 8.71 83.54 05:52:43 05:46:01 3 4.02 0.00 2.37 0.64 9.06 83.90 05:52:43 05:47:01 all 0.08 0.00 0.07 0.00 1.00 98.85 05:52:43 05:47:01 0 0.03 0.00 0.07 0.00 1.03 98.87 05:52:43 05:47:01 1 0.03 0.00 0.08 0.00 0.93 98.96 05:52:43 05:47:01 2 0.05 0.00 0.07 0.00 0.93 98.96 05:52:43 05:47:01 3 0.22 0.00 0.08 0.00 1.11 98.59 05:52:43 05:48:01 all 0.08 0.00 0.05 0.00 0.96 98.91 05:52:43 05:48:01 0 0.03 0.00 0.07 0.00 1.34 98.56 05:52:43 05:48:01 1 0.03 0.00 0.05 0.00 0.60 99.32 05:52:43 05:48:01 2 0.02 0.00 0.02 0.00 0.99 98.97 05:52:43 05:48:01 3 0.25 0.00 0.07 0.00 0.90 98.79 05:52:43 05:49:01 all 0.05 0.00 0.04 0.00 0.98 98.94 05:52:43 05:49:01 0 0.00 0.00 0.02 0.00 0.65 99.34 05:52:43 05:49:01 1 0.08 0.00 0.05 0.00 1.74 98.12 05:52:43 05:49:01 2 0.02 0.00 0.07 0.00 0.73 99.19 05:52:43 05:49:01 3 0.10 0.00 0.02 0.00 0.78 99.10 05:52:43 05:50:01 all 0.09 0.00 0.33 0.00 1.92 97.66 05:52:43 05:50:01 0 0.03 0.00 0.59 0.00 1.34 98.04 05:52:43 05:50:01 1 0.18 0.00 0.20 0.00 1.96 97.66 05:52:43 05:50:01 2 0.13 0.00 0.25 0.00 2.07 97.56 05:52:43 05:50:01 3 0.00 0.00 0.29 0.00 2.32 97.38 05:52:43 05:51:01 all 0.05 0.00 0.02 0.00 0.89 99.04 05:52:43 05:51:01 0 0.03 0.00 0.02 0.00 0.46 99.49 05:52:43 05:51:01 1 0.00 0.00 0.02 0.00 0.86 99.12 05:52:43 05:51:01 2 0.08 0.00 0.03 0.00 1.03 98.86 05:52:43 05:51:01 3 0.10 0.00 0.02 0.00 1.21 98.68 05:52:43 05:52:02 all 1.21 0.00 0.53 1.28 1.63 95.36 05:52:43 05:52:02 0 1.53 0.00 0.65 0.58 1.50 95.74 05:52:43 05:52:02 1 1.16 0.00 0.50 2.49 1.66 94.19 05:52:43 05:52:02 2 1.18 0.00 0.61 1.33 1.38 95.50 05:52:43 05:52:02 3 0.98 0.00 0.35 0.71 1.97 96.00 05:52:43 Average: all 0.87 0.00 0.54 0.32 2.43 95.85 05:52:43 Average: 0 0.92 0.00 0.67 0.43 2.41 95.57 05:52:43 Average: 1 0.86 0.00 0.51 0.41 2.54 95.68 05:52:43 Average: 2 0.88 0.00 0.53 0.26 2.27 96.08 05:52:43 Average: 3 0.81 0.00 0.46 0.19 2.48 96.06 05:52:43 05:52:43 05:52:43