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 cloudxxx8 for edgexfoundry/edgex-go Obtained Jenkinsfile from b02541a61db9d4fcbee63351f76a5a0e52e2a310+57974a27473083c1c6a10cb9f7b41893fbb07c00 (b5356c8409b8decc690502badd7bd4fd94992660) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, goVersion:1.13, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-2157 in /w/workspace/edgexfoundry_edgex-go_PR-2681 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 57974a27473083c1c6a10cb9f7b41893fbb07c00 into PR head commit b02541a61db9d4fcbee63351f76a5a0e52e2a310 Merge succeeded, producing c2b391c943ad753802abe65626767f75c0f72d32 Checking out Revision c2b391c943ad753802abe65626767f75c0f72d32 (PR-2681) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2681/head:refs/remotes/origin/PR-2681 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b02541a61db9d4fcbee63351f76a5a0e52e2a310 # 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 57974a27473083c1c6a10cb9f7b41893fbb07c00 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2b391c943ad753802abe65626767f75c0f72d32 # timeout=10 Commit message: "Merge commit '57974a27473083c1c6a10cb9f7b41893fbb07c00' into HEAD" > git rev-list --no-walk b02541a61db9d4fcbee63351f76a5a0e52e2a310 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:29:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:29:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:29:59 ========================================================= 20:29:59 EdgeX Global Pipelines Version Info 20:29:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:30:01 ------------------- 20:30:01 stable info: 20:30:01 ------------------- 20:30:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:30:01 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 20:30:01 Message: update stable to v1.0.119 20:30:02 ------------------- 20:30:02 experimental info: 20:30:02 ------------------- 20:30:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:30:02 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 20:30:02 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:30:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:30:02 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:30:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2681 [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2681 [Pipeline] echo 20:30:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2681 [Pipeline] echo 20:30:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2b391c943ad753802abe65626767f75c0f72d32 [Pipeline] echo 20:30:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2b391c [Pipeline] echo 20:30:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 20:30:05 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/core-command/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo core-command,cmd/core-command/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/core-data/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo core-data,cmd/core-data/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/core-metadata/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo core-metadata,cmd/core-metadata/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/security-proxy-setup/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/security-secrets-setup/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/security-secretstore-setup/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/support-logging/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo support-logging,cmd/support-logging/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/support-notifications/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo support-notifications,cmd/support-notifications/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/support-scheduler/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:30:05 + for file in '`ls cmd/**/Dockerfile`' 20:30:05 ++ dirname cmd/sys-mgmt-agent/Dockerfile 20:30:05 ++ cut -d/ -f2 20:30:05 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:30:05 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 20:30:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:30:07 20:30:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:30:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:30:07 latest: Pulling from edgex-devops/git-semver 20:30:07 31603596830f: Pulling fs layer 20:30:07 2a8b12db71e7: Pulling fs layer 20:30:07 6ca5941a6612: Pulling fs layer 20:30:07 ecc8261a40a4: Pulling fs layer 20:30:07 ecc8261a40a4: Waiting 20:30:07 2a8b12db71e7: Verifying Checksum 20:30:07 2a8b12db71e7: Download complete 20:30:07 31603596830f: Verifying Checksum 20:30:07 31603596830f: Download complete 20:30:07 ecc8261a40a4: Verifying Checksum 20:30:07 ecc8261a40a4: Download complete 20:30:07 6ca5941a6612: Verifying Checksum 20:30:07 6ca5941a6612: Download complete 20:30:08 31603596830f: Pull complete 20:30:08 2a8b12db71e7: Pull complete 20:30:09 6ca5941a6612: Pull complete 20:30:09 ecc8261a40a4: Pull complete 20:30:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:30:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:30:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:30:09 prd-centos7-docker-4c-2g-2157 does not seem to be running inside a container 20:30:09 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:30:11 $ docker top 279cdc8bbf3a0b8962be52b99940b5fc7ad01a7db2f2073dc2ad35462ed6fe54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:30:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:30:11 [ssh-agent] Looking for ssh-agent implementation... 20:30:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:30:12 $ docker exec 279cdc8bbf3a0b8962be52b99940b5fc7ad01a7db2f2073dc2ad35462ed6fe54 ssh-agent 20:30:12 SSH_AUTH_SOCK=/tmp/ssh-JJxkcZWeCxAm/agent.12 20:30:12 SSH_AGENT_PID=18 20:30:12 Running ssh-add (command line suppressed) 20:30:12 Identity added: /w/workspace/edgex-go/2@tmp/private_key_7703497961029884400.key (/w/workspace/edgex-go/2@tmp/private_key_7703497961029884400.key) 20:30:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:30:12 + git describe --exact-match --tags HEAD 20:30:12 fatal: No names found, cannot describe anything. [Pipeline] } 20:30:12 $ docker exec --env ******** --env ******** 279cdc8bbf3a0b8962be52b99940b5fc7ad01a7db2f2073dc2ad35462ed6fe54 ssh-agent -k 20:30:12 unset SSH_AUTH_SOCK; 20:30:12 unset SSH_AGENT_PID; 20:30:12 echo Agent pid 18 killed; 20:30:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:30:13 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:30:13 This usually means this commit has not been tagged. [Pipeline] sshagent 20:30:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:30:13 [ssh-agent] Looking for ssh-agent implementation... 20:30:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:30:13 $ docker exec 279cdc8bbf3a0b8962be52b99940b5fc7ad01a7db2f2073dc2ad35462ed6fe54 ssh-agent 20:30:13 SSH_AUTH_SOCK=/tmp/ssh-et6vcuhuAfqV/agent.46 20:30:13 SSH_AGENT_PID=52 20:30:13 Running ssh-add (command line suppressed) 20:30:13 Identity added: /w/workspace/edgex-go/2@tmp/private_key_3641102920797621189.key (/w/workspace/edgex-go/2@tmp/private_key_3641102920797621189.key) 20:30:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:30:13 + git semver init 20:30:13 # -> Open(): unable to determine branch for HEAD 20:30:13 # $GIT_DIR = /w/workspace/edgex-go/2/.git 20:30:13 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 20:30:13 # $SEMVER_REMOTE_NAME = origin 20:30:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:30:13 # $SEMVER_USER_NAME = edgex-jenkins 20:30:13 # $SEMVER_BRANCH = PR-2681 20:30:13 # $SEMVER_TEMP = /tmp/semver-548595904 20:30:13 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 20:30:32 # '/tmp/semver-548595904' -> '/w/workspace/edgex-go/2/.semver' 20:30:32 # -> Force: false 20:30:32 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 20:30:32 $ docker exec --env ******** --env ******** 279cdc8bbf3a0b8962be52b99940b5fc7ad01a7db2f2073dc2ad35462ed6fe54 ssh-agent -k 20:30:32 unset SSH_AUTH_SOCK; 20:30:32 unset SSH_AGENT_PID; 20:30:32 echo Agent pid 52 killed; 20:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:30:32 + git semver [Pipeline] } 20:30:32 $ docker stop --time=1 279cdc8bbf3a0b8962be52b99940b5fc7ad01a7db2f2073dc2ad35462ed6fe54 20:30:34 $ docker rm -f 279cdc8bbf3a0b8962be52b99940b5fc7ad01a7db2f2073dc2ad35462ed6fe54 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:30:46 Stashed 44 file(s) [Pipeline] echo 20:30:46 [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 20:30:48 ========================================================= 20:30:48 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:30:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:30:48 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 20:30:50 Sending build context to Docker daemon 323.2MB 20:30:51 Step 1/7 : ARG BASE=golang:1.13-alpine 20:30:51 Step 2/7 : FROM ${BASE} 20:30:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:30:51 df20fa9351a1: Pulling fs layer 20:30:51 ed8968b2872e: Pulling fs layer 20:30:51 a92cc7c5fd73: Pulling fs layer 20:30:51 2dd03ba5bac4: Pulling fs layer 20:30:51 1e091d79d1de: Pulling fs layer 20:30:51 481702a1767f: Pulling fs layer 20:30:51 f64a6f60c768: Pulling fs layer 20:30:51 e78d2573fc39: Pulling fs layer 20:30:51 e876d2f968b6: Pulling fs layer 20:30:51 ce8a83651883: Pulling fs layer 20:30:51 07967f4d0e4b: Pulling fs layer 20:30:51 f64a6f60c768: Waiting 20:30:51 e78d2573fc39: Waiting 20:30:51 e876d2f968b6: Waiting 20:30:51 ce8a83651883: Waiting 20:30:51 2dd03ba5bac4: Waiting 20:30:51 07967f4d0e4b: Waiting 20:30:51 481702a1767f: Waiting 20:30:51 1e091d79d1de: Waiting 20:30:51 a92cc7c5fd73: Verifying Checksum 20:30:51 a92cc7c5fd73: Download complete 20:30:51 ed8968b2872e: Download complete 20:30:51 1e091d79d1de: Verifying Checksum 20:30:51 1e091d79d1de: Download complete 20:30:51 481702a1767f: Verifying Checksum 20:30:51 481702a1767f: Download complete 20:30:52 df20fa9351a1: Verifying Checksum 20:30:52 df20fa9351a1: Download complete 20:30:52 df20fa9351a1: Pull complete 20:30:52 ed8968b2872e: Pull complete 20:30:52 a92cc7c5fd73: Pull complete 20:30:54 f64a6f60c768: Verifying Checksum 20:30:54 f64a6f60c768: Download complete 20:30:54 e876d2f968b6: Verifying Checksum 20:30:54 e876d2f968b6: Download complete 20:30:55 ce8a83651883: Verifying Checksum 20:30:55 ce8a83651883: Download complete 20:30:55 07967f4d0e4b: Verifying Checksum 20:30:55 07967f4d0e4b: Download complete 20:30:56 e78d2573fc39: Verifying Checksum 20:30:56 e78d2573fc39: Download complete 20:30:56 2dd03ba5bac4: Verifying Checksum 20:30:56 2dd03ba5bac4: Download complete 20:31:01 2dd03ba5bac4: Pull complete 20:31:01 1e091d79d1de: Pull complete 20:31:01 481702a1767f: Pull complete 20:31:02 Still waiting to schedule task 20:31:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:31:05 f64a6f60c768: Pull complete 20:31:08 e78d2573fc39: Pull complete 20:31:08 e876d2f968b6: Pull complete 20:31:09 ce8a83651883: Pull complete 20:31:09 07967f4d0e4b: Pull complete 20:31:09 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 20:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:31:09 ---> 5d7c900382c6 20:31:09 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 20:31:10 ---> Running in a542972bd5ba 20:31:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:31:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:31:13 (1/12) Installing libmagic (5.38-r0) 20:31:13 (2/12) Installing file (5.38-r0) 20:31:13 (3/12) Installing libc-dev (0.7.2-r3) 20:31:13 (4/12) Installing g++ (9.3.0-r2) 20:31:35 (5/12) Installing fortify-headers (1.1-r0) 20:31:35 (6/12) Installing patch (2.7.6-r6) 20:31:35 (7/12) Installing build-base (0.5-r2) 20:31:35 (8/12) Installing libsodium (1.0.18-r0) 20:31:35 (9/12) Installing pkgconf (1.7.2-r0) 20:31:35 (10/12) Installing libsodium-dev (1.0.18-r0) 20:31:35 (11/12) Installing libzmq (4.3.3-r0) 20:31:35 (12/12) Installing zeromq-dev (4.3.3-r0) 20:31:35 Executing busybox-1.31.1-r16.trigger 20:31:35 OK: 233 MiB in 51 packages 20:31:36 Removing intermediate container a542972bd5ba 20:31:36 ---> 8f8eab208923 20:31:36 Step 4/7 : WORKDIR /edgex-go 20:31:36 ---> Running in 6f136f0c67a5 20:31:36 Removing intermediate container 6f136f0c67a5 20:31:36 ---> 0414f5b04f38 20:31:36 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:31:36 latest: Pulling from library/docker 20:31:37 df20fa9351a1: Already exists 20:31:37 25ad7478873d: Pulling fs layer 20:31:37 4684f6177b5d: Pulling fs layer 20:31:37 46e300cec669: Pulling fs layer 20:31:37 63038576ad94: Pulling fs layer 20:31:37 0fdb76c4706c: Pulling fs layer 20:31:37 cb7edeffdfd5: Pulling fs layer 20:31:37 63038576ad94: Waiting 20:31:37 0fdb76c4706c: Waiting 20:31:37 cb7edeffdfd5: Waiting 20:31:37 4684f6177b5d: Verifying Checksum 20:31:37 4684f6177b5d: Download complete 20:31:37 25ad7478873d: Verifying Checksum 20:31:37 25ad7478873d: Download complete 20:31:37 0fdb76c4706c: Download complete 20:31:37 25ad7478873d: Pull complete 20:31:37 cb7edeffdfd5: Verifying Checksum 20:31:37 cb7edeffdfd5: Download complete 20:31:37 63038576ad94: Verifying Checksum 20:31:37 63038576ad94: Download complete 20:31:37 4684f6177b5d: Pull complete 20:31:38 46e300cec669: Download complete 20:31:40 46e300cec669: Pull complete 20:31:40 63038576ad94: Pull complete 20:31:40 0fdb76c4706c: Pull complete 20:31:40 cb7edeffdfd5: Pull complete 20:31:40 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 20:31:40 Status: Downloaded newer image for docker:latest 20:31:42 ---> c03bbecf2055 20:31:42 Step 6/7 : COPY go.mod . 20:31:42 ---> ae2f2da6dfd0 20:31:42 Step 7/7 : RUN go mod download 20:31:42 ---> Running in 8e52ea93bc71 20:31:44 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:31:44 go: finding github.com/BurntSushi/toml v0.3.1 20:31:44 go: finding github.com/OneOfOne/xxhash v1.2.5 20:31:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:31:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:31:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:31:44 go: finding github.com/bgentry/speakeasy v0.1.0 20:31:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:31:44 go: finding github.com/cloudflare/gokey v0.1.0 20:31:44 go: finding github.com/davecgh/go-spew v1.1.1 20:31:44 go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible 20:31:44 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 20:31:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 20:31:45 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:31:45 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.74 20:31:45 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 20:31:45 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:31:45 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:31:45 go: finding github.com/fatih/color v1.7.0 20:31:45 go: finding github.com/fsnotify/fsnotify v1.4.7 20:31:45 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:31:45 go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 20:31:45 go: finding github.com/go-kit/kit v0.8.0 20:31:45 go: finding github.com/go-logfmt/logfmt v0.4.0 20:31:45 go: finding github.com/go-playground/assert/v2 v2.0.1 20:31:45 go: finding github.com/go-playground/locales v0.13.0 20:31:45 go: finding github.com/go-playground/universal-translator v0.17.0 20:31:45 go: finding github.com/go-playground/validator/v10 v10.3.0 20:31:45 go: finding github.com/go-redis/redis/v7 v7.2.0 20:31:45 go: finding github.com/go-stack/stack v1.8.0 20:31:45 go: finding github.com/golang/protobuf v1.3.2 20:31:45 go: finding github.com/gomodule/redigo v2.0.0+incompatible 20:31:45 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:31:45 go: finding github.com/google/uuid v1.1.0 20:31:45 go: finding github.com/gorilla/mux v1.7.1 20:31:45 go: finding github.com/hashicorp/consul/api v1.1.0 20:31:45 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:31:45 go: finding github.com/hashicorp/errwrap v1.0.0 20:31:45 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:31:45 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:31:45 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:31:45 go: finding github.com/hashicorp/go-multierror v1.0.0 20:31:45 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:31:45 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:31:45 go: finding github.com/hashicorp/go-syslog v1.0.0 20:31:45 go: finding github.com/hashicorp/go-uuid v1.0.1 20:31:45 go: finding github.com/hashicorp/go.net v0.0.1 20:31:45 go: finding github.com/hashicorp/golang-lru v0.5.0 20:31:46 go: finding github.com/hashicorp/logutils v1.0.0 20:31:46 go: finding github.com/hashicorp/mdns v1.0.0 20:31:46 go: finding github.com/hashicorp/memberlist v0.1.3 20:31:46 go: finding github.com/hashicorp/serf v0.8.2 20:31:46 go: finding github.com/hpcloud/tail v1.0.0 20:31:46 go: finding github.com/imdario/mergo v0.3.6 20:31:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:31:46 go: finding github.com/kr/pretty v0.1.0 20:31:46 go: finding github.com/kr/pty v1.1.1 20:31:46 go: finding github.com/kr/text v0.1.0 20:31:46 go: finding github.com/leodido/go-urn v1.2.0 20:31:46 go: finding github.com/mattn/go-colorable v0.0.9 20:31:46 go: finding github.com/mattn/go-isatty v0.0.3 20:31:46 go: finding github.com/miekg/dns v1.0.14 20:31:46 go: finding github.com/mitchellh/cli v1.0.0 20:31:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:31:46 go: finding github.com/mitchellh/copystructure v1.0.0 20:31:46 go: finding github.com/mitchellh/go-homedir v1.0.0 20:31:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:31:46 go: finding github.com/mitchellh/gox v0.4.0 20:31:46 go: finding github.com/mitchellh/iochan v1.0.0 20:31:46 go: finding github.com/mitchellh/mapstructure v1.1.2 20:31:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:31:46 go: finding github.com/onsi/ginkgo v1.10.1 20:31:46 go: finding github.com/onsi/gomega v1.7.0 20:31:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:31:46 go: finding github.com/pebbe/zmq4 v1.0.0 20:31:46 go: finding github.com/pelletier/go-toml v1.2.0 20:31:46 go: finding github.com/pkg/errors v0.8.1 20:31:46 go: finding github.com/pmezard/go-difflib v1.0.0 20:31:46 go: finding github.com/posener/complete v1.1.1 20:31:46 go: finding github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967 20:31:46 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:31:46 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:31:46 go: finding github.com/stretchr/objx v0.1.0 20:31:46 go: finding github.com/stretchr/testify v1.5.1 20:31:46 go: finding github.com/ugorji/go v1.1.4 20:31:46 go: finding github.com/x448/float16 v0.8.4 20:31:46 go: finding golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 20:31:46 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 20:31:46 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:31:46 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 20:31:46 go: finding golang.org/x/text v0.3.2 20:31:46 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 20:31:46 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:31:46 go: finding gopkg.in/eapache/queue.v1 v1.1.0 20:31:46 go: finding gopkg.in/fsnotify.v1 v1.4.7 20:31:46 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:31:47 go: finding gopkg.in/yaml.v2 v2.2.8 20:32:05 Removing intermediate container 8e52ea93bc71 20:32:05 ---> 477ad85e3c36 20:32:05 Successfully built 477ad85e3c36 20:32:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:32:06 + docker inspect -f . ci-base-image-x86_64 20:32:06 . [Pipeline] withDockerContainer 20:32:06 prd-centos7-docker-4c-2g-2157 does not seem to be running inside a container 20:32:06 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-x86_64 cat 20:32:06 $ docker top d86e79cd7fbf47d41578e874eea08a7756b3c15620789de87e9058cd954b51c0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:07 + go version 20:32:07 go version go1.13.13 linux/amd64 [Pipeline] echo 20:32:07 ========================================================= 20:32:07 [edgeXBuildGoParallel] Running Tests and Build... 20:32:07 ========================================================= [Pipeline] sh 20:32:07 + make test 20:32:07 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:32:09 ? github.com/edgexfoundry/edgex-go [no test files] 20:32:17 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:32:19 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 20:32:19 internal/pkg/v2/infrastructure/redis/client.go:31:15: undefined: v2.NewCommonEdgexError 20:32:19 internal/pkg/v2/infrastructure/redis/client.go:31:38: undefined: v2.KindDatabaseError 20:32:19 internal/pkg/v2/infrastructure/redis/client.go:53:26: undefined: v2.NewCommonEdgexError 20:32:19 internal/pkg/v2/infrastructure/redis/client.go:53:49: undefined: v2.KindInvalidId 20:32:19 internal/pkg/v2/infrastructure/redis/event.go:45:22: undefined: v2.NewCommonEdgexError 20:32:19 internal/pkg/v2/infrastructure/redis/event.go:45:45: undefined: v2.KindContractInvalid 20:32:19 internal/pkg/v2/infrastructure/redis/event.go:81:9: undefined: v2.NewCommonEdgexError 20:32:19 internal/pkg/v2/infrastructure/redis/event.go:81:32: undefined: v2.KindDatabaseError 20:32:19 internal/pkg/v2/infrastructure/redis/reading.go:47:15: undefined: v2.NewCommonEdgexError 20:32:19 internal/pkg/v2/infrastructure/redis/reading.go:47:38: undefined: v2.KindContractInvalid 20:32:19 internal/pkg/v2/infrastructure/redis/reading.go:47:38: too many errors 20:32:19 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 20:32:19 internal/core/data/v2/io/event.go:20:86: undefined: v2.EdgexError 20:32:19 internal/core/data/v2/io/event.go:37:108: undefined: v2.EdgexError 20:32:19 internal/core/data/v2/io/event.go:43:15: undefined: v2.NewCommonEdgexError 20:32:19 internal/core/data/v2/io/event.go:43:38: undefined: v2.KindContractInvalid 20:32:21 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 20:32:21 internal/core/data/v2/application/device.go:19:77: undefined: v2.EdgexError 20:32:21 internal/core/data/v2/application/device.go:26:11: undefined: v2.NewCommonEdgexError 20:32:21 internal/core/data/v2/application/device.go:26:34: undefined: v2.KindServerError 20:32:21 internal/core/data/v2/application/event.go:30:87: undefined: v2.EdgexError 20:32:21 internal/core/data/v2/application/event.go:37:14: undefined: v2.NewWrapperEdgexError 20:32:21 internal/core/data/v2/application/event.go:46:15: undefined: v2.NewWrapperEdgexError 20:32:24 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.005s 20:32:29 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 20:32:29 internal/core/data/v2/application/device.go:19: undefined: v2.EdgexError 20:32:29 internal/core/data/v2/application/device.go:26: undefined: v2.NewCommonEdgexError 20:32:29 internal/core/data/v2/application/device.go:26: undefined: v2.KindServerError 20:32:29 internal/core/data/v2/application/event.go:30: undefined: v2.EdgexError 20:32:29 internal/core/data/v2/application/event.go:37: undefined: v2.NewWrapperEdgexError 20:32:29 internal/core/data/v2/application/event.go:46: undefined: v2.NewWrapperEdgexError 20:32:29 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.050s coverage: 46.6% of statements 20:32:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 20:32:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.004s coverage: 100.0% of statements 20:32:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.005s coverage: 100.0% of statements 20:32:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 20:32:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 20:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.101s coverage: 28.6% of statements 20:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.011s coverage: 100.0% of statements 20:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.011s coverage: 100.0% of statements 20:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.030s coverage: 89.8% of statements 20:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.021s coverage: 97.5% of statements 20:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.020s coverage: 100.0% of statements 20:32:33 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.052s coverage: 58.8% of statements 20:32:34 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.067s coverage: 63.5% of statements 20:32:34 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.018s coverage: 100.0% of statements 20:32:35 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.074s coverage: 55.9% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 10.314s coverage: 86.3% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.255s coverage: 72.2% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.088s coverage: 72.1% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.028s coverage: 82.4% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.007s coverage: 48.4% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.005s coverage: 28.8% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.005s coverage: 96.8% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.032s coverage: 26.9% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.074s coverage: 84.1% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.026s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.009s coverage: 42.9% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.013s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.006s coverage: 83.8% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.020s coverage: 46.1% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.020s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.025s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.031s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.057s coverage: 29.1% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.010s coverage: 99.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.006s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/system 0.007s coverage: 0.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.004s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.005s coverage: 87.9% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.004s coverage: 100.0% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.005s coverage: 32.1% of statements 20:32:45 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.005s coverage: 100.0% of statements 20:32:46 make: *** [Makefile:81: test] Error 2 [Pipeline] } 20:32:46 $ docker stop --time=1 d86e79cd7fbf47d41578e874eea08a7756b3c15620789de87e9058cd954b51c0 20:32:48 $ docker rm -f d86e79cd7fbf47d41578e874eea08a7756b3c15620789de87e9058cd954b51c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] // stage [Pipeline] } 20:32:50 Failed in branch amd64 20:32:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2163 in /w/workspace/edgexfoundry_edgex-go_PR-2681 [Pipeline] { [Pipeline] ws 20:32:54 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 20:32:59 using credential edgex-jenkins-ssh 20:32:59 Cloning the remote Git repository 20:32:59 Cloning with configured refspecs honoured and without tags 20:32:59 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:32:59 > git init /w/workspace/edgex-go/2 # timeout=10 20:32:59 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:32:59 > git --version # timeout=10 20:32:59 > git --version # 'git version 2.17.1' 20:32:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:32:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:33:36 Fetching without tags 20:33:37 Merging remotes/origin/master commit 57974a27473083c1c6a10cb9f7b41893fbb07c00 into PR head commit b02541a61db9d4fcbee63351f76a5a0e52e2a310 20:33:37 Merge succeeded, producing 4e3421ac3f782026d45af09019dd04597bb92f9b 20:33:37 Checking out Revision 4e3421ac3f782026d45af09019dd04597bb92f9b (PR-2681) 20:33:36 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:33:36 > git config --add remote.origin.fetch +refs/pull/2681/head:refs/remotes/origin/PR-2681 # timeout=10 20:33:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:33:36 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:33:36 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:33:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:33:37 > git config core.sparsecheckout # timeout=10 20:33:37 > git checkout -f b02541a61db9d4fcbee63351f76a5a0e52e2a310 # timeout=10 20:33:37 > git remote # timeout=10 20:33:37 > git config --get remote.origin.url # timeout=10 20:33:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:37 > git merge 57974a27473083c1c6a10cb9f7b41893fbb07c00 # timeout=10 20:33:37 > git rev-parse HEAD^{commit} # timeout=10 20:33:37 > git config core.sparsecheckout # timeout=10 20:33:37 > git checkout -f 4e3421ac3f782026d45af09019dd04597bb92f9b # timeout=10 20:33:42 Commit message: "Merge commit '57974a27473083c1c6a10cb9f7b41893fbb07c00' into HEAD" 20:33:42 > git rev-list --no-walk b02541a61db9d4fcbee63351f76a5a0e52e2a310 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:33:54 ========================================================= 20:33:54 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:33:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:33:55 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 20:34:00 Sending build context to Docker daemon 323.2MB 20:34:00 Step 1/7 : ARG BASE=golang:1.13-alpine 20:34:00 Step 2/7 : FROM ${BASE} 20:34:00 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:34:00 b538f80385f9: Pulling fs layer 20:34:00 74f711af9a0d: Pulling fs layer 20:34:00 99f96fe45779: Pulling fs layer 20:34:00 fd7a069fd194: Pulling fs layer 20:34:00 66aa3694b03b: Pulling fs layer 20:34:00 170f70906a0f: Pulling fs layer 20:34:00 ad7c5574e4b9: Pulling fs layer 20:34:00 e772456be8f7: Pulling fs layer 20:34:00 c890913d741a: Pulling fs layer 20:34:00 2480fcc9aa5a: Pulling fs layer 20:34:00 09adf4765672: Pulling fs layer 20:34:00 fd7a069fd194: Waiting 20:34:00 66aa3694b03b: Waiting 20:34:00 170f70906a0f: Waiting 20:34:00 ad7c5574e4b9: Waiting 20:34:00 e772456be8f7: Waiting 20:34:00 2480fcc9aa5a: Waiting 20:34:00 09adf4765672: Waiting 20:34:00 c890913d741a: Waiting 20:34:00 99f96fe45779: Download complete 20:34:00 b538f80385f9: Download complete 20:34:00 66aa3694b03b: Verifying Checksum 20:34:00 66aa3694b03b: Download complete 20:34:00 74f711af9a0d: Download complete 20:34:00 170f70906a0f: Verifying Checksum 20:34:00 170f70906a0f: Download complete 20:34:01 b538f80385f9: Pull complete 20:34:01 74f711af9a0d: Pull complete 20:34:02 99f96fe45779: Pull complete 20:34:03 ad7c5574e4b9: Verifying Checksum 20:34:03 ad7c5574e4b9: Download complete 20:34:03 c890913d741a: Verifying Checksum 20:34:03 c890913d741a: Download complete 20:34:05 2480fcc9aa5a: Download complete 20:34:05 09adf4765672: Download complete 20:34:06 fd7a069fd194: Verifying Checksum 20:34:06 fd7a069fd194: Download complete 20:34:06 e772456be8f7: Verifying Checksum 20:34:06 e772456be8f7: Download complete 20:34:19 fd7a069fd194: Pull complete 20:34:19 66aa3694b03b: Pull complete 20:34:19 170f70906a0f: Pull complete 20:34:22 ad7c5574e4b9: Pull complete 20:34:27 e772456be8f7: Pull complete 20:34:27 c890913d741a: Pull complete 20:34:29 2480fcc9aa5a: Pull complete 20:34:30 09adf4765672: Pull complete 20:34:30 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 20:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:34:30 ---> 2248a725d1cf 20:34:30 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 20:34:34 ---> Running in a15b009e53cc 20:34:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:34:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:34:39 (1/12) Installing libmagic (5.38-r0) 20:34:39 (2/12) Installing file (5.38-r0) 20:34:40 (3/12) Installing libc-dev (0.7.2-r3) 20:34:40 (4/12) Installing g++ (9.3.0-r2) 20:34:45 (5/12) Installing fortify-headers (1.1-r0) 20:34:45 (6/12) Installing patch (2.7.6-r6) 20:34:45 (7/12) Installing build-base (0.5-r2) 20:34:45 (8/12) Installing libsodium (1.0.18-r0) 20:34:45 (9/12) Installing pkgconf (1.7.2-r0) 20:34:45 (10/12) Installing libsodium-dev (1.0.18-r0) 20:34:45 (11/12) Installing libzmq (4.3.3-r0) 20:34:45 (12/12) Installing zeromq-dev (4.3.3-r0) 20:34:46 Executing busybox-1.31.1-r16.trigger 20:34:46 OK: 217 MiB in 51 packages 20:34:50 Removing intermediate container a15b009e53cc 20:34:50 ---> 5ded9325c58e 20:34:50 Step 4/7 : WORKDIR /edgex-go 20:34:50 ---> Running in 25cd88dc051e 20:34:51 Removing intermediate container 25cd88dc051e 20:34:51 ---> 1f3e9dd931c1 20:34:51 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:34:51 latest: Pulling from library/docker 20:34:51 b538f80385f9: Already exists 20:34:51 259a493cd78d: Pulling fs layer 20:34:51 b8e66b5100f5: Pulling fs layer 20:34:51 39dc9c94d07c: Pulling fs layer 20:34:51 551b823b3b82: Pulling fs layer 20:34:51 3c52a74df98c: Pulling fs layer 20:34:51 6c9b121b6998: Pulling fs layer 20:34:51 551b823b3b82: Waiting 20:34:51 3c52a74df98c: Waiting 20:34:51 6c9b121b6998: Waiting 20:34:51 b8e66b5100f5: Download complete 20:34:51 259a493cd78d: Verifying Checksum 20:34:51 551b823b3b82: Verifying Checksum 20:34:51 551b823b3b82: Download complete 20:34:51 3c52a74df98c: Verifying Checksum 20:34:51 3c52a74df98c: Download complete 20:34:51 6c9b121b6998: Verifying Checksum 20:34:51 6c9b121b6998: Download complete 20:34:52 259a493cd78d: Pull complete 20:34:52 b8e66b5100f5: Pull complete 20:34:53 39dc9c94d07c: Verifying Checksum 20:34:53 39dc9c94d07c: Download complete 20:34:56 39dc9c94d07c: Pull complete 20:34:56 551b823b3b82: Pull complete 20:34:56 3c52a74df98c: Pull complete 20:34:57 6c9b121b6998: Pull complete 20:34:57 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 20:34:57 Status: Downloaded newer image for docker:latest 20:35:00 ---> 83a791296f9f 20:35:00 Step 6/7 : COPY go.mod . 20:35:01 ---> 3982437016a1 20:35:01 Step 7/7 : RUN go mod download 20:35:01 ---> Running in cbc68057cf28 20:35:04 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:35:04 go: finding github.com/BurntSushi/toml v0.3.1 20:35:04 go: finding github.com/OneOfOne/xxhash v1.2.5 20:35:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:35:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:35:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:35:04 go: finding github.com/bgentry/speakeasy v0.1.0 20:35:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:35:04 go: finding github.com/cloudflare/gokey v0.1.0 20:35:04 go: finding github.com/davecgh/go-spew v1.1.1 20:35:04 go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible 20:35:04 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 20:35:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 20:35:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:35:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.74 20:35:04 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 20:35:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:35:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:35:04 go: finding github.com/fatih/color v1.7.0 20:35:04 go: finding github.com/fsnotify/fsnotify v1.4.7 20:35:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:35:05 go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 20:35:05 go: finding github.com/go-kit/kit v0.8.0 20:35:05 go: finding github.com/go-logfmt/logfmt v0.4.0 20:35:05 go: finding github.com/go-playground/assert/v2 v2.0.1 20:35:05 go: finding github.com/go-playground/locales v0.13.0 20:35:05 go: finding github.com/go-playground/universal-translator v0.17.0 20:35:05 go: finding github.com/go-playground/validator/v10 v10.3.0 20:35:05 go: finding github.com/go-redis/redis/v7 v7.2.0 20:35:05 go: finding github.com/go-stack/stack v1.8.0 20:35:05 go: finding github.com/golang/protobuf v1.3.2 20:35:05 go: finding github.com/gomodule/redigo v2.0.0+incompatible 20:35:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:35:05 go: finding github.com/google/uuid v1.1.0 20:35:05 go: finding github.com/gorilla/mux v1.7.1 20:35:05 go: finding github.com/hashicorp/consul/api v1.1.0 20:35:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:35:05 go: finding github.com/hashicorp/errwrap v1.0.0 20:35:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:35:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:35:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:35:05 go: finding github.com/hashicorp/go-multierror v1.0.0 20:35:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:35:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:35:05 go: finding github.com/hashicorp/go-syslog v1.0.0 20:35:05 go: finding github.com/hashicorp/go-uuid v1.0.1 20:35:05 go: finding github.com/hashicorp/go.net v0.0.1 20:35:05 go: finding github.com/hashicorp/golang-lru v0.5.0 20:35:05 go: finding github.com/hashicorp/logutils v1.0.0 20:35:05 go: finding github.com/hashicorp/mdns v1.0.0 20:35:05 go: finding github.com/hashicorp/memberlist v0.1.3 20:35:05 go: finding github.com/hashicorp/serf v0.8.2 20:35:05 go: finding github.com/hpcloud/tail v1.0.0 20:35:05 go: finding github.com/imdario/mergo v0.3.6 20:35:05 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:35:05 go: finding github.com/kr/pretty v0.1.0 20:35:05 go: finding github.com/kr/pty v1.1.1 20:35:05 go: finding github.com/kr/text v0.1.0 20:35:05 go: finding github.com/leodido/go-urn v1.2.0 20:35:05 go: finding github.com/mattn/go-colorable v0.0.9 20:35:05 go: finding github.com/mattn/go-isatty v0.0.3 20:35:05 go: finding github.com/miekg/dns v1.0.14 20:35:06 go: finding github.com/mitchellh/cli v1.0.0 20:35:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:35:06 go: finding github.com/mitchellh/copystructure v1.0.0 20:35:06 go: finding github.com/mitchellh/go-homedir v1.0.0 20:35:06 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:35:06 go: finding github.com/mitchellh/gox v0.4.0 20:35:06 go: finding github.com/mitchellh/iochan v1.0.0 20:35:06 go: finding github.com/mitchellh/mapstructure v1.1.2 20:35:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:35:06 go: finding github.com/onsi/ginkgo v1.10.1 20:35:06 go: finding github.com/onsi/gomega v1.7.0 20:35:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:35:06 go: finding github.com/pebbe/zmq4 v1.0.0 20:35:06 go: finding github.com/pelletier/go-toml v1.2.0 20:35:06 go: finding github.com/pkg/errors v0.8.1 20:35:06 go: finding github.com/pmezard/go-difflib v1.0.0 20:35:06 go: finding github.com/posener/complete v1.1.1 20:35:06 go: finding github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967 20:35:06 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:35:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:35:06 go: finding github.com/stretchr/objx v0.1.0 20:35:06 go: finding github.com/stretchr/testify v1.5.1 20:35:06 go: finding github.com/ugorji/go v1.1.4 20:35:06 go: finding github.com/x448/float16 v0.8.4 20:35:06 go: finding golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 20:35:06 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 20:35:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:35:06 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 20:35:06 go: finding golang.org/x/text v0.3.2 20:35:06 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 20:35:06 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:35:06 go: finding gopkg.in/eapache/queue.v1 v1.1.0 20:35:07 go: finding gopkg.in/fsnotify.v1 v1.4.7 20:35:07 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:35:07 go: finding gopkg.in/yaml.v2 v2.2.8 20:35:29 Removing intermediate container cbc68057cf28 20:35:29 ---> c815e944e814 20:35:29 Successfully built c815e944e814 20:35:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:35:29 + docker inspect -f . ci-base-image-arm64 20:35:29 . [Pipeline] withDockerContainer 20:35:30 prd-ubuntu18.04-docker-arm64-4c-16g-2163 does not seem to be running inside a container 20:35:30 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-arm64 cat 20:35:31 $ docker top bcace5e00e66fd3a2c4ede3525e1dc58ab115f4606439f2b896ecc8f23aa1340 -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:32 + go version 20:35:32 go version go1.13.13 linux/arm64 [Pipeline] echo 20:35:32 ========================================================= 20:35:32 [edgeXBuildGoParallel] Running Tests and Build... 20:35:32 ========================================================= [Pipeline] sh 20:35:33 + make test 20:35:33 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:35:37 ? github.com/edgexfoundry/edgex-go [no test files] 20:36:09 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:36:09 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 20:36:09 internal/pkg/v2/infrastructure/redis/client.go:31:15: undefined: v2.NewCommonEdgexError 20:36:09 internal/pkg/v2/infrastructure/redis/client.go:31:38: undefined: v2.KindDatabaseError 20:36:09 internal/pkg/v2/infrastructure/redis/client.go:53:26: undefined: v2.NewCommonEdgexError 20:36:09 internal/pkg/v2/infrastructure/redis/client.go:53:49: undefined: v2.KindInvalidId 20:36:09 internal/pkg/v2/infrastructure/redis/event.go:45:22: undefined: v2.NewCommonEdgexError 20:36:09 internal/pkg/v2/infrastructure/redis/event.go:45:45: undefined: v2.KindContractInvalid 20:36:09 internal/pkg/v2/infrastructure/redis/event.go:81:9: undefined: v2.NewCommonEdgexError 20:36:09 internal/pkg/v2/infrastructure/redis/event.go:81:32: undefined: v2.KindDatabaseError 20:36:09 internal/pkg/v2/infrastructure/redis/reading.go:47:15: undefined: v2.NewCommonEdgexError 20:36:09 internal/pkg/v2/infrastructure/redis/reading.go:47:38: undefined: v2.KindContractInvalid 20:36:09 internal/pkg/v2/infrastructure/redis/reading.go:47:38: too many errors 20:36:09 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 20:36:09 internal/core/data/v2/io/event.go:20:86: undefined: v2.EdgexError 20:36:09 internal/core/data/v2/io/event.go:37:108: undefined: v2.EdgexError 20:36:09 internal/core/data/v2/io/event.go:43:15: undefined: v2.NewCommonEdgexError 20:36:09 internal/core/data/v2/io/event.go:43:38: undefined: v2.KindContractInvalid 20:36:24 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 20:36:24 internal/core/data/v2/application/device.go:19:77: undefined: v2.EdgexError 20:36:24 internal/core/data/v2/application/device.go:26:11: undefined: v2.NewCommonEdgexError 20:36:24 internal/core/data/v2/application/device.go:26:34: undefined: v2.KindServerError 20:36:24 internal/core/data/v2/application/event.go:30:87: undefined: v2.EdgexError 20:36:24 internal/core/data/v2/application/event.go:37:14: undefined: v2.NewWrapperEdgexError 20:36:24 internal/core/data/v2/application/event.go:46:15: undefined: v2.NewWrapperEdgexError 20:36:25 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.033s 20:36:35 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 20:36:35 internal/core/data/v2/application/device.go:19: undefined: v2.EdgexError 20:36:35 internal/core/data/v2/application/device.go:26: undefined: v2.NewCommonEdgexError 20:36:35 internal/core/data/v2/application/device.go:26: undefined: v2.KindServerError 20:36:35 internal/core/data/v2/application/event.go:30: undefined: v2.EdgexError 20:36:35 internal/core/data/v2/application/event.go:37: undefined: v2.NewWrapperEdgexError 20:36:35 internal/core/data/v2/application/event.go:46: undefined: v2.NewWrapperEdgexError 20:36:38 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.160s coverage: 46.6% of statements 20:36:38 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 20:36:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.018s coverage: 100.0% of statements 20:36:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.047s coverage: 100.0% of statements 20:36:38 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 20:36:38 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.422s coverage: 28.6% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.120s coverage: 100.0% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.053s coverage: 100.0% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.066s coverage: 89.8% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.116s coverage: 97.5% of statements 20:36:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.077s coverage: 100.0% of statements 20:36:47 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.016s coverage: 58.8% of statements 20:36:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.207s coverage: 63.5% of statements 20:36:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.021s coverage: 100.0% of statements 20:36:53 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.291s coverage: 55.9% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 34.775s coverage: 86.3% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.170s coverage: 72.2% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.424s coverage: 72.1% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.045s coverage: 82.4% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.018s coverage: 48.4% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.053s coverage: 28.8% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.035s coverage: 96.8% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.119s coverage: 26.9% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.314s coverage: 84.1% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.058s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.030s coverage: 42.9% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.021s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.067s coverage: 83.8% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.095s coverage: 46.1% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.043s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.051s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.097s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.269s coverage: 29.1% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.054s coverage: 99.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.030s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/system 0.016s coverage: 0.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.060s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.076s coverage: 87.9% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.023s coverage: 100.0% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.025s coverage: 32.1% of statements 20:37:32 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.024s coverage: 100.0% of statements 20:37:32 make: *** [Makefile:81: test] Error 2 [Pipeline] } 20:37:32 $ docker stop --time=1 bcace5e00e66fd3a2c4ede3525e1dc58ab115f4606439f2b896ecc8f23aa1340 20:37:35 $ docker rm -f bcace5e00e66fd3a2c4ede3525e1dc58ab115f4606439f2b896ecc8f23aa1340 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] } 20:37:37 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:37:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:37:39 ---> package-listing.sh 20:37:39 ++ facter osfamily 20:37:39 ++ tr '[:upper:]' '[:lower:]' 20:37:39 + OS_FAMILY=redhat 20:37:39 + workspace=/w/workspace/edgex-go/2 20:37:39 + START_PACKAGES=/tmp/packages_start.txt 20:37:39 + END_PACKAGES=/tmp/packages_end.txt 20:37:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:37:39 + PACKAGES=/tmp/packages_start.txt 20:37:39 + '[' /w/workspace/edgex-go/2 ']' 20:37:39 + PACKAGES=/tmp/packages_end.txt 20:37:39 + case "${OS_FAMILY}" in 20:37:39 + rpm -qa 20:37:39 + sort 20:37:44 + '[' -f /tmp/packages_start.txt ']' 20:37:44 + '[' -f /tmp/packages_end.txt ']' 20:37:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:37:44 + '[' /w/workspace/edgex-go/2 ']' 20:37:44 + mkdir -p /w/workspace/edgex-go/2/archives/ 20:37:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] isUnix [Pipeline] sh 20:37:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:37:45 20:37:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:37:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:37:45 alpine: Pulling from edgex-lftools-log-publisher 20:37:45 df20fa9351a1: Already exists 20:37:45 36b3adc4ff6f: Pulling fs layer 20:37:45 8ad3a11d3b57: Pulling fs layer 20:37:45 46f8f816bc3b: Pulling fs layer 20:37:45 0dadc02b9964: Pulling fs layer 20:37:45 ce6a7cf60c04: Pulling fs layer 20:37:45 7a184a31f384: Pulling fs layer 20:37:45 0879bd2ef858: Pulling fs layer 20:37:45 0dadc02b9964: Waiting 20:37:45 ce6a7cf60c04: Waiting 20:37:45 7a184a31f384: Waiting 20:37:45 0879bd2ef858: Waiting 20:37:45 46f8f816bc3b: Verifying Checksum 20:37:45 46f8f816bc3b: Download complete 20:37:45 36b3adc4ff6f: Verifying Checksum 20:37:45 36b3adc4ff6f: Download complete 20:37:45 ce6a7cf60c04: Verifying Checksum 20:37:45 ce6a7cf60c04: Download complete 20:37:45 7a184a31f384: Verifying Checksum 20:37:45 7a184a31f384: Download complete 20:37:45 0dadc02b9964: Verifying Checksum 20:37:45 0dadc02b9964: Download complete 20:37:45 8ad3a11d3b57: Verifying Checksum 20:37:45 8ad3a11d3b57: Download complete 20:37:45 36b3adc4ff6f: Pull complete 20:37:45 0879bd2ef858: Verifying Checksum 20:37:45 0879bd2ef858: Download complete 20:37:46 8ad3a11d3b57: Pull complete 20:37:46 46f8f816bc3b: Pull complete 20:37:46 0dadc02b9964: Pull complete 20:37:46 ce6a7cf60c04: Pull complete 20:37:46 7a184a31f384: Pull complete 20:37:48 0879bd2ef858: Pull complete 20:37:48 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 20:37:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:37:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:37:49 prd-centos7-docker-4c-2g-2157 does not seem to be running inside a container 20:37:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:37:53 $ docker top 465c752d388f75b12fae962bad45de7e04f68eb00653ce33139c477eaa2530c0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:53 + mkdir -p /var/log/sa [Pipeline] sh 20:37:54 + ls /var/log/sa-host 20:37:54 + sadf -c /var/log/sa-host/sa05 20:37:54 file_magic: OK 20:37:54 HZ: Using current value: 100 20:37:54 file_header: OK 20:37:54 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 20:37:54 Statistics: 20:37:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:37:54 File successfully converted to sysstat format version 12.2.1 20:37:54 + sadf -c /var/log/sa-host/sa10 20:37:54 file_magic: OK 20:37:54 HZ: Using current value: 100 20:37:54 file_header: OK 20:37:54 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 20:37:54 Statistics: 20:37:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:37:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:54 provisioning config files... 20:37:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config1557133556507042046tmp [Pipeline] { [Pipeline] echo 20:37:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:37:54 ---> create-netrc.sh [Pipeline] echo 20:37:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:37:55 ---> logs-deploy.sh 20:37:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2681/2 20:37:55 INFO: archiving workspace using pattern(s): 20:37:56 Archives upload complete. 20:37:56 INFO: archiving logs to Nexus