Pull request #2926 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f+b220847201e83bd7d2b05191ce33e2cf4f3b5326 (4f5d97eabfbb9db07806efedc32a2a34f954b5b4) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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-2926/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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-2926/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, 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.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14822 in /w/workspace/edgexfoundry_edgex-go_PR-2926 [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 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.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/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 --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2926/head:refs/remotes/origin/PR-2926 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b220847201e83bd7d2b05191ce33e2cf4f3b5326 into PR head commit 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f Merge succeeded, producing 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f Checking out Revision 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f (PR-2926) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f # 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 b220847201e83bd7d2b05191ce33e2cf4f3b5326 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:35:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:35:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:35:40 ========================================================= 07:35:40 EdgeX Global Pipelines Version Info 07:35:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:35:41 ------------------- 07:35:41 stable info: 07:35:41 ------------------- 07:35:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:35:41 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 07:35:41 Message: update stable to v1.0.169 07:35:42 ------------------- 07:35:42 experimental info: 07:35:42 ------------------- 07:35:42 Commited By: **** collab-it+edgex@linuxfoundation.org 07:35:42 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 07:35:42 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:35:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 07:35:43 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 07:35:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:35:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:35:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:35:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:35:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:35:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 07:35:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 07:35:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 07:35:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:35:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:35:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:35:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 07:35:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:35:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2926 [Pipeline] echo 07:35:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2926 [Pipeline] echo 07:35:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2926 [Pipeline] echo 07:35:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f [Pipeline] echo 07:35:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bc8d2f [Pipeline] echo 07:35:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:35:47 provisioning config files... 07:35:47 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7130932700156669880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:47 ---> docker-login.sh 07:35:47 nexus3.edgexfoundry.org:10001 07:35:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:47 Configure a credential helper to remove this warning. See 07:35:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:47 07:35:47 Login Succeeded 07:35:47 nexus3.edgexfoundry.org:10002 07:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:48 Configure a credential helper to remove this warning. See 07:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:48 07:35:48 Login Succeeded 07:35:48 nexus3.edgexfoundry.org:10003 07:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:48 Configure a credential helper to remove this warning. See 07:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:48 07:35:48 Login Succeeded 07:35:48 nexus3.edgexfoundry.org:10004 07:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:48 Configure a credential helper to remove this warning. See 07:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:48 07:35:48 Login Succeeded 07:35:48 docker.io 07:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:48 Configure a credential helper to remove this warning. See 07:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:48 07:35:48 Login Succeeded 07:35:48 ---> docker-login.sh ends [Pipeline] } 07:35:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:35:49 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/core-command/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo core-command,cmd/core-command/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/core-data/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo core-data,cmd/core-data/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/core-metadata/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo core-metadata,cmd/core-metadata/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/security-bootstrap-redis/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/security-proxy-setup/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/security-secrets-setup/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/security-secretstore-setup/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/support-notifications/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo support-notifications,cmd/support-notifications/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/support-scheduler/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo support-scheduler,cmd/support-scheduler/Dockerfile 07:35:49 + for file in '`ls cmd/**/Dockerfile`' 07:35:49 ++ dirname cmd/sys-mgmt-agent/Dockerfile 07:35:49 ++ cut -d/ -f2 07:35:49 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 07:35:49 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-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/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-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 07:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:35:50 07:35:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:35:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:35:51 latest: Pulling from edgex-devops/git-semver 07:35:51 31603596830f: Pulling fs layer 07:35:51 2a8b12db71e7: Pulling fs layer 07:35:51 6ca5941a6612: Pulling fs layer 07:35:51 ecc8261a40a4: Pulling fs layer 07:35:51 ecc8261a40a4: Waiting 07:35:51 2a8b12db71e7: Verifying Checksum 07:35:51 2a8b12db71e7: Download complete 07:35:51 31603596830f: Verifying Checksum 07:35:51 31603596830f: Download complete 07:35:51 ecc8261a40a4: Verifying Checksum 07:35:51 ecc8261a40a4: Download complete 07:35:51 6ca5941a6612: Verifying Checksum 07:35:51 6ca5941a6612: Download complete 07:35:51 31603596830f: Pull complete 07:35:51 2a8b12db71e7: Pull complete 07:35:52 6ca5941a6612: Pull complete 07:35:52 ecc8261a40a4: Pull complete 07:35:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:35:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:35:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:35:52 prd-centos7-docker-4c-2g-14822 does not seem to be running inside a container 07:35:52 $ docker run -t -d -u 1001:1001 -u 0:0 -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 07:35:55 $ docker top 24c61e8de2110fb04da101424d20a36a5697f7b2b4be3554d2147f7e3267ae9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:35:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:55 [ssh-agent] Looking for ssh-agent implementation... 07:35:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:55 $ docker exec 24c61e8de2110fb04da101424d20a36a5697f7b2b4be3554d2147f7e3267ae9a ssh-agent 07:35:55 SSH_AUTH_SOCK=/tmp/ssh-hGRf6g9NZejn/agent.12 07:35:55 SSH_AGENT_PID=18 07:35:55 Running ssh-add (command line suppressed) 07:35:56 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8799503488003008744.key (/w/workspace/edgex-go/1@tmp/private_key_8799503488003008744.key) 07:35:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:56 + git tag --points-at HEAD [Pipeline] } 07:35:56 $ docker exec --env ******** --env ******** 24c61e8de2110fb04da101424d20a36a5697f7b2b4be3554d2147f7e3267ae9a ssh-agent -k 07:35:56 unset SSH_AUTH_SOCK; 07:35:56 unset SSH_AGENT_PID; 07:35:56 echo Agent pid 18 killed; 07:35:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:35:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:56 [ssh-agent] Looking for ssh-agent implementation... 07:35:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:57 $ docker exec 24c61e8de2110fb04da101424d20a36a5697f7b2b4be3554d2147f7e3267ae9a ssh-agent 07:35:57 SSH_AUTH_SOCK=/tmp/ssh-xFWgRVBmis8J/agent.47 07:35:57 SSH_AGENT_PID=52 07:35:57 Running ssh-add (command line suppressed) 07:35:57 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3901479365354539015.key (/w/workspace/edgex-go/1@tmp/private_key_3901479365354539015.key) 07:35:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:57 + git semver init 07:35:57 # -> Open(): unable to determine branch for HEAD 07:35:57 # $GIT_DIR = /w/workspace/edgex-go/1/.git 07:35:57 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 07:35:57 # $SEMVER_REMOTE_NAME = origin 07:35:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:35:57 # $SEMVER_USER_NAME = edgex-jenkins 07:35:57 # $SEMVER_BRANCH = PR-2926 07:35:57 # $SEMVER_TEMP = /tmp/semver-837028702 07:35:57 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 07:36:15 # '/tmp/semver-837028702' -> '/w/workspace/edgex-go/1/.semver' 07:36:15 # -> Force: false 07:36:15 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 07:36:15 $ docker exec --env ******** --env ******** 24c61e8de2110fb04da101424d20a36a5697f7b2b4be3554d2147f7e3267ae9a ssh-agent -k 07:36:16 unset SSH_AUTH_SOCK; 07:36:16 unset SSH_AGENT_PID; 07:36:16 echo Agent pid 52 killed; 07:36:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:16 + git semver [Pipeline] } 07:36:16 $ docker stop --time=1 24c61e8de2110fb04da101424d20a36a5697f7b2b4be3554d2147f7e3267ae9a 07:36:18 $ docker rm -f 24c61e8de2110fb04da101424d20a36a5697f7b2b4be3554d2147f7e3267ae9a [Pipeline] // withDockerContainer [Pipeline] sh 07:36:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:36:19 Stashed 1 file(s) [Pipeline] echo 07:36:19 [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] sh 07:36:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:36:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:36:21 + sudo service docker restart 07:36:21 + true 07:36:21 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 07:36:22 ========================================================= 07:36:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:36:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:36: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.15-alpine . 07:36:25 Sending build context to Docker daemon 326.2MB 07:36:25 Step 1/7 : ARG BASE=golang:1.15-alpine 07:36:25 Step 2/7 : FROM ${BASE} 07:36:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:36:25 188c0c94c7c5: Pulling fs layer 07:36:25 0ef7d3d256c8: Pulling fs layer 07:36:25 de9db76c5a1d: Pulling fs layer 07:36:25 bca2f99d35d6: Pulling fs layer 07:36:25 93359f2a8cfa: Pulling fs layer 07:36:25 7c6f9722023f: Pulling fs layer 07:36:25 a35cf1a2eb13: Pulling fs layer 07:36:25 93359f2a8cfa: Waiting 07:36:25 bca2f99d35d6: Waiting 07:36:25 7c6f9722023f: Waiting 07:36:25 a35cf1a2eb13: Waiting 07:36:25 de9db76c5a1d: Verifying Checksum 07:36:25 de9db76c5a1d: Download complete 07:36:25 0ef7d3d256c8: Verifying Checksum 07:36:25 0ef7d3d256c8: Download complete 07:36:25 93359f2a8cfa: Verifying Checksum 07:36:25 93359f2a8cfa: Download complete 07:36:26 7c6f9722023f: Verifying Checksum 07:36:26 7c6f9722023f: Download complete 07:36:26 188c0c94c7c5: Download complete 07:36:26 188c0c94c7c5: Pull complete 07:36:26 0ef7d3d256c8: Pull complete 07:36:27 de9db76c5a1d: Pull complete 07:36:28 a35cf1a2eb13: Verifying Checksum 07:36:28 a35cf1a2eb13: Download complete 07:36:28 bca2f99d35d6: Verifying Checksum 07:36:28 bca2f99d35d6: Download complete 07:36:34 bca2f99d35d6: Pull complete 07:36:34 93359f2a8cfa: Pull complete 07:36:34 7c6f9722023f: Pull complete 07:36:35 Still waiting to schedule task 07:36:35 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:36:40 a35cf1a2eb13: Pull complete 07:36:40 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:36:40 ---> a62c8e92a672 07:36:40 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 07:36:40 ---> Running in 710d4f4283ed 07:36:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:36:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:36:42 (1/12) Installing libmagic (5.38-r0) 07:36:42 (2/12) Installing file (5.38-r0) 07:36:42 (3/12) Installing libc-dev (0.7.2-r3) 07:36:42 (4/12) Installing g++ (9.3.0-r2) 07:36:46 (5/12) Installing fortify-headers (1.1-r0) 07:36:46 (6/12) Installing patch (2.7.6-r6) 07:36:46 (7/12) Installing build-base (0.5-r2) 07:36:46 (8/12) Installing libsodium (1.0.18-r0) 07:36:46 (9/12) Installing pkgconf (1.7.2-r0) 07:36:46 (10/12) Installing libsodium-dev (1.0.18-r0) 07:36:46 (11/12) Installing libzmq (4.3.3-r0) 07:36:46 (12/12) Installing zeromq-dev (4.3.3-r0) 07:36:46 Executing busybox-1.31.1-r19.trigger 07:36:46 OK: 233 MiB in 51 packages 07:36:51 Removing intermediate container 710d4f4283ed 07:36:51 ---> 70dd3e8763f7 07:36:51 Step 4/7 : WORKDIR /edgex-go 07:36:51 ---> Running in b95414196164 07:36:51 Removing intermediate container b95414196164 07:36:51 ---> e03bc6c94e43 07:36:51 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 07:36:51 latest: Pulling from library/docker 07:36:51 188c0c94c7c5: Already exists 07:36:51 0c7c675703d6: Pulling fs layer 07:36:51 cc8c12a437cb: Pulling fs layer 07:36:51 f092543453df: Pulling fs layer 07:36:51 65b6bc45957d: Pulling fs layer 07:36:51 4de832df471b: Pulling fs layer 07:36:51 79aa7fa92271: Pulling fs layer 07:36:51 65b6bc45957d: Waiting 07:36:51 4de832df471b: Waiting 07:36:51 79aa7fa92271: Waiting 07:36:51 cc8c12a437cb: Download complete 07:36:51 0c7c675703d6: Verifying Checksum 07:36:52 65b6bc45957d: Verifying Checksum 07:36:52 65b6bc45957d: Download complete 07:36:52 4de832df471b: Download complete 07:36:52 79aa7fa92271: Verifying Checksum 07:36:52 79aa7fa92271: Download complete 07:36:52 0c7c675703d6: Pull complete 07:36:52 cc8c12a437cb: Pull complete 07:36:52 f092543453df: Download complete 07:36:55 f092543453df: Pull complete 07:36:55 65b6bc45957d: Pull complete 07:36:55 4de832df471b: Pull complete 07:36:55 79aa7fa92271: Pull complete 07:36:55 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 07:36:55 Status: Downloaded newer image for docker:latest 07:36:56 ---> d34e0203b496 07:36:56 Step 6/7 : COPY go.mod . 07:36:57 ---> 56d723c37d63 07:36:57 Step 7/7 : RUN go mod download 07:36:57 ---> Running in da6086811de5 07:37:19 Removing intermediate container da6086811de5 07:37:19 ---> 1b214a17e400 07:37:19 Successfully built 1b214a17e400 07:37:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:37:19 + docker inspect -f . ci-base-image-x86_64 07:37:19 . [Pipeline] withDockerContainer 07:37:20 prd-centos7-docker-4c-2g-14822 does not seem to be running inside a container 07:37:20 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** ci-base-image-x86_64 cat 07:37:20 $ docker top 525d0f0408f04ac12fab60002278853bc63ceb89c659e9b37e5c03c907054ad0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:21 + go version 07:37:21 go version go1.15.5 linux/amd64 [Pipeline] } 07:37:21 $ docker stop --time=1 525d0f0408f04ac12fab60002278853bc63ceb89c659e9b37e5c03c907054ad0 07:37:22 $ docker rm -f 525d0f0408f04ac12fab60002278853bc63ceb89c659e9b37e5c03c907054ad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:37:23 + docker inspect -f . ci-base-image-x86_64 07:37:23 . [Pipeline] withDockerContainer 07:37:23 prd-centos7-docker-4c-2g-14822 does not seem to be running inside a container 07:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** ci-base-image-x86_64 cat 07:37:24 $ docker top a2d007bd18993dfa32a6d5094cad9126783850371502c6190c8b8c8cd7854dc3 -eo pid,comm [Pipeline] { [Pipeline] echo 07:37:24 ========================================================= 07:37:24 [edgeXBuildGoParallel] Running Tests and Build... 07:37:24 ========================================================= [Pipeline] sh 07:37:25 + make test 07:37:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:37:33 ? github.com/edgexfoundry/edgex-go [no test files] 07:37:48 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 07:37:55 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 07:37:55 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 07:37:55 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 07:37:55 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 07:37:55 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 07:37:55 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 07:37:57 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.032s 07:37:57 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 07:37:57 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 07:37:57 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 07:37:57 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 07:37:57 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 07:37:57 ? github.com/edgexfoundry/edgex-go/internal [no test files] 07:38:00 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 07:38:00 internal/core/data/v2/application/event_test.go:57:4: unknown field 'Labels' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading 07:38:00 internal/core/data/v2/application/event_test.go:71:4: unknown field 'Labels' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading 07:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.071s coverage: 46.6% of statements 07:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 07:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 07:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 07:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 07:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 07:38:03 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.170s coverage: 27.1% of statements 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 07:38:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.055s coverage: 100.0% of statements 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 07:38:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.044s coverage: 100.0% of statements 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 07:38:03 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 07:38:03 --- FAIL: TestAddEvent (0.02s) 07:38:03 --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.00s) 07:38:03 event_test.go:221: 07:38:03 Error Trace: event_test.go:221 07:38:03 Error: Received unexpected error: 07:38:03 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 07:38:03 Test: TestAddEvent/Valid_-_AddEventRequest 07:38:03 --- FAIL: TestAddEvent/Valid_-_No_RequestId (0.00s) 07:38:03 event_test.go:221: 07:38:03 Error Trace: event_test.go:221 07:38:03 Error: Received unexpected error: 07:38:03 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 07:38:03 Test: TestAddEvent/Valid_-_No_RequestId 07:38:03 FAIL 07:38:03 coverage: 78.1% of statements 07:38:03 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.102s 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 07:38:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 07:38:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.369s coverage: 28.6% of statements 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 07:38:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.063s coverage: 100.0% of statements 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 07:38:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.047s coverage: 100.0% of statements 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 07:38:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.110s coverage: 86.7% of statements 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 07:38:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.101s coverage: 97.5% of statements 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 07:38:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.086s coverage: 78.3% of statements 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 07:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 07:38:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.304s coverage: 94.7% of statements 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 07:38:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.044s coverage: 58.8% of statements 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 07:38:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.058s coverage: 0.1% of statements 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 07:38:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements 07:38:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 07:38:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.079s coverage: 75.5% of statements 07:38:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.051s coverage: 80.8% of statements 07:38:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.059s coverage: 87.2% of statements 07:38:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.051s coverage: 84.2% of statements 07:38:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.041s coverage: 100.0% of statements 07:38:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 07:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.166s coverage: 63.5% of statements 07:38:09 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 07:38:09 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 07:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.030s coverage: 100.0% of statements 07:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.045s coverage: 91.3% of statements 07:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.041s coverage: 100.0% of statements 07:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.062s coverage: 73.7% of statements 07:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 07:38:10 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.283s coverage: 55.9% of statements 07:38:10 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 07:38:10 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 07:38:10 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 07:38:10 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 07:38:10 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 07:38:10 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 20.168s coverage: 86.3% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.065s coverage: 72.2% of statements 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.384s coverage: 72.1% of statements 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.051s coverage: 82.4% of statements 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.038s coverage: 48.4% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.045s coverage: 28.8% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.039s coverage: 96.8% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.108s coverage: 37.2% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.270s coverage: 84.0% of statements 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.038s coverage: 100.0% of statements 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.111s coverage: 47.1% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.026s coverage: 100.0% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.046s coverage: 100.0% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.056s coverage: 100.0% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.644s coverage: 29.1% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.059s coverage: 99.0% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.054s coverage: 100.0% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/system 0.029s coverage: 0.0% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.039s coverage: 100.0% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.035s coverage: 87.9% of statements 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 07:38:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.038s coverage: 100.0% of statements 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.028s coverage: 32.1% of statements 07:38:32 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.042s coverage: 100.0% of statements 07:38:32 FAIL 07:38:32 make: *** [Makefile:99: test] Error 2 [Pipeline] } 07:38:32 $ docker stop --time=1 a2d007bd18993dfa32a6d5094cad9126783850371502c6190c8b8c8cd7854dc3 07:38:35 $ docker rm -f a2d007bd18993dfa32a6d5094cad9126783850371502c6190c8b8c8cd7854dc3 [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] } 07:38:37 Failed in branch amd64 07:39:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14827 in /w/workspace/edgexfoundry_edgex-go_PR-2926 [Pipeline] { [Pipeline] ws 07:39:29 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 07:39:34 using credential edgex-jenkins-ssh 07:39:34 Cloning the remote Git repository 07:39:34 Cloning repository git@github.com:edgexfoundry/edgex-go.git 07:39:34 > git init /w/workspace/edgex-go/1 # timeout=10 07:39:34 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 07:39:34 > git --version # timeout=10 07:39:35 > git --version # 'git version 2.17.1' 07:39:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:54 Merging remotes/origin/master commit b220847201e83bd7d2b05191ce33e2cf4f3b5326 into PR head commit 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f 07:39:55 Merge succeeded, producing 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f 07:39:55 Checking out Revision 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f (PR-2926) 07:39:54 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 07:39:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:54 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 07:39:54 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 07:39:54 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2926/head:refs/remotes/origin/PR-2926 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:39:54 > git config core.sparsecheckout # timeout=10 07:39:54 > git checkout -f 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f # timeout=10 07:39:55 > git remote # timeout=10 07:39:55 > git config --get remote.origin.url # timeout=10 07:39:55 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:55 > git merge b220847201e83bd7d2b05191ce33e2cf4f3b5326 # timeout=10 07:39:55 > git rev-parse HEAD^{commit} # timeout=10 07:39:55 > git config core.sparsecheckout # timeout=10 07:39:55 > git checkout -f 7bc8d2f8f319b6bbb28618d3d172c29cec1dae5f # timeout=10 07:39:59 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 07:39:59 > git --version # timeout=10 07:39:59 > git --version # 'git version 2.17.1' 07:39:59 fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:40:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:40:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:40:02 + true 07:40:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:40:04 provisioning config files... 07:40:04 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3032122322356497017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:05 ---> docker-login.sh 07:40:05 nexus3.edgexfoundry.org:10001 07:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:06 Configure a credential helper to remove this warning. See 07:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:06 07:40:06 Login Succeeded 07:40:06 nexus3.edgexfoundry.org:10002 07:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:07 Configure a credential helper to remove this warning. See 07:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:07 07:40:07 Login Succeeded 07:40:07 nexus3.edgexfoundry.org:10003 07:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:07 Configure a credential helper to remove this warning. See 07:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:07 07:40:07 Login Succeeded 07:40:07 nexus3.edgexfoundry.org:10004 07:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:08 Configure a credential helper to remove this warning. See 07:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:08 07:40:08 Login Succeeded 07:40:08 docker.io 07:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:09 Configure a credential helper to remove this warning. See 07:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:09 07:40:09 Login Succeeded 07:40:09 ---> docker-login.sh ends [Pipeline] } 07:40:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:40:09 ========================================================= 07:40:09 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:40:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:40:10 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 07:40:12 Sending build context to Docker daemon 165.5MB 07:40:12 Step 1/7 : ARG BASE=golang:1.15-alpine 07:40:12 Step 2/7 : FROM ${BASE} 07:40:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:40:12 5f621e34cdf4: Pulling fs layer 07:40:12 a4357932f1b6: Pulling fs layer 07:40:12 18c013af1878: Pulling fs layer 07:40:12 00ac8860ef70: Pulling fs layer 07:40:12 63d7cb157983: Pulling fs layer 07:40:12 b116817d02f9: Pulling fs layer 07:40:12 745a02a5169b: Pulling fs layer 07:40:12 00ac8860ef70: Waiting 07:40:12 63d7cb157983: Waiting 07:40:12 b116817d02f9: Waiting 07:40:12 745a02a5169b: Waiting 07:40:12 18c013af1878: Verifying Checksum 07:40:12 18c013af1878: Download complete 07:40:12 a4357932f1b6: Verifying Checksum 07:40:12 a4357932f1b6: Download complete 07:40:12 63d7cb157983: Verifying Checksum 07:40:12 63d7cb157983: Download complete 07:40:12 b116817d02f9: Verifying Checksum 07:40:12 b116817d02f9: Download complete 07:40:12 5f621e34cdf4: Download complete 07:40:13 5f621e34cdf4: Pull complete 07:40:14 a4357932f1b6: Pull complete 07:40:14 18c013af1878: Pull complete 07:40:14 745a02a5169b: Verifying Checksum 07:40:14 745a02a5169b: Download complete 07:40:15 00ac8860ef70: Verifying Checksum 07:40:15 00ac8860ef70: Download complete 07:40:26 00ac8860ef70: Pull complete 07:40:26 63d7cb157983: Pull complete 07:40:26 b116817d02f9: Pull complete 07:40:30 745a02a5169b: Pull complete 07:40:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:40:30 ---> b7e6874047d6 07:40: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 07:40:34 ---> Running in c6a9b50fb3b0 07:40:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:40:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:40:36 (1/12) Installing libmagic (5.38-r0) 07:40:36 (2/12) Installing file (5.38-r0) 07:40:36 (3/12) Installing libc-dev (0.7.2-r3) 07:40:36 (4/12) Installing g++ (9.3.0-r2) 07:40:52 (5/12) Installing fortify-headers (1.1-r0) 07:40:52 (6/12) Installing patch (2.7.6-r6) 07:40:52 (7/12) Installing build-base (0.5-r2) 07:40:52 (8/12) Installing libsodium (1.0.18-r0) 07:40:52 (9/12) Installing pkgconf (1.7.2-r0) 07:40:52 (10/12) Installing libsodium-dev (1.0.18-r0) 07:40:52 (11/12) Installing libzmq (4.3.3-r0) 07:40:52 (12/12) Installing zeromq-dev (4.3.3-r0) 07:40:52 Executing busybox-1.31.1-r19.trigger 07:40:52 OK: 217 MiB in 51 packages 07:40:56 Removing intermediate container c6a9b50fb3b0 07:40:56 ---> 796f4f1d5115 07:40:56 Step 4/7 : WORKDIR /edgex-go 07:40:56 ---> Running in 85dcb0e1f9e8 07:40:56 Removing intermediate container 85dcb0e1f9e8 07:40:56 ---> 8e3b98c4735a 07:40:56 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 07:40:57 latest: Pulling from library/docker 07:40:57 5f621e34cdf4: Already exists 07:40:57 85db56a05063: Pulling fs layer 07:40:57 ccb67d6aeaaa: Pulling fs layer 07:40:57 de930078acea: Pulling fs layer 07:40:57 d5a9d88a4785: Pulling fs layer 07:40:57 e7f15c1544d5: Pulling fs layer 07:40:57 877c515997d3: Pulling fs layer 07:40:57 e7f15c1544d5: Waiting 07:40:57 d5a9d88a4785: Waiting 07:40:57 877c515997d3: Waiting 07:40:57 ccb67d6aeaaa: Verifying Checksum 07:40:57 ccb67d6aeaaa: Download complete 07:40:57 85db56a05063: Verifying Checksum 07:40:57 85db56a05063: Download complete 07:40:57 d5a9d88a4785: Verifying Checksum 07:40:57 d5a9d88a4785: Download complete 07:40:57 e7f15c1544d5: Verifying Checksum 07:40:57 e7f15c1544d5: Download complete 07:40:58 877c515997d3: Verifying Checksum 07:40:58 877c515997d3: Download complete 07:40:59 85db56a05063: Pull complete 07:40:59 ccb67d6aeaaa: Pull complete 07:40:59 de930078acea: Download complete 07:41:02 de930078acea: Pull complete 07:41:02 d5a9d88a4785: Pull complete 07:41:02 e7f15c1544d5: Pull complete 07:41:03 877c515997d3: Pull complete 07:41:03 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 07:41:03 Status: Downloaded newer image for docker:latest 07:41:06 ---> f234e67ee43b 07:41:06 Step 6/7 : COPY go.mod . 07:41:07 ---> 85edffead9f2 07:41:07 Step 7/7 : RUN go mod download 07:41:07 ---> Running in 3b5ea2c48b72 07:41:34 Removing intermediate container 3b5ea2c48b72 07:41:34 ---> 97ab4b917a10 07:41:34 Successfully built 97ab4b917a10 07:41:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:41:34 + docker inspect -f . ci-base-image-arm64 07:41:34 . [Pipeline] withDockerContainer 07:41:34 prd-ubuntu18.04-docker-arm64-4c-16g-14827 does not seem to be running inside a container 07:41:34 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:41:36 $ docker top 752bbbc6208e367791b02a2153e64789d9d87bbf8eba040a08762bd69bd98758 -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:37 + go version 07:41:37 go version go1.15.5 linux/arm64 [Pipeline] } 07:41:37 $ docker stop --time=1 752bbbc6208e367791b02a2153e64789d9d87bbf8eba040a08762bd69bd98758 07:41:39 $ docker rm -f 752bbbc6208e367791b02a2153e64789d9d87bbf8eba040a08762bd69bd98758 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:41:41 + docker inspect -f . ci-base-image-arm64 07:41:41 . [Pipeline] withDockerContainer 07:41:41 prd-ubuntu18.04-docker-arm64-4c-16g-14827 does not seem to be running inside a container 07:41:41 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:41:42 $ docker top 9b3001f6ea00f5f040ca77e044e80ab0069fb10cd1cb0bfada78b9f8874f9720 -eo pid,comm [Pipeline] { [Pipeline] echo 07:41:43 ========================================================= 07:41:43 [edgeXBuildGoParallel] Running Tests and Build... 07:41:43 ========================================================= [Pipeline] sh 07:41:44 + make test 07:41:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:42:06 ? github.com/edgexfoundry/edgex-go [no test files] 07:42:53 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 07:43:12 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 07:43:12 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 07:43:12 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 07:43:12 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 07:43:12 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 07:43:12 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 07:43:16 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.071s 07:43:16 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 07:43:16 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 07:43:18 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 07:43:18 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 07:43:18 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 07:43:18 ? github.com/edgexfoundry/edgex-go/internal [no test files] 07:43:26 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 07:43:26 internal/core/data/v2/application/event_test.go:57:4: unknown field 'Labels' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading 07:43:26 internal/core/data/v2/application/event_test.go:71:4: unknown field 'Labels' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading 07:43:26 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.198s coverage: 46.6% of statements 07:43:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 07:43:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 07:43:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 07:43:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 07:43:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 07:43:35 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.523s coverage: 27.1% of statements 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 07:43:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.066s coverage: 100.0% of statements 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 07:43:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.101s coverage: 100.0% of statements 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 07:43:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 07:43:35 --- FAIL: TestAddEvent (0.06s) 07:43:35 --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.01s) 07:43:35 event_test.go:221: 07:43:35 Error Trace: event_test.go:221 07:43:35 Error: Received unexpected error: 07:43:35 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 07:43:35 Test: TestAddEvent/Valid_-_AddEventRequest 07:43:35 --- FAIL: TestAddEvent/Valid_-_No_RequestId (0.00s) 07:43:35 event_test.go:221: 07:43:35 Error Trace: event_test.go:221 07:43:35 Error: Received unexpected error: 07:43:35 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 07:43:35 Test: TestAddEvent/Valid_-_No_RequestId 07:43:35 FAIL 07:43:35 coverage: 78.1% of statements 07:43:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.281s 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 07:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 07:43:40 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.247s coverage: 28.6% of statements 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 07:43:40 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.159s coverage: 100.0% of statements 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 07:43:40 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.078s coverage: 100.0% of statements 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 07:43:40 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.326s coverage: 86.7% of statements 07:43:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 07:43:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.366s coverage: 97.5% of statements 07:43:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 07:43:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.130s coverage: 78.3% of statements 07:43:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 07:43:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 07:43:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 07:43:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.966s coverage: 94.7% of statements 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.075s coverage: 58.8% of statements 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.153s coverage: 0.1% of statements 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.119s coverage: 100.0% of statements 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.112s coverage: 75.5% of statements 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.085s coverage: 80.8% of statements 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.119s coverage: 87.2% of statements 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.176s coverage: 84.2% of statements 07:43:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.061s coverage: 100.0% of statements 07:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 07:43:55 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.630s coverage: 63.5% of statements 07:43:55 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 07:43:55 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 07:43:55 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.073s coverage: 100.0% of statements 07:43:55 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.117s coverage: 91.3% of statements 07:43:55 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.063s coverage: 100.0% of statements 07:43:55 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.119s coverage: 73.7% of statements 07:43:55 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.083s coverage: 100.0% of statements 07:44:00 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.846s coverage: 55.9% of statements 07:44:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 07:44:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 07:44:00 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 07:44:00 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 07:44:00 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 07:44:00 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 30.446s coverage: 86.3% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.545s coverage: 72.2% of statements 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.576s coverage: 72.1% of statements 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.076s coverage: 82.4% of statements 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.062s coverage: 48.4% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.062s coverage: 28.8% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.084s coverage: 96.8% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.369s coverage: 37.2% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.649s coverage: 84.0% of statements 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.106s coverage: 100.0% of statements 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.337s coverage: 47.1% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.045s coverage: 100.0% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.136s coverage: 100.0% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.140s coverage: 100.0% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.272s coverage: 29.1% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.239s coverage: 99.0% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.106s coverage: 100.0% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/system 0.041s coverage: 0.0% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.060s coverage: 100.0% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.094s coverage: 87.9% of statements 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 07:44:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.068s coverage: 100.0% of statements 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.060s coverage: 32.1% of statements 07:44:32 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements 07:44:32 FAIL 07:44:32 make: *** [Makefile:99: test] Error 2 [Pipeline] } 07:44:32 $ docker stop --time=1 9b3001f6ea00f5f040ca77e044e80ab0069fb10cd1cb0bfada78b9f8874f9720 07:44:34 $ docker rm -f 9b3001f6ea00f5f040ca77e044e80ab0069fb10cd1cb0bfada78b9f8874f9720 [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] } 07:44: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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 07:44:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:44:41 ---> package-listing.sh 07:44:41 ++ facter osfamily 07:44:41 ++ tr '[:upper:]' '[:lower:]' 07:44:41 + OS_FAMILY=redhat 07:44:41 + workspace=/w/workspace/edgex-go/1 07:44:41 + START_PACKAGES=/tmp/packages_start.txt 07:44:41 + END_PACKAGES=/tmp/packages_end.txt 07:44:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:44:41 + PACKAGES=/tmp/packages_start.txt 07:44:41 + '[' /w/workspace/edgex-go/1 ']' 07:44:41 + PACKAGES=/tmp/packages_end.txt 07:44:41 + case "${OS_FAMILY}" in 07:44:41 + rpm -qa 07:44:41 + sort 07:44:47 + '[' -f /tmp/packages_start.txt ']' 07:44:47 + '[' -f /tmp/packages_end.txt ']' 07:44:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:44:47 + '[' /w/workspace/edgex-go/1 ']' 07:44:47 + mkdir -p /w/workspace/edgex-go/1/archives/ 07:44:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 07:44:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:44:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:44:47 07:44:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:44:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:44:48 alpine: Pulling from edgex-lftools-log-publisher 07:44:48 df20fa9351a1: Pulling fs layer 07:44:48 36b3adc4ff6f: Pulling fs layer 07:44:48 8ad3a11d3b57: Pulling fs layer 07:44:48 46f8f816bc3b: Pulling fs layer 07:44:48 93b61091891f: Pulling fs layer 07:44:48 93b9cdb0e59b: Pulling fs layer 07:44:48 5e14af77c1be: Pulling fs layer 07:44:48 01666e4c0597: Pulling fs layer 07:44:48 aa168da1d23b: Pulling fs layer 07:44:48 93b61091891f: Waiting 07:44:48 aa168da1d23b: Waiting 07:44:48 01666e4c0597: Waiting 07:44:48 5e14af77c1be: Waiting 07:44:48 93b9cdb0e59b: Waiting 07:44:48 46f8f816bc3b: Waiting 07:44:48 36b3adc4ff6f: Download complete 07:44:48 46f8f816bc3b: Verifying Checksum 07:44:48 46f8f816bc3b: Download complete 07:44:48 df20fa9351a1: Verifying Checksum 07:44:48 93b9cdb0e59b: Verifying Checksum 07:44:48 93b9cdb0e59b: Download complete 07:44:48 5e14af77c1be: Verifying Checksum 07:44:48 5e14af77c1be: Download complete 07:44:48 93b61091891f: Download complete 07:44:48 01666e4c0597: Verifying Checksum 07:44:48 01666e4c0597: Download complete 07:44:48 8ad3a11d3b57: Verifying Checksum 07:44:48 8ad3a11d3b57: Download complete 07:44:48 df20fa9351a1: Pull complete 07:44:48 36b3adc4ff6f: Pull complete 07:44:49 8ad3a11d3b57: Pull complete 07:44:49 46f8f816bc3b: Pull complete 07:44:50 93b61091891f: Pull complete 07:44:50 93b9cdb0e59b: Pull complete 07:44:50 aa168da1d23b: Verifying Checksum 07:44:50 5e14af77c1be: Pull complete 07:44:50 01666e4c0597: Pull complete 07:44:57 aa168da1d23b: Pull complete 07:44:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:44:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:44:57 prd-centos7-docker-4c-2g-14822 does not seem to be running inside a container 07:44:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:45:04 $ docker top b95c39fdd64d98e7537d56bee8145d5f35f3d654a57402c8ac33e3808d619941 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:04 + touch /tmp/pre-build-complete [Pipeline] sh 07:45:05 + mkdir -p /var/log/sa [Pipeline] sh 07:45:05 + ls /var/log/sa-host 07:45:05 + sadf -c /var/log/sa-host/sa07 07:45:05 file_magic: OK 07:45:05 HZ: Using current value: 100 07:45:05 file_header: OK 07:45:05 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 07:45:05 Statistics: 07:45:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:45:05 File successfully converted to sysstat format version 12.2.1 07:45:05 + sadf -c /var/log/sa-host/sa23 07:45:05 file_magic: OK 07:45:05 HZ: Using current value: 100 07:45:05 file_header: OK 07:45:05 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 07:45:05 Statistics: 07:45:05 Hnuu...uuuununununu... 07:45:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:45:05 provisioning config files... 07:45:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config1368783749091660198tmp [Pipeline] { [Pipeline] echo 07:45:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:45:06 ---> create-netrc.sh [Pipeline] } 07:45:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:45:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:45:06 ---> python-tools-install.sh [Pipeline] echo 07:45:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:45:07 ---> sudo-logs.sh 07:45:07 Archiving 'sudo' log.. [Pipeline] echo 07:45:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:45:07 ---> job-cost.sh 07:45:07 lf-activate-venv: SKIPPING 07:45:07 INFO: No Stack... 07:45:09 INFO: Retrieving Pricing Info for: v1-standard-2 07:45:09 INFO: Archiving Costs [Pipeline] echo 07:45:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:45:09 ---> logs-deploy.sh 07:45:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2926/1 07:45:09 INFO: archiving workspace using pattern(s): 07:45:11 Archives upload complete. 07:45:11 INFO: archiving logs to Nexus