Branch indexing 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 693df338c8eb598b828fcdb5998037a9ff32d047 rather than 25a4917d5544e6bcde1447309bf18add20eb9278 Obtained Jenkinsfile from 693df338c8eb598b828fcdb5998037a9ff32d047 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [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: pre 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 SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-23577 in /w/workspace/dry_go-mod-core-contracts_PR-462 [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-462 # 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 693df338c8eb598b828fcdb5998037a9ff32d047 into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 Merge succeeded, producing 5b80684b4aa8a715372abee27686f8f00bcb3c11 Checking out Revision 5b80684b4aa8a715372abee27686f8f00bcb3c11 (PR-462) > 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/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # 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 693df338c8eb598b828fcdb5998037a9ff32d047 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b80684b4aa8a715372abee27686f8f00bcb3c11 # timeout=10 Commit message: "Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD" > git rev-list --no-walk 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:38:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:38:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:38:22 ========================================================= 00:38:22 EdgeX Global Pipelines Version Info 00:38:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:38:24 ------------------- 00:38:24 stable info: 00:38:24 ------------------- 00:38:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:38:24 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:38:24 Message: update stable to v1.0.179 00:38:24 ------------------- 00:38:24 experimental info: 00:38:24 ------------------- 00:38:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:38:24 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:38:24 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:38:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:38:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-462 [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-462 [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-462 [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b80684b4aa8a715372abee27686f8f00bcb3c11 [Pipeline] echo 00:38:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b80684 [Pipeline] echo 00:38:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:38:28 + git log --format=format:%s -1 5b80684b4aa8a715372abee27686f8f00bcb3c11 [Pipeline] echo 00:38:28 GIT_COMMIT: 5b80684b4aa8a715372abee27686f8f00bcb3c11, Commit Message: Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD [Pipeline] echo 00:38:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:38:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:29 00:38:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:38:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:30 latest: Pulling from edgex-devops/git-semver 00:38:30 31603596830f: Pulling fs layer 00:38:30 2a8b12db71e7: Pulling fs layer 00:38:30 6ca5941a6612: Pulling fs layer 00:38:30 ecc8261a40a4: Pulling fs layer 00:38:30 ecc8261a40a4: Waiting 00:38:30 2a8b12db71e7: Verifying Checksum 00:38:30 2a8b12db71e7: Download complete 00:38:30 31603596830f: Download complete 00:38:30 ecc8261a40a4: Verifying Checksum 00:38:30 ecc8261a40a4: Download complete 00:38:30 6ca5941a6612: Verifying Checksum 00:38:30 6ca5941a6612: Download complete 00:38:30 31603596830f: Pull complete 00:38:31 2a8b12db71e7: Pull complete 00:38:32 6ca5941a6612: Pull complete 00:38:32 ecc8261a40a4: Pull complete 00:38:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:38:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:38:33 prd-centos7-docker-4c-2g-23577 does not seem to be running inside a container 00:38:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-462 -v /w/workspace/dry_go-mod-core-contracts_PR-462:/w/workspace/dry_go-mod-core-contracts_PR-462:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-462@tmp:/w/workspace/dry_go-mod-core-contracts_PR-462@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:38:35 $ docker top c4fa232331f7a20c5fe499c48857a9ebe8f89dbc86d308e635f7c9c14159ed14 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:38:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:35 [ssh-agent] Looking for ssh-agent implementation... 00:38:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:35 $ docker exec c4fa232331f7a20c5fe499c48857a9ebe8f89dbc86d308e635f7c9c14159ed14 ssh-agent 00:38:36 SSH_AUTH_SOCK=/tmp/ssh-85TVpN6B8ohn/agent.12 00:38:36 SSH_AGENT_PID=17 00:38:36 Running ssh-add (command line suppressed) 00:38:36 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_8850133502774630619.key (/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_8850133502774630619.key) 00:38:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:36 + git tag --points-at HEAD [Pipeline] } 00:38:36 $ docker exec --env ******** --env ******** c4fa232331f7a20c5fe499c48857a9ebe8f89dbc86d308e635f7c9c14159ed14 ssh-agent -k 00:38:36 unset SSH_AUTH_SOCK; 00:38:36 unset SSH_AGENT_PID; 00:38:36 echo Agent pid 17 killed; 00:38:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:38:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:37 [ssh-agent] Looking for ssh-agent implementation... 00:38:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:37 $ docker exec c4fa232331f7a20c5fe499c48857a9ebe8f89dbc86d308e635f7c9c14159ed14 ssh-agent 00:38:37 SSH_AUTH_SOCK=/tmp/ssh-USxC2L39vhkq/agent.46 00:38:37 SSH_AGENT_PID=51 00:38:37 Running ssh-add (command line suppressed) 00:38:37 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_706274423372823922.key (/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_706274423372823922.key) 00:38:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:38 + git semver init 00:38:38 # -> Open(): unable to determine branch for HEAD 00:38:38 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-462/.git 00:38:38 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-462 00:38:38 # $SEMVER_REMOTE_NAME = origin 00:38:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:38:38 # $SEMVER_USER_NAME = edgex-jenkins 00:38:38 # $SEMVER_BRANCH = PR-462 00:38:38 # $SEMVER_TEMP = /tmp/semver-012553864 00:38:38 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 00:38:39 # '/tmp/semver-012553864' -> '/w/workspace/dry_go-mod-core-contracts_PR-462/.semver' 00:38:39 # -> Force: false 00:38:39 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-462/.semver [Pipeline] } 00:38:39 $ docker exec --env ******** --env ******** c4fa232331f7a20c5fe499c48857a9ebe8f89dbc86d308e635f7c9c14159ed14 ssh-agent -k 00:38:39 unset SSH_AUTH_SOCK; 00:38:39 unset SSH_AGENT_PID; 00:38:39 echo Agent pid 51 killed; 00:38:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:38:40 + git semver [Pipeline] } 00:38:40 $ docker stop --time=1 c4fa232331f7a20c5fe499c48857a9ebe8f89dbc86d308e635f7c9c14159ed14 00:38:41 $ docker rm -f c4fa232331f7a20c5fe499c48857a9ebe8f89dbc86d308e635f7c9c14159ed14 [Pipeline] // withDockerContainer [Pipeline] sh 00:38:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:38:43 Stashed 1 file(s) [Pipeline] echo 00:38:43 [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 00:38:58 Still waiting to schedule task 00:38:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:38:58 Still waiting to schedule task 00:38:58 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:41:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23585 in /w/workspace/dry_go-mod-core-contracts_PR-462 [Pipeline] { [Pipeline] ws 00:41:32 Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout 00:41:37 using credential edgex-jenkins-ssh 00:41:37 Cloning the remote Git repository 00:41:38 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:41:38 > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 00:41:38 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:41:38 > git --version # timeout=10 00:41:38 > git --version # 'git version 2.17.1' 00:41:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:41:39 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:41:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:41:39 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:41:39 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:41:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:41:40 Merging remotes/origin/master commit 693df338c8eb598b828fcdb5998037a9ff32d047 into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 00:41:40 Merge succeeded, producing 3bbfc643fef10ff69fe892ecef2a9d9f99b21cef 00:41:40 Checking out Revision 3bbfc643fef10ff69fe892ecef2a9d9f99b21cef (PR-462) 00:41:40 > git config core.sparsecheckout # timeout=10 00:41:40 > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 00:41:40 > git remote # timeout=10 00:41:40 > git config --get remote.origin.url # timeout=10 00:41:40 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:40 > git merge 693df338c8eb598b828fcdb5998037a9ff32d047 # timeout=10 00:41:40 > git rev-parse HEAD^{commit} # timeout=10 00:41:40 > git config core.sparsecheckout # timeout=10 00:41:40 > git checkout -f 3bbfc643fef10ff69fe892ecef2a9d9f99b21cef # timeout=10 00:41:45 Commit message: "Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD" 00:41:45 > git rev-list --no-walk 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:41:46 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:41:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:41:47 + sudo service docker restart 00:41:47 + true [Pipeline] unstash [Pipeline] echo 00:41:50 ========================================================= 00:41:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:41:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:41:50 + 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 . 00:41:51 Sending build context to Docker daemon 2.434MB 00:41:51 Step 1/7 : ARG BASE=golang:1.15-alpine 00:41:51 Step 2/7 : FROM ${BASE} 00:41:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:41:52 5f621e34cdf4: Pulling fs layer 00:41:52 a4357932f1b6: Pulling fs layer 00:41:52 18c013af1878: Pulling fs layer 00:41:52 00ac8860ef70: Pulling fs layer 00:41:52 63d7cb157983: Pulling fs layer 00:41:52 b116817d02f9: Pulling fs layer 00:41:52 745a02a5169b: Pulling fs layer 00:41:52 63d7cb157983: Waiting 00:41:52 00ac8860ef70: Waiting 00:41:52 b116817d02f9: Waiting 00:41:52 745a02a5169b: Waiting 00:41:52 18c013af1878: Verifying Checksum 00:41:52 18c013af1878: Download complete 00:41:52 a4357932f1b6: Verifying Checksum 00:41:52 a4357932f1b6: Download complete 00:41:52 63d7cb157983: Download complete 00:41:52 b116817d02f9: Verifying Checksum 00:41:52 b116817d02f9: Download complete 00:41:53 5f621e34cdf4: Verifying Checksum 00:41:53 5f621e34cdf4: Download complete 00:41:53 5f621e34cdf4: Pull complete 00:41:54 a4357932f1b6: Pull complete 00:41:54 18c013af1878: Pull complete 00:41:55 745a02a5169b: Verifying Checksum 00:41:55 745a02a5169b: Download complete 00:41:57 00ac8860ef70: Verifying Checksum 00:41:57 00ac8860ef70: Download complete 00:42:08 00ac8860ef70: Pull complete 00:42:08 63d7cb157983: Pull complete 00:42:08 b116817d02f9: Pull complete 00:42:11 745a02a5169b: Pull complete 00:42:11 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:42:11 ---> b7e6874047d6 00:42:11 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:42:14 ---> Running in c90b6a9f75ca 00:42:14 Removing intermediate container c90b6a9f75ca 00:42:14 ---> 2b05f5b28cb5 00:42:14 Step 4/7 : RUN apk add bash 00:42:14 ---> Running in ee54dbdd282f 00:42:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:42:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:42:19 OK: 142 MiB in 39 packages 00:42:20 Removing intermediate container ee54dbdd282f 00:42:20 ---> 4ee47f845f09 00:42:20 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:42:20 ---> Running in ce11e65a2c8f 00:42:21 Removing intermediate container ce11e65a2c8f 00:42:21 ---> d57eb7325ac3 00:42:21 Step 6/7 : COPY go.mod . 00:42:21 ---> a785060fab41 00:42:21 Step 7/7 : RUN go mod download 00:42:22 ---> Running in a88c9501cf7c 00:42:37 Removing intermediate container a88c9501cf7c 00:42:37 ---> 5d768640d654 00:42:37 Successfully built 5d768640d654 00:42:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:42:37 + docker inspect -f . ci-base-image-arm64 00:42:37 . [Pipeline] withDockerContainer 00:42:37 prd-ubuntu18.04-docker-arm64-4c-16g-23585 does not seem to be running inside a container 00:42:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:42:39 $ docker top e86904e44cb133fc363a81695e856be39f52c2744c3bc7ed107207ba67b18e20 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:40 + go version 00:42:40 go version go1.15.5 linux/arm64 [Pipeline] } 00:42:40 $ docker stop --time=1 e86904e44cb133fc363a81695e856be39f52c2744c3bc7ed107207ba67b18e20 00:42:42 $ docker rm -f e86904e44cb133fc363a81695e856be39f52c2744c3bc7ed107207ba67b18e20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:42:43 + docker inspect -f . ci-base-image-arm64 00:42:43 . [Pipeline] withDockerContainer 00:42:43 prd-ubuntu18.04-docker-arm64-4c-16g-23585 does not seem to be running inside a container 00:42:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:42:45 $ docker top fe8a3181466c86ed58fce6d26a91ee4f9848c27ee2067b63c56edaad4b92585f -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:46 + make test 00:42:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:43:13 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 00:43:13 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.038s coverage: 85.7% of statements 00:43:13 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.035s coverage: 100.0% of statements 00:43:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.060s coverage: 45.4% of statements 00:43:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.038s coverage: 77.8% of statements 00:43:14 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 00:43:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.032s coverage: 26.3% of statements 00:43:18 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.047s coverage: 14.7% of statements 00:43:18 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.028s coverage: 100.0% of statements 00:43:19 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.095s coverage: 91.8% of statements 00:43:19 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 00:43:19 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 00:43:19 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.013s coverage: 100.0% of statements 00:43:19 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.028s coverage: 36.7% of statements 00:43:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.102s coverage: 63.0% of statements 00:43:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.011s coverage: 26.3% of statements 00:43:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.027s coverage: 15.4% of statements 00:43:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.058s coverage: 15.4% of statements 00:43:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.014s coverage: 14.3% of statements 00:43:24 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 00:43:27 --- FAIL: TestWriteCommand (0.00s) 00:43:27 panic: reflect: call of reflect.Value.Elem on map Value [recovered] 00:43:27 panic: reflect: call of reflect.Value.Elem on map Value 00:43:27 00:43:27 goroutine 262 [running]: 00:43:27 testing.tRunner.func1.1(0x31f120, 0x4000356a60) 00:43:27 /usr/local/go/src/testing/testing.go:1072 +0x240 00:43:27 testing.tRunner.func1(0x400037a300) 00:43:27 /usr/local/go/src/testing/testing.go:1075 +0x34c 00:43:27 panic(0x31f120, 0x4000356a60) 00:43:27 /usr/local/go/src/runtime/panic.go:969 +0x15c 00:43:27 reflect.Value.Elem(0x323ba0, 0x0, 0x15, 0x400033d400, 0x400005ab01, 0xffff6b8aed01) 00:43:27 /usr/local/go/src/reflect/value.go:843 +0x198 00:43:27 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.setApiVersion(0x323ba0, 0x0) 00:43:27 /w/workspace/go-mod-core-contracts/5/v2/clients/http/utils/request.go:37 +0xb0 00:43:27 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.PutRequest(0x4060e0, 0x400001a150, 0x300f40, 0x4000342fc0, 0x4000582000, 0x40, 0x323ba0, 0x0, 0xf, 0x4000378240) 00:43:27 /w/workspace/go-mod-core-contracts/5/v2/clients/http/utils/request.go:84 +0x30 00:43:27 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.(*deviceServiceCommandClient).WriteCommand(0x4000333840, 0x4060e0, 0x400001a150, 0x38d355, 0xa, 0x38d99b, 0xb, 0x0, 0x0, 0x0, ...) 00:43:27 /w/workspace/go-mod-core-contracts/5/v2/clients/http/deviceservicecommand.go:48 +0x188 00:43:27 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.TestWriteCommand(0x400037a300) 00:43:27 /w/workspace/go-mod-core-contracts/5/v2/clients/http/deviceservicecommand_test.go:65 +0x244 00:43:27 testing.tRunner(0x400037a300, 0x3a9180) 00:43:27 /usr/local/go/src/testing/testing.go:1123 +0xdc 00:43:27 created by testing.(*T).Run 00:43:27 /usr/local/go/src/testing/testing.go:1168 +0x244 00:43:27 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.187s 00:43:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils 0.044s coverage: 6.6% of statements 00:43:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 00:43:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 00:43:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.028s coverage: 43.6% of statements 00:43:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.029s coverage: 89.5% of statements 00:43:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.125s coverage: 90.7% of statements 00:43:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.024s coverage: 100.0% of statements 00:43:30 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 00:43:30 FAIL 00:43:30 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:43:30 $ docker stop --time=1 fe8a3181466c86ed58fce6d26a91ee4f9848c27ee2067b63c56edaad4b92585f 00:43:33 $ docker rm -f fe8a3181466c86ed58fce6d26a91ee4f9848c27ee2067b63c56edaad4b92585f [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] } 00:43:34 Failed in branch arm64 00:43:56 Running on prd-centos7-docker-4c-2g-23587 in /w/workspace/dry_go-mod-core-contracts_PR-462 [Pipeline] { [Pipeline] ws 00:43:56 Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout 00:43:59 using credential edgex-jenkins-ssh 00:43:59 Cloning the remote Git repository 00:43:59 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:43:59 > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 00:43:59 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:43:59 > git --version # timeout=10 00:43:59 > git --version # 'git version 2.24.3' 00:43:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:00 Merging remotes/origin/master commit 693df338c8eb598b828fcdb5998037a9ff32d047 into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 00:44:01 Merge succeeded, producing 81fb54c710bb431c0f36b96e3c22113e4623e217 00:44:01 Checking out Revision 81fb54c710bb431c0f36b96e3c22113e4623e217 (PR-462) 00:44:00 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:44:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:00 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:44:00 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:44:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:44:00 > git config core.sparsecheckout # timeout=10 00:44:00 > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 00:44:01 > git remote # timeout=10 00:44:01 > git config --get remote.origin.url # timeout=10 00:44:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:01 > git merge 693df338c8eb598b828fcdb5998037a9ff32d047 # timeout=10 00:44:01 > git rev-parse HEAD^{commit} # timeout=10 00:44:01 > git config core.sparsecheckout # timeout=10 00:44:01 > git checkout -f 81fb54c710bb431c0f36b96e3c22113e4623e217 # timeout=10 00:44:04 Commit message: "Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD" 00:44:04 > git rev-list --no-walk 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:44:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:44:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:44:06 + sudo service docker restart 00:44:06 + true 00:44:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:44:09 ========================================================= 00:44:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:44:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:44:09 + 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 . 00:44:09 Sending build context to Docker daemon 2.435MB 00:44:09 Step 1/7 : ARG BASE=golang:1.15-alpine 00:44:09 Step 2/7 : FROM ${BASE} 00:44:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:44:09 188c0c94c7c5: Pulling fs layer 00:44:09 0ef7d3d256c8: Pulling fs layer 00:44:09 de9db76c5a1d: Pulling fs layer 00:44:09 bca2f99d35d6: Pulling fs layer 00:44:09 93359f2a8cfa: Pulling fs layer 00:44:09 7c6f9722023f: Pulling fs layer 00:44:09 a35cf1a2eb13: Pulling fs layer 00:44:09 93359f2a8cfa: Waiting 00:44:09 7c6f9722023f: Waiting 00:44:09 a35cf1a2eb13: Waiting 00:44:09 bca2f99d35d6: Waiting 00:44:09 de9db76c5a1d: Verifying Checksum 00:44:09 de9db76c5a1d: Download complete 00:44:09 0ef7d3d256c8: Verifying Checksum 00:44:09 0ef7d3d256c8: Download complete 00:44:09 93359f2a8cfa: Verifying Checksum 00:44:09 93359f2a8cfa: Download complete 00:44:10 7c6f9722023f: Verifying Checksum 00:44:10 7c6f9722023f: Download complete 00:44:10 188c0c94c7c5: Verifying Checksum 00:44:10 188c0c94c7c5: Download complete 00:44:10 188c0c94c7c5: Pull complete 00:44:11 0ef7d3d256c8: Pull complete 00:44:11 de9db76c5a1d: Pull complete 00:44:12 a35cf1a2eb13: Verifying Checksum 00:44:12 a35cf1a2eb13: Download complete 00:44:13 bca2f99d35d6: Verifying Checksum 00:44:13 bca2f99d35d6: Download complete 00:44:18 bca2f99d35d6: Pull complete 00:44:18 93359f2a8cfa: Pull complete 00:44:18 7c6f9722023f: Pull complete 00:44:26 a35cf1a2eb13: Pull complete 00:44:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:44:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:44:26 ---> a62c8e92a672 00:44:26 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:44:26 ---> Running in 5682aa3416b6 00:44:26 Removing intermediate container 5682aa3416b6 00:44:26 ---> c42b5f04e99e 00:44:26 Step 4/7 : RUN apk add bash 00:44:26 ---> Running in c5bf1683f3a5 00:44:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:44:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:44:29 OK: 166 MiB in 39 packages 00:44:29 Removing intermediate container c5bf1683f3a5 00:44:29 ---> 40d36d68c360 00:44:29 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:44:29 ---> Running in 3b766bc440ce 00:44:30 Removing intermediate container 3b766bc440ce 00:44:30 ---> 03858e13de55 00:44:30 Step 6/7 : COPY go.mod . 00:44:30 ---> 2f5ded4b59f7 00:44:30 Step 7/7 : RUN go mod download 00:44:30 ---> Running in 74d29a7d0ed5 00:44:42 Removing intermediate container 74d29a7d0ed5 00:44:42 ---> 174390d4dea6 00:44:42 Successfully built 174390d4dea6 00:44:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:44:43 + docker inspect -f . ci-base-image-x86_64 00:44:43 . [Pipeline] withDockerContainer 00:44:43 prd-centos7-docker-4c-2g-23587 does not seem to be running inside a container 00:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:44:43 $ docker top a2bc9c8d9178e1c4f8f13692ebd5030a641f7c22cfa4a7d86d75408e951806e6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:44 + go version 00:44:44 go version go1.15.5 linux/amd64 [Pipeline] } 00:44:44 $ docker stop --time=1 a2bc9c8d9178e1c4f8f13692ebd5030a641f7c22cfa4a7d86d75408e951806e6 00:44:45 $ docker rm -f a2bc9c8d9178e1c4f8f13692ebd5030a641f7c22cfa4a7d86d75408e951806e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:44:48 + docker inspect -f . ci-base-image-x86_64 00:44:48 . [Pipeline] withDockerContainer 00:44:48 prd-centos7-docker-4c-2g-23587 does not seem to be running inside a container 00:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:44:49 $ docker top 5b33807f8855be9109486db852733464242c2a350577401b789af7d2166fd006 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:49 + make test 00:44:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:44:57 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 00:44:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.026s coverage: 85.7% of statements 00:44:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.013s coverage: 100.0% of statements 00:44:58 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.036s coverage: 45.4% of statements 00:44:58 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.022s coverage: 77.8% of statements 00:44:58 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 00:44:58 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.012s coverage: 26.3% of statements 00:44:58 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.014s coverage: 14.7% of statements 00:44:58 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.012s coverage: 100.0% of statements 00:44:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.023s coverage: 91.8% of statements 00:44:59 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 00:44:59 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 00:44:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.004s coverage: 100.0% of statements 00:44:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.008s coverage: 36.7% of statements 00:45:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.034s coverage: 63.0% of statements 00:45:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.005s coverage: 26.3% of statements 00:45:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.014s coverage: 15.4% of statements 00:45:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.007s coverage: 15.4% of statements 00:45:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.074s coverage: 14.3% of statements 00:45:02 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 00:45:03 --- FAIL: TestWriteCommand (0.00s) 00:45:03 panic: reflect: call of reflect.Value.Elem on map Value [recovered] 00:45:03 panic: reflect: call of reflect.Value.Elem on map Value 00:45:03 00:45:03 goroutine 318 [running]: 00:45:03 testing.tRunner.func1.1(0x78e020, 0xc0004f81c0) 00:45:03 /usr/local/go/src/testing/testing.go:1072 +0x30d 00:45:03 testing.tRunner.func1(0xc0004c1980) 00:45:03 /usr/local/go/src/testing/testing.go:1075 +0x41a 00:45:03 panic(0x78e020, 0xc0004f81c0) 00:45:03 /usr/local/go/src/runtime/panic.go:969 +0x1b9 00:45:03 reflect.Value.Elem(0x792a40, 0x0, 0x15, 0x10, 0x0, 0x0) 00:45:03 /usr/local/go/src/reflect/value.go:843 +0x1a5 00:45:03 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.setApiVersion(0x792a40, 0x0) 00:45:03 /w/workspace/go-mod-core-contracts/5/v2/clients/http/utils/request.go:37 +0xc8 00:45:03 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.PutRequest(0x874f20, 0xc0000ac010, 0x76ff00, 0xc0004d4d40, 0xc00001ea80, 0x40, 0x792a40, 0x0, 0x10, 0x10) 00:45:03 /w/workspace/go-mod-core-contracts/5/v2/clients/http/utils/request.go:84 +0x4d 00:45:03 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.(*deviceServiceCommandClient).WriteCommand(0xc0004e6690, 0x874f20, 0xc0000ac010, 0x7fc28e, 0xa, 0x7fc8be, 0xb, 0x0, 0x0, 0x0, ...) 00:45:03 /w/workspace/go-mod-core-contracts/5/v2/clients/http/deviceservicecommand.go:48 +0x226 00:45:03 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.TestWriteCommand(0xc0004c1980) 00:45:03 /w/workspace/go-mod-core-contracts/5/v2/clients/http/deviceservicecommand_test.go:65 +0x309 00:45:03 testing.tRunner(0xc0004c1980, 0x818140) 00:45:03 /usr/local/go/src/testing/testing.go:1123 +0xef 00:45:03 created by testing.(*T).Run 00:45:03 /usr/local/go/src/testing/testing.go:1168 +0x2b3 00:45:03 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.052s 00:45:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils 0.016s coverage: 6.6% of statements 00:45:03 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 00:45:03 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 00:45:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.015s coverage: 43.6% of statements 00:45:04 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.008s coverage: 89.5% of statements 00:45:04 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.036s coverage: 90.7% of statements 00:45:04 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.008s coverage: 100.0% of statements 00:45:04 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 00:45:04 FAIL 00:45:04 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:45:04 $ docker stop --time=1 5b33807f8855be9109486db852733464242c2a350577401b789af7d2166fd006 00:45:07 $ docker rm -f 5b33807f8855be9109486db852733464242c2a350577401b789af7d2166fd006 [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] } 00:45:08 Failed in branch amd64 [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 00:45:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:45:13 ---> package-listing.sh 00:45:13 ++ tr '[:upper:]' '[:lower:]' 00:45:13 ++ facter osfamily 00:45:13 + OS_FAMILY=redhat 00:45:13 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-462 00:45:13 + START_PACKAGES=/tmp/packages_start.txt 00:45:13 + END_PACKAGES=/tmp/packages_end.txt 00:45:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:45:13 + PACKAGES=/tmp/packages_start.txt 00:45:13 + '[' /w/workspace/dry_go-mod-core-contracts_PR-462 ']' 00:45:13 + PACKAGES=/tmp/packages_end.txt 00:45:13 + case "${OS_FAMILY}" in 00:45:13 + rpm -qa 00:45:13 + sort 00:45:19 + '[' -f /tmp/packages_start.txt ']' 00:45:19 + '[' -f /tmp/packages_end.txt ']' 00:45:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:45:19 + '[' /w/workspace/dry_go-mod-core-contracts_PR-462 ']' 00:45:19 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-462/archives/ 00:45:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-462/archives/ [Pipeline] echo 00:45:19 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-462/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:45:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:45:19 00:45:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:45:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:45:20 alpine: Pulling from edgex-lftools-log-publisher 00:45:20 df20fa9351a1: Pulling fs layer 00:45:20 36b3adc4ff6f: Pulling fs layer 00:45:20 8ad3a11d3b57: Pulling fs layer 00:45:20 46f8f816bc3b: Pulling fs layer 00:45:20 93b61091891f: Pulling fs layer 00:45:20 93b9cdb0e59b: Pulling fs layer 00:45:20 5e14af77c1be: Pulling fs layer 00:45:20 01666e4c0597: Pulling fs layer 00:45:20 aa168da1d23b: Pulling fs layer 00:45:20 5e14af77c1be: Waiting 00:45:20 93b9cdb0e59b: Waiting 00:45:20 aa168da1d23b: Waiting 00:45:20 01666e4c0597: Waiting 00:45:20 46f8f816bc3b: Waiting 00:45:20 93b61091891f: Waiting 00:45:20 36b3adc4ff6f: Verifying Checksum 00:45:20 36b3adc4ff6f: Download complete 00:45:20 46f8f816bc3b: Verifying Checksum 00:45:20 46f8f816bc3b: Download complete 00:45:20 93b61091891f: Verifying Checksum 00:45:20 93b61091891f: Download complete 00:45:20 93b9cdb0e59b: Download complete 00:45:20 5e14af77c1be: Download complete 00:45:20 01666e4c0597: Verifying Checksum 00:45:20 01666e4c0597: Download complete 00:45:20 8ad3a11d3b57: Verifying Checksum 00:45:20 8ad3a11d3b57: Download complete 00:45:20 df20fa9351a1: Verifying Checksum 00:45:20 df20fa9351a1: Download complete 00:45:20 df20fa9351a1: Pull complete 00:45:21 36b3adc4ff6f: Pull complete 00:45:22 8ad3a11d3b57: Pull complete 00:45:22 aa168da1d23b: Verifying Checksum 00:45:22 aa168da1d23b: Download complete 00:45:23 46f8f816bc3b: Pull complete 00:45:23 93b61091891f: Pull complete 00:45:23 93b9cdb0e59b: Pull complete 00:45:23 5e14af77c1be: Pull complete 00:45:23 01666e4c0597: Pull complete 00:45:32 aa168da1d23b: Pull complete 00:45:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:45:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:45:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:45:32 prd-centos7-docker-4c-2g-23577 does not seem to be running inside a container 00:45:32 $ 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-462/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-462 -v /w/workspace/dry_go-mod-core-contracts_PR-462:/w/workspace/dry_go-mod-core-contracts_PR-462:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-462@tmp:/w/workspace/dry_go-mod-core-contracts_PR-462@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:45:36 $ docker top 0498705badd137b285625dcda4577b58d054b30ae5596d55b4383ec757689f64 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:37 + touch /tmp/pre-build-complete [Pipeline] sh 00:45:37 + mkdir -p /var/log/sa [Pipeline] sh 00:45:37 + ls /var/log/sa-host 00:45:37 + sadf -c /var/log/sa-host/sa23 00:45:37 file_magic: OK 00:45:37 HZ: Using current value: 100 00:45:37 file_header: OK 00:45:37 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 00:45:37 Statistics: 00:45:37 Hnuu...uuuununununu... 00:45:37 File successfully converted to sysstat format version 12.2.1 00:45:37 + sadf -c /var/log/sa-host/sa28 00:45:37 file_magic: OK 00:45:37 HZ: Using current value: 100 00:45:37 file_header: OK 00:45:37 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 00:45:37 Statistics: 00:45:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:45:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:38 provisioning config files... 00:45:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/config278550206567718304tmp [Pipeline] { [Pipeline] echo 00:45:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:45:38 ---> create-netrc.sh [Pipeline] } 00:45:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:45:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:45:38 ---> python-tools-install.sh [Pipeline] echo 00:45:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:45:39 ---> sudo-logs.sh 00:45:39 Archiving 'sudo' log.. [Pipeline] echo 00:45:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:45:39 ---> job-cost.sh 00:45:39 lf-activate-venv: SKIPPING 00:45:39 INFO: No Stack... 00:45:40 INFO: Retrieving Pricing Info for: v1-standard-2 00:45:41 INFO: Archiving Costs [Pipeline] echo 00:45:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:45:41 ---> logs-deploy.sh 00:45:41 lf-activate-venv: SKIPPING 00:45:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-462/5 00:45:41 INFO: archiving workspace using pattern(s): 00:45:43 Archives upload complete. 00:45:43 INFO: archiving logs to Nexus 00:45:44 ---> uname -a: 00:45:44 Linux prd-centos7-docker-4c-2g-23577.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:45:44 00:45:44 00:45:44 ---> lscpu: 00:45:44 Architecture: x86_64 00:45:44 CPU op-mode(s): 32-bit, 64-bit 00:45:44 Byte Order: Little Endian 00:45:44 Address sizes: 40 bits physical, 48 bits virtual 00:45:44 CPU(s): 4 00:45:44 On-line CPU(s) list: 0-3 00:45:44 Thread(s) per core: 1 00:45:44 Core(s) per socket: 1 00:45:44 Socket(s): 4 00:45:44 NUMA node(s): 1 00:45:44 Vendor ID: GenuineIntel 00:45:44 CPU family: 6 00:45:44 Model: 44 00:45:44 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:45:44 Stepping: 1 00:45:44 CPU MHz: 2933.438 00:45:44 BogoMIPS: 5866.87 00:45:44 Virtualization: VT-x 00:45:44 Hypervisor vendor: KVM 00:45:44 Virtualization type: full 00:45:44 L1d cache: 128 KiB 00:45:44 L1i cache: 128 KiB 00:45:44 L2 cache: 16 MiB 00:45:44 L3 cache: 64 MiB 00:45:44 NUMA node0 CPU(s): 0-3 00:45:44 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:45:44 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:45:44 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:45:44 Vulnerability Meltdown: Mitigation; PTI 00:45:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:45:44 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:45:44 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:45:44 Vulnerability Srbds: Not affected 00:45:44 Vulnerability Tsx async abort: Not affected 00:45:44 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 00:45:44 00:45:44 00:45:44 ---> nproc: 00:45:44 4 00:45:44 00:45:44 00:45:44 ---> df -h: 00:45:44 Filesystem Size Used Available Use% Mounted on 00:45:44 overlay 50.0G 7.3G 42.7G 15% / 00:45:44 tmpfs 64.0M 0 64.0M 0% /dev 00:45:44 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:45:44 shm 64.0M 0 64.0M 0% /dev/shm 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dry_go-mod-core-contracts_PR-462@tmp 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:45:44 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dry_go-mod-core-contracts_PR-462 00:45:44 00:45:44 00:45:44 ---> free -m: 00:45:44 total used free shared buff/cache available 00:45:44 Mem: 1837 699 102 0 1035 1033 00:45:44 Swap: 1023 1 1022 00:45:44 00:45:44 00:45:44 ---> ip addr: 00:45:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:45:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:45:44 inet 127.0.0.1/8 scope host lo 00:45:44 valid_lft forever preferred_lft forever 00:45:44 inet6 ::1/128 scope host 00:45:44 valid_lft forever preferred_lft forever 00:45:44 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:45:44 link/ether fa:16:3e:38:dc:22 brd ff:ff:ff:ff:ff:ff 00:45:44 inet 10.30.122.214/23 brd 10.30.123.255 scope global dynamic eth0 00:45:44 valid_lft 85741sec preferred_lft 85741sec 00:45:44 inet6 fe80::f816:3eff:fe38:dc22/64 scope link 00:45:44 valid_lft forever preferred_lft forever 00:45:44 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:45:44 link/ether 02:42:54:b7:00:30 brd ff:ff:ff:ff:ff:ff 00:45:44 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:45:44 valid_lft forever preferred_lft forever 00:45:44 inet6 fe80::42:54ff:feb7:30/64 scope link 00:45:44 valid_lft forever preferred_lft forever 00:45:44 00:45:44 00:45:44 ---> sar -b -r -n DEV: 00:45:44 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 00:45:44 00:45:44 00:34:32 LINUX RESTART (4 CPU) 00:45:44 00:45:44 00:35:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:45:44 00:36:01 26.96 17.16 9.80 0.00 2668.38 1265.00 0.00 00:45:44 00:37:01 1.28 0.00 1.28 0.00 0.00 22.04 0.00 00:45:44 00:38:01 0.38 0.00 0.38 0.00 0.00 6.16 0.00 00:45:44 00:39:01 49.55 14.28 35.27 0.00 4568.71 2637.23 0.00 00:45:44 00:40:01 2.98 0.02 2.96 0.00 0.53 108.92 0.00 00:45:44 00:41:01 0.48 0.00 0.48 0.00 0.00 8.77 0.00 00:45:44 00:42:01 0.22 0.00 0.22 0.00 0.00 2.45 0.00 00:45:44 00:43:01 0.25 0.00 0.25 0.00 0.00 3.08 0.00 00:45:44 00:44:02 0.25 0.00 0.25 0.00 0.00 2.98 0.00 00:45:44 00:45:01 0.27 0.00 0.27 0.00 0.00 3.81 0.00 00:45:44 Average: 8.25 3.13 5.12 0.00 721.90 405.38 0.00 00:45:44 00:45:44 00:35:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:45:44 00:36:01 100596 0 494972 26.31 2620 1283356 966348 32.98 298672 1286172 20 00:45:44 00:37:01 104992 0 490568 26.07 2620 1283364 960712 32.79 292560 1288432 12 00:45:44 00:38:01 105344 0 490212 26.05 2620 1283368 960760 32.79 292712 1288420 8 00:45:44 00:39:01 164900 0 597560 31.76 2620 1116464 1111296 37.93 396428 1119344 124 00:45:44 00:40:01 170160 0 592292 31.48 2620 1116472 1093376 37.32 405432 1105980 20 00:45:44 00:41:01 169548 0 592900 31.51 2620 1116476 1085176 37.04 406220 1105936 20 00:45:44 00:42:01 169516 0 592928 31.51 2620 1116480 1085248 37.04 424312 1088248 8 00:45:44 00:43:01 169972 0 592468 31.49 2620 1116484 1077148 36.76 417632 1094520 16 00:45:44 00:44:02 170088 0 592288 31.48 2620 1116548 1077236 36.76 418064 1094536 40 00:45:44 00:45:01 170216 0 592212 31.47 2620 1116496 1077164 36.76 417596 1094516 16 00:45:44 Average: 149533 0 562840 29.91 2620 1166551 1049446 35.82 376963 1156610 28 00:45:44 00:45:44 00:35:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:45:44 00:36:01 eth0 149.05 87.00 371.40 23.26 0.00 0.00 0.00 0.00 00:45:44 00:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:37:01 eth0 0.23 0.08 0.02 0.04 0.00 0.00 0.00 0.00 00:45:44 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:38:01 eth0 0.75 0.13 0.12 0.01 0.00 0.00 0.00 0.00 00:45:44 00:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:39:01 eth0 296.39 212.43 710.76 68.79 0.00 0.00 0.00 0.00 00:45:44 00:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:39:01 docker0 8.37 6.96 1.68 17.11 0.00 0.00 0.00 0.00 00:45:44 00:40:01 eth0 1.83 0.30 0.37 0.20 0.00 0.00 0.00 0.00 00:45:44 00:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:41:01 eth0 1.63 0.55 0.53 0.28 0.00 0.00 0.00 0.00 00:45:44 00:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:42:01 eth0 1.00 0.70 0.54 0.40 0.00 0.00 0.00 0.00 00:45:44 00:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:43:01 eth0 1.12 0.35 0.33 0.17 0.00 0.00 0.00 0.00 00:45:44 00:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:44:02 eth0 1.48 0.60 0.59 0.40 0.00 0.00 0.00 0.00 00:45:44 00:44:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:44:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:45:01 eth0 2.34 0.30 0.44 0.21 0.00 0.00 0.00 0.00 00:45:44 00:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 00:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 Average: eth0 45.49 30.21 108.28 9.37 0.00 0.00 0.00 0.00 00:45:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:44 Average: docker0 0.84 0.70 0.17 1.72 0.00 0.00 0.00 0.00 00:45:44 00:45:44 00:45:44 ---> sar -P ALL: 00:45:44 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 00:45:44 00:45:44 00:34:32 LINUX RESTART (4 CPU) 00:45:44 00:45:44 00:35:02 CPU %user %nice %system %iowait %steal %idle 00:45:44 00:36:01 all 7.32 0.00 2.13 0.44 0.05 90.05 00:45:44 00:36:01 0 6.03 0.00 2.81 0.24 0.05 90.87 00:45:44 00:36:01 1 7.08 0.00 2.11 0.29 0.07 90.45 00:45:44 00:36:01 2 5.96 0.00 2.33 0.90 0.03 90.78 00:45:44 00:36:01 3 10.25 0.00 1.28 0.34 0.05 88.08 00:45:44 00:37:01 all 0.15 0.00 0.05 0.00 0.03 99.78 00:45:44 00:37:01 0 0.05 0.00 0.05 0.00 0.02 99.88 00:45:44 00:37:01 1 0.03 0.00 0.03 0.00 0.02 99.92 00:45:44 00:37:01 2 0.08 0.00 0.08 0.00 0.05 99.78 00:45:44 00:37:01 3 0.42 0.00 0.02 0.00 0.02 99.55 00:45:44 00:38:01 all 0.10 0.00 0.04 0.00 0.01 99.86 00:45:44 00:38:01 0 0.03 0.00 0.05 0.00 0.00 99.92 00:45:44 00:38:01 1 0.03 0.00 0.05 0.00 0.02 99.90 00:45:44 00:38:01 2 0.02 0.00 0.02 0.00 0.02 99.95 00:45:44 00:38:01 3 0.30 0.00 0.03 0.00 0.00 99.67 00:45:44 00:39:01 all 6.58 0.00 3.31 1.33 0.82 87.96 00:45:44 00:39:01 0 6.43 0.00 4.50 0.94 0.78 87.35 00:45:44 00:39:01 1 6.75 0.00 2.91 2.22 0.76 87.37 00:45:44 00:39:01 2 6.87 0.00 2.84 1.68 0.81 87.80 00:45:44 00:39:01 3 6.26 0.00 3.00 0.47 0.94 89.33 00:45:44 00:40:01 all 0.11 0.00 0.08 0.00 0.07 99.74 00:45:44 00:40:01 0 0.10 0.00 0.05 0.00 0.03 99.82 00:45:44 00:40:01 1 0.08 0.00 0.10 0.00 0.13 99.68 00:45:44 00:40:01 2 0.22 0.00 0.07 0.00 0.07 99.65 00:45:44 00:40:01 3 0.05 0.00 0.10 0.00 0.03 99.82 00:45:44 00:41:01 all 0.13 0.00 0.05 0.00 0.05 99.77 00:45:44 00:41:01 0 0.07 0.00 0.05 0.00 0.02 99.87 00:45:44 00:41:01 1 0.08 0.00 0.05 0.00 0.08 99.78 00:45:44 00:41:01 2 0.37 0.00 0.03 0.00 0.03 99.57 00:45:44 00:41:01 3 0.02 0.00 0.05 0.00 0.07 99.87 00:45:44 00:42:01 all 0.08 0.00 0.09 0.00 0.09 99.74 00:45:44 00:42:01 0 0.03 0.00 0.02 0.00 0.07 99.88 00:45:44 00:42:01 1 0.05 0.00 0.03 0.00 0.13 99.78 00:45:44 00:42:01 2 0.22 0.00 0.08 0.00 0.10 99.60 00:45:44 00:42:01 3 0.02 0.00 0.22 0.00 0.07 99.70 00:45:44 00:43:01 all 0.14 0.00 0.44 0.00 1.07 98.35 00:45:44 00:43:01 0 0.07 0.00 0.08 0.00 0.79 99.06 00:45:44 00:43:01 1 0.08 0.00 0.73 0.00 1.21 97.98 00:45:44 00:43:01 2 0.35 0.00 0.40 0.00 1.14 98.12 00:45:44 00:43:01 3 0.08 0.00 0.54 0.00 1.12 98.25 00:45:44 00:44:02 all 0.17 0.00 0.04 0.00 0.02 99.77 00:45:44 00:44:02 0 0.08 0.00 0.05 0.00 0.08 99.78 00:45:44 00:44:02 1 0.03 0.00 0.02 0.00 0.00 99.95 00:45:44 00:44:02 2 0.53 0.00 0.07 0.00 0.00 99.40 00:45:44 00:44:02 3 0.03 0.00 0.03 0.00 0.00 99.93 00:45:44 00:45:01 all 0.14 0.00 0.03 0.00 0.03 99.80 00:45:44 00:45:01 0 0.03 0.00 0.03 0.00 0.02 99.92 00:45:44 00:45:01 1 0.05 0.00 0.07 0.00 0.05 99.83 00:45:44 00:45:01 2 0.47 0.00 0.03 0.00 0.02 99.47 00:45:44 00:45:01 3 0.02 0.00 0.00 0.00 0.02 99.97 00:45:44 Average: all 1.48 0.00 0.62 0.18 0.22 97.50 00:45:44 Average: 0 1.28 0.00 0.76 0.12 0.19 97.66 00:45:44 Average: 1 1.41 0.00 0.61 0.25 0.25 97.49 00:45:44 Average: 2 1.50 0.00 0.59 0.26 0.23 97.43 00:45:44 Average: 3 1.72 0.00 0.53 0.08 0.23 97.44 00:45:44 00:45:44 00:45:44