Pull request #391 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 26f7976e83e717d42c4728cdd25427477ce9fa1e rather than 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 Obtained Jenkinsfile from 26f7976e83e717d42c4728cdd25427477ce9fa1e 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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/go-mod-core-contracts/branches/PR-391/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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/go-mod-core-contracts/branches/PR-391/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [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: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts 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-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15342 in /w/workspace/dry_go-mod-core-contracts_PR-391 [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/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-391 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 Merge succeeded, producing 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 Checking out Revision 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 (PR-391) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/391/head:refs/remotes/origin/PR-391 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 # 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 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 # timeout=10 Commit message: "feat(meta): Add V2 client for uploading device profile in YAML file" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:36:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:36:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:36:15 ========================================================= 06:36:15 EdgeX Global Pipelines Version Info 06:36:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:36:17 ------------------- 06:36:17 stable info: 06:36:17 ------------------- 06:36:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:36:17 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:36:17 Message: update stable to v1.0.172 06:36:18 ------------------- 06:36:18 experimental info: 06:36:18 ------------------- 06:36:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:36:18 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:36:18 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:36:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 06:36:18 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 06:36:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:36:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:36:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:36:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:36:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:36:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:36:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:36:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 06:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:36:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:36:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:36:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:36:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:36:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 06:36:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:36:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:36:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:36:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:36:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-391 [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-391 [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-391 [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b4ca27 [Pipeline] echo 06:36:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:23 + git log --format=format:%s -1 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 [Pipeline] echo 06:36:24 GIT_COMMIT: 1b4ca27c4744a9fd3025cb36abf69fbe33e15804, Commit Message: feat(meta): Add V2 client for uploading device profile in YAML file [Pipeline] echo 06:36:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:36:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:36:25 06:36:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:36:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:36:25 latest: Pulling from edgex-devops/git-semver 06:36:25 31603596830f: Pulling fs layer 06:36:25 2a8b12db71e7: Pulling fs layer 06:36:25 6ca5941a6612: Pulling fs layer 06:36:25 ecc8261a40a4: Pulling fs layer 06:36:25 ecc8261a40a4: Waiting 06:36:25 2a8b12db71e7: Verifying Checksum 06:36:25 2a8b12db71e7: Download complete 06:36:26 31603596830f: Download complete 06:36:26 6ca5941a6612: Verifying Checksum 06:36:26 6ca5941a6612: Download complete 06:36:26 ecc8261a40a4: Verifying Checksum 06:36:26 ecc8261a40a4: Download complete 06:36:26 31603596830f: Pull complete 06:36:26 2a8b12db71e7: Pull complete 06:36:27 6ca5941a6612: Pull complete 06:36:27 ecc8261a40a4: Pull complete 06:36:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:36:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:36:27 prd-centos7-docker-4c-2g-15342 does not seem to be running inside a container 06:36:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-391 -v /w/workspace/dry_go-mod-core-contracts_PR-391:/w/workspace/dry_go-mod-core-contracts_PR-391:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-391@tmp:/w/workspace/dry_go-mod-core-contracts_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:36:29 $ docker top 3999950ddcf8ebf008fd4800a2e45ee00329c5e1bb64f44ab233367f941852f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:36:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:30 [ssh-agent] Looking for ssh-agent implementation... 06:36:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:30 $ docker exec 3999950ddcf8ebf008fd4800a2e45ee00329c5e1bb64f44ab233367f941852f6 ssh-agent 06:36:30 SSH_AUTH_SOCK=/tmp/ssh-1gBPqInndpXg/agent.11 06:36:30 SSH_AGENT_PID=17 06:36:30 Running ssh-add (command line suppressed) 06:36:30 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-391@tmp/private_key_1017104578384537296.key (/w/workspace/dry_go-mod-core-contracts_PR-391@tmp/private_key_1017104578384537296.key) 06:36:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:31 + git tag --points-at HEAD [Pipeline] } 06:36:31 $ docker exec --env ******** --env ******** 3999950ddcf8ebf008fd4800a2e45ee00329c5e1bb64f44ab233367f941852f6 ssh-agent -k 06:36:31 unset SSH_AUTH_SOCK; 06:36:31 unset SSH_AGENT_PID; 06:36:31 echo Agent pid 17 killed; 06:36:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:36:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:31 [ssh-agent] Looking for ssh-agent implementation... 06:36:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:31 $ docker exec 3999950ddcf8ebf008fd4800a2e45ee00329c5e1bb64f44ab233367f941852f6 ssh-agent 06:36:32 SSH_AUTH_SOCK=/tmp/ssh-nxc4uoSSQ9n0/agent.47 06:36:32 SSH_AGENT_PID=53 06:36:32 Running ssh-add (command line suppressed) 06:36:32 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-391@tmp/private_key_7965183263190409466.key (/w/workspace/dry_go-mod-core-contracts_PR-391@tmp/private_key_7965183263190409466.key) 06:36:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:32 + git semver init 06:36:32 # -> Open(): unable to determine branch for HEAD 06:36:32 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-391/.git 06:36:32 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-391 06:36:32 # $SEMVER_REMOTE_NAME = origin 06:36:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:36:32 # $SEMVER_USER_NAME = edgex-jenkins 06:36:32 # $SEMVER_BRANCH = PR-391 06:36:32 # $SEMVER_TEMP = /tmp/semver-018559789 06:36:32 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 06:36:33 # '/tmp/semver-018559789' -> '/w/workspace/dry_go-mod-core-contracts_PR-391/.semver' 06:36:33 # -> Force: false 06:36:33 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-391/.semver [Pipeline] } 06:36:33 $ docker exec --env ******** --env ******** 3999950ddcf8ebf008fd4800a2e45ee00329c5e1bb64f44ab233367f941852f6 ssh-agent -k 06:36:33 unset SSH_AUTH_SOCK; 06:36:33 unset SSH_AGENT_PID; 06:36:33 echo Agent pid 53 killed; 06:36:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:36:33 + git semver [Pipeline] } 06:36:34 $ docker stop --time=1 3999950ddcf8ebf008fd4800a2e45ee00329c5e1bb64f44ab233367f941852f6 06:36:35 $ docker rm -f 3999950ddcf8ebf008fd4800a2e45ee00329c5e1bb64f44ab233367f941852f6 [Pipeline] // withDockerContainer [Pipeline] sh 06:36:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:36:36 Stashed 1 file(s) [Pipeline] echo 06:36:36 [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:36:52 Still waiting to schedule task 06:36:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:36:52 Still waiting to schedule task 06:36:52 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:39:04 Running on prd-centos7-docker-4c-2g-15344 in /w/workspace/dry_go-mod-core-contracts_PR-391 [Pipeline] { [Pipeline] ws 06:39:04 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 06:39:06 using credential edgex-jenkins-ssh 06:39:06 Cloning the remote Git repository 06:39:06 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:06 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 06:39:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:07 > git --version # timeout=10 06:39:07 > git --version # 'git version 2.24.3' 06:39:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:08 Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 06:39:08 Merge succeeded, producing 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 06:39:08 Checking out Revision 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 (PR-391) 06:39:07 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 06:39:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:07 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 06:39:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/391/head:refs/remotes/origin/PR-391 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:39:08 > git config core.sparsecheckout # timeout=10 06:39:08 > git checkout -f 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 # timeout=10 06:39:08 > git remote # timeout=10 06:39:08 > git config --get remote.origin.url # timeout=10 06:39:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:08 > git merge 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 06:39:08 > git rev-parse HEAD^{commit} # timeout=10 06:39:08 > git config core.sparsecheckout # timeout=10 06:39:08 > git checkout -f 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 # timeout=10 06:39:12 Commit message: "feat(meta): Add V2 client for uploading device profile in YAML file" 06:39:12 > git --version # timeout=10 06:39:12 > git --version # 'git version 2.24.3' 06:39:12 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:39:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:39:14 + true 06:39:14 + sudo service docker restart 06:39:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 06:39:15 ========================================================= 06:39:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:39:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:39:16 + 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:39:16 Sending build context to Docker daemon 1.934MB 06:39:16 Step 1/7 : ARG BASE=golang:1.15-alpine 06:39:16 Step 2/7 : FROM ${BASE} 06:39:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:39:16 188c0c94c7c5: Pulling fs layer 06:39:16 0ef7d3d256c8: Pulling fs layer 06:39:16 de9db76c5a1d: Pulling fs layer 06:39:16 bca2f99d35d6: Pulling fs layer 06:39:16 93359f2a8cfa: Pulling fs layer 06:39:16 7c6f9722023f: Pulling fs layer 06:39:16 a35cf1a2eb13: Pulling fs layer 06:39:16 93359f2a8cfa: Waiting 06:39:16 7c6f9722023f: Waiting 06:39:16 a35cf1a2eb13: Waiting 06:39:16 bca2f99d35d6: Waiting 06:39:16 de9db76c5a1d: Verifying Checksum 06:39:16 de9db76c5a1d: Download complete 06:39:16 0ef7d3d256c8: Verifying Checksum 06:39:16 0ef7d3d256c8: Download complete 06:39:16 93359f2a8cfa: Verifying Checksum 06:39:16 93359f2a8cfa: Download complete 06:39:16 188c0c94c7c5: Verifying Checksum 06:39:16 7c6f9722023f: Verifying Checksum 06:39:16 7c6f9722023f: Download complete 06:39:17 188c0c94c7c5: Pull complete 06:39:17 0ef7d3d256c8: Pull complete 06:39:17 de9db76c5a1d: Pull complete 06:39:18 a35cf1a2eb13: Verifying Checksum 06:39:18 a35cf1a2eb13: Download complete 06:39:19 bca2f99d35d6: Verifying Checksum 06:39:24 bca2f99d35d6: Pull complete 06:39:25 93359f2a8cfa: Pull complete 06:39:25 7c6f9722023f: Pull complete 06:39:29 a35cf1a2eb13: Pull complete 06:39:29 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:39:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:39:29 ---> a62c8e92a672 06:39:29 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:39:29 ---> Running in 88c7db101383 06:39:29 Removing intermediate container 88c7db101383 06:39:29 ---> dbbd281489ae 06:39:29 Step 4/7 : RUN apk add bash 06:39:29 ---> Running in 179247a323ab 06:39:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:39:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:39:31 OK: 166 MiB in 39 packages 06:39:31 Removing intermediate container 179247a323ab 06:39:31 ---> 72b9971f0159 06:39:31 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:39:31 ---> Running in 160a6072816d 06:39:31 Removing intermediate container 160a6072816d 06:39:31 ---> fac993c25056 06:39:31 Step 6/7 : COPY go.mod . 06:39:32 ---> 12376b29b9df 06:39:32 Step 7/7 : RUN go mod download 06:39:32 ---> Running in a648856c50fb 06:39:44 Removing intermediate container a648856c50fb 06:39:44 ---> 1ec12d9b2df1 06:39:44 Successfully built 1ec12d9b2df1 06:39:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:39:44 + docker inspect -f . ci-base-image-x86_64 06:39:44 . [Pipeline] withDockerContainer 06:39:44 prd-centos7-docker-4c-2g-15344 does not seem to be running inside a container 06:39:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/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 ******** -e ******** ci-base-image-x86_64 cat 06:39:45 $ docker top bbce771d402bd1a6d4101761d8d28e221f1436626cb9d74d8297d2b1d08d485d -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:46 + go version 06:39:46 go version go1.15.5 linux/amd64 [Pipeline] } 06:39:46 $ docker stop --time=1 bbce771d402bd1a6d4101761d8d28e221f1436626cb9d74d8297d2b1d08d485d 06:39:47 $ docker rm -f bbce771d402bd1a6d4101761d8d28e221f1436626cb9d74d8297d2b1d08d485d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:39:48 + docker inspect -f . ci-base-image-x86_64 06:39:48 . [Pipeline] withDockerContainer 06:39:49 prd-centos7-docker-4c-2g-15344 does not seem to be running inside a container 06:39:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/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 ******** -e ******** ci-base-image-x86_64 cat 06:39:49 $ docker top 48c6b9094da3659ccf4d1d747cc36d8334f0343adf20fa66b3fc625fc2255c89 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:50 + make test 06:39:50 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:39:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15343 in /w/workspace/dry_go-mod-core-contracts_PR-391 [Pipeline] { [Pipeline] ws 06:39:51 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 06:39:56 using credential edgex-jenkins-ssh 06:39:56 Cloning the remote Git repository 06:39:56 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:57 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 06:39:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.011s coverage: 85.7% of statements 06:39:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.015s coverage: 100.0% of statements 06:39:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.017s coverage: 45.4% of statements 06:39:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.011s coverage: 77.8% of statements 06:39:57 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 06:39:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.010s coverage: 6.6% of statements 06:39:56 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 06:39:56 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:56 > git --version # timeout=10 06:39:56 > git --version # 'git version 2.17.1' 06:39:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.020s coverage: 14.7% of statements 06:39:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.008s coverage: 100.0% of statements 06:39:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.033s coverage: 91.8% of statements 06:39:58 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 06:39:58 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 06:39:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.010s coverage: 100.0% of statements 06:39:58 Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 06:39:58 Merge succeeded, producing 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 06:39:58 Checking out Revision 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 (PR-391) 06:39:57 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 06:39:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:57 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 06:39:57 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/391/head:refs/remotes/origin/PR-391 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:39:58 > git config core.sparsecheckout # timeout=10 06:39:58 > git checkout -f 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 # timeout=10 06:39:58 > git remote # timeout=10 06:39:58 > git config --get remote.origin.url # timeout=10 06:39:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:58 > git merge 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 06:39:58 > git rev-parse HEAD^{commit} # timeout=10 06:39:58 > git config core.sparsecheckout # timeout=10 06:39:58 > git checkout -f 1b4ca27c4744a9fd3025cb36abf69fbe33e15804 # timeout=10 06:39:59 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.007s coverage: 47.8% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.018s coverage: 63.0% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.052s coverage: 26.3% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.018s coverage: 15.4% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.004s coverage: 15.4% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.019s coverage: 14.3% of statements 06:40:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.071s coverage: 81.2% of statements 06:40:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 06:40:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.014s coverage: 29.9% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.027s coverage: 100.0% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.020s coverage: 94.4% of statements 06:40:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 100.0% of statements 06:40:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 06:40:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:40:03 Commit message: "feat(meta): Add V2 client for uploading device profile in YAML file" 06:40:03 > git --version # timeout=10 06:40:03 > git --version # 'git version 2.17.1' 06:40:03 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:40:03 gofmt -l . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 06:40:03 [ "`gofmt -l .`" = "" ] [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } 06:40:04 $ docker stop --time=1 48c6b9094da3659ccf4d1d747cc36d8334f0343adf20fa66b3fc625fc2255c89 06:40:06 $ docker rm -f 48c6b9094da3659ccf4d1d747cc36d8334f0343adf20fa66b3fc625fc2255c89 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:07 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:40:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 06:40:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } 06:40:08 + sudo service docker restart 06:40:08 + true [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstash [Pipeline] echo 06:40:11 ========================================================= 06:40:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:40:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:40:11 + 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:40:12 Sending build context to Docker daemon 1.933MB 06:40:12 Step 1/7 : ARG BASE=golang:1.15-alpine 06:40:12 Step 2/7 : FROM ${BASE} 06:40:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:40:13 5f621e34cdf4: Pulling fs layer 06:40:13 a4357932f1b6: Pulling fs layer 06:40:13 18c013af1878: Pulling fs layer 06:40:13 00ac8860ef70: Pulling fs layer 06:40:13 63d7cb157983: Pulling fs layer 06:40:13 b116817d02f9: Pulling fs layer 06:40:13 745a02a5169b: Pulling fs layer 06:40:13 00ac8860ef70: Waiting 06:40:13 63d7cb157983: Waiting 06:40:13 b116817d02f9: Waiting 06:40:13 18c013af1878: Verifying Checksum 06:40:13 18c013af1878: Download complete 06:40:13 a4357932f1b6: Verifying Checksum 06:40:13 a4357932f1b6: Download complete 06:40:13 63d7cb157983: Verifying Checksum 06:40:13 63d7cb157983: Download complete 06:40:13 b116817d02f9: Verifying Checksum 06:40:13 b116817d02f9: Download complete 06:40:13 5f621e34cdf4: Verifying Checksum 06:40:13 5f621e34cdf4: Download complete 06:40:14 5f621e34cdf4: Pull complete 06:40:15 a4357932f1b6: Pull complete 06:40:15 18c013af1878: Pull complete 06:40:15 745a02a5169b: Verifying Checksum 06:40:15 745a02a5169b: Download complete 06:40:17 00ac8860ef70: Verifying Checksum 06:40:17 00ac8860ef70: Download complete 06:40:27 00ac8860ef70: Pull complete 06:40:27 63d7cb157983: Pull complete 06:40:27 b116817d02f9: Pull complete 06:40:31 745a02a5169b: Pull complete 06:40:31 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:40:31 ---> b7e6874047d6 06:40:31 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:40:34 ---> Running in bf1a6bb69112 06:40:34 Removing intermediate container bf1a6bb69112 06:40:34 ---> dad5547a0de5 06:40:34 Step 4/7 : RUN apk add bash 06:40:35 ---> Running in d778f956bf94 06:40:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:40:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:40:38 OK: 142 MiB in 39 packages 06:40:39 Removing intermediate container d778f956bf94 06:40:39 ---> 214ea0429a07 06:40:39 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:40:39 ---> Running in b70c5e88736e 06:40:39 Removing intermediate container b70c5e88736e 06:40:39 ---> 53bc502446f2 06:40:39 Step 6/7 : COPY go.mod . 06:40:40 ---> 5ed18631ca33 06:40:40 Step 7/7 : RUN go mod download 06:40:40 ---> Running in 57424b33a65b 06:40:55 Removing intermediate container 57424b33a65b 06:40:55 ---> fce372096c0d 06:40:55 Successfully built fce372096c0d 06:40:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:40:56 + docker inspect -f . ci-base-image-arm64 06:40:56 . [Pipeline] withDockerContainer 06:40:56 prd-ubuntu18.04-docker-arm64-4c-16g-15343 does not seem to be running inside a container 06:40:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/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 ******** -e ******** ci-base-image-arm64 cat 06:40:58 $ docker top 9caf364e1b6559a8d47af2eec558ae5d488934800d135ab1fa59a05f21b3fa1d -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:59 + go version 06:40:59 go version go1.15.5 linux/arm64 [Pipeline] } 06:40:59 $ docker stop --time=1 9caf364e1b6559a8d47af2eec558ae5d488934800d135ab1fa59a05f21b3fa1d 06:41:01 $ docker rm -f 9caf364e1b6559a8d47af2eec558ae5d488934800d135ab1fa59a05f21b3fa1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:41:02 + docker inspect -f . ci-base-image-arm64 06:41:02 . [Pipeline] withDockerContainer 06:41:02 prd-ubuntu18.04-docker-arm64-4c-16g-15343 does not seem to be running inside a container 06:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/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 ******** -e ******** ci-base-image-arm64 cat 06:41:04 $ docker top b4cb83dfff725c21ea7c5ef82efcf90636d44624c6efc001658f22fe96440266 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:05 + make test 06:41:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:41:27 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 06:41:27 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.023s coverage: 85.7% of statements 06:41:27 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.032s coverage: 100.0% of statements 06:41:29 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.038s coverage: 45.4% of statements 06:41:29 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.036s coverage: 77.8% of statements 06:41:29 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 06:41:29 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.038s coverage: 6.6% of statements 06:41:30 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.083s coverage: 14.7% of statements 06:41:30 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.066s coverage: 100.0% of statements 06:41:32 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.087s coverage: 91.8% of statements 06:41:32 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 06:41:32 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 06:41:32 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.022s coverage: 100.0% of statements 06:41:32 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.033s coverage: 47.8% of statements 06:41:38 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.089s coverage: 63.0% of statements 06:41:38 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.010s coverage: 26.3% of statements 06:41:38 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.043s coverage: 15.4% of statements 06:41:38 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.020s coverage: 15.4% of statements 06:41:38 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.033s coverage: 14.3% of statements 06:41:38 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 06:41:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.063s coverage: 81.2% of statements 06:41:39 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 06:41:39 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 06:41:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.027s coverage: 29.9% of statements 06:41:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.023s coverage: 100.0% of statements 06:41:40 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.057s coverage: 94.4% of statements 06:41:40 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.021s coverage: 100.0% of statements 06:41:40 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 06:41:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:41:46 gofmt -l . 06:41:46 [ "`gofmt -l .`" = "" ] [Pipeline] } 06:41:46 $ docker stop --time=1 b4cb83dfff725c21ea7c5ef82efcf90636d44624c6efc001658f22fe96440266 06:41:48 $ docker rm -f b4cb83dfff725c21ea7c5ef82efcf90636d44624c6efc001658f22fe96440266 [Pipeline] // withDockerContainer [Pipeline] sh 06:41:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:41:49 Warning: overwriting stash ‘coverage-report’ 06:41:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:41:55 provisioning config files... 06:41:55 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-391@tmp/config6720801859668977995tmp [Pipeline] { [Pipeline] sh 06:41:55 + set +x 06:41:55 + curl -s https://codecov.io/bash 06:41:55 + bash -s -- 06:41:56 06:41:56 _____ _ 06:41:56 / ____| | | 06:41:56 | | ___ __| | ___ ___ _____ __ 06:41:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:41:56 | |___| (_) | (_| | __/ (_| (_) \ V / 06:41:56 \_____\___/ \__,_|\___|\___\___/ \_/ 06:41:56 Bash-20201130-cc6d3fe 06:41:56 06:41:56 06:41:56 ==> Jenkins CI detected. 06:41:56 project root: . 06:41:56 --> token set from env 06:41:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:41:56 ==> Running gcov in . (disable via -X gcov) 06:41:56 ==> Python coveragepy not found 06:41:56 ==> Searching for coverage reports in: 06:41:56 + . 06:41:56 -> Found 1 reports 06:41:56 ==> Detecting git/mercurial file structure 06:41:56 ==> Reading reports 06:41:56 + ./coverage.out bytes=107907 06:41:56 ==> Appending adjustments 06:41:56 https://docs.codecov.io/docs/fixing-reports 06:41:57 + Found adjustments 06:41:57 ==> Gzipping contents 06:41:57 20K /tmp/codecov.OB8meF.gz 06:41:57 ==> Uploading reports 06:41:57 url: https://codecov.io 06:41:57 query: branch=PR-391&commit=1b4ca27c4744a9fd3025cb36abf69fbe33e15804&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=391&job=&cmd_args= 06:41:57 -> Pinging Codecov 06:41:57 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-391&commit=1b4ca27c4744a9fd3025cb36abf69fbe33e15804&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=391&job=&cmd_args= 06:41:57 -> Uploading to 06:41:57 https://storage.googleapis.com/codecov/v4/raw/2020-12-10/71470A77251A30514AAF9C0BB2E5B6CE/1b4ca27c4744a9fd3025cb36abf69fbe33e15804/3b8e41a9-08b2-4acb-9d4c-127ea1dbec56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201210T064157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b2d90873b5d6334c057057cecf0fe78d9adf3bc173c68928a0e921b51f8175f 06:41:57 % Total % Received % Xferd Average Speed Time Time Time Current 06:41:57 Dload Upload Total Spent Left Speed 06:41:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17535 0 0 100 17535 0 43269 --:--:-- --:--:-- --:--:-- 43189 100 17535 0 0 100 17535 0 43249 --:--:-- --:--:-- --:--:-- 43189 06:41:57 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/1b4ca27c4744a9fd3025cb36abf69fbe33e15804 [Pipeline] } 06:41:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:42:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:42:02 ---> package-listing.sh 06:42:02 ++ facter osfamily 06:42:02 ++ tr '[:upper:]' '[:lower:]' 06:42:02 + OS_FAMILY=redhat 06:42:02 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-391 06:42:02 + START_PACKAGES=/tmp/packages_start.txt 06:42:02 + END_PACKAGES=/tmp/packages_end.txt 06:42:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:42:02 + PACKAGES=/tmp/packages_start.txt 06:42:02 + '[' /w/workspace/dry_go-mod-core-contracts_PR-391 ']' 06:42:02 + PACKAGES=/tmp/packages_end.txt 06:42:02 + case "${OS_FAMILY}" in 06:42:02 + rpm -qa 06:42:02 + sort 06:42:06 + '[' -f /tmp/packages_start.txt ']' 06:42:06 + '[' -f /tmp/packages_end.txt ']' 06:42:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:42:06 + '[' /w/workspace/dry_go-mod-core-contracts_PR-391 ']' 06:42:06 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-391/archives/ 06:42:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-391/archives/ [Pipeline] echo 06:42:06 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/dry_go-mod-core-contracts_PR-391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:42:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:42:07 06:42:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:42:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:42:07 alpine: Pulling from edgex-lftools-log-publisher 06:42:07 df20fa9351a1: Pulling fs layer 06:42:07 36b3adc4ff6f: Pulling fs layer 06:42:07 8ad3a11d3b57: Pulling fs layer 06:42:07 46f8f816bc3b: Pulling fs layer 06:42:07 93b61091891f: Pulling fs layer 06:42:07 93b9cdb0e59b: Pulling fs layer 06:42:07 5e14af77c1be: Pulling fs layer 06:42:07 01666e4c0597: Pulling fs layer 06:42:07 aa168da1d23b: Pulling fs layer 06:42:07 46f8f816bc3b: Waiting 06:42:07 93b61091891f: Waiting 06:42:07 01666e4c0597: Waiting 06:42:07 5e14af77c1be: Waiting 06:42:07 aa168da1d23b: Waiting 06:42:07 93b9cdb0e59b: Waiting 06:42:07 36b3adc4ff6f: Download complete 06:42:07 46f8f816bc3b: Verifying Checksum 06:42:07 46f8f816bc3b: Download complete 06:42:07 df20fa9351a1: Verifying Checksum 06:42:07 df20fa9351a1: Download complete 06:42:08 93b9cdb0e59b: Verifying Checksum 06:42:08 93b9cdb0e59b: Download complete 06:42:08 5e14af77c1be: Verifying Checksum 06:42:08 5e14af77c1be: Download complete 06:42:08 01666e4c0597: Download complete 06:42:08 93b61091891f: Verifying Checksum 06:42:08 93b61091891f: Download complete 06:42:08 df20fa9351a1: Pull complete 06:42:08 36b3adc4ff6f: Pull complete 06:42:09 8ad3a11d3b57: Verifying Checksum 06:42:09 8ad3a11d3b57: Download complete 06:42:09 8ad3a11d3b57: Pull complete 06:42:09 46f8f816bc3b: Pull complete 06:42:10 aa168da1d23b: Verifying Checksum 06:42:10 aa168da1d23b: Download complete 06:42:11 93b61091891f: Pull complete 06:42:11 93b9cdb0e59b: Pull complete 06:42:11 5e14af77c1be: Pull complete 06:42:11 01666e4c0597: Pull complete 06:42:19 aa168da1d23b: Pull complete 06:42:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:42:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:42:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:42:19 prd-centos7-docker-4c-2g-15342 does not seem to be running inside a container 06:42:19 $ 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/dry_go-mod-core-contracts_PR-391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-391 -v /w/workspace/dry_go-mod-core-contracts_PR-391:/w/workspace/dry_go-mod-core-contracts_PR-391:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-391@tmp:/w/workspace/dry_go-mod-core-contracts_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:42:23 $ docker top 07476c0ef24d2fcc5375e6cf5fc2676beb3917a164007a1cd24db99f6321c53c -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:23 + touch /tmp/pre-build-complete [Pipeline] sh 06:42:24 + mkdir -p /var/log/sa [Pipeline] sh 06:42:24 + ls /var/log/sa-host 06:42:24 + sadf -c /var/log/sa-host/sa10 06:42:24 file_magic: OK 06:42:24 HZ: Using current value: 100 06:42:24 file_header: OK 06:42:24 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:42:24 Statistics: 06:42:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:42:24 File successfully converted to sysstat format version 12.2.1 06:42:24 + sadf -c /var/log/sa-host/sa23 06:42:24 file_magic: OK 06:42:24 HZ: Using current value: 100 06:42:24 file_header: OK 06:42:24 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:42:24 Statistics: 06:42:24 Hnuu...uuuununununu... 06:42:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:25 provisioning config files... 06:42:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-391@tmp/config6041774918840769314tmp [Pipeline] { [Pipeline] echo 06:42:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:42:25 ---> create-netrc.sh [Pipeline] } 06:42:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:42:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:42:26 ---> python-tools-install.sh [Pipeline] echo 06:42:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:42:26 ---> sudo-logs.sh 06:42:26 Archiving 'sudo' log.. [Pipeline] echo 06:42:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:42:26 ---> job-cost.sh 06:42:26 lf-activate-venv: SKIPPING 06:42:26 INFO: No Stack... 06:42:27 INFO: Retrieving Pricing Info for: v1-standard-2 06:42:28 INFO: Archiving Costs [Pipeline] echo 06:42:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:42:28 ---> logs-deploy.sh 06:42:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-391/1 06:42:28 INFO: archiving workspace using pattern(s): 06:42:30 Archives upload complete. 06:42:31 INFO: archiving logs to Nexus 06:42:32 ---> uname -a: 06:42:32 Linux prd-centos7-docker-4c-2g-15342.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:42:32 06:42:32 06:42:32 ---> lscpu: 06:42:32 Architecture: x86_64 06:42:32 CPU op-mode(s): 32-bit, 64-bit 06:42:32 Byte Order: Little Endian 06:42:32 Address sizes: 40 bits physical, 48 bits virtual 06:42:32 CPU(s): 4 06:42:32 On-line CPU(s) list: 0-3 06:42:32 Thread(s) per core: 1 06:42:32 Core(s) per socket: 1 06:42:32 Socket(s): 4 06:42:32 NUMA node(s): 1 06:42:32 Vendor ID: GenuineIntel 06:42:32 CPU family: 6 06:42:32 Model: 44 06:42:32 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:42:32 Stepping: 1 06:42:32 CPU MHz: 2933.436 06:42:32 BogoMIPS: 5866.87 06:42:32 Virtualization: VT-x 06:42:32 Hypervisor vendor: KVM 06:42:32 Virtualization type: full 06:42:32 L1d cache: 128 KiB 06:42:32 L1i cache: 128 KiB 06:42:32 L2 cache: 16 MiB 06:42:32 L3 cache: 64 MiB 06:42:32 NUMA node0 CPU(s): 0-3 06:42:32 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:42:32 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:42:32 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:42:32 Vulnerability Meltdown: Mitigation; PTI 06:42:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:42:32 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:42:32 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:42:32 Vulnerability Srbds: Not affected 06:42:32 Vulnerability Tsx async abort: Not affected 06:42:32 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:42:32 06:42:32 06:42:32 ---> nproc: 06:42:32 4 06:42:32 06:42:32 06:42:32 ---> df -h: 06:42:32 Filesystem Size Used Available Use% Mounted on 06:42:32 overlay 50.0G 7.3G 42.7G 15% / 06:42:32 tmpfs 64.0M 0 64.0M 0% /dev 06:42:32 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:42:32 shm 64.0M 0 64.0M 0% /dev/shm 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dry_go-mod-core-contracts_PR-391 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dry_go-mod-core-contracts_PR-391@tmp 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:42:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:42:32 06:42:32 06:42:32 ---> free -m: 06:42:32 total used free shared buff/cache available 06:42:32 Mem: 1837 698 101 0 1037 1034 06:42:32 Swap: 1023 1 1022 06:42:32 06:42:32 06:42:32 ---> ip addr: 06:42:32 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:42:32 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:42:32 inet 127.0.0.1/8 scope host lo 06:42:32 valid_lft forever preferred_lft forever 06:42:32 inet6 ::1/128 scope host 06:42:32 valid_lft forever preferred_lft forever 06:42:32 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:42:32 link/ether fa:16:3e:c4:e6:7e brd ff:ff:ff:ff:ff:ff 06:42:32 inet 10.30.123.190/23 brd 10.30.123.255 scope global dynamic eth0 06:42:32 valid_lft 85990sec preferred_lft 85990sec 06:42:32 inet6 fe80::f816:3eff:fec4:e67e/64 scope link 06:42:32 valid_lft forever preferred_lft forever 06:42:32 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:42:32 link/ether 02:42:6e:3b:07:65 brd ff:ff:ff:ff:ff:ff 06:42:32 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:42:32 valid_lft forever preferred_lft forever 06:42:32 inet6 fe80::42:6eff:fe3b:765/64 scope link 06:42:32 valid_lft forever preferred_lft forever 06:42:32 06:42:32 06:42:32 ---> sar -b -r -n DEV: 06:42:32 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/10/20 _x86_64_ (4 CPU) 06:42:32 06:42:32 06:35:30 LINUX RESTART (4 CPU) 06:42:32 06:42:32 06:36:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:42:32 06:37:01 58.02 16.81 41.21 0.00 4989.20 3843.59 0.00 06:42:32 06:38:01 2.08 0.00 2.08 0.00 0.00 42.70 0.00 06:42:32 06:39:01 0.20 0.00 0.20 0.00 0.00 2.03 0.00 06:42:32 06:40:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 06:42:32 06:41:01 0.20 0.00 0.20 0.00 0.00 2.75 0.00 06:42:32 06:42:01 0.65 0.12 0.53 0.00 11.59 13.57 0.00 06:42:32 Average: 10.11 2.78 7.32 0.00 822.08 642.56 0.00 06:42:32 06:42:32 06:36:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:42:32 06:37:01 148640 0 595484 31.65 2620 1134800 1120240 38.23 396940 1134992 136 06:42:32 06:38:01 156544 0 587572 31.23 2620 1134808 1078448 36.81 398716 1126420 20 06:42:32 06:39:01 156376 0 587736 31.24 2620 1134812 1078448 36.81 397156 1128008 8 06:42:32 06:40:01 154032 0 590080 31.36 2620 1134812 1078640 36.81 409464 1118496 16 06:42:32 06:41:01 153904 0 590144 31.36 2620 1134876 1078448 36.81 407700 1120560 28 06:42:32 06:42:01 151900 0 591724 31.45 2620 1135300 1078616 36.81 417348 1112556 40 06:42:32 Average: 153566 0 590457 31.38 2620 1134901 1085473 37.05 404554 1123505 41 06:42:32 06:42:32 06:36:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:42:32 06:37:01 eth0 492.36 291.20 1063.44 89.26 0.00 0.00 0.00 0.00 06:42:32 06:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:37:01 docker0 6.26 4.67 1.36 14.01 0.00 0.00 0.00 0.00 06:42:32 06:38:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:42:32 06:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:39:01 eth0 1.27 0.08 0.11 0.01 0.00 0.00 0.00 0.00 06:42:32 06:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:40:01 eth0 0.92 0.60 0.53 0.39 0.00 0.00 0.00 0.00 06:42:32 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:41:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:42:32 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:42:01 eth0 5.26 3.58 4.94 1.99 0.00 0.00 0.00 0.00 06:42:32 06:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 Average: eth0 82.22 48.61 175.75 15.07 0.00 0.00 0.00 0.00 06:42:32 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 Average: docker0 1.03 0.77 0.22 2.30 0.00 0.00 0.00 0.00 06:42:32 06:42:32