Pull request #77 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9a15ca76430f2bb6894d82c10c041f73ab1419b9+9e4888f50a2a312870744f4f89808877d999d7c6 (4165eb146f886d35f1f6aef819cb311030d45f2b) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-77/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-77/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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-22570 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [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-77 # 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 9a15ca76430f2bb6894d82c10c041f73ab1419b9 Merge succeeded, producing 9a15ca76430f2bb6894d82c10c041f73ab1419b9 Checking out Revision 9a15ca76430f2bb6894d82c10c041f73ab1419b9 (PR-77) > 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/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # 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 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:00 ========================================================= 06:10:00 EdgeX Global Pipelines Version Info 06:10:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:02 ------------------- 06:10:02 stable info: 06:10:02 ------------------- 06:10:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:02 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:10:02 Message: update stable to v1.0.179 06:10:03 ------------------- 06:10:03 experimental info: 06:10:03 ------------------- 06:10:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:03 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:10:03 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:10:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:10:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:10:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:10:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:10:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:10:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:07 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:10:07 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:10:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo 06:10:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo 06:10:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo 06:10:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a15ca76430f2bb6894d82c10c041f73ab1419b9 [Pipeline] echo 06:10:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a15ca7 [Pipeline] echo 06:10:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:10:09 provisioning config files... 06:10:09 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/config484680516659339332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:09 ---> docker-login.sh 06:10:09 nexus3.edgexfoundry.org:10001 06:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:09 Configure a credential helper to remove this warning. See 06:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:09 06:10:09 Login Succeeded 06:10:10 nexus3.edgexfoundry.org:10002 06:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:10 Configure a credential helper to remove this warning. See 06:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:10 06:10:10 Login Succeeded 06:10:10 nexus3.edgexfoundry.org:10003 06:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:10 Configure a credential helper to remove this warning. See 06:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:10 06:10:10 Login Succeeded 06:10:10 nexus3.edgexfoundry.org:10004 06:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:10 Configure a credential helper to remove this warning. See 06:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:10 06:10:10 Login Succeeded 06:10:10 docker.io 06:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:10 Configure a credential helper to remove this warning. See 06:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:10 06:10:10 Login Succeeded 06:10:10 ---> docker-login.sh ends [Pipeline] } 06:10:10 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 06:10:12 + git log --format=format:%s -1 9a15ca76430f2bb6894d82c10c041f73ab1419b9 [Pipeline] echo 06:10:12 GIT_COMMIT: 9a15ca76430f2bb6894d82c10c041f73ab1419b9, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:10:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:10:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:12 06:10:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:10:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:13 latest: Pulling from edgex-devops/git-semver 06:10:13 31603596830f: Pulling fs layer 06:10:13 2a8b12db71e7: Pulling fs layer 06:10:13 6ca5941a6612: Pulling fs layer 06:10:13 ecc8261a40a4: Pulling fs layer 06:10:13 ecc8261a40a4: Waiting 06:10:13 2a8b12db71e7: Verifying Checksum 06:10:13 2a8b12db71e7: Download complete 06:10:13 31603596830f: Verifying Checksum 06:10:13 31603596830f: Download complete 06:10:13 6ca5941a6612: Verifying Checksum 06:10:13 6ca5941a6612: Download complete 06:10:13 ecc8261a40a4: Verifying Checksum 06:10:13 ecc8261a40a4: Download complete 06:10:13 31603596830f: Pull complete 06:10:13 2a8b12db71e7: Pull complete 06:10:14 6ca5941a6612: Pull complete 06:10:15 ecc8261a40a4: Pull complete 06:10:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:10:15 prd-centos7-docker-4c-2g-22570 does not seem to be running inside a container 06:10:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-77 -v /w/workspace/dgexfoundry_device-rest-go_PR-77:/w/workspace/dgexfoundry_device-rest-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-77@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:10:17 $ docker top 5fea305f700d72de100cc98eb0ad37a258a107f8028fb3ecf69694cb9d79be4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:17 [ssh-agent] Looking for ssh-agent implementation... 06:10:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:17 $ docker exec 5fea305f700d72de100cc98eb0ad37a258a107f8028fb3ecf69694cb9d79be4c ssh-agent 06:10:17 SSH_AUTH_SOCK=/tmp/ssh-scsEaGIKlIFW/agent.12 06:10:17 SSH_AGENT_PID=17 06:10:17 Running ssh-add (command line suppressed) 06:10:18 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_3447217733764872500.key (/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_3447217733764872500.key) 06:10:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:18 + git tag --points-at HEAD [Pipeline] } 06:10:18 $ docker exec --env ******** --env ******** 5fea305f700d72de100cc98eb0ad37a258a107f8028fb3ecf69694cb9d79be4c ssh-agent -k 06:10:18 unset SSH_AUTH_SOCK; 06:10:18 unset SSH_AGENT_PID; 06:10:18 echo Agent pid 17 killed; 06:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:18 [ssh-agent] Looking for ssh-agent implementation... 06:10:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:19 $ docker exec 5fea305f700d72de100cc98eb0ad37a258a107f8028fb3ecf69694cb9d79be4c ssh-agent 06:10:19 SSH_AUTH_SOCK=/tmp/ssh-PJXHPnHI8bqu/agent.47 06:10:19 SSH_AGENT_PID=52 06:10:19 Running ssh-add (command line suppressed) 06:10:19 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_8530848090372883061.key (/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_8530848090372883061.key) 06:10:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:20 + git semver init 06:10:20 # -> Open(): unable to determine branch for HEAD 06:10:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-77/.git 06:10:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-77 06:10:20 # $SEMVER_REMOTE_NAME = origin 06:10:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:10:20 # $SEMVER_USER_NAME = edgex-jenkins 06:10:20 # $SEMVER_BRANCH = PR-77 06:10:20 # $SEMVER_TEMP = /tmp/semver-318590992 06:10:20 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:10:21 # '/tmp/semver-318590992' -> '/w/workspace/dgexfoundry_device-rest-go_PR-77/.semver' 06:10:21 # -> Force: false 06:10:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-77/.semver [Pipeline] } 06:10:21 $ docker exec --env ******** --env ******** 5fea305f700d72de100cc98eb0ad37a258a107f8028fb3ecf69694cb9d79be4c ssh-agent -k 06:10:21 unset SSH_AUTH_SOCK; 06:10:21 unset SSH_AGENT_PID; 06:10:21 echo Agent pid 52 killed; 06:10:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:22 + git semver [Pipeline] } 06:10:22 $ docker stop --time=1 5fea305f700d72de100cc98eb0ad37a258a107f8028fb3ecf69694cb9d79be4c 06:10:23 $ docker rm -f 5fea305f700d72de100cc98eb0ad37a258a107f8028fb3ecf69694cb9d79be4c [Pipeline] // withDockerContainer [Pipeline] sh 06:10:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:24 Stashed 1 file(s) [Pipeline] echo 06:10:24 [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 06:10:40 Still waiting to schedule task 06:10:40 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-22557’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22551’ is offline; ‘prd-centos7-docker-4c-2g-22553’ is offline; ‘prd-centos7-docker-4c-2g-22555’ is offline; ‘prd-centos7-docker-4c-2g-22559’ is offline; ‘prd-centos7-docker-4c-2g-22573’ is offline; ‘prd-centos7-docker-4c-2g-22574’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22554’ doesn’t have label ‘centos7-docker-4c-2g’ 06:10:40 Still waiting to schedule task 06:10:40 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:11:02 Running on prd-centos7-docker-4c-2g-22575 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [Pipeline] { [Pipeline] ws 06:11:02 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:11:05 using credential edgex-jenkins-ssh 06:11:05 Cloning the remote Git repository 06:11:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:11:05 > git init /w/workspace/device-rest-go/1 # timeout=10 06:11:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:11:06 > git --version # timeout=10 06:11:06 > git --version # 'git version 2.24.3' 06:11:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:10 Merging remotes/origin/master commit 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 06:11:10 Merge succeeded, producing 9a15ca76430f2bb6894d82c10c041f73ab1419b9 06:11:10 Checking out Revision 9a15ca76430f2bb6894d82c10c041f73ab1419b9 (PR-77) 06:11:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:11:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:11:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:11:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:11:10 > git config core.sparsecheckout # timeout=10 06:11:10 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 06:11:10 > git remote # timeout=10 06:11:10 > git config --get remote.origin.url # timeout=10 06:11:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:10 > git merge 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 06:11:10 > git rev-parse HEAD^{commit} # timeout=10 06:11:10 > git config core.sparsecheckout # timeout=10 06:11:10 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 06:11:14 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 06:11:14 > git --version # timeout=10 06:11:14 > git --version # 'git version 2.24.3' 06:11:14 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:11:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:11:16 + sudo service docker restart 06:11:16 + true 06:11:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:11:17 provisioning config files... 06:11:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5382669370127542226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:18 ---> docker-login.sh 06:11:18 nexus3.edgexfoundry.org:10001 06:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:18 Configure a credential helper to remove this warning. See 06:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:18 06:11:18 Login Succeeded 06:11:18 nexus3.edgexfoundry.org:10002 06:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:18 Configure a credential helper to remove this warning. See 06:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:18 06:11:18 Login Succeeded 06:11:18 nexus3.edgexfoundry.org:10003 06:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:18 Configure a credential helper to remove this warning. See 06:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:18 06:11:18 Login Succeeded 06:11:18 nexus3.edgexfoundry.org:10004 06:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:19 Configure a credential helper to remove this warning. See 06:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:19 06:11:19 Login Succeeded 06:11:19 docker.io 06:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:19 Configure a credential helper to remove this warning. See 06:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:19 06:11:19 Login Succeeded 06:11:19 ---> docker-login.sh ends [Pipeline] } 06:11:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:11:19 ========================================================= 06:11:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:11:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:11: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 . 06:11:20 Sending build context to Docker daemon 89.6kB 06:11:20 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:11:20 Step 2/10 : FROM ${BASE} 06:11:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:11:20 188c0c94c7c5: Pulling fs layer 06:11:20 0ef7d3d256c8: Pulling fs layer 06:11:20 de9db76c5a1d: Pulling fs layer 06:11:20 bca2f99d35d6: Pulling fs layer 06:11:20 93359f2a8cfa: Pulling fs layer 06:11:20 7c6f9722023f: Pulling fs layer 06:11:20 a35cf1a2eb13: Pulling fs layer 06:11:20 bca2f99d35d6: Waiting 06:11:20 93359f2a8cfa: Waiting 06:11:20 7c6f9722023f: Waiting 06:11:20 a35cf1a2eb13: Waiting 06:11:20 de9db76c5a1d: Verifying Checksum 06:11:20 de9db76c5a1d: Download complete 06:11:20 0ef7d3d256c8: Download complete 06:11:20 93359f2a8cfa: Verifying Checksum 06:11:20 93359f2a8cfa: Download complete 06:11:20 7c6f9722023f: Verifying Checksum 06:11:20 7c6f9722023f: Download complete 06:11:20 188c0c94c7c5: Verifying Checksum 06:11:20 188c0c94c7c5: Download complete 06:11:20 188c0c94c7c5: Pull complete 06:11:21 0ef7d3d256c8: Pull complete 06:11:21 de9db76c5a1d: Pull complete 06:11:22 a35cf1a2eb13: Verifying Checksum 06:11:22 a35cf1a2eb13: Download complete 06:11:23 bca2f99d35d6: Verifying Checksum 06:11:23 bca2f99d35d6: Download complete 06:11:28 bca2f99d35d6: Pull complete 06:11:28 93359f2a8cfa: Pull complete 06:11:29 7c6f9722023f: Pull complete 06:11:34 a35cf1a2eb13: Pull complete 06:11:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:11:34 ---> a62c8e92a672 06:11:34 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:11:34 ---> Running in 76a698e94cd8 06:11:34 Removing intermediate container 76a698e94cd8 06:11:34 ---> dabb7c569794 06:11:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:11:34 ---> Running in 51d2fdaa6565 06:11:34 Removing intermediate container 51d2fdaa6565 06:11:34 ---> b08602baacb4 06:11:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:11:34 ---> Running in a454d4edf833 06:11:34 Removing intermediate container a454d4edf833 06:11:34 ---> c48349fe50b5 06:11:34 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:34 ---> Running in 2b0d815ea01b 06:11:36 Removing intermediate container 2b0d815ea01b 06:11:36 ---> 18ae8b8808af 06:11:36 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:36 ---> Running in 5d9bea73d5c4 06:11:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:11:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:11:38 OK: 166 MiB in 39 packages 06:11:39 Removing intermediate container 5d9bea73d5c4 06:11:39 ---> fe6a68a6a7fe 06:11:39 Step 8/10 : WORKDIR /device-rest-go 06:11:39 ---> Running in 061a3aba1bc6 06:11:39 Removing intermediate container 061a3aba1bc6 06:11:39 ---> a0eef073f9f9 06:11:39 Step 9/10 : COPY . . 06:11:39 ---> df0a12398668 06:11:39 Step 10/10 : RUN go mod download 06:11:39 ---> Running in e7df815bcc60 06:11:58 Removing intermediate container e7df815bcc60 06:11:58 ---> 9a777f6adde9 06:11:58 Successfully built 9a777f6adde9 06:11:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:11:59 + docker inspect -f . ci-base-image-x86_64 06:11:59 . [Pipeline] withDockerContainer 06:11:59 prd-centos7-docker-4c-2g-22575 does not seem to be running inside a container 06:11:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat 06:12:00 $ docker top 6be00fa0c89ffd057b2af8f8e72edf500caccca36975fbb9951a1792e40c9c97 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:00 + go version 06:12:00 go version go1.15.5 linux/amd64 [Pipeline] } 06:12:00 $ docker stop --time=1 6be00fa0c89ffd057b2af8f8e72edf500caccca36975fbb9951a1792e40c9c97 06:12:02 $ docker rm -f 6be00fa0c89ffd057b2af8f8e72edf500caccca36975fbb9951a1792e40c9c97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:12:03 + docker inspect -f . ci-base-image-x86_64 06:12:03 . [Pipeline] withDockerContainer 06:12:03 prd-centos7-docker-4c-2g-22575 does not seem to be running inside a container 06:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat 06:12:04 $ docker top 289a93af31f9d9f2d58e6f9b901e55c9b4023b22e7bf8566b6eea0c9afd86db9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:04 + make test 06:12:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:12:05 ? github.com/edgexfoundry/device-rest-go [no test files] 06:12:12 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 06:12:12 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 06:12:12 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 06:12:12 have (string, bool, string, string) 06:12:12 want (string, string) 06:12:16 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 06:12:16 make: *** [Makefile:23: test] Error 2 [Pipeline] } 06:12:16 $ docker stop --time=1 289a93af31f9d9f2d58e6f9b901e55c9b4023b22e7bf8566b6eea0c9afd86db9 06:12:18 $ docker rm -f 289a93af31f9d9f2d58e6f9b901e55c9b4023b22e7bf8566b6eea0c9afd86db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:12:21 Failed in branch amd64 06:13:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22582 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [Pipeline] { [Pipeline] ws 06:13:23 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:13:29 using credential edgex-jenkins-ssh 06:13:29 Cloning the remote Git repository 06:13:29 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:13:29 > git init /w/workspace/device-rest-go/1 # timeout=10 06:13:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:13:30 > git --version # timeout=10 06:13:30 > git --version # 'git version 2.17.1' 06:13:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:32 Merging remotes/origin/master commit 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 06:13:32 Merge succeeded, producing 9a15ca76430f2bb6894d82c10c041f73ab1419b9 06:13:32 Checking out Revision 9a15ca76430f2bb6894d82c10c041f73ab1419b9 (PR-77) 06:13:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:13:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:13:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:13:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:13:32 > git config core.sparsecheckout # timeout=10 06:13:32 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 06:13:32 > git remote # timeout=10 06:13:32 > git config --get remote.origin.url # timeout=10 06:13:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:32 > git merge 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 06:13:32 > git rev-parse HEAD^{commit} # timeout=10 06:13:32 > git config core.sparsecheckout # timeout=10 06:13:32 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 06:13:37 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 06:13:37 > git --version # timeout=10 06:13:37 > git --version # 'git version 2.17.1' 06:13:37 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:13:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:13:40 + true 06:13:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:13:42 provisioning config files... 06:13:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3959475897835653645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:42 ---> docker-login.sh 06:13:42 nexus3.edgexfoundry.org:10001 06:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:44 Configure a credential helper to remove this warning. See 06:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:44 06:13:44 Login Succeeded 06:13:44 nexus3.edgexfoundry.org:10002 06:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:44 Configure a credential helper to remove this warning. See 06:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:44 06:13:44 Login Succeeded 06:13:45 nexus3.edgexfoundry.org:10003 06:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:45 Configure a credential helper to remove this warning. See 06:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:45 06:13:45 Login Succeeded 06:13:45 nexus3.edgexfoundry.org:10004 06:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:45 Configure a credential helper to remove this warning. See 06:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:45 06:13:45 Login Succeeded 06:13:45 docker.io 06:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:46 Configure a credential helper to remove this warning. See 06:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:46 06:13:46 Login Succeeded 06:13:46 ---> docker-login.sh ends [Pipeline] } 06:13:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:47 ========================================================= 06:13:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:13:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:13:47 + 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 . 06:13:47 Sending build context to Docker daemon 89.6kB 06:13:48 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:13:48 Step 2/10 : FROM ${BASE} 06:13:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:48 5f621e34cdf4: Pulling fs layer 06:13:48 a4357932f1b6: Pulling fs layer 06:13:48 18c013af1878: Pulling fs layer 06:13:48 00ac8860ef70: Pulling fs layer 06:13:48 63d7cb157983: Pulling fs layer 06:13:48 b116817d02f9: Pulling fs layer 06:13:48 745a02a5169b: Pulling fs layer 06:13:48 00ac8860ef70: Waiting 06:13:48 63d7cb157983: Waiting 06:13:48 b116817d02f9: Waiting 06:13:48 745a02a5169b: Waiting 06:13:48 18c013af1878: Verifying Checksum 06:13:48 18c013af1878: Download complete 06:13:48 a4357932f1b6: Verifying Checksum 06:13:48 a4357932f1b6: Download complete 06:13:48 63d7cb157983: Download complete 06:13:48 b116817d02f9: Download complete 06:13:48 5f621e34cdf4: Verifying Checksum 06:13:48 5f621e34cdf4: Download complete 06:13:49 5f621e34cdf4: Pull complete 06:13:49 a4357932f1b6: Pull complete 06:13:50 18c013af1878: Pull complete 06:13:52 745a02a5169b: Verifying Checksum 06:13:52 745a02a5169b: Download complete 06:13:54 00ac8860ef70: Verifying Checksum 06:13:54 00ac8860ef70: Download complete 06:14:04 00ac8860ef70: Pull complete 06:14:04 63d7cb157983: Pull complete 06:14:04 b116817d02f9: Pull complete 06:14:08 745a02a5169b: Pull complete 06:14:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:14:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:14:08 ---> b7e6874047d6 06:14:08 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:14:11 ---> Running in 596559b408c6 06:14:12 Removing intermediate container 596559b408c6 06:14:12 ---> 26b51c3ac017 06:14:12 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:14:12 ---> Running in 8f14956ed586 06:14:12 Removing intermediate container 8f14956ed586 06:14:12 ---> f8b19f4758ad 06:14:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:14:12 ---> Running in a3c5c5bca430 06:14:13 Removing intermediate container a3c5c5bca430 06:14:13 ---> bc671f57b9c5 06:14:13 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:14:13 ---> Running in 647b7f3070c1 06:14:16 Removing intermediate container 647b7f3070c1 06:14:16 ---> 40cd57d690c0 06:14:16 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:16 ---> Running in c56a0b43959f 06:14:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:14:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:14:19 OK: 142 MiB in 39 packages 06:14:20 Removing intermediate container c56a0b43959f 06:14:20 ---> 1da2d9a95c96 06:14:20 Step 8/10 : WORKDIR /device-rest-go 06:14:20 ---> Running in 11a25450e780 06:14:20 Removing intermediate container 11a25450e780 06:14:20 ---> 8045806ea011 06:14:20 Step 9/10 : COPY . . 06:14:21 ---> 7787edacf63b 06:14:21 Step 10/10 : RUN go mod download 06:14:21 ---> Running in b46a7a5ea522 06:14:48 Removing intermediate container b46a7a5ea522 06:14:48 ---> c01ea3947d73 06:14:48 Successfully built c01ea3947d73 06:14:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:14:48 + docker inspect -f . ci-base-image-arm64 06:14:48 . [Pipeline] withDockerContainer 06:14:49 prd-ubuntu18.04-docker-arm64-4c-16g-22582 does not seem to be running inside a container 06:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 06:14:50 $ docker top 192eff926091fb3820a10dcd3c0e4c70c44d8a25a04c70703ea1eb6cd3f52900 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:51 + go version 06:14:51 go version go1.15.5 linux/arm64 [Pipeline] } 06:14:51 $ docker stop --time=1 192eff926091fb3820a10dcd3c0e4c70c44d8a25a04c70703ea1eb6cd3f52900 06:14:54 $ docker rm -f 192eff926091fb3820a10dcd3c0e4c70c44d8a25a04c70703ea1eb6cd3f52900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:55 + docker inspect -f . ci-base-image-arm64 06:14:55 . [Pipeline] withDockerContainer 06:14:55 prd-ubuntu18.04-docker-arm64-4c-16g-22582 does not seem to be running inside a container 06:14:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 06:14:57 $ docker top 6fbc7b19657c91314dac008549d62aef5d8e4e5b3adf33fb0bad843c8acc17ec -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:58 + make test 06:14:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:14:59 ? github.com/edgexfoundry/device-rest-go [no test files] 06:15:22 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 06:15:22 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 06:15:22 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 06:15:22 have (string, bool, string, string) 06:15:22 want (string, string) 06:15:32 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 06:15:32 make: *** [Makefile:23: test] Error 2 [Pipeline] } 06:15:32 $ docker stop --time=1 6fbc7b19657c91314dac008549d62aef5d8e4e5b3adf33fb0bad843c8acc17ec 06:15:35 $ docker rm -f 6fbc7b19657c91314dac008549d62aef5d8e4e5b3adf33fb0bad843c8acc17ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:15:37 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:15:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:41 ---> package-listing.sh 06:15:41 ++ facter osfamily 06:15:41 ++ tr '[:upper:]' '[:lower:]' 06:15:41 + OS_FAMILY=redhat 06:15:41 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-77 06:15:41 + START_PACKAGES=/tmp/packages_start.txt 06:15:41 + END_PACKAGES=/tmp/packages_end.txt 06:15:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:41 + PACKAGES=/tmp/packages_start.txt 06:15:41 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-77 ']' 06:15:41 + PACKAGES=/tmp/packages_end.txt 06:15:41 + case "${OS_FAMILY}" in 06:15:41 + rpm -qa 06:15:41 + sort 06:15:47 + '[' -f /tmp/packages_start.txt ']' 06:15:47 + '[' -f /tmp/packages_end.txt ']' 06:15:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:47 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-77 ']' 06:15:47 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-77/archives/ 06:15:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-77/archives/ [Pipeline] echo 06:15:47 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-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:47 06:15:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:15:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:48 alpine: Pulling from edgex-lftools-log-publisher 06:15:48 df20fa9351a1: Pulling fs layer 06:15:48 36b3adc4ff6f: Pulling fs layer 06:15:48 8ad3a11d3b57: Pulling fs layer 06:15:48 46f8f816bc3b: Pulling fs layer 06:15:48 93b61091891f: Pulling fs layer 06:15:48 93b9cdb0e59b: Pulling fs layer 06:15:48 5e14af77c1be: Pulling fs layer 06:15:48 01666e4c0597: Pulling fs layer 06:15:48 aa168da1d23b: Pulling fs layer 06:15:48 93b9cdb0e59b: Waiting 06:15:48 93b61091891f: Waiting 06:15:48 5e14af77c1be: Waiting 06:15:48 aa168da1d23b: Waiting 06:15:48 01666e4c0597: Waiting 06:15:48 46f8f816bc3b: Waiting 06:15:48 36b3adc4ff6f: Download complete 06:15:48 46f8f816bc3b: Verifying Checksum 06:15:48 46f8f816bc3b: Download complete 06:15:48 df20fa9351a1: Download complete 06:15:48 93b9cdb0e59b: Verifying Checksum 06:15:48 93b9cdb0e59b: Download complete 06:15:48 5e14af77c1be: Verifying Checksum 06:15:48 5e14af77c1be: Download complete 06:15:48 93b61091891f: Verifying Checksum 06:15:48 93b61091891f: Download complete 06:15:48 01666e4c0597: Verifying Checksum 06:15:48 01666e4c0597: Download complete 06:15:48 df20fa9351a1: Pull complete 06:15:48 8ad3a11d3b57: Verifying Checksum 06:15:48 8ad3a11d3b57: Download complete 06:15:49 36b3adc4ff6f: Pull complete 06:15:50 8ad3a11d3b57: Pull complete 06:15:50 46f8f816bc3b: Pull complete 06:15:50 93b61091891f: Pull complete 06:15:50 aa168da1d23b: Verifying Checksum 06:15:50 aa168da1d23b: Download complete 06:15:50 93b9cdb0e59b: Pull complete 06:15:51 5e14af77c1be: Pull complete 06:15:51 01666e4c0597: Pull complete 06:15:57 aa168da1d23b: Pull complete 06:15:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:15:58 prd-centos7-docker-4c-2g-22570 does not seem to be running inside a container 06:15:58 $ 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-77/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-77 -v /w/workspace/dgexfoundry_device-rest-go_PR-77:/w/workspace/dgexfoundry_device-rest-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:16:02 $ docker top d10733ae3cd2f1044a9e861ddf2477ad889250b32a334278b1e030943555493c -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:02 + touch /tmp/pre-build-complete [Pipeline] sh 06:16:02 + mkdir -p /var/log/sa [Pipeline] sh 06:16:03 + ls /var/log/sa-host 06:16:03 + sadf -c /var/log/sa-host/sa23 06:16:03 file_magic: OK 06:16:03 HZ: Using current value: 100 06:16:03 file_header: OK 06:16:03 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 06:16:03 Statistics: 06:16:03 Hnuu...uuuununununu... 06:16:03 File successfully converted to sysstat format version 12.2.1 06:16:03 + sadf -c /var/log/sa-host/sa25 06:16:03 file_magic: OK 06:16:03 HZ: Using current value: 100 06:16:03 file_header: OK 06:16:03 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 06:16:03 Statistics: 06:16:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:16:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:03 provisioning config files... 06:16:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/config2657402959818301747tmp [Pipeline] { [Pipeline] echo 06:16:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:16:04 ---> create-netrc.sh [Pipeline] } 06:16:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:16:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:16:04 ---> python-tools-install.sh [Pipeline] echo 06:16:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:16:04 ---> sudo-logs.sh 06:16:04 Archiving 'sudo' log.. [Pipeline] echo 06:16:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:16:05 ---> job-cost.sh 06:16:05 lf-activate-venv: SKIPPING 06:16:05 INFO: No Stack... 06:16:06 INFO: Retrieving Pricing Info for: v1-standard-2 06:16:06 INFO: Archiving Costs [Pipeline] echo 06:16:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:16:07 ---> logs-deploy.sh 06:16:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-77/1 06:16:07 INFO: archiving workspace using pattern(s): 06:16:09 Archives upload complete. 06:16:09 INFO: archiving logs to Nexus 06:16:10 ---> uname -a: 06:16:10 Linux prd-centos7-docker-4c-2g-22570.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:16:10 06:16:10 06:16:10 ---> lscpu: 06:16:10 Architecture: x86_64 06:16:10 CPU op-mode(s): 32-bit, 64-bit 06:16:10 Byte Order: Little Endian 06:16:10 Address sizes: 40 bits physical, 48 bits virtual 06:16:10 CPU(s): 4 06:16:10 On-line CPU(s) list: 0-3 06:16:10 Thread(s) per core: 1 06:16:10 Core(s) per socket: 1 06:16:10 Socket(s): 4 06:16:10 NUMA node(s): 1 06:16:10 Vendor ID: GenuineIntel 06:16:10 CPU family: 6 06:16:10 Model: 44 06:16:10 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:16:10 Stepping: 1 06:16:10 CPU MHz: 2933.442 06:16:10 BogoMIPS: 5866.88 06:16:10 Virtualization: VT-x 06:16:10 Hypervisor vendor: KVM 06:16:10 Virtualization type: full 06:16:10 L1d cache: 128 KiB 06:16:10 L1i cache: 128 KiB 06:16:10 L2 cache: 16 MiB 06:16:10 L3 cache: 64 MiB 06:16:10 NUMA node0 CPU(s): 0-3 06:16:10 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:16:10 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:16:10 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:16:10 Vulnerability Meltdown: Mitigation; PTI 06:16:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:16:10 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:16:10 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:16:10 Vulnerability Srbds: Not affected 06:16:10 Vulnerability Tsx async abort: Not affected 06:16:10 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 06:16:10 06:16:10 06:16:10 ---> nproc: 06:16:10 4 06:16:10 06:16:10 06:16:10 ---> df -h: 06:16:10 Filesystem Size Used Available Use% Mounted on 06:16:10 overlay 50.0G 7.3G 42.7G 15% / 06:16:10 tmpfs 64.0M 0 64.0M 0% /dev 06:16:10 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:16:10 shm 64.0M 0 64.0M 0% /dev/shm 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-77 06:16:10 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp 06:16:10 06:16:10 06:16:10 ---> free -m: 06:16:10 total used free shared buff/cache available 06:16:10 Mem: 1837 688 99 0 1049 1044 06:16:10 Swap: 1023 1 1022 06:16:10 06:16:10 06:16:10 ---> ip addr: 06:16:10 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:16:10 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:16:10 inet 127.0.0.1/8 scope host lo 06:16:10 valid_lft forever preferred_lft forever 06:16:10 inet6 ::1/128 scope host 06:16:10 valid_lft forever preferred_lft forever 06:16:10 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:16:10 link/ether fa:16:3e:01:07:b0 brd ff:ff:ff:ff:ff:ff 06:16:10 inet 10.30.122.206/23 brd 10.30.123.255 scope global dynamic eth0 06:16:10 valid_lft 85991sec preferred_lft 85991sec 06:16:10 inet6 fe80::f816:3eff:fe01:7b0/64 scope link 06:16:10 valid_lft forever preferred_lft forever 06:16:10 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:16:10 link/ether 02:42:f7:26:f0:e7 brd ff:ff:ff:ff:ff:ff 06:16:10 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:16:10 valid_lft forever preferred_lft forever 06:16:10 inet6 fe80::42:f7ff:fe26:f0e7/64 scope link 06:16:10 valid_lft forever preferred_lft forever 06:16:10 06:16:10 06:16:10 ---> sar -b -r -n DEV: 06:16:10 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/25/21 _x86_64_ (4 CPU) 06:16:10 06:16:10 06:09:09 LINUX RESTART (4 CPU) 06:16:10 06:16:10 06:10:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:16:10 06:11:02 29.82 11.80 18.02 0.00 4477.24 3349.45 0.00 06:16:10 06:12:01 1.71 0.00 1.71 0.00 0.00 29.94 0.00 06:16:10 06:13:01 0.23 0.00 0.23 0.00 0.00 2.86 0.00 06:16:10 06:14:01 0.30 0.00 0.30 0.00 0.00 4.00 0.00 06:16:10 06:15:01 0.20 0.00 0.20 0.00 0.00 2.76 0.00 06:16:10 06:16:01 128.23 71.45 56.77 0.00 5952.20 18386.05 0.00 06:16:10 Average: 26.82 13.92 12.89 0.00 1736.15 3641.31 0.00 06:16:10 06:16:10 06:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:16:10 06:11:02 180900 0 587188 31.21 2620 1110836 1108060 37.82 422784 1078732 20 06:16:10 06:12:01 186548 0 581532 30.91 2620 1110844 1088168 37.14 420968 1076108 8 06:16:10 06:13:01 185392 0 582684 30.97 2620 1110848 1086076 37.07 423104 1075516 12 06:16:10 06:14:01 183248 0 584828 31.08 2620 1110848 1085280 37.04 434604 1066332 8 06:16:10 06:15:01 182044 0 586024 31.15 2620 1110856 1085304 37.04 430776 1071388 8 06:16:10 06:16:01 166364 0 680992 36.19 2620 1031568 1284900 43.85 452844 1005456 28 06:16:10 Average: 180749 0 600541 31.92 2620 1097633 1122965 38.32 430847 1062255 14 06:16:10 06:16:10 06:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:16:10 06:11:02 eth0 117.40 101.59 485.78 36.18 0.00 0.00 0.00 0.00 06:16:10 06:11:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:11:02 docker0 44.78 39.36 3.85 136.73 0.00 0.00 0.00 0.00 06:16:10 06:12:01 eth0 3.62 0.91 1.08 0.54 0.00 0.00 0.00 0.00 06:16:10 06:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:13:01 eth0 2.96 0.27 0.49 0.26 0.00 0.00 0.00 0.00 06:16:10 06:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:14:01 eth0 1.48 0.80 0.80 0.59 0.00 0.00 0.00 0.00 06:16:10 06:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:15:01 eth0 1.22 0.47 0.40 0.27 0.00 0.00 0.00 0.00 06:16:10 06:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:16:01 eth0 210.89 178.00 2169.67 17.96 0.00 0.00 0.00 0.00 06:16:10 06:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 06:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 Average: eth0 56.26 47.00 444.31 9.25 0.00 0.00 0.00 0.00 06:16:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:16:10 Average: docker0 7.38 6.49 0.63 22.55 0.00 0.00 0.00 0.00 06:16:10 06:16:10 06:16:10 ---> sar -P ALL: 06:16:10 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/25/21 _x86_64_ (4 CPU) 06:16:10 06:16:10 06:09:09 LINUX RESTART (4 CPU) 06:16:10 06:16:10 06:10:02 CPU %user %nice %system %iowait %steal %idle 06:16:10 06:11:02 all 3.40 0.00 2.24 0.40 0.06 93.90 06:16:10 06:11:02 0 3.57 0.00 2.78 0.15 0.09 93.41 06:16:10 06:11:02 1 2.93 0.00 2.04 0.77 0.10 94.15 06:16:10 06:11:02 2 3.88 0.00 1.88 0.51 0.03 93.70 06:16:10 06:11:02 3 3.24 0.00 2.24 0.15 0.03 94.33 06:16:10 06:12:01 all 0.19 0.00 0.07 0.00 0.02 99.72 06:16:10 06:12:01 0 0.07 0.00 0.07 0.00 0.02 99.85 06:16:10 06:12:01 1 0.07 0.00 0.07 0.00 0.02 99.85 06:16:10 06:12:01 2 0.54 0.00 0.08 0.00 0.02 99.36 06:16:10 06:12:01 3 0.10 0.00 0.05 0.00 0.02 99.83 06:16:10 06:13:01 all 0.18 0.00 0.04 0.00 0.00 99.78 06:16:10 06:13:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:16:10 06:13:01 1 0.12 0.00 0.05 0.00 0.00 99.83 06:16:10 06:13:01 2 0.55 0.00 0.03 0.00 0.00 99.42 06:16:10 06:13:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:16:10 06:14:01 all 0.17 0.00 0.05 0.00 0.00 99.78 06:16:10 06:14:01 0 0.07 0.00 0.03 0.00 0.00 99.90 06:16:10 06:14:01 1 0.10 0.00 0.05 0.00 0.00 99.85 06:16:10 06:14:01 2 0.48 0.00 0.05 0.00 0.00 99.47 06:16:10 06:14:01 3 0.03 0.00 0.07 0.00 0.00 99.90 06:16:10 06:15:01 all 0.18 0.00 0.07 0.00 0.00 99.75 06:16:10 06:15:01 0 0.07 0.00 0.08 0.00 0.00 99.85 06:16:10 06:15:01 1 0.23 0.00 0.03 0.00 0.00 99.73 06:16:10 06:15:01 2 0.35 0.00 0.05 0.00 0.02 99.58 06:16:10 06:15:01 3 0.07 0.00 0.10 0.00 0.00 99.83 06:16:10 06:16:01 all 5.43 0.00 3.84 2.27 0.03 88.44 06:16:10 06:16:01 0 6.06 0.00 4.18 0.89 0.02 88.85 06:16:10 06:16:01 1 5.52 0.00 3.62 4.49 0.03 86.33 06:16:10 06:16:01 2 4.72 0.00 3.76 1.94 0.02 89.57 06:16:10 06:16:01 3 5.41 0.00 3.81 1.74 0.03 89.01 06:16:10 Average: all 1.58 0.00 1.04 0.44 0.02 96.91 06:16:10 Average: 0 1.63 0.00 1.19 0.17 0.02 96.98 06:16:10 Average: 1 1.49 0.00 0.97 0.87 0.03 96.64 06:16:10 Average: 2 1.74 0.00 0.97 0.41 0.01 96.87 06:16:10 Average: 3 1.47 0.00 1.04 0.31 0.01 97.16 06:16:10 06:16:10 06:16:10