Pull request #68 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ce71f09c2d39912181f4466a92feb2fb45c7f9fd+3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (973395cf7db201d99b38639b3b7c647f642515ad) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-68/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-68/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-18111 in /w/workspace/dgexfoundry_device-rest-go_PR-68 [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-68 # 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 > 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/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit ce71f09c2d39912181f4466a92feb2fb45c7f9fd Merge succeeded, producing ce71f09c2d39912181f4466a92feb2fb45c7f9fd Checking out Revision ce71f09c2d39912181f4466a92feb2fb45c7f9fd (PR-68) > git config core.sparsecheckout # timeout=10 > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # 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 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:17:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:17:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:17:03 ========================================================= 06:17:03 EdgeX Global Pipelines Version Info 06:17:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:17:05 ------------------- 06:17:05 stable info: 06:17:05 ------------------- 06:17:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:17:05 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:17:05 Message: update stable to v1.0.173 06:17:06 ------------------- 06:17:06 experimental info: 06:17:06 ------------------- 06:17:06 Commited By: **** collab-it+edgex@linuxfoundation.org 06:17:06 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:17:06 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:17:09 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:17:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-68 [Pipeline] echo 06:17:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-68 [Pipeline] echo 06:17:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-68 [Pipeline] echo 06:17:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce71f09c2d39912181f4466a92feb2fb45c7f9fd [Pipeline] echo 06:17:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce71f09 [Pipeline] echo 06:17:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:17:11 provisioning config files... 06:17:11 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/config7290289925612255201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:11 ---> docker-login.sh 06:17:11 nexus3.edgexfoundry.org:10001 06:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:12 Configure a credential helper to remove this warning. See 06:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:12 06:17:12 Login Succeeded 06:17:12 nexus3.edgexfoundry.org:10002 06:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:12 Configure a credential helper to remove this warning. See 06:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:12 06:17:12 Login Succeeded 06:17:12 nexus3.edgexfoundry.org:10003 06:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:12 Configure a credential helper to remove this warning. See 06:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:12 06:17:12 Login Succeeded 06:17:12 nexus3.edgexfoundry.org:10004 06:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:12 Configure a credential helper to remove this warning. See 06:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:12 06:17:12 Login Succeeded 06:17:12 docker.io 06:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:12 Configure a credential helper to remove this warning. See 06:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:12 06:17:12 Login Succeeded 06:17:12 ---> docker-login.sh ends [Pipeline] } 06:17:12 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:17:14 + git log --format=format:%s -1 ce71f09c2d39912181f4466a92feb2fb45c7f9fd [Pipeline] echo 06:17:14 GIT_COMMIT: ce71f09c2d39912181f4466a92feb2fb45c7f9fd, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:17:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:15 06:17:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:17:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:15 latest: Pulling from edgex-devops/git-semver 06:17:15 31603596830f: Pulling fs layer 06:17:15 2a8b12db71e7: Pulling fs layer 06:17:15 6ca5941a6612: Pulling fs layer 06:17:15 ecc8261a40a4: Pulling fs layer 06:17:15 ecc8261a40a4: Waiting 06:17:15 2a8b12db71e7: Verifying Checksum 06:17:15 2a8b12db71e7: Download complete 06:17:15 31603596830f: Verifying Checksum 06:17:15 31603596830f: Download complete 06:17:15 ecc8261a40a4: Verifying Checksum 06:17:15 ecc8261a40a4: Download complete 06:17:15 6ca5941a6612: Verifying Checksum 06:17:15 6ca5941a6612: Download complete 06:17:16 31603596830f: Pull complete 06:17:16 2a8b12db71e7: Pull complete 06:17:17 6ca5941a6612: Pull complete 06:17:17 ecc8261a40a4: Pull complete 06:17:17 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:17:17 prd-centos7-docker-4c-2g-18111 does not seem to be running inside a container 06:17:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-68 -v /w/workspace/dgexfoundry_device-rest-go_PR-68:/w/workspace/dgexfoundry_device-rest-go_PR-68:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-68@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:17:20 $ docker top 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:20 [ssh-agent] Looking for ssh-agent implementation... 06:17:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:20 $ docker exec 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent 06:17:21 SSH_AUTH_SOCK=/tmp/ssh-SKyDbNWoUcJ3/agent.11 06:17:21 SSH_AGENT_PID=16 06:17:21 Running ssh-add (command line suppressed) 06:17:21 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_1801226905651236079.key (/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_1801226905651236079.key) 06:17:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:21 + git tag --points-at HEAD [Pipeline] } 06:17:21 $ docker exec --env ******** --env ******** 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent -k 06:17:21 unset SSH_AUTH_SOCK; 06:17:21 unset SSH_AGENT_PID; 06:17:21 echo Agent pid 16 killed; 06:17:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:17:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:22 [ssh-agent] Looking for ssh-agent implementation... 06:17:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:22 $ docker exec 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent 06:17:22 SSH_AUTH_SOCK=/tmp/ssh-s43Ca3v5UCRm/agent.46 06:17:22 SSH_AGENT_PID=51 06:17:22 Running ssh-add (command line suppressed) 06:17:22 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_4041806340608678495.key (/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_4041806340608678495.key) 06:17:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:23 + git semver init 06:17:23 # -> Open(): unable to determine branch for HEAD 06:17:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-68/.git 06:17:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-68 06:17:23 # $SEMVER_REMOTE_NAME = origin 06:17:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:17:23 # $SEMVER_USER_NAME = edgex-jenkins 06:17:23 # $SEMVER_BRANCH = PR-68 06:17:23 # $SEMVER_TEMP = /tmp/semver-470327376 06:17:23 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:17:24 # '/tmp/semver-470327376' -> '/w/workspace/dgexfoundry_device-rest-go_PR-68/.semver' 06:17:24 # -> Force: false 06:17:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-68/.semver [Pipeline] } 06:17:24 $ docker exec --env ******** --env ******** 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent -k 06:17:24 unset SSH_AUTH_SOCK; 06:17:24 unset SSH_AGENT_PID; 06:17:24 echo Agent pid 51 killed; 06:17:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:24 + git semver [Pipeline] } 06:17:24 $ docker stop --time=1 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a 06:17:26 $ docker rm -f 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a [Pipeline] // withDockerContainer [Pipeline] sh 06:17:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:17:27 Stashed 1 file(s) [Pipeline] echo 06:17:27 [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:17:43 Still waiting to schedule task 06:17:43 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18096’ is offline; ‘prd-centos7-docker-4c-2g-18100’ is offline; ‘prd-centos7-docker-4c-2g-18101’ is offline; ‘prd-centos7-docker-4c-2g-18104’ is offline; ‘prd-centos7-docker-4c-2g-18105’ is offline; ‘prd-centos7-docker-4c-2g-18113’ is offline; ‘prd-centos7-docker-4c-2g-18114’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18103’ doesn’t have label ‘centos7-docker-4c-2g’ 06:17:43 Still waiting to schedule task 06:17:43 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:19:25 Running on prd-centos7-docker-4c-2g-18121 in /w/workspace/dgexfoundry_device-rest-go_PR-68 [Pipeline] { [Pipeline] ws 06:19:25 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:19:28 using credential edgex-jenkins-ssh 06:19:28 Cloning the remote Git repository 06:19:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:19:28 > git init /w/workspace/device-rest-go/1 # timeout=10 06:19:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:19:28 > git --version # timeout=10 06:19:28 > git --version # 'git version 2.24.3' 06:19:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:30 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit ce71f09c2d39912181f4466a92feb2fb45c7f9fd 06:19:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:19:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:19:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:19:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:19:30 > git config core.sparsecheckout # timeout=10 06:19:30 > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 06:19:30 Merge succeeded, producing ce71f09c2d39912181f4466a92feb2fb45c7f9fd 06:19:30 Checking out Revision ce71f09c2d39912181f4466a92feb2fb45c7f9fd (PR-68) 06:19:30 > git remote # timeout=10 06:19:30 > git config --get remote.origin.url # timeout=10 06:19:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:30 > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 06:19:30 > git rev-parse HEAD^{commit} # timeout=10 06:19:30 > git config core.sparsecheckout # timeout=10 06:19:30 > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 06:19:34 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 06:19:34 > git --version # timeout=10 06:19:34 > git --version # 'git version 2.24.3' 06:19:34 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:19:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:19:36 + true 06:19:36 + sudo service docker restart 06:19:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:19:38 provisioning config files... 06:19:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8633599521590440545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:38 ---> docker-login.sh 06:19:38 nexus3.edgexfoundry.org:10001 06:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:38 Configure a credential helper to remove this warning. See 06:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:38 06:19:38 Login Succeeded 06:19:38 nexus3.edgexfoundry.org:10002 06:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:39 Configure a credential helper to remove this warning. See 06:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:39 06:19:39 Login Succeeded 06:19:39 nexus3.edgexfoundry.org:10003 06:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:39 Configure a credential helper to remove this warning. See 06:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:39 06:19:39 Login Succeeded 06:19:39 nexus3.edgexfoundry.org:10004 06:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:39 Configure a credential helper to remove this warning. See 06:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:39 06:19:39 Login Succeeded 06:19:39 docker.io 06:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:40 Configure a credential helper to remove this warning. See 06:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:40 06:19:40 Login Succeeded 06:19:40 ---> docker-login.sh ends [Pipeline] } 06:19:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:19:40 ========================================================= 06:19:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:19:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:19:41 + 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:19:41 Sending build context to Docker daemon 84.48kB 06:19:41 Step 1/10 : ARG BASE=golang:1.15-alpine 06:19:41 Step 2/10 : FROM ${BASE} 06:19:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:19:41 188c0c94c7c5: Pulling fs layer 06:19:41 0ef7d3d256c8: Pulling fs layer 06:19:41 de9db76c5a1d: Pulling fs layer 06:19:41 bca2f99d35d6: Pulling fs layer 06:19:41 93359f2a8cfa: Pulling fs layer 06:19:41 7c6f9722023f: Pulling fs layer 06:19:41 a35cf1a2eb13: Pulling fs layer 06:19:41 93359f2a8cfa: Waiting 06:19:41 7c6f9722023f: Waiting 06:19:41 a35cf1a2eb13: Waiting 06:19:41 bca2f99d35d6: Waiting 06:19:41 de9db76c5a1d: Verifying Checksum 06:19:41 de9db76c5a1d: Download complete 06:19:41 0ef7d3d256c8: Verifying Checksum 06:19:41 0ef7d3d256c8: Download complete 06:19:41 93359f2a8cfa: Verifying Checksum 06:19:41 93359f2a8cfa: Download complete 06:19:41 7c6f9722023f: Verifying Checksum 06:19:41 7c6f9722023f: Download complete 06:19:41 188c0c94c7c5: Verifying Checksum 06:19:41 188c0c94c7c5: Download complete 06:19:41 188c0c94c7c5: Pull complete 06:19:42 0ef7d3d256c8: Pull complete 06:19:42 de9db76c5a1d: Pull complete 06:19:43 a35cf1a2eb13: Verifying Checksum 06:19:43 a35cf1a2eb13: Download complete 06:19:44 bca2f99d35d6: Verifying Checksum 06:19:44 bca2f99d35d6: Download complete 06:19:49 bca2f99d35d6: Pull complete 06:19:49 93359f2a8cfa: Pull complete 06:19:49 7c6f9722023f: Pull complete 06:19:57 a35cf1a2eb13: Pull complete 06:19:57 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:19:57 ---> a62c8e92a672 06:19:57 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:19:57 ---> Running in 03a8121b329b 06:19:58 Removing intermediate container 03a8121b329b 06:19:58 ---> b99b2b7f72a1 06:19:58 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:19:58 ---> Running in b526337e5cd0 06:19:58 Removing intermediate container b526337e5cd0 06:19:58 ---> 86f6459f38ca 06:19:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:19:58 ---> Running in 93ed4d039be7 06:19:58 Removing intermediate container 93ed4d039be7 06:19:58 ---> d8aa4ac37888 06:19:58 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:58 ---> Running in 6b901e3f4ce4 06:20:00 Removing intermediate container 6b901e3f4ce4 06:20:00 ---> 982316ed0489 06:20:00 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:00 ---> Running in fbb2ed759ae0 06:20:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:20:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:20:02 OK: 166 MiB in 39 packages 06:20:03 Removing intermediate container fbb2ed759ae0 06:20:03 ---> 875fd605aa8c 06:20:03 Step 8/10 : WORKDIR /device-rest-go 06:20:03 ---> Running in 71a199b78eb6 06:20:03 Removing intermediate container 71a199b78eb6 06:20:03 ---> e8063c333563 06:20:03 Step 9/10 : COPY . . 06:20:03 ---> e64824397ea6 06:20:03 Step 10/10 : RUN go mod download 06:20:03 ---> Running in e006379f444a 06:20:22 Removing intermediate container e006379f444a 06:20:22 ---> 98a2f0d94207 06:20:22 Successfully built 98a2f0d94207 06:20:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:20:22 + docker inspect -f . ci-base-image-x86_64 06:20:22 . [Pipeline] withDockerContainer 06:20:22 prd-centos7-docker-4c-2g-18121 does not seem to be running inside a container 06:20:22 $ 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:20:23 $ docker top e2fece8d8531fb4d147297f9465b7c63d3722bdd7e26ab7bab06aae6a3bdcf05 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:24 + go version 06:20:24 go version go1.15.5 linux/amd64 [Pipeline] } 06:20:24 $ docker stop --time=1 e2fece8d8531fb4d147297f9465b7c63d3722bdd7e26ab7bab06aae6a3bdcf05 06:20:25 $ docker rm -f e2fece8d8531fb4d147297f9465b7c63d3722bdd7e26ab7bab06aae6a3bdcf05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:26 + docker inspect -f . ci-base-image-x86_64 06:20:26 . [Pipeline] withDockerContainer 06:20:26 prd-centos7-docker-4c-2g-18121 does not seem to be running inside a container 06:20:26 $ 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:20:27 $ docker top 75d25279c06e65642de57f7094ae8b667da1989278ea27e86c3247056826306c -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:27 + make test 06:20:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:20:28 ? github.com/edgexfoundry/device-rest-go [no test files] 06:20:35 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 06:20:35 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 06:20:35 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 06:20:35 have (string, bool, string, string) 06:20:35 want (string, string) 06:20:40 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 06:20:40 make: *** [Makefile:23: test] Error 2 [Pipeline] } 06:20:40 $ docker stop --time=1 75d25279c06e65642de57f7094ae8b667da1989278ea27e86c3247056826306c 06:20:42 $ docker rm -f 75d25279c06e65642de57f7094ae8b667da1989278ea27e86c3247056826306c [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:20:45 Failed in branch amd64 06:20:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18124 in /w/workspace/dgexfoundry_device-rest-go_PR-68 [Pipeline] { [Pipeline] ws 06:20:53 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:20:59 using credential edgex-jenkins-ssh 06:20:59 Cloning the remote Git repository 06:20:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:20:59 > git init /w/workspace/device-rest-go/1 # timeout=10 06:20:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:20:59 > git --version # timeout=10 06:20:59 > git --version # 'git version 2.17.1' 06:20:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:21:03 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:21:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:21:03 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:21:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:21:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:21:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:21:04 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit ce71f09c2d39912181f4466a92feb2fb45c7f9fd 06:21:04 Merge succeeded, producing ce71f09c2d39912181f4466a92feb2fb45c7f9fd 06:21:04 Checking out Revision ce71f09c2d39912181f4466a92feb2fb45c7f9fd (PR-68) 06:21:04 > git config core.sparsecheckout # timeout=10 06:21:04 > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 06:21:04 > git remote # timeout=10 06:21:04 > git config --get remote.origin.url # timeout=10 06:21:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:21:04 > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 06:21:04 > git rev-parse HEAD^{commit} # timeout=10 06:21:04 > git config core.sparsecheckout # timeout=10 06:21:04 > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 06:21:09 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 06:21:09 > git --version # timeout=10 06:21:09 > git --version # 'git version 2.17.1' 06:21:09 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:21:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:21:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:21:12 + + truesudo 06:21:12 service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:21:15 provisioning config files... 06:21:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1540408483367345460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:15 ---> docker-login.sh 06:21:15 nexus3.edgexfoundry.org:10001 06:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:17 Configure a credential helper to remove this warning. See 06:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:17 06:21:17 Login Succeeded 06:21:17 nexus3.edgexfoundry.org:10002 06:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:17 Configure a credential helper to remove this warning. See 06:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:17 06:21:17 Login Succeeded 06:21:17 nexus3.edgexfoundry.org:10003 06:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:18 Configure a credential helper to remove this warning. See 06:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:18 06:21:18 Login Succeeded 06:21:18 nexus3.edgexfoundry.org:10004 06:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:18 Configure a credential helper to remove this warning. See 06:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:18 06:21:18 Login Succeeded 06:21:18 docker.io 06:21:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:19 Configure a credential helper to remove this warning. See 06:21:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:19 06:21:19 Login Succeeded 06:21:19 ---> docker-login.sh ends [Pipeline] } 06:21:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:21:20 ========================================================= 06:21:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:21:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:21:20 + 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:21:20 Sending build context to Docker daemon 84.48kB 06:21:21 Step 1/10 : ARG BASE=golang:1.15-alpine 06:21:21 Step 2/10 : FROM ${BASE} 06:21:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:21:21 5f621e34cdf4: Pulling fs layer 06:21:21 a4357932f1b6: Pulling fs layer 06:21:21 18c013af1878: Pulling fs layer 06:21:21 00ac8860ef70: Pulling fs layer 06:21:21 63d7cb157983: Pulling fs layer 06:21:21 b116817d02f9: Pulling fs layer 06:21:21 745a02a5169b: Pulling fs layer 06:21:21 00ac8860ef70: Waiting 06:21:21 63d7cb157983: Waiting 06:21:21 b116817d02f9: Waiting 06:21:21 745a02a5169b: Waiting 06:21:21 18c013af1878: Download complete 06:21:21 a4357932f1b6: Verifying Checksum 06:21:21 a4357932f1b6: Download complete 06:21:21 63d7cb157983: Verifying Checksum 06:21:21 63d7cb157983: Download complete 06:21:21 b116817d02f9: Verifying Checksum 06:21:21 b116817d02f9: Download complete 06:21:21 5f621e34cdf4: Verifying Checksum 06:21:21 5f621e34cdf4: Download complete 06:21:22 5f621e34cdf4: Pull complete 06:21:22 a4357932f1b6: Pull complete 06:21:23 18c013af1878: Pull complete 06:21:24 745a02a5169b: Verifying Checksum 06:21:24 745a02a5169b: Download complete 06:21:26 00ac8860ef70: Verifying Checksum 06:21:26 00ac8860ef70: Download complete 06:21:36 00ac8860ef70: Pull complete 06:21:36 63d7cb157983: Pull complete 06:21:36 b116817d02f9: Pull complete 06:21:40 745a02a5169b: Pull complete 06:21:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:21:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:21:40 ---> b7e6874047d6 06:21:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:21:43 ---> Running in 968edff006b7 06:21:43 Removing intermediate container 968edff006b7 06:21:43 ---> fe6cf5c94eb1 06:21:43 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:21:43 ---> Running in a5d505b01cef 06:21:44 Removing intermediate container a5d505b01cef 06:21:44 ---> d22ae7aab1c5 06:21:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:21:44 ---> Running in 6a05db824e85 06:21:44 Removing intermediate container 6a05db824e85 06:21:44 ---> 76230993b8c5 06:21:44 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:21:45 ---> Running in 4ba123961b0a 06:21:47 Removing intermediate container 4ba123961b0a 06:21:47 ---> db2e0f78c64e 06:21:47 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:21:47 ---> Running in 6e7c4d754be9 06:21:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:21:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:21:52 OK: 142 MiB in 39 packages 06:21:54 Removing intermediate container 6e7c4d754be9 06:21:54 ---> 3bfb8877abfe 06:21:54 Step 8/10 : WORKDIR /device-rest-go 06:21:54 ---> Running in 0db561736f9c 06:21:54 Removing intermediate container 0db561736f9c 06:21:54 ---> edf36f7a8bdc 06:21:54 Step 9/10 : COPY . . 06:21:55 ---> a6b47c039169 06:21:55 Step 10/10 : RUN go mod download 06:21:55 ---> Running in b4857ab7843e 06:22:22 Removing intermediate container b4857ab7843e 06:22:22 ---> 71f11aa97a0c 06:22:22 Successfully built 71f11aa97a0c 06:22:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:22:23 + docker inspect -f . ci-base-image-arm64 06:22:23 . [Pipeline] withDockerContainer 06:22:23 prd-ubuntu18.04-docker-arm64-4c-16g-18124 does not seem to be running inside a container 06:22:23 $ 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:22:25 $ docker top e2fea9cca5fcc3118b4bfcc21d007f118f53fa0628c67501b3945c55505d216d -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:26 + go version 06:22:26 go version go1.15.5 linux/arm64 [Pipeline] } 06:22:26 $ docker stop --time=1 e2fea9cca5fcc3118b4bfcc21d007f118f53fa0628c67501b3945c55505d216d 06:22:28 $ docker rm -f e2fea9cca5fcc3118b4bfcc21d007f118f53fa0628c67501b3945c55505d216d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:22:29 + docker inspect -f . ci-base-image-arm64 06:22:29 . [Pipeline] withDockerContainer 06:22:30 prd-ubuntu18.04-docker-arm64-4c-16g-18124 does not seem to be running inside a container 06:22:30 $ 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:22:31 $ docker top 10a8d539086a081ab1b358bea9208b03483dadc9434f4ee5d205bdc1f5645413 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:33 + make test 06:22:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:22:34 ? github.com/edgexfoundry/device-rest-go [no test files] 06:23:01 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 06:23:01 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 06:23:01 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 06:23:01 have (string, bool, string, string) 06:23:01 want (string, string) 06:23:11 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 06:23:11 make: *** [Makefile:23: test] Error 2 [Pipeline] } 06:23:11 $ docker stop --time=1 10a8d539086a081ab1b358bea9208b03483dadc9434f4ee5d205bdc1f5645413 06:23:13 $ docker rm -f 10a8d539086a081ab1b358bea9208b03483dadc9434f4ee5d205bdc1f5645413 [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:23:16 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:23:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:21 ---> package-listing.sh 06:23:21 ++ facter osfamily 06:23:21 ++ tr '[:upper:]' '[:lower:]' 06:23:21 + OS_FAMILY=redhat 06:23:21 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-68 06:23:21 + START_PACKAGES=/tmp/packages_start.txt 06:23:21 + END_PACKAGES=/tmp/packages_end.txt 06:23:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:21 + PACKAGES=/tmp/packages_start.txt 06:23:21 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-68 ']' 06:23:21 + PACKAGES=/tmp/packages_end.txt 06:23:21 + case "${OS_FAMILY}" in 06:23:21 + rpm -qa 06:23:21 + sort 06:23:27 + '[' -f /tmp/packages_start.txt ']' 06:23:27 + '[' -f /tmp/packages_end.txt ']' 06:23:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:27 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-68 ']' 06:23:27 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-68/archives/ 06:23:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-68/archives/ [Pipeline] echo 06:23:27 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-68/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:23:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:27 06:23:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:23:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:28 alpine: Pulling from edgex-lftools-log-publisher 06:23:28 df20fa9351a1: Pulling fs layer 06:23:28 36b3adc4ff6f: Pulling fs layer 06:23:28 8ad3a11d3b57: Pulling fs layer 06:23:28 46f8f816bc3b: Pulling fs layer 06:23:28 93b61091891f: Pulling fs layer 06:23:28 93b9cdb0e59b: Pulling fs layer 06:23:28 5e14af77c1be: Pulling fs layer 06:23:28 01666e4c0597: Pulling fs layer 06:23:28 aa168da1d23b: Pulling fs layer 06:23:28 93b9cdb0e59b: Waiting 06:23:28 5e14af77c1be: Waiting 06:23:28 01666e4c0597: Waiting 06:23:28 46f8f816bc3b: Waiting 06:23:28 93b61091891f: Waiting 06:23:28 aa168da1d23b: Waiting 06:23:28 36b3adc4ff6f: Verifying Checksum 06:23:28 36b3adc4ff6f: Download complete 06:23:28 46f8f816bc3b: Verifying Checksum 06:23:28 46f8f816bc3b: Download complete 06:23:28 df20fa9351a1: Download complete 06:23:28 93b9cdb0e59b: Verifying Checksum 06:23:28 93b9cdb0e59b: Download complete 06:23:28 5e14af77c1be: Verifying Checksum 06:23:28 5e14af77c1be: Download complete 06:23:28 93b61091891f: Download complete 06:23:28 01666e4c0597: Verifying Checksum 06:23:28 01666e4c0597: Download complete 06:23:29 df20fa9351a1: Pull complete 06:23:29 8ad3a11d3b57: Verifying Checksum 06:23:29 36b3adc4ff6f: Pull complete 06:23:30 8ad3a11d3b57: Pull complete 06:23:30 46f8f816bc3b: Pull complete 06:23:30 aa168da1d23b: Download complete 06:23:31 93b61091891f: Pull complete 06:23:31 93b9cdb0e59b: Pull complete 06:23:31 5e14af77c1be: Pull complete 06:23:31 01666e4c0597: Pull complete 06:23:39 aa168da1d23b: Pull complete 06:23:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:23:40 prd-centos7-docker-4c-2g-18111 does not seem to be running inside a container 06:23:40 $ 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-68/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-68 -v /w/workspace/dgexfoundry_device-rest-go_PR-68:/w/workspace/dgexfoundry_device-rest-go_PR-68:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:23:43 $ docker top 2bfa36eb19c8b35f5a99620e112f44f585b8247fcc655d9155c72792978db287 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:44 + mkdir -p /var/log/sa [Pipeline] sh 06:23:44 + ls /var/log/sa-host 06:23:44 + sadf -c /var/log/sa-host/sa04 06:23:44 file_magic: OK 06:23:44 HZ: Using current value: 100 06:23:44 file_header: OK 06:23:44 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:23:44 Statistics: 06:23:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:23:44 File successfully converted to sysstat format version 12.2.1 06:23:44 + sadf -c /var/log/sa-host/sa23 06:23:44 file_magic: OK 06:23:44 HZ: Using current value: 100 06:23:44 file_header: OK 06:23:44 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:23:44 Statistics: 06:23:44 Hnuu...uuuununununu... 06:23:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:45 provisioning config files... 06:23:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/config8523681805810179426tmp [Pipeline] { [Pipeline] echo 06:23:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:45 ---> create-netrc.sh [Pipeline] } 06:23:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:23:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:23:46 ---> python-tools-install.sh [Pipeline] echo 06:23:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:46 ---> sudo-logs.sh 06:23:46 Archiving 'sudo' log.. [Pipeline] echo 06:23:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:47 ---> job-cost.sh 06:23:47 lf-activate-venv: SKIPPING 06:23:47 INFO: No Stack... 06:23:48 INFO: Retrieving Pricing Info for: v1-standard-2 06:23:48 INFO: Archiving Costs [Pipeline] echo 06:23:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> logs-deploy.sh 06:23:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-68/1 06:23:49 INFO: archiving workspace using pattern(s): 06:23:51 Archives upload complete. 06:23:51 INFO: archiving logs to Nexus 06:23:52 ---> uname -a: 06:23:52 Linux prd-centos7-docker-4c-2g-18111.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:23:52 06:23:52 06:23:52 ---> lscpu: 06:23:52 Architecture: x86_64 06:23:52 CPU op-mode(s): 32-bit, 64-bit 06:23:52 Byte Order: Little Endian 06:23:52 Address sizes: 40 bits physical, 48 bits virtual 06:23:52 CPU(s): 4 06:23:52 On-line CPU(s) list: 0-3 06:23:52 Thread(s) per core: 1 06:23:52 Core(s) per socket: 1 06:23:52 Socket(s): 4 06:23:52 NUMA node(s): 1 06:23:52 Vendor ID: GenuineIntel 06:23:52 CPU family: 6 06:23:52 Model: 44 06:23:52 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:23:52 Stepping: 1 06:23:52 CPU MHz: 2933.436 06:23:52 BogoMIPS: 5866.87 06:23:52 Virtualization: VT-x 06:23:52 Hypervisor vendor: KVM 06:23:52 Virtualization type: full 06:23:52 L1d cache: 128 KiB 06:23:52 L1i cache: 128 KiB 06:23:52 L2 cache: 16 MiB 06:23:52 L3 cache: 64 MiB 06:23:52 NUMA node0 CPU(s): 0-3 06:23:52 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:23:52 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:23:52 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:23:52 Vulnerability Meltdown: Mitigation; PTI 06:23:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:23:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:23:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:23:52 Vulnerability Srbds: Not affected 06:23:52 Vulnerability Tsx async abort: Not affected 06:23:52 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:23:52 06:23:52 06:23:52 ---> nproc: 06:23:52 4 06:23:52 06:23:52 06:23:52 ---> df -h: 06:23:52 Filesystem Size Used Available Use% Mounted on 06:23:52 overlay 50.0G 7.3G 42.7G 15% / 06:23:52 tmpfs 64.0M 0 64.0M 0% /dev 06:23:52 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:23:52 shm 64.0M 0 64.0M 0% /dev/shm 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-68 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:23:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:23:52 06:23:52 06:23:52 ---> free -m: 06:23:52 total used free shared buff/cache available 06:23:52 Mem: 1837 709 106 0 1021 1023 06:23:52 Swap: 1023 1 1022 06:23:52 06:23:52 06:23:52 ---> ip addr: 06:23:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:23:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:23:52 inet 127.0.0.1/8 scope host lo 06:23:52 valid_lft forever preferred_lft forever 06:23:52 inet6 ::1/128 scope host 06:23:52 valid_lft forever preferred_lft forever 06:23:52 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:23:52 link/ether fa:16:3e:48:29:3a brd ff:ff:ff:ff:ff:ff 06:23:52 inet 10.30.123.186/23 brd 10.30.123.255 scope global dynamic eth0 06:23:52 valid_lft 85958sec preferred_lft 85958sec 06:23:52 inet6 fe80::f816:3eff:fe48:293a/64 scope link 06:23:52 valid_lft forever preferred_lft forever 06:23:52 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:23:52 link/ether 02:42:8d:41:11:ca brd ff:ff:ff:ff:ff:ff 06:23:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:23:52 valid_lft forever preferred_lft forever 06:23:52 inet6 fe80::42:8dff:fe41:11ca/64 scope link 06:23:52 valid_lft forever preferred_lft forever 06:23:52 06:23:52 06:23:52 ---> sar -b -r -n DEV: 06:23:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 06:23:52 06:23:52 06:16:17 LINUX RESTART (4 CPU) 06:23:52 06:23:52 06:17:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:23:52 06:18:01 30.91 13.07 17.84 0.00 4652.13 3533.75 0.00 06:23:52 06:19:02 0.60 0.00 0.60 0.00 0.00 10.77 0.00 06:23:52 06:20:01 0.29 0.00 0.29 0.00 0.00 4.23 0.00 06:23:52 06:21:01 0.20 0.00 0.20 0.00 0.00 2.43 0.00 06:23:52 06:22:01 0.15 0.00 0.15 0.00 0.00 2.08 0.00 06:23:52 06:23:01 0.33 0.00 0.33 0.00 0.00 5.10 0.00 06:23:52 Average: 5.36 2.15 3.20 0.00 766.94 586.68 0.00 06:23:52 06:23:52 06:17:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:23:52 06:18:01 155852 0 605436 32.18 2620 1117636 1099660 37.53 448024 1079292 20 06:23:52 06:19:02 158620 0 602660 32.03 2620 1117644 1099372 37.52 447928 1077616 16 06:23:52 06:20:01 158360 0 602916 32.04 2620 1117648 1085104 37.03 445076 1080680 8 06:23:52 06:21:01 158224 0 603052 32.05 2620 1117648 1085132 37.03 461204 1064712 20 06:23:52 06:22:01 158220 0 603048 32.05 2620 1117656 1077888 36.79 459380 1066716 16 06:23:52 06:23:01 158056 0 603208 32.06 2620 1117660 1077924 36.79 462740 1063572 8 06:23:52 Average: 157889 0 603387 32.07 2620 1117649 1087513 37.12 454059 1072098 15 06:23:52 06:23:52 06:17:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:23:52 06:18:01 eth0 200.64 154.74 593.42 42.70 0.00 0.00 0.00 0.00 06:23:52 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:18:01 docker0 44.67 39.42 3.73 135.21 0.00 0.00 0.00 0.00 06:23:52 06:19:02 eth0 5.01 1.08 1.60 0.93 0.00 0.00 0.00 0.00 06:23:52 06:19:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:19:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:20:01 eth0 6.13 1.20 1.69 1.02 0.00 0.00 0.00 0.00 06:23:52 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:21:01 eth0 4.63 1.20 1.54 0.95 0.00 0.00 0.00 0.00 06:23:52 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:22:01 eth0 3.76 0.63 0.90 0.46 0.00 0.00 0.00 0.00 06:23:52 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:23:01 eth0 2.06 0.78 0.89 0.59 0.00 0.00 0.00 0.00 06:23:52 06:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 Average: eth0 36.68 26.33 98.93 7.70 0.00 0.00 0.00 0.00 06:23:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 Average: docker0 7.36 6.50 0.62 22.29 0.00 0.00 0.00 0.00 06:23:52 06:23:52 06:23:52 ---> sar -P ALL: 06:23:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 06:23:52 06:23:52 06:16:17 LINUX RESTART (4 CPU) 06:23:52 06:23:52 06:17:02 CPU %user %nice %system %iowait %steal %idle 06:23:52 06:18:01 all 3.54 0.00 2.42 0.57 0.12 93.36 06:23:52 06:18:01 0 3.55 0.00 2.81 0.22 0.12 93.30 06:23:52 06:18:01 1 3.06 0.00 2.24 0.56 0.12 94.02 06:23:52 06:18:01 2 3.50 0.00 2.00 1.28 0.10 93.11 06:23:52 06:18:01 3 4.04 0.00 2.62 0.22 0.12 93.00 06:23:52 06:19:02 all 0.20 0.00 0.06 0.00 0.01 99.73 06:23:52 06:19:02 0 0.07 0.00 0.03 0.00 0.02 99.88 06:23:52 06:19:02 1 0.57 0.00 0.07 0.00 0.00 99.37 06:23:52 06:19:02 2 0.07 0.00 0.08 0.00 0.02 99.83 06:23:52 06:19:02 3 0.10 0.00 0.05 0.00 0.00 99.85 06:23:52 06:20:01 all 0.21 0.00 0.07 0.00 0.03 99.69 06:23:52 06:20:01 0 0.07 0.00 0.07 0.00 0.03 99.83 06:23:52 06:20:01 1 0.58 0.00 0.07 0.00 0.02 99.34 06:23:52 06:20:01 2 0.12 0.00 0.08 0.00 0.02 99.78 06:23:52 06:20:01 3 0.08 0.00 0.05 0.00 0.03 99.83 06:23:52 06:21:01 all 0.20 0.00 0.06 0.00 0.00 99.74 06:23:52 06:21:01 0 0.08 0.00 0.05 0.00 0.00 99.87 06:23:52 06:21:01 1 0.53 0.00 0.03 0.00 0.00 99.43 06:23:52 06:21:01 2 0.07 0.00 0.05 0.00 0.00 99.88 06:23:52 06:21:01 3 0.10 0.00 0.12 0.00 0.00 99.78 06:23:52 06:22:01 all 0.20 0.00 0.14 0.00 0.01 99.65 06:23:52 06:22:01 0 0.08 0.00 0.18 0.00 0.02 99.72 06:23:52 06:22:01 1 0.55 0.00 0.13 0.00 0.02 99.30 06:23:52 06:22:01 2 0.07 0.00 0.07 0.00 0.00 99.87 06:23:52 06:22:01 3 0.08 0.00 0.18 0.00 0.00 99.73 06:23:52 06:23:01 all 0.14 0.00 0.06 0.00 0.01 99.80 06:23:52 06:23:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:23:52 06:23:01 1 0.38 0.00 0.03 0.00 0.00 99.58 06:23:52 06:23:01 2 0.10 0.00 0.08 0.00 0.02 99.80 06:23:52 06:23:01 3 0.02 0.00 0.07 0.00 0.02 99.90 06:23:52 Average: all 0.74 0.00 0.46 0.09 0.03 98.68 06:23:52 Average: 0 0.64 0.00 0.52 0.04 0.03 98.77 06:23:52 Average: 1 0.94 0.00 0.42 0.09 0.03 98.52 06:23:52 Average: 2 0.64 0.00 0.39 0.21 0.03 98.73 06:23:52 Average: 3 0.72 0.00 0.51 0.04 0.03 98.70 06:23:52 06:23:52 06:23:52