Pull request #2681 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/edgex-go Obtained Jenkinsfile from b02541a61db9d4fcbee63351f76a5a0e52e2a310+ae7f6d9e03ac0c4469df4e5edf961c8bae9d78bc (e984446c01fdb020c328cd083a3c9d4360bccb02) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-2681/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1733 in /w/workspace/edgexfoundry_edgex-go_PR-2681 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # 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 ae7f6d9e03ac0c4469df4e5edf961c8bae9d78bc into PR head commit b02541a61db9d4fcbee63351f76a5a0e52e2a310 Merge succeeded, producing b02541a61db9d4fcbee63351f76a5a0e52e2a310 Checking out Revision b02541a61db9d4fcbee63351f76a5a0e52e2a310 (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 ae7f6d9e03ac0c4469df4e5edf961c8bae9d78bc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b02541a61db9d4fcbee63351f76a5a0e52e2a310 # timeout=10 Commit message: "refactor(core-data): Error handling for V2 API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:21:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:21:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:21:19 ========================================================= 14:21:19 EdgeX Global Pipelines Version Info 14:21:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:21:20 ------------------- 14:21:20 stable info: 14:21:20 ------------------- 14:21:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:21:20 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 14:21:20 Message: update stable to v1.0.119 14:21:21 ------------------- 14:21:21 experimental info: 14:21:21 ------------------- 14:21:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:21:21 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 14:21:21 Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:21:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 14:21:21 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 14:21:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:21:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 14:21:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 14:21:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2681 [Pipeline] echo 14:21:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2681 [Pipeline] echo 14:21:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2681 [Pipeline] echo 14:21:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b02541a61db9d4fcbee63351f76a5a0e52e2a310 [Pipeline] echo 14:21:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b02541a [Pipeline] echo 14:21:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 14:21:25 ++ 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 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/core-command/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo core-command,cmd/core-command/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/core-data/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo core-data,cmd/core-data/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/core-metadata/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo core-metadata,cmd/core-metadata/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/security-proxy-setup/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/security-secrets-setup/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/security-secretstore-setup/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/support-logging/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo support-logging,cmd/support-logging/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/support-notifications/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo support-notifications,cmd/support-notifications/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/support-scheduler/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo support-scheduler,cmd/support-scheduler/Dockerfile 14:21:25 + for file in '`ls cmd/**/Dockerfile`' 14:21:25 ++ dirname cmd/sys-mgmt-agent/Dockerfile 14:21:25 ++ cut -d/ -f2 14:21:25 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 14:21:25 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 14:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:21:26 14:21:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:21:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:21:26 latest: Pulling from edgex-devops/git-semver 14:21:26 31603596830f: Pulling fs layer 14:21:26 2a8b12db71e7: Pulling fs layer 14:21:26 6ca5941a6612: Pulling fs layer 14:21:26 ecc8261a40a4: Pulling fs layer 14:21:26 ecc8261a40a4: Waiting 14:21:26 31603596830f: Verifying Checksum 14:21:26 31603596830f: Download complete 14:21:27 6ca5941a6612: Verifying Checksum 14:21:27 6ca5941a6612: Download complete 14:21:27 ecc8261a40a4: Verifying Checksum 14:21:27 ecc8261a40a4: Download complete 14:21:27 31603596830f: Pull complete 14:21:27 2a8b12db71e7: Pull complete 14:21:28 6ca5941a6612: Pull complete 14:21:28 ecc8261a40a4: Pull complete 14:21:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:21:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:21:28 prd-centos7-docker-4c-2g-1733 does not seem to be running inside a container 14:21:28 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:21:30 $ docker top ab6b691d5666788c975c3a87dd9781a2ba25993401ecca9181450865e13c220a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:21:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:31 [ssh-agent] Looking for ssh-agent implementation... 14:21:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:31 $ docker exec ab6b691d5666788c975c3a87dd9781a2ba25993401ecca9181450865e13c220a ssh-agent 14:21:31 SSH_AUTH_SOCK=/tmp/ssh-xHSOjIaPz4Pu/agent.11 14:21:31 SSH_AGENT_PID=16 14:21:31 Running ssh-add (command line suppressed) 14:21:31 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8707515678545877503.key (/w/workspace/edgex-go/1@tmp/private_key_8707515678545877503.key) 14:21:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:32 + git describe --exact-match --tags HEAD 14:21:32 fatal: No names found, cannot describe anything. [Pipeline] } 14:21:32 $ docker exec --env ******** --env ******** ab6b691d5666788c975c3a87dd9781a2ba25993401ecca9181450865e13c220a ssh-agent -k 14:21:32 unset SSH_AUTH_SOCK; 14:21:32 unset SSH_AGENT_PID; 14:21:32 echo Agent pid 16 killed; 14:21:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:21:32 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:21:32 This usually means this commit has not been tagged. [Pipeline] sshagent 14:21:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:32 [ssh-agent] Looking for ssh-agent implementation... 14:21:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:32 $ docker exec ab6b691d5666788c975c3a87dd9781a2ba25993401ecca9181450865e13c220a ssh-agent 14:21:32 SSH_AUTH_SOCK=/tmp/ssh-zHpF1WKcr3mZ/agent.47 14:21:32 SSH_AGENT_PID=52 14:21:32 Running ssh-add (command line suppressed) 14:21:33 Identity added: /w/workspace/edgex-go/1@tmp/private_key_969236395449000082.key (/w/workspace/edgex-go/1@tmp/private_key_969236395449000082.key) 14:21:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:33 + git semver init 14:21:33 # -> Open(): unable to determine branch for HEAD 14:21:33 # $GIT_DIR = /w/workspace/edgex-go/1/.git 14:21:33 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 14:21:33 # $SEMVER_REMOTE_NAME = origin 14:21:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:21:33 # $SEMVER_USER_NAME = edgex-jenkins 14:21:33 # $SEMVER_BRANCH = PR-2681 14:21:33 # $SEMVER_TEMP = /tmp/semver-825478534 14:21:33 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 14:22:05 # '/tmp/semver-825478534' -> '/w/workspace/edgex-go/1/.semver' 14:22:05 # -> Force: false 14:22:05 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 14:22:05 $ docker exec --env ******** --env ******** ab6b691d5666788c975c3a87dd9781a2ba25993401ecca9181450865e13c220a ssh-agent -k 14:22:05 unset SSH_AUTH_SOCK; 14:22:05 unset SSH_AGENT_PID; 14:22:05 echo Agent pid 52 killed; 14:22:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:22:06 + git semver [Pipeline] } 14:22:06 $ docker stop --time=1 ab6b691d5666788c975c3a87dd9781a2ba25993401ecca9181450865e13c220a 14:22:07 $ docker rm -f ab6b691d5666788c975c3a87dd9781a2ba25993401ecca9181450865e13c220a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:22:21 Stashed 42 file(s) [Pipeline] echo 14:22:21 [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 14:22:22 ========================================================= 14:22:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:22:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:22:22 + 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 . 14:22:25 Sending build context to Docker daemon 323.2MB 14:22:25 Step 1/7 : ARG BASE=golang:1.13-alpine 14:22:25 Step 2/7 : FROM ${BASE} 14:22:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:22:25 df20fa9351a1: Pulling fs layer 14:22:25 ed8968b2872e: Pulling fs layer 14:22:25 a92cc7c5fd73: Pulling fs layer 14:22:25 2dd03ba5bac4: Pulling fs layer 14:22:25 1e091d79d1de: Pulling fs layer 14:22:25 481702a1767f: Pulling fs layer 14:22:25 f64a6f60c768: Pulling fs layer 14:22:25 e78d2573fc39: Pulling fs layer 14:22:25 e876d2f968b6: Pulling fs layer 14:22:25 ce8a83651883: Pulling fs layer 14:22:25 07967f4d0e4b: Pulling fs layer 14:22:25 f64a6f60c768: Waiting 14:22:25 e78d2573fc39: Waiting 14:22:25 2dd03ba5bac4: Waiting 14:22:25 e876d2f968b6: Waiting 14:22:25 07967f4d0e4b: Waiting 14:22:25 1e091d79d1de: Waiting 14:22:25 481702a1767f: Waiting 14:22:25 ce8a83651883: Waiting 14:22:25 a92cc7c5fd73: Verifying Checksum 14:22:25 a92cc7c5fd73: Download complete 14:22:25 ed8968b2872e: Verifying Checksum 14:22:25 ed8968b2872e: Download complete 14:22:25 1e091d79d1de: Verifying Checksum 14:22:25 1e091d79d1de: Download complete 14:22:25 481702a1767f: Verifying Checksum 14:22:25 481702a1767f: Download complete 14:22:25 df20fa9351a1: Verifying Checksum 14:22:25 df20fa9351a1: Download complete 14:22:26 df20fa9351a1: Pull complete 14:22:26 ed8968b2872e: Pull complete 14:22:26 a92cc7c5fd73: Pull complete 14:22:28 f64a6f60c768: Verifying Checksum 14:22:28 f64a6f60c768: Download complete 14:22:28 e876d2f968b6: Verifying Checksum 14:22:28 e876d2f968b6: Download complete 14:22:28 e78d2573fc39: Verifying Checksum 14:22:28 e78d2573fc39: Download complete 14:22:28 07967f4d0e4b: Verifying Checksum 14:22:28 07967f4d0e4b: Download complete 14:22:29 ce8a83651883: Verifying Checksum 14:22:29 ce8a83651883: Download complete 14:22:29 2dd03ba5bac4: Verifying Checksum 14:22:29 2dd03ba5bac4: Download complete 14:22:34 2dd03ba5bac4: Pull complete 14:22:34 1e091d79d1de: Pull complete 14:22:34 481702a1767f: Pull complete 14:22:36 Still waiting to schedule task 14:22:36 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1731’ is offline 14:22:41 f64a6f60c768: Pull complete 14:22:44 e78d2573fc39: Pull complete 14:22:44 e876d2f968b6: Pull complete 14:22:45 ce8a83651883: Pull complete 14:22:45 07967f4d0e4b: Pull complete 14:22:45 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 14:22:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:22:45 ---> 5d7c900382c6 14:22:45 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 14:22:47 ---> Running in 9fa9e9720aa9 14:22:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:22:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:22:49 (1/12) Installing libmagic (5.38-r0) 14:22:49 (2/12) Installing file (5.38-r0) 14:22:49 (3/12) Installing libc-dev (0.7.2-r3) 14:22:49 (4/12) Installing g++ (9.3.0-r2) 14:23:01 (5/12) Installing fortify-headers (1.1-r0) 14:23:01 (6/12) Installing patch (2.7.6-r6) 14:23:01 (7/12) Installing build-base (0.5-r2) 14:23:01 (8/12) Installing libsodium (1.0.18-r0) 14:23:01 (9/12) Installing pkgconf (1.7.2-r0) 14:23:01 (10/12) Installing libsodium-dev (1.0.18-r0) 14:23:01 (11/12) Installing libzmq (4.3.2-r0) 14:23:01 (12/12) Installing zeromq-dev (4.3.2-r0) 14:23:01 Executing busybox-1.31.1-r16.trigger 14:23:01 OK: 233 MiB in 51 packages 14:23:04 Removing intermediate container 9fa9e9720aa9 14:23:04 ---> 08ca205c628b 14:23:04 Step 4/7 : WORKDIR /edgex-go 14:23:04 ---> Running in f2d2eaf824ac 14:23:05 Removing intermediate container f2d2eaf824ac 14:23:05 ---> 6dbab95b8379 14:23:05 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 14:23:05 latest: Pulling from library/docker 14:23:05 df20fa9351a1: Already exists 14:23:05 25ad7478873d: Pulling fs layer 14:23:05 4684f6177b5d: Pulling fs layer 14:23:05 46e300cec669: Pulling fs layer 14:23:05 63038576ad94: Pulling fs layer 14:23:05 0fdb76c4706c: Pulling fs layer 14:23:05 cb7edeffdfd5: Pulling fs layer 14:23:05 63038576ad94: Waiting 14:23:05 0fdb76c4706c: Waiting 14:23:05 cb7edeffdfd5: Waiting 14:23:05 4684f6177b5d: Verifying Checksum 14:23:05 4684f6177b5d: Download complete 14:23:05 25ad7478873d: Verifying Checksum 14:23:05 25ad7478873d: Download complete 14:23:05 63038576ad94: Verifying Checksum 14:23:05 63038576ad94: Download complete 14:23:05 0fdb76c4706c: Verifying Checksum 14:23:05 0fdb76c4706c: Download complete 14:23:05 cb7edeffdfd5: Verifying Checksum 14:23:05 cb7edeffdfd5: Download complete 14:23:05 25ad7478873d: Pull complete 14:23:06 4684f6177b5d: Pull complete 14:23:06 46e300cec669: Verifying Checksum 14:23:06 46e300cec669: Download complete 14:23:08 46e300cec669: Pull complete 14:23:08 63038576ad94: Pull complete 14:23:08 0fdb76c4706c: Pull complete 14:23:08 cb7edeffdfd5: Pull complete 14:23:08 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 14:23:08 Status: Downloaded newer image for docker:latest 14:23:10 ---> 3f69bc32a439 14:23:10 Step 6/7 : COPY go.mod . 14:23:11 ---> e3bf2e8ad8d6 14:23:11 Step 7/7 : RUN go mod download 14:23:11 ---> Running in 4ff4241b8cae 14:23:13 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 14:23:13 go: finding github.com/BurntSushi/toml v0.3.1 14:23:13 go: finding github.com/OneOfOne/xxhash v1.2.5 14:23:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:23:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:23:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:23:13 go: finding github.com/bgentry/speakeasy v0.1.0 14:23:13 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:23:13 go: finding github.com/cloudflare/gokey v0.1.0 14:23:13 go: finding github.com/davecgh/go-spew v1.1.1 14:23:13 go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible 14:23:13 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 14:23:13 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 14:23:13 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:23:13 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.74 14:23:13 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 14:23:13 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:23:13 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:23:14 go: finding github.com/fatih/color v1.7.0 14:23:14 go: finding github.com/fsnotify/fsnotify v1.4.7 14:23:14 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:23:14 go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 14:23:14 go: finding github.com/go-kit/kit v0.8.0 14:23:14 go: finding github.com/go-logfmt/logfmt v0.4.0 14:23:14 go: finding github.com/go-playground/assert/v2 v2.0.1 14:23:14 go: finding github.com/go-playground/locales v0.13.0 14:23:14 go: finding github.com/go-playground/universal-translator v0.17.0 14:23:14 go: finding github.com/go-playground/validator/v10 v10.3.0 14:23:14 go: finding github.com/go-redis/redis/v7 v7.2.0 14:23:14 go: finding github.com/go-stack/stack v1.8.0 14:23:14 go: finding github.com/golang/protobuf v1.3.2 14:23:14 go: finding github.com/gomodule/redigo v2.0.0+incompatible 14:23:14 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:23:14 go: finding github.com/google/uuid v1.1.0 14:23:14 go: finding github.com/gorilla/mux v1.7.1 14:23:14 go: finding github.com/hashicorp/consul/api v1.1.0 14:23:14 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:23:14 go: finding github.com/hashicorp/errwrap v1.0.0 14:23:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:23:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:23:14 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:23:14 go: finding github.com/hashicorp/go-multierror v1.0.0 14:23:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:23:14 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:23:14 go: finding github.com/hashicorp/go-syslog v1.0.0 14:23:14 go: finding github.com/hashicorp/go-uuid v1.0.1 14:23:14 go: finding github.com/hashicorp/go.net v0.0.1 14:23:14 go: finding github.com/hashicorp/golang-lru v0.5.0 14:23:14 go: finding github.com/hashicorp/logutils v1.0.0 14:23:14 go: finding github.com/hashicorp/mdns v1.0.0 14:23:14 go: finding github.com/hashicorp/memberlist v0.1.3 14:23:14 go: finding github.com/hashicorp/serf v0.8.2 14:23:14 go: finding github.com/hpcloud/tail v1.0.0 14:23:14 go: finding github.com/imdario/mergo v0.3.6 14:23:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:23:14 go: finding github.com/kr/pretty v0.1.0 14:23:14 go: finding github.com/kr/pty v1.1.1 14:23:14 go: finding github.com/kr/text v0.1.0 14:23:14 go: finding github.com/leodido/go-urn v1.2.0 14:23:14 go: finding github.com/mattn/go-colorable v0.0.9 14:23:14 go: finding github.com/mattn/go-isatty v0.0.3 14:23:14 go: finding github.com/miekg/dns v1.0.14 14:23:14 go: finding github.com/mitchellh/cli v1.0.0 14:23:15 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:23:15 go: finding github.com/mitchellh/copystructure v1.0.0 14:23:15 go: finding github.com/mitchellh/go-homedir v1.0.0 14:23:15 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:23:15 go: finding github.com/mitchellh/gox v0.4.0 14:23:15 go: finding github.com/mitchellh/iochan v1.0.0 14:23:15 go: finding github.com/mitchellh/mapstructure v1.1.2 14:23:15 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:23:15 go: finding github.com/onsi/ginkgo v1.10.1 14:23:15 go: finding github.com/onsi/gomega v1.7.0 14:23:15 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:23:15 go: finding github.com/pebbe/zmq4 v1.0.0 14:23:15 go: finding github.com/pelletier/go-toml v1.2.0 14:23:15 go: finding github.com/pkg/errors v0.8.1 14:23:15 go: finding github.com/pmezard/go-difflib v1.0.0 14:23:15 go: finding github.com/posener/complete v1.1.1 14:23:15 go: finding github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967 14:23:15 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:23:15 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:23:15 go: finding github.com/stretchr/objx v0.1.0 14:23:15 go: finding github.com/stretchr/testify v1.5.1 14:23:15 go: finding github.com/ugorji/go v1.1.4 14:23:15 go: finding github.com/x448/float16 v0.8.4 14:23:15 go: finding golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 14:23:15 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 14:23:15 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:23:15 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 14:23:15 go: finding golang.org/x/text v0.3.2 14:23:15 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 14:23:15 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 14:23:15 go: finding gopkg.in/eapache/queue.v1 v1.1.0 14:23:15 go: finding gopkg.in/fsnotify.v1 v1.4.7 14:23:15 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 14:23:15 go: finding gopkg.in/yaml.v2 v2.2.8 14:23:34 Removing intermediate container 4ff4241b8cae 14:23:34 ---> 7b13c090826e 14:23:34 Successfully built 7b13c090826e 14:23:34 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 14:23:34 + docker inspect -f . ci-base-image-x86_64 14:23:34 . [Pipeline] withDockerContainer 14:23:35 prd-centos7-docker-4c-2g-1733 does not seem to be running inside a container 14:23:35 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:23:35 $ docker top 2734beb69047e320a2c10df312a2ceaf2ad97e6347e6fe74135643331adb5175 -eo pid,comm [Pipeline] { [Pipeline] sh 14:23:36 + go version 14:23:36 go version go1.13.13 linux/amd64 [Pipeline] echo 14:23:36 ========================================================= 14:23:36 [edgeXBuildGoParallel] Running Tests and Build... 14:23:36 ========================================================= [Pipeline] sh 14:23:36 + make test 14:23:36 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:23:39 ? github.com/edgexfoundry/edgex-go [no test files] 14:23:47 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 14:23:48 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 14:23:48 internal/pkg/v2/infrastructure/redis/client.go:31:15: undefined: v2.NewCommonEdgexError 14:23:48 internal/pkg/v2/infrastructure/redis/client.go:31:38: undefined: v2.KindDatabaseError 14:23:48 internal/pkg/v2/infrastructure/redis/client.go:53:26: undefined: v2.NewCommonEdgexError 14:23:48 internal/pkg/v2/infrastructure/redis/client.go:53:49: undefined: v2.KindInvalidId 14:23:48 internal/pkg/v2/infrastructure/redis/event.go:45:22: undefined: v2.NewCommonEdgexError 14:23:48 internal/pkg/v2/infrastructure/redis/event.go:45:45: undefined: v2.KindContractInvalid 14:23:48 internal/pkg/v2/infrastructure/redis/event.go:81:9: undefined: v2.NewCommonEdgexError 14:23:48 internal/pkg/v2/infrastructure/redis/event.go:81:32: undefined: v2.KindDatabaseError 14:23:48 internal/pkg/v2/infrastructure/redis/reading.go:47:15: undefined: v2.NewCommonEdgexError 14:23:48 internal/pkg/v2/infrastructure/redis/reading.go:47:38: undefined: v2.KindContractInvalid 14:23:48 internal/pkg/v2/infrastructure/redis/reading.go:47:38: too many errors 14:23:48 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 14:23:48 internal/core/data/v2/io/event.go:20:86: undefined: v2.EdgexError 14:23:48 internal/core/data/v2/io/event.go:37:108: undefined: v2.EdgexError 14:23:48 internal/core/data/v2/io/event.go:43:15: undefined: v2.NewCommonEdgexError 14:23:48 internal/core/data/v2/io/event.go:43:38: undefined: v2.KindContractInvalid 14:23:52 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 14:23:52 internal/core/data/v2/application/device.go:19:77: undefined: v2.EdgexError 14:23:52 internal/core/data/v2/application/device.go:26:11: undefined: v2.NewCommonEdgexError 14:23:52 internal/core/data/v2/application/device.go:26:34: undefined: v2.KindServerError 14:23:52 internal/core/data/v2/application/event.go:30:87: undefined: v2.EdgexError 14:23:52 internal/core/data/v2/application/event.go:37:14: undefined: v2.NewWrapperEdgexError 14:23:52 internal/core/data/v2/application/event.go:46:15: undefined: v2.NewWrapperEdgexError 14:23:56 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.009s 14:23:57 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 14:23:57 internal/core/data/v2/application/device.go:19: undefined: v2.EdgexError 14:23:57 internal/core/data/v2/application/device.go:26: undefined: v2.NewCommonEdgexError 14:23:57 internal/core/data/v2/application/device.go:26: undefined: v2.KindServerError 14:23:57 internal/core/data/v2/application/event.go:30: undefined: v2.EdgexError 14:23:57 internal/core/data/v2/application/event.go:37: undefined: v2.NewWrapperEdgexError 14:23:57 internal/core/data/v2/application/event.go:46: undefined: v2.NewWrapperEdgexError 14:24:01 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.021s coverage: 46.6% of statements 14:24:01 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 14:24:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.012s coverage: 100.0% of statements 14:24:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.013s coverage: 100.0% of statements 14:24:01 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 14:24:01 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 14:24:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.080s coverage: 28.6% of statements 14:24:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.037s coverage: 100.0% of statements 14:24:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.014s coverage: 100.0% of statements 14:24:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.031s coverage: 89.8% of statements 14:24:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.027s coverage: 97.5% of statements 14:24:04 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.017s coverage: 100.0% of statements 14:24:04 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.027s coverage: 58.8% of statements 14:24:05 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.087s coverage: 63.5% of statements 14:24:05 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.018s coverage: 100.0% of statements 14:24:05 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.101s coverage: 55.9% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 7.090s coverage: 86.3% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.252s coverage: 72.2% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.118s coverage: 72.1% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.023s coverage: 82.4% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.036s coverage: 48.4% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.005s coverage: 28.8% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.006s coverage: 96.8% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.034s coverage: 26.9% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.065s coverage: 84.1% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.006s coverage: 100.0% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.022s coverage: 42.9% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.005s coverage: 100.0% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.007s coverage: 83.8% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.028s coverage: 46.1% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.008s coverage: 100.0% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.035s coverage: 100.0% of statements 14:24:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.007s coverage: 100.0% of statements 14:24:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.078s coverage: 29.1% of statements 14:24:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.636s coverage: 99.0% of statements 14:24:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.008s coverage: 100.0% of statements 14:24:15 ok github.com/edgexfoundry/edgex-go/internal/system 0.009s coverage: 0.0% of statements 14:24:15 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.021s coverage: 100.0% of statements 14:24:16 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.017s coverage: 87.9% of statements 14:24:16 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.007s coverage: 100.0% of statements 14:24:16 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.004s coverage: 32.1% of statements 14:24:16 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.007s coverage: 100.0% of statements 14:24:17 make: *** [Makefile:81: test] Error 2 [Pipeline] } 14:24:17 $ docker stop --time=1 2734beb69047e320a2c10df312a2ceaf2ad97e6347e6fe74135643331adb5175 14:24:19 $ docker rm -f 2734beb69047e320a2c10df312a2ceaf2ad97e6347e6fe74135643331adb5175 [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] } 14:24:21 Failed in branch amd64 14:24:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1734 in /w/workspace/edgexfoundry_edgex-go_PR-2681 [Pipeline] { [Pipeline] ws 14:24:31 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 14:24:36 using credential edgex-jenkins-ssh 14:24:36 Cloning the remote Git repository 14:24:36 Cloning with configured refspecs honoured and without tags 14:24:36 Cloning repository git@github.com:edgexfoundry/edgex-go.git 14:24:37 > git init /w/workspace/edgex-go/1 # timeout=10 14:24:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 14:24:37 > git --version # timeout=10 14:24:37 > git --version # 'git version 2.17.1' 14:24:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:24:37 > 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 14:24:56 Fetching without tags 14:24:56 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 14:24:56 > git config --add remote.origin.fetch +refs/pull/2681/head:refs/remotes/origin/PR-2681 # timeout=10 14:24:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:24:56 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 14:24:56 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 14:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 14:24:56 Merging remotes/origin/master commit ae7f6d9e03ac0c4469df4e5edf961c8bae9d78bc into PR head commit b02541a61db9d4fcbee63351f76a5a0e52e2a310 14:24:57 Merge succeeded, producing b02541a61db9d4fcbee63351f76a5a0e52e2a310 14:24:57 Checking out Revision b02541a61db9d4fcbee63351f76a5a0e52e2a310 (PR-2681) 14:24:56 > 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 14:24:56 > git config core.sparsecheckout # timeout=10 14:24:56 > git checkout -f b02541a61db9d4fcbee63351f76a5a0e52e2a310 # timeout=10 14:24:57 > git remote # timeout=10 14:24:57 > git config --get remote.origin.url # timeout=10 14:24:57 using GIT_SSH to set credentials SSH Credentials for GitHub 14:24:57 > git merge ae7f6d9e03ac0c4469df4e5edf961c8bae9d78bc # timeout=10 14:24:57 > git rev-parse HEAD^{commit} # timeout=10 14:24:57 > git config core.sparsecheckout # timeout=10 14:24:57 > git checkout -f b02541a61db9d4fcbee63351f76a5a0e52e2a310 # timeout=10 14:25:01 Commit message: "refactor(core-data): Error handling for V2 API" 14:25:01 > git --version # timeout=10 14:25:01 > git --version # 'git version 2.17.1' 14:25:01 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:25:13 ========================================================= 14:25:13 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:25:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:25:14 + 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 . 14:25:19 Sending build context to Docker daemon 323.2MB 14:25:19 Step 1/7 : ARG BASE=golang:1.13-alpine 14:25:19 Step 2/7 : FROM ${BASE} 14:25:19 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:25:19 b538f80385f9: Pulling fs layer 14:25:19 74f711af9a0d: Pulling fs layer 14:25:19 99f96fe45779: Pulling fs layer 14:25:19 fd7a069fd194: Pulling fs layer 14:25:19 66aa3694b03b: Pulling fs layer 14:25:19 170f70906a0f: Pulling fs layer 14:25:19 ad7c5574e4b9: Pulling fs layer 14:25:19 e772456be8f7: Pulling fs layer 14:25:19 c890913d741a: Pulling fs layer 14:25:19 2480fcc9aa5a: Pulling fs layer 14:25:19 09adf4765672: Pulling fs layer 14:25:19 fd7a069fd194: Waiting 14:25:19 e772456be8f7: Waiting 14:25:19 66aa3694b03b: Waiting 14:25:19 ad7c5574e4b9: Waiting 14:25:19 c890913d741a: Waiting 14:25:19 09adf4765672: Waiting 14:25:19 170f70906a0f: Waiting 14:25:19 99f96fe45779: Verifying Checksum 14:25:19 99f96fe45779: Download complete 14:25:19 74f711af9a0d: Download complete 14:25:19 66aa3694b03b: Verifying Checksum 14:25:19 66aa3694b03b: Download complete 14:25:19 170f70906a0f: Verifying Checksum 14:25:19 170f70906a0f: Download complete 14:25:19 b538f80385f9: Verifying Checksum 14:25:19 b538f80385f9: Download complete 14:25:19 b538f80385f9: Pull complete 14:25:20 74f711af9a0d: Pull complete 14:25:20 99f96fe45779: Pull complete 14:25:22 ad7c5574e4b9: Verifying Checksum 14:25:22 ad7c5574e4b9: Download complete 14:25:22 c890913d741a: Download complete 14:25:23 2480fcc9aa5a: Verifying Checksum 14:25:23 2480fcc9aa5a: Download complete 14:25:24 09adf4765672: Verifying Checksum 14:25:24 09adf4765672: Download complete 14:25:25 fd7a069fd194: Verifying Checksum 14:25:25 fd7a069fd194: Download complete 14:25:25 e772456be8f7: Verifying Checksum 14:25:25 e772456be8f7: Download complete 14:25:37 fd7a069fd194: Pull complete 14:25:37 66aa3694b03b: Pull complete 14:25:37 170f70906a0f: Pull complete 14:25:40 ad7c5574e4b9: Pull complete 14:25:45 e772456be8f7: Pull complete 14:25:45 c890913d741a: Pull complete 14:25:47 2480fcc9aa5a: Pull complete 14:25:48 09adf4765672: Pull complete 14:25:48 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 14:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:25:48 ---> 2248a725d1cf 14:25:48 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 14:25:53 ---> Running in b4e1e3e46877 14:25:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:25:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:25:58 (1/12) Installing libmagic (5.38-r0) 14:25:59 (2/12) Installing file (5.38-r0) 14:25:59 (3/12) Installing libc-dev (0.7.2-r3) 14:25:59 (4/12) Installing g++ (9.3.0-r2) 14:26:09 (5/12) Installing fortify-headers (1.1-r0) 14:26:09 (6/12) Installing patch (2.7.6-r6) 14:26:09 (7/12) Installing build-base (0.5-r2) 14:26:09 (8/12) Installing libsodium (1.0.18-r0) 14:26:09 (9/12) Installing pkgconf (1.7.2-r0) 14:26:09 (10/12) Installing libsodium-dev (1.0.18-r0) 14:26:09 (11/12) Installing libzmq (4.3.2-r0) 14:26:09 (12/12) Installing zeromq-dev (4.3.2-r0) 14:26:09 Executing busybox-1.31.1-r16.trigger 14:26:10 OK: 217 MiB in 51 packages 14:26:14 Removing intermediate container b4e1e3e46877 14:26:14 ---> c1713ee12f78 14:26:14 Step 4/7 : WORKDIR /edgex-go 14:26:14 ---> Running in 82256014c2cf 14:26:14 Removing intermediate container 82256014c2cf 14:26:14 ---> e94a25816ab3 14:26:14 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 14:26:15 latest: Pulling from library/docker 14:26:15 b538f80385f9: Already exists 14:26:15 259a493cd78d: Pulling fs layer 14:26:15 b8e66b5100f5: Pulling fs layer 14:26:15 39dc9c94d07c: Pulling fs layer 14:26:15 551b823b3b82: Pulling fs layer 14:26:15 3c52a74df98c: Pulling fs layer 14:26:15 551b823b3b82: Waiting 14:26:15 6c9b121b6998: Pulling fs layer 14:26:15 3c52a74df98c: Waiting 14:26:15 6c9b121b6998: Waiting 14:26:15 b8e66b5100f5: Verifying Checksum 14:26:15 b8e66b5100f5: Download complete 14:26:15 259a493cd78d: Verifying Checksum 14:26:15 551b823b3b82: Verifying Checksum 14:26:15 551b823b3b82: Download complete 14:26:15 3c52a74df98c: Verifying Checksum 14:26:15 3c52a74df98c: Download complete 14:26:15 6c9b121b6998: Verifying Checksum 14:26:15 6c9b121b6998: Download complete 14:26:16 259a493cd78d: Pull complete 14:26:16 b8e66b5100f5: Pull complete 14:26:16 39dc9c94d07c: Verifying Checksum 14:26:16 39dc9c94d07c: Download complete 14:26:20 39dc9c94d07c: Pull complete 14:26:20 551b823b3b82: Pull complete 14:26:20 3c52a74df98c: Pull complete 14:26:21 6c9b121b6998: Pull complete 14:26:21 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 14:26:21 Status: Downloaded newer image for docker:latest 14:26:24 ---> 232d29a69ab8 14:26:24 Step 6/7 : COPY go.mod . 14:26:25 ---> de7f7691fb16 14:26:25 Step 7/7 : RUN go mod download 14:26:25 ---> Running in 40161f0033fc 14:26:28 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 14:26:28 go: finding github.com/BurntSushi/toml v0.3.1 14:26:28 go: finding github.com/OneOfOne/xxhash v1.2.5 14:26:28 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:26:28 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:26:28 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:26:28 go: finding github.com/bgentry/speakeasy v0.1.0 14:26:28 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:26:28 go: finding github.com/cloudflare/gokey v0.1.0 14:26:28 go: finding github.com/davecgh/go-spew v1.1.1 14:26:28 go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible 14:26:28 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 14:26:28 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 14:26:28 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:26:28 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.74 14:26:28 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 14:26:28 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:26:28 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:26:28 go: finding github.com/fatih/color v1.7.0 14:26:28 go: finding github.com/fsnotify/fsnotify v1.4.7 14:26:28 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:26:28 go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 14:26:28 go: finding github.com/go-kit/kit v0.8.0 14:26:28 go: finding github.com/go-logfmt/logfmt v0.4.0 14:26:28 go: finding github.com/go-playground/assert/v2 v2.0.1 14:26:28 go: finding github.com/go-playground/locales v0.13.0 14:26:28 go: finding github.com/go-playground/universal-translator v0.17.0 14:26:28 go: finding github.com/go-playground/validator/v10 v10.3.0 14:26:28 go: finding github.com/go-redis/redis/v7 v7.2.0 14:26:28 go: finding github.com/go-stack/stack v1.8.0 14:26:28 go: finding github.com/golang/protobuf v1.3.2 14:26:28 go: finding github.com/gomodule/redigo v2.0.0+incompatible 14:26:28 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:26:28 go: finding github.com/google/uuid v1.1.0 14:26:28 go: finding github.com/gorilla/mux v1.7.1 14:26:28 go: finding github.com/hashicorp/consul/api v1.1.0 14:26:28 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:26:28 go: finding github.com/hashicorp/errwrap v1.0.0 14:26:28 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:26:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:26:29 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:26:29 go: finding github.com/hashicorp/go-multierror v1.0.0 14:26:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:26:29 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:26:29 go: finding github.com/hashicorp/go-syslog v1.0.0 14:26:29 go: finding github.com/hashicorp/go-uuid v1.0.1 14:26:29 go: finding github.com/hashicorp/go.net v0.0.1 14:26:29 go: finding github.com/hashicorp/golang-lru v0.5.0 14:26:29 go: finding github.com/hashicorp/logutils v1.0.0 14:26:29 go: finding github.com/hashicorp/mdns v1.0.0 14:26:29 go: finding github.com/hashicorp/memberlist v0.1.3 14:26:29 go: finding github.com/hashicorp/serf v0.8.2 14:26:29 go: finding github.com/hpcloud/tail v1.0.0 14:26:29 go: finding github.com/imdario/mergo v0.3.6 14:26:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:26:29 go: finding github.com/kr/pretty v0.1.0 14:26:29 go: finding github.com/kr/pty v1.1.1 14:26:29 go: finding github.com/kr/text v0.1.0 14:26:29 go: finding github.com/leodido/go-urn v1.2.0 14:26:29 go: finding github.com/mattn/go-colorable v0.0.9 14:26:29 go: finding github.com/mattn/go-isatty v0.0.3 14:26:29 go: finding github.com/miekg/dns v1.0.14 14:26:29 go: finding github.com/mitchellh/cli v1.0.0 14:26:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:26:29 go: finding github.com/mitchellh/copystructure v1.0.0 14:26:29 go: finding github.com/mitchellh/go-homedir v1.0.0 14:26:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:26:29 go: finding github.com/mitchellh/gox v0.4.0 14:26:29 go: finding github.com/mitchellh/iochan v1.0.0 14:26:29 go: finding github.com/mitchellh/mapstructure v1.1.2 14:26:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:26:29 go: finding github.com/onsi/ginkgo v1.10.1 14:26:29 go: finding github.com/onsi/gomega v1.7.0 14:26:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:26:30 go: finding github.com/pebbe/zmq4 v1.0.0 14:26:30 go: finding github.com/pelletier/go-toml v1.2.0 14:26:30 go: finding github.com/pkg/errors v0.8.1 14:26:30 go: finding github.com/pmezard/go-difflib v1.0.0 14:26:30 go: finding github.com/posener/complete v1.1.1 14:26:30 go: finding github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967 14:26:30 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:26:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:26:30 go: finding github.com/stretchr/objx v0.1.0 14:26:30 go: finding github.com/stretchr/testify v1.5.1 14:26:30 go: finding github.com/ugorji/go v1.1.4 14:26:30 go: finding github.com/x448/float16 v0.8.4 14:26:30 go: finding golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 14:26:30 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 14:26:30 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:26:30 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 14:26:30 go: finding golang.org/x/text v0.3.2 14:26:30 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 14:26:30 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 14:26:30 go: finding gopkg.in/eapache/queue.v1 v1.1.0 14:26:30 go: finding gopkg.in/fsnotify.v1 v1.4.7 14:26:30 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 14:26:30 go: finding gopkg.in/yaml.v2 v2.2.8 14:26:52 Removing intermediate container 40161f0033fc 14:26:52 ---> 871679a262fc 14:26:52 Successfully built 871679a262fc 14:26:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:26:53 + docker inspect -f . ci-base-image-arm64 14:26:53 . [Pipeline] withDockerContainer 14:26:53 prd-ubuntu18.04-docker-arm64-4c-16g-1734 does not seem to be running inside a container 14:26:54 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:26:55 $ docker top d184d8a1320c9fd041d3a219101518d2dc6f83c35629a0b402339fdc99a86c1e -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:56 + go version 14:26:56 go version go1.13.13 linux/arm64 [Pipeline] echo 14:26:56 ========================================================= 14:26:56 [edgeXBuildGoParallel] Running Tests and Build... 14:26:56 ========================================================= [Pipeline] sh 14:26:57 + make test 14:26:57 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:26:59 ? github.com/edgexfoundry/edgex-go [no test files] 14:27:32 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 14:27:32 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 14:27:32 internal/pkg/v2/infrastructure/redis/client.go:31:15: undefined: v2.NewCommonEdgexError 14:27:32 internal/pkg/v2/infrastructure/redis/client.go:31:38: undefined: v2.KindDatabaseError 14:27:32 internal/pkg/v2/infrastructure/redis/client.go:53:26: undefined: v2.NewCommonEdgexError 14:27:32 internal/pkg/v2/infrastructure/redis/client.go:53:49: undefined: v2.KindInvalidId 14:27:32 internal/pkg/v2/infrastructure/redis/event.go:45:22: undefined: v2.NewCommonEdgexError 14:27:32 internal/pkg/v2/infrastructure/redis/event.go:45:45: undefined: v2.KindContractInvalid 14:27:32 internal/pkg/v2/infrastructure/redis/event.go:81:9: undefined: v2.NewCommonEdgexError 14:27:32 internal/pkg/v2/infrastructure/redis/event.go:81:32: undefined: v2.KindDatabaseError 14:27:32 internal/pkg/v2/infrastructure/redis/reading.go:47:15: undefined: v2.NewCommonEdgexError 14:27:32 internal/pkg/v2/infrastructure/redis/reading.go:47:38: undefined: v2.KindContractInvalid 14:27:32 internal/pkg/v2/infrastructure/redis/reading.go:47:38: too many errors 14:27:32 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 14:27:32 internal/core/data/v2/io/event.go:20:86: undefined: v2.EdgexError 14:27:32 internal/core/data/v2/io/event.go:37:108: undefined: v2.EdgexError 14:27:32 internal/core/data/v2/io/event.go:43:15: undefined: v2.NewCommonEdgexError 14:27:32 internal/core/data/v2/io/event.go:43:38: undefined: v2.KindContractInvalid 14:27:42 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 14:27:42 internal/core/data/v2/application/device.go:19:77: undefined: v2.EdgexError 14:27:42 internal/core/data/v2/application/device.go:26:11: undefined: v2.NewCommonEdgexError 14:27:42 internal/core/data/v2/application/device.go:26:34: undefined: v2.KindServerError 14:27:42 internal/core/data/v2/application/event.go:30:87: undefined: v2.EdgexError 14:27:42 internal/core/data/v2/application/event.go:37:14: undefined: v2.NewWrapperEdgexError 14:27:42 internal/core/data/v2/application/event.go:46:15: undefined: v2.NewWrapperEdgexError 14:27:45 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.039s 14:27:56 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 14:27:56 internal/core/data/v2/application/device.go:19: undefined: v2.EdgexError 14:27:56 internal/core/data/v2/application/device.go:26: undefined: v2.NewCommonEdgexError 14:27:56 internal/core/data/v2/application/device.go:26: undefined: v2.KindServerError 14:27:56 internal/core/data/v2/application/event.go:30: undefined: v2.EdgexError 14:27:56 internal/core/data/v2/application/event.go:37: undefined: v2.NewWrapperEdgexError 14:27:56 internal/core/data/v2/application/event.go:46: undefined: v2.NewWrapperEdgexError 14:27:58 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.078s coverage: 46.6% of statements 14:27:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 14:27:58 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.098s coverage: 100.0% of statements 14:27:58 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.045s coverage: 100.0% of statements 14:27:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 14:27:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 14:28:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.324s coverage: 28.6% of statements 14:28:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.039s coverage: 100.0% of statements 14:28:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.023s coverage: 100.0% of statements 14:28:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.190s coverage: 89.8% of statements 14:28:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.087s coverage: 97.5% of statements 14:28:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.084s coverage: 100.0% of statements 14:28:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.057s coverage: 58.8% of statements 14:28:13 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.174s coverage: 63.5% of statements 14:28:13 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.040s coverage: 100.0% of statements 14:28:13 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.344s coverage: 55.9% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 11.570s coverage: 86.3% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.114s coverage: 72.2% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.315s coverage: 72.1% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.063s coverage: 82.4% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.020s coverage: 48.4% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.029s coverage: 28.8% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.054s coverage: 96.8% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.096s coverage: 26.9% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.325s coverage: 84.1% of statements 14:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.042s coverage: 100.0% of statements 14:28:29 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.090s coverage: 42.9% of statements 14:28:29 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.026s coverage: 100.0% of statements 14:28:29 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.116s coverage: 83.8% of statements 14:28:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.120s coverage: 46.1% of statements 14:28:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.054s coverage: 100.0% of statements 14:28:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.049s coverage: 100.0% of statements 14:28:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.063s coverage: 100.0% of statements 14:28:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.181s coverage: 29.1% of statements 14:28:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.050s coverage: 99.0% of statements 14:28:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.066s coverage: 100.0% of statements 14:28:40 ok github.com/edgexfoundry/edgex-go/internal/system 0.028s coverage: 0.0% of statements 14:28:40 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.074s coverage: 100.0% of statements 14:28:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.030s coverage: 87.9% of statements 14:28:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.027s coverage: 100.0% of statements 14:28:44 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.030s coverage: 32.1% of statements 14:28:44 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.029s coverage: 100.0% of statements 14:28:44 make: *** [Makefile:81: test] Error 2 [Pipeline] } 14:28:45 $ docker stop --time=1 d184d8a1320c9fd041d3a219101518d2dc6f83c35629a0b402339fdc99a86c1e 14:28:47 $ docker rm -f d184d8a1320c9fd041d3a219101518d2dc6f83c35629a0b402339fdc99a86c1e [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] } 14:28:49 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 14:28:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:28:54 ---> package-listing.sh 14:28:54 ++ facter osfamily 14:28:54 ++ tr '[:upper:]' '[:lower:]' 14:28:54 + OS_FAMILY=redhat 14:28:54 + workspace=/w/workspace/edgex-go/1 14:28:54 + START_PACKAGES=/tmp/packages_start.txt 14:28:54 + END_PACKAGES=/tmp/packages_end.txt 14:28:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:28:54 + PACKAGES=/tmp/packages_start.txt 14:28:54 + '[' /w/workspace/edgex-go/1 ']' 14:28:54 + PACKAGES=/tmp/packages_end.txt 14:28:54 + case "${OS_FAMILY}" in 14:28:54 + rpm -qa 14:28:54 + sort 14:28:58 + '[' -f /tmp/packages_start.txt ']' 14:28:58 + '[' -f /tmp/packages_end.txt ']' 14:28:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:28:58 + '[' /w/workspace/edgex-go/1 ']' 14:28:58 + mkdir -p /w/workspace/edgex-go/1/archives/ 14:28:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] isUnix [Pipeline] sh 14:28:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:28:59 14:28:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:28:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:28:59 alpine: Pulling from edgex-lftools-log-publisher 14:28:59 df20fa9351a1: Already exists 14:28:59 36b3adc4ff6f: Pulling fs layer 14:28:59 8ad3a11d3b57: Pulling fs layer 14:28:59 46f8f816bc3b: Pulling fs layer 14:28:59 0dadc02b9964: Pulling fs layer 14:28:59 ce6a7cf60c04: Pulling fs layer 14:28:59 7a184a31f384: Pulling fs layer 14:28:59 0879bd2ef858: Pulling fs layer 14:28:59 ce6a7cf60c04: Waiting 14:28:59 0879bd2ef858: Waiting 14:28:59 7a184a31f384: Waiting 14:28:59 0dadc02b9964: Waiting 14:28:59 46f8f816bc3b: Verifying Checksum 14:28:59 46f8f816bc3b: Download complete 14:28:59 36b3adc4ff6f: Download complete 14:28:59 ce6a7cf60c04: Verifying Checksum 14:28:59 ce6a7cf60c04: Download complete 14:28:59 7a184a31f384: Verifying Checksum 14:28:59 7a184a31f384: Download complete 14:28:59 0dadc02b9964: Verifying Checksum 14:28:59 0dadc02b9964: Download complete 14:28:59 8ad3a11d3b57: Verifying Checksum 14:28:59 8ad3a11d3b57: Download complete 14:28:59 36b3adc4ff6f: Pull complete 14:29:00 0879bd2ef858: Verifying Checksum 14:29:00 0879bd2ef858: Download complete 14:29:00 8ad3a11d3b57: Pull complete 14:29:00 46f8f816bc3b: Pull complete 14:29:01 0dadc02b9964: Pull complete 14:29:01 ce6a7cf60c04: Pull complete 14:29:01 7a184a31f384: Pull complete 14:29:03 0879bd2ef858: Pull complete 14:29:03 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 14:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:29:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:29:03 prd-centos7-docker-4c-2g-1733 does not seem to be running inside a container 14:29:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:29:08 $ docker top ecaf2df125684abaa604649b14a76bc15433303725e13a6589ef65708f7fe677 -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:09 + mkdir -p /var/log/sa [Pipeline] sh 14:29:09 + ls /var/log/sa-host 14:29:09 + sadf -c /var/log/sa-host/sa05 14:29:09 file_magic: OK 14:29:09 HZ: Using current value: 100 14:29:09 file_header: OK 14:29:09 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 14:29:09 Statistics: 14:29:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:29:09 File successfully converted to sysstat format version 12.2.1 14:29:09 + sadf -c /var/log/sa-host/sa07 14:29:09 file_magic: OK 14:29:09 HZ: Using current value: 100 14:29:09 file_header: OK 14:29:09 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 14:29:09 Statistics: 14:29:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:29:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:09 provisioning config files... 14:29:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config6448324002428562678tmp [Pipeline] { [Pipeline] echo 14:29:09 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:29:10 ---> create-netrc.sh [Pipeline] echo 14:29:10 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:29:10 ---> logs-deploy.sh 14:29:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2681/1 14:29:10 INFO: archiving workspace using pattern(s): 14:29:11 Archives upload complete. 14:29:11 INFO: archiving logs to Nexus