Pull request #2771 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at 217964dd0161fb3ad150e73601c72e10d0200926 rather than e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d Obtained Jenkinsfile from 217964dd0161fb3ad150e73601c72e10d0200926 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-2771/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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-2771/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4200 in /w/workspace/edgexfoundry_edgex-go_PR-2771 [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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 217964dd0161fb3ad150e73601c72e10d0200926 into PR head commit e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d Merge succeeded, producing e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d Checking out Revision e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d (PR-2771) > 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 --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2771/head:refs/remotes/origin/PR-2771 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d # 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 217964dd0161fb3ad150e73601c72e10d0200926 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d # timeout=10 Commit message: "feat(metadata): Implement Metadata PUT /deviceprofile V2 API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:08:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:08:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:08:22 ========================================================= 08:08:22 EdgeX Global Pipelines Version Info 08:08:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:08:24 ------------------- 08:08:24 stable info: 08:08:24 ------------------- 08:08:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:08:24 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 08:08:24 Message: update stable to v1.0.131 08:08:24 ------------------- 08:08:24 experimental info: 08:08:24 ------------------- 08:08:24 Commited By: **** collab-it+edgex@linuxfoundation.org 08:08:24 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 08:08:24 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:08:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:08:25 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:08:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:08:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:08:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:08:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:08:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2771 [Pipeline] echo 08:08:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2771 [Pipeline] echo 08:08:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2771 [Pipeline] echo 08:08:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d [Pipeline] echo 08:08:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8dc839 [Pipeline] echo 08:08:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 08:08:28 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/core-command/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo core-command,cmd/core-command/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/core-data/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo core-data,cmd/core-data/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/core-metadata/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo core-metadata,cmd/core-metadata/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/security-proxy-setup/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/security-secrets-setup/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/security-secretstore-setup/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/support-logging/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo support-logging,cmd/support-logging/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/support-notifications/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo support-notifications,cmd/support-notifications/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/support-scheduler/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo support-scheduler,cmd/support-scheduler/Dockerfile 08:08:28 + for file in '`ls cmd/**/Dockerfile`' 08:08:28 ++ dirname cmd/sys-mgmt-agent/Dockerfile 08:08:28 ++ cut -d/ -f2 08:08:28 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 08:08:29 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:08:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:08:30 08:08:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:08:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:08:30 latest: Pulling from edgex-devops/git-semver 08:08:30 31603596830f: Pulling fs layer 08:08:30 2a8b12db71e7: Pulling fs layer 08:08:30 6ca5941a6612: Pulling fs layer 08:08:30 ecc8261a40a4: Pulling fs layer 08:08:30 2a8b12db71e7: Verifying Checksum 08:08:30 2a8b12db71e7: Download complete 08:08:31 31603596830f: Verifying Checksum 08:08:31 31603596830f: Download complete 08:08:31 ecc8261a40a4: Verifying Checksum 08:08:31 ecc8261a40a4: Download complete 08:08:31 6ca5941a6612: Verifying Checksum 08:08:31 6ca5941a6612: Download complete 08:08:31 31603596830f: Pull complete 08:08:31 2a8b12db71e7: Pull complete 08:08:32 6ca5941a6612: Pull complete 08:08:32 ecc8261a40a4: Pull complete 08:08:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:08:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:08:32 prd-centos7-docker-4c-2g-4200 does not seem to be running inside a container 08:08:32 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:08:35 $ docker top 8e70c283165ac461d7ada945645d62c8c84608839ad4f1b5b1454b24c029600e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:08:35 [ssh-agent] Looking for ssh-agent implementation... 08:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:08:35 $ docker exec 8e70c283165ac461d7ada945645d62c8c84608839ad4f1b5b1454b24c029600e ssh-agent 08:08:36 SSH_AUTH_SOCK=/tmp/ssh-EyXwYJJqeq4K/agent.11 08:08:36 SSH_AGENT_PID=16 08:08:36 Running ssh-add (command line suppressed) 08:08:36 Identity added: /w/workspace/edgex-go/1@tmp/private_key_2385696748982670590.key (/w/workspace/edgex-go/1@tmp/private_key_2385696748982670590.key) 08:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:08:36 + git describe --exact-match --tags HEAD 08:08:36 fatal: no tag exactly matches 'e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d' [Pipeline] } 08:08:36 $ docker exec --env ******** --env ******** 8e70c283165ac461d7ada945645d62c8c84608839ad4f1b5b1454b24c029600e ssh-agent -k 08:08:36 unset SSH_AUTH_SOCK; 08:08:36 unset SSH_AGENT_PID; 08:08:36 echo Agent pid 16 killed; 08:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:08:37 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:08:37 This usually means this commit has not been tagged. [Pipeline] sshagent 08:08:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:08:37 [ssh-agent] Looking for ssh-agent implementation... 08:08:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:08:37 $ docker exec 8e70c283165ac461d7ada945645d62c8c84608839ad4f1b5b1454b24c029600e ssh-agent 08:08:37 SSH_AUTH_SOCK=/tmp/ssh-SgQIEHnP27k5/agent.46 08:08:37 SSH_AGENT_PID=51 08:08:37 Running ssh-add (command line suppressed) 08:08:37 Identity added: /w/workspace/edgex-go/1@tmp/private_key_600604785930503234.key (/w/workspace/edgex-go/1@tmp/private_key_600604785930503234.key) 08:08:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:08:38 + git semver init 08:08:38 # -> Open(): unable to determine branch for HEAD 08:08:38 # $GIT_DIR = /w/workspace/edgex-go/1/.git 08:08:38 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 08:08:38 # $SEMVER_REMOTE_NAME = origin 08:08:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:08:38 # $SEMVER_USER_NAME = edgex-jenkins 08:08:38 # $SEMVER_BRANCH = PR-2771 08:08:38 # $SEMVER_TEMP = /tmp/semver-749013575 08:08:38 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 08:09:04 # '/tmp/semver-749013575' -> '/w/workspace/edgex-go/1/.semver' 08:09:05 # -> Force: false 08:09:05 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 08:09:05 $ docker exec --env ******** --env ******** 8e70c283165ac461d7ada945645d62c8c84608839ad4f1b5b1454b24c029600e ssh-agent -k 08:09:05 unset SSH_AUTH_SOCK; 08:09:05 unset SSH_AGENT_PID; 08:09:05 echo Agent pid 51 killed; 08:09:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:09:06 + git semver [Pipeline] } 08:09:06 $ docker stop --time=1 8e70c283165ac461d7ada945645d62c8c84608839ad4f1b5b1454b24c029600e 08:09:08 $ docker rm -f 8e70c283165ac461d7ada945645d62c8c84608839ad4f1b5b1454b24c029600e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:09:21 Stashed 79 file(s) [Pipeline] echo 08:09:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 08:09:22 ========================================================= 08:09:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:09:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:09:23 + 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 . 08:09:26 Sending build context to Docker daemon 324.9MB 08:09:26 Step 1/7 : ARG BASE=golang:1.15-alpine 08:09:26 Step 2/7 : FROM ${BASE} 08:09:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:09:26 df20fa9351a1: Pulling fs layer 08:09:26 ed8968b2872e: Pulling fs layer 08:09:26 a92cc7c5fd73: Pulling fs layer 08:09:26 e871e8e8d7a9: Pulling fs layer 08:09:26 e73272ec9a57: Pulling fs layer 08:09:26 1e910a182e73: Pulling fs layer 08:09:26 4e634b169226: Pulling fs layer 08:09:26 e871e8e8d7a9: Waiting 08:09:26 e73272ec9a57: Waiting 08:09:26 4e634b169226: Waiting 08:09:26 a92cc7c5fd73: Verifying Checksum 08:09:26 a92cc7c5fd73: Download complete 08:09:26 ed8968b2872e: Verifying Checksum 08:09:26 ed8968b2872e: Download complete 08:09:26 e73272ec9a57: Verifying Checksum 08:09:26 e73272ec9a57: Download complete 08:09:26 1e910a182e73: Verifying Checksum 08:09:26 1e910a182e73: Download complete 08:09:26 df20fa9351a1: Verifying Checksum 08:09:26 df20fa9351a1: Download complete 08:09:26 df20fa9351a1: Pull complete 08:09:26 ed8968b2872e: Pull complete 08:09:27 a92cc7c5fd73: Pull complete 08:09:28 4e634b169226: Verifying Checksum 08:09:28 4e634b169226: Download complete 08:09:29 e871e8e8d7a9: Verifying Checksum 08:09:29 e871e8e8d7a9: Download complete 08:09:34 e871e8e8d7a9: Pull complete 08:09:34 e73272ec9a57: Pull complete 08:09:34 1e910a182e73: Pull complete 08:09:37 Still waiting to schedule task 08:09:37 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4195’ is offline 08:09:41 4e634b169226: Pull complete 08:09:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:09:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:09:41 ---> f7629b54cfaa 08:09:41 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 08:09:41 ---> Running in 59661395889c 08:09:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:09:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:09:42 (1/12) Installing libmagic (5.38-r0) 08:09:42 (2/12) Installing file (5.38-r0) 08:09:42 (3/12) Installing libc-dev (0.7.2-r3) 08:09:43 (4/12) Installing g++ (9.3.0-r2) 08:09:47 (5/12) Installing fortify-headers (1.1-r0) 08:09:47 (6/12) Installing patch (2.7.6-r6) 08:09:47 (7/12) Installing build-base (0.5-r2) 08:09:47 (8/12) Installing libsodium (1.0.18-r0) 08:09:47 (9/12) Installing pkgconf (1.7.2-r0) 08:09:47 (10/12) Installing libsodium-dev (1.0.18-r0) 08:09:47 (11/12) Installing libzmq (4.3.3-r0) 08:09:47 (12/12) Installing zeromq-dev (4.3.3-r0) 08:09:48 Executing busybox-1.31.1-r16.trigger 08:09:48 OK: 233 MiB in 51 packages 08:09:51 Removing intermediate container 59661395889c 08:09:51 ---> 747904eff191 08:09:51 Step 4/7 : WORKDIR /edgex-go 08:09:51 ---> Running in 5d7d4f664c89 08:09:51 Removing intermediate container 5d7d4f664c89 08:09:51 ---> 6f6810cf679c 08:09:51 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 08:09:51 latest: Pulling from library/docker 08:09:51 df20fa9351a1: Already exists 08:09:51 25ad7478873d: Pulling fs layer 08:09:51 4684f6177b5d: Pulling fs layer 08:09:51 8ba584e970af: Pulling fs layer 08:09:51 3cdc74d2b06d: Pulling fs layer 08:09:51 4cf5a0d07c1f: Pulling fs layer 08:09:51 fca0ccc462d5: Pulling fs layer 08:09:51 3cdc74d2b06d: Waiting 08:09:51 4cf5a0d07c1f: Waiting 08:09:51 fca0ccc462d5: Waiting 08:09:51 4684f6177b5d: Verifying Checksum 08:09:51 4684f6177b5d: Download complete 08:09:51 25ad7478873d: Verifying Checksum 08:09:51 25ad7478873d: Download complete 08:09:51 3cdc74d2b06d: Verifying Checksum 08:09:51 3cdc74d2b06d: Download complete 08:09:52 4cf5a0d07c1f: Verifying Checksum 08:09:52 4cf5a0d07c1f: Download complete 08:09:52 fca0ccc462d5: Verifying Checksum 08:09:52 fca0ccc462d5: Download complete 08:09:52 25ad7478873d: Pull complete 08:09:52 4684f6177b5d: Pull complete 08:09:52 8ba584e970af: Retrying in 5 seconds 08:09:53 8ba584e970af: Retrying in 4 seconds 08:09:54 8ba584e970af: Retrying in 3 seconds 08:09:55 8ba584e970af: Retrying in 2 seconds 08:09:56 8ba584e970af: Retrying in 1 second 08:09:57 8ba584e970af: Verifying Checksum 08:09:57 8ba584e970af: Download complete 08:09:59 8ba584e970af: Pull complete 08:10:00 3cdc74d2b06d: Pull complete 08:10:00 4cf5a0d07c1f: Pull complete 08:10:00 fca0ccc462d5: Pull complete 08:10:00 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 08:10:00 Status: Downloaded newer image for docker:latest 08:10:01 ---> d8e6995ebbb0 08:10:01 Step 6/7 : COPY go.mod . 08:10:02 ---> 162be2ff173c 08:10:02 Step 7/7 : RUN go mod download 08:10:02 ---> Running in 83fc356dad96 08:10:24 Removing intermediate container 83fc356dad96 08:10:24 ---> 813c574635d0 08:10:24 Successfully built 813c574635d0 08:10:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:10:24 + docker inspect -f . ci-base-image-x86_64 08:10:24 . [Pipeline] withDockerContainer 08:10:24 prd-centos7-docker-4c-2g-4200 does not seem to be running inside a container 08:10:24 $ 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 ******** -e ******** ci-base-image-x86_64 cat 08:10:25 $ docker top c1c70824723e4e9b3231f68d16b6956f55efd33d283e4272d1f1ef3af763927c -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:26 + go version 08:10:26 go version go1.15.2 linux/amd64 [Pipeline] } 08:10:26 $ docker stop --time=1 c1c70824723e4e9b3231f68d16b6956f55efd33d283e4272d1f1ef3af763927c 08:10:27 $ docker rm -f c1c70824723e4e9b3231f68d16b6956f55efd33d283e4272d1f1ef3af763927c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:10:28 + docker inspect -f . ci-base-image-x86_64 08:10:28 . [Pipeline] withDockerContainer 08:10:28 prd-centos7-docker-4c-2g-4200 does not seem to be running inside a container 08:10:28 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:10:29 $ docker top 66278b57be5ce52e96953425991d6ad8bace6365230dd8d66a0f7b83daf3ebc3 -eo pid,comm [Pipeline] { [Pipeline] echo 08:10:29 ========================================================= 08:10:29 [edgeXBuildGoParallel] Running Tests and Build... 08:10:29 ========================================================= [Pipeline] sh 08:10:30 + make test 08:10:30 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:10:32 ? github.com/edgexfoundry/edgex-go [no test files] 08:10:42 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:10:47 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 08:10:47 internal/core/metadata/v2/controller/http/deviceprofile.go:107:20: undefined: requests.UpdateDeviceProfileReqToDeviceProfileModels 08:10:48 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:10:50 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.008s 08:10:54 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.021s coverage: 46.6% of statements 08:10:55 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.041s coverage: 27.2% of statements 08:10:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.008s coverage: 100.0% of statements 08:10:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.013s coverage: 100.0% of statements 08:10:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.324s coverage: 86.0% of statements 08:10:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.016s coverage: 93.5% of statements 08:10:55 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 08:10:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.021s coverage: 100.0% of statements 08:10:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.027s coverage: 100.0% of statements 08:10:57 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile.go:107: undefined: requests.UpdateDeviceProfileReqToDeviceProfileModels 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:123:4: cannot use ExampleUUID (type string) as type *string in field value 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:124:4: cannot use TestDeviceProfileName (type string) as type *string in field value 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:125:4: cannot use TestManufacturer (type string) as type *string in field value 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:126:4: cannot use TestDescription (type string) as type *string in field value 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:127:4: cannot use TestModel (type string) as type *string in field value 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:380:24: undefined: requests.UpdateDeviceProfileReqToDeviceProfileModel 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:387:22: cannot use "" (type string) as type *string in assignment 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:426:24: cannot use "testDevice" (type string) as type *string in assignment 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:427:32: undefined: dtos.FromUpdateDeviceProfileDTOToModel 08:10:57 internal/core/metadata/v2/controller/http/deviceprofile_test.go:427:32: too many errors 08:10:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.022s coverage: 86.7% of statements 08:10:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.025s coverage: 97.5% of statements 08:10:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.016s coverage: 100.0% of statements 08:10:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 08:10:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.015s coverage: 58.8% of statements 08:10:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.005s coverage: 0.0% of statements [no tests to run] 08:10:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.054s coverage: 63.5% of statements 08:10:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.030s coverage: 100.0% of statements 08:10:58 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.121s coverage: 55.9% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 2.102s coverage: 86.3% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.311s coverage: 72.2% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.178s coverage: 72.1% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.013s coverage: 82.4% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.045s coverage: 48.4% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.006s coverage: 28.8% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.008s coverage: 96.8% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.029s coverage: 31.1% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.118s coverage: 84.1% of statements 08:11:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.006s coverage: 100.0% of statements 08:11:02 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.022s coverage: 42.9% of statements 08:11:02 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.014s coverage: 100.0% of statements 08:11:02 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.019s coverage: 83.8% of statements 08:11:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.063s coverage: 47.1% of statements 08:11:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.011s coverage: 100.0% of statements 08:11:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.009s coverage: 100.0% of statements 08:11:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.024s coverage: 100.0% of statements 08:11:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.055s coverage: 29.1% of statements 08:11:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.012s coverage: 99.0% of statements 08:11:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.024s coverage: 100.0% of statements 08:11:04 ok github.com/edgexfoundry/edgex-go/internal/system 0.014s coverage: 0.0% of statements 08:11:04 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.006s coverage: 100.0% of statements 08:11:04 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.013s coverage: 87.9% of statements 08:11:04 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.014s coverage: 100.0% of statements 08:11:05 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.005s coverage: 32.1% of statements 08:11:05 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.007s coverage: 100.0% of statements 08:11:05 make: *** [Makefile:81: test] Error 2 [Pipeline] } 08:11:05 $ docker stop --time=1 66278b57be5ce52e96953425991d6ad8bace6365230dd8d66a0f7b83daf3ebc3 08:11:08 $ docker rm -f 66278b57be5ce52e96953425991d6ad8bace6365230dd8d66a0f7b83daf3ebc3 [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] } 08:11:10 Failed in branch amd64 08:11:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4201 in /w/workspace/edgexfoundry_edgex-go_PR-2771 [Pipeline] { [Pipeline] ws 08:11:35 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 08:11:40 using credential edgex-jenkins-ssh 08:11:40 Cloning the remote Git repository 08:11:40 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:11:40 > git init /w/workspace/edgex-go/1 # timeout=10 08:11:40 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:11:40 > git --version # timeout=10 08:11:40 > git --version # 'git version 2.17.1' 08:11:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:54 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:11:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:54 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:11:55 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2771/head:refs/remotes/origin/PR-2771 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:11:55 Merging remotes/origin/master commit 217964dd0161fb3ad150e73601c72e10d0200926 into PR head commit e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d 08:11:56 Merge succeeded, producing e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d 08:11:56 Checking out Revision e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d (PR-2771) 08:11:55 > git config core.sparsecheckout # timeout=10 08:11:55 > git checkout -f e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d # timeout=10 08:11:56 > git remote # timeout=10 08:11:56 > git config --get remote.origin.url # timeout=10 08:11:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:56 > git merge 217964dd0161fb3ad150e73601c72e10d0200926 # timeout=10 08:11:56 > git rev-parse HEAD^{commit} # timeout=10 08:11:56 > git config core.sparsecheckout # timeout=10 08:11:56 > git checkout -f e8dc8396c1f32619ec954eb9b2695b86b4e4fc9d # timeout=10 08:12:01 Commit message: "feat(metadata): Implement Metadata PUT /deviceprofile V2 API" 08:12:01 > git --version # timeout=10 08:12:01 > git --version # 'git version 2.17.1' 08:12:01 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:12:14 ========================================================= 08:12:14 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:12:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:12:15 + 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 . 08:12:20 Sending build context to Docker daemon 324.9MB 08:12:20 Step 1/7 : ARG BASE=golang:1.15-alpine 08:12:20 Step 2/7 : FROM ${BASE} 08:12:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:12:20 b538f80385f9: Pulling fs layer 08:12:20 74f711af9a0d: Pulling fs layer 08:12:20 99f96fe45779: Pulling fs layer 08:12:20 8529a6b9a6be: Pulling fs layer 08:12:20 45590311c82a: Pulling fs layer 08:12:20 69ca0ff8b7b3: Pulling fs layer 08:12:20 209524e5b208: Pulling fs layer 08:12:20 69ca0ff8b7b3: Waiting 08:12:20 8529a6b9a6be: Waiting 08:12:20 45590311c82a: Waiting 08:12:20 209524e5b208: Waiting 08:12:20 99f96fe45779: Download complete 08:12:20 74f711af9a0d: Download complete 08:12:20 45590311c82a: Download complete 08:12:21 69ca0ff8b7b3: Verifying Checksum 08:12:21 69ca0ff8b7b3: Download complete 08:12:21 b538f80385f9: Verifying Checksum 08:12:21 b538f80385f9: Download complete 08:12:21 b538f80385f9: Pull complete 08:12:22 74f711af9a0d: Pull complete 08:12:22 99f96fe45779: Pull complete 08:12:23 209524e5b208: Verifying Checksum 08:12:23 209524e5b208: Download complete 08:12:24 8529a6b9a6be: Verifying Checksum 08:12:24 8529a6b9a6be: Download complete 08:12:36 8529a6b9a6be: Pull complete 08:12:36 45590311c82a: Pull complete 08:12:36 69ca0ff8b7b3: Pull complete 08:12:39 209524e5b208: Pull complete 08:12:39 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:12:39 ---> 5bddaf1c2fca 08:12:39 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 08:12:44 ---> Running in 792dfe36fd81 08:12:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:12:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:12:46 (1/12) Installing libmagic (5.38-r0) 08:12:47 (2/12) Installing file (5.38-r0) 08:12:47 (3/12) Installing libc-dev (0.7.2-r3) 08:12:47 (4/12) Installing g++ (9.3.0-r2) 08:12:52 (5/12) Installing fortify-headers (1.1-r0) 08:12:52 (6/12) Installing patch (2.7.6-r6) 08:12:52 (7/12) Installing build-base (0.5-r2) 08:12:52 (8/12) Installing libsodium (1.0.18-r0) 08:12:52 (9/12) Installing pkgconf (1.7.2-r0) 08:12:52 (10/12) Installing libsodium-dev (1.0.18-r0) 08:12:53 (11/12) Installing libzmq (4.3.3-r0) 08:12:53 (12/12) Installing zeromq-dev (4.3.3-r0) 08:12:53 Executing busybox-1.31.1-r16.trigger 08:12:53 OK: 217 MiB in 51 packages 08:12:57 Removing intermediate container 792dfe36fd81 08:12:57 ---> 1ff1b5a8070b 08:12:57 Step 4/7 : WORKDIR /edgex-go 08:12:57 ---> Running in 73bf977d7751 08:12:58 Removing intermediate container 73bf977d7751 08:12:58 ---> 0fa632f66871 08:12:58 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 08:12:58 latest: Pulling from library/docker 08:12:58 b538f80385f9: Already exists 08:12:58 259a493cd78d: Pulling fs layer 08:12:58 b8e66b5100f5: Pulling fs layer 08:12:58 7f8258a56ab6: Pulling fs layer 08:12:58 75a0a0ebb566: Pulling fs layer 08:12:58 4a2c62f0a2a3: Pulling fs layer 08:12:58 294320357d30: Pulling fs layer 08:12:58 75a0a0ebb566: Waiting 08:12:58 4a2c62f0a2a3: Waiting 08:12:58 294320357d30: Waiting 08:12:58 b8e66b5100f5: Verifying Checksum 08:12:58 b8e66b5100f5: Download complete 08:12:58 259a493cd78d: Download complete 08:12:58 75a0a0ebb566: Verifying Checksum 08:12:58 75a0a0ebb566: Download complete 08:12:58 4a2c62f0a2a3: Verifying Checksum 08:12:58 4a2c62f0a2a3: Download complete 08:12:58 294320357d30: Verifying Checksum 08:12:58 294320357d30: Download complete 08:12:59 7f8258a56ab6: Retrying in 5 seconds 08:12:59 259a493cd78d: Pull complete 08:12:59 b8e66b5100f5: Pull complete 08:13:00 7f8258a56ab6: Retrying in 4 seconds 08:13:01 7f8258a56ab6: Retrying in 3 seconds 08:13:01 7f8258a56ab6: Retrying in 2 seconds 08:13:03 7f8258a56ab6: Retrying in 1 second 08:13:05 7f8258a56ab6: Verifying Checksum 08:13:05 7f8258a56ab6: Download complete 08:13:08 7f8258a56ab6: Pull complete 08:13:08 75a0a0ebb566: Pull complete 08:13:09 4a2c62f0a2a3: Pull complete 08:13:09 294320357d30: Pull complete 08:13:09 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 08:13:09 Status: Downloaded newer image for docker:latest 08:13:12 ---> 2b0adb0e498a 08:13:12 Step 6/7 : COPY go.mod . 08:13:13 ---> f50b4947b3d2 08:13:13 Step 7/7 : RUN go mod download 08:13:13 ---> Running in 9096393e784e 08:13:45 Removing intermediate container 9096393e784e 08:13:45 ---> bb5f2c73046a 08:13:45 Successfully built bb5f2c73046a 08:13:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:13:46 + docker inspect -f . ci-base-image-arm64 08:13:46 . [Pipeline] withDockerContainer 08:13:46 prd-ubuntu18.04-docker-arm64-4c-16g-4201 does not seem to be running inside a container 08:13:46 $ 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 ******** -e ******** ci-base-image-arm64 cat 08:13:48 $ docker top 6671f4618c2d68ed6361cf1fbc1d1dcc128deb28d934037aecab2ef5e892a3ba -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:49 + go version 08:13:49 go version go1.15.2 linux/arm64 [Pipeline] } 08:13:49 $ docker stop --time=1 6671f4618c2d68ed6361cf1fbc1d1dcc128deb28d934037aecab2ef5e892a3ba 08:13:51 $ docker rm -f 6671f4618c2d68ed6361cf1fbc1d1dcc128deb28d934037aecab2ef5e892a3ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:13:53 + docker inspect -f . ci-base-image-arm64 08:13:53 . [Pipeline] withDockerContainer 08:13:53 prd-ubuntu18.04-docker-arm64-4c-16g-4201 does not seem to be running inside a container 08:13:53 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:13:55 $ docker top 8a39e0b0d4330787354aff077c3699570a6caaed07c2e984ccdec9a1f165a2da -eo pid,comm [Pipeline] { [Pipeline] echo 08:13:55 ========================================================= 08:13:55 [edgeXBuildGoParallel] Running Tests and Build... 08:13:55 ========================================================= [Pipeline] sh 08:13:56 + make test 08:13:56 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:13:58 ? github.com/edgexfoundry/edgex-go [no test files] 08:14:31 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:14:38 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 08:14:38 internal/core/metadata/v2/controller/http/deviceprofile.go:107:20: undefined: requests.UpdateDeviceProfileReqToDeviceProfileModels 08:14:46 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:14:46 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.032s 08:14:58 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.062s coverage: 46.6% of statements 08:15:03 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.146s coverage: 27.2% of statements 08:15:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.042s coverage: 100.0% of statements 08:15:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.019s coverage: 100.0% of statements 08:15:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.348s coverage: 86.0% of statements 08:15:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.366s coverage: 93.5% of statements 08:15:03 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 08:15:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.059s coverage: 100.0% of statements 08:15:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.041s coverage: 100.0% of statements 08:15:07 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile.go:107: undefined: requests.UpdateDeviceProfileReqToDeviceProfileModels 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:123:4: cannot use ExampleUUID (type string) as type *string in field value 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:124:4: cannot use TestDeviceProfileName (type string) as type *string in field value 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:125:4: cannot use TestManufacturer (type string) as type *string in field value 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:126:4: cannot use TestDescription (type string) as type *string in field value 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:127:4: cannot use TestModel (type string) as type *string in field value 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:380:24: undefined: requests.UpdateDeviceProfileReqToDeviceProfileModel 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:387:22: cannot use "" (type string) as type *string in assignment 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:426:24: cannot use "testDevice" (type string) as type *string in assignment 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:427:32: undefined: dtos.FromUpdateDeviceProfileDTOToModel 08:15:07 internal/core/metadata/v2/controller/http/deviceprofile_test.go:427:32: too many errors 08:15:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.069s coverage: 86.7% of statements 08:15:08 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.133s coverage: 97.5% of statements 08:15:08 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.033s coverage: 100.0% of statements 08:15:08 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 08:15:08 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.027s coverage: 58.8% of statements 08:15:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.044s coverage: 0.0% of statements [no tests to run] 08:15:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.185s coverage: 63.5% of statements 08:15:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.013s coverage: 100.0% of statements 08:15:13 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.296s coverage: 55.9% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 40.189s coverage: 86.3% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.993s coverage: 72.2% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.364s coverage: 72.1% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.059s coverage: 82.4% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.015s coverage: 48.4% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.021s coverage: 28.8% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.028s coverage: 96.8% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.090s coverage: 31.1% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.298s coverage: 84.1% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.015s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.026s coverage: 42.9% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.033s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.022s coverage: 83.8% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.083s coverage: 47.1% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.026s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.027s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.043s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.204s coverage: 29.1% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.064s coverage: 99.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.034s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/system 0.007s coverage: 0.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.024s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.016s coverage: 87.9% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.033s coverage: 100.0% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.011s coverage: 32.1% of statements 08:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.022s coverage: 100.0% of statements 08:16:00 make: *** [Makefile:81: test] Error 2 [Pipeline] } 08:16:00 $ docker stop --time=1 8a39e0b0d4330787354aff077c3699570a6caaed07c2e984ccdec9a1f165a2da 08:16:02 $ docker rm -f 8a39e0b0d4330787354aff077c3699570a6caaed07c2e984ccdec9a1f165a2da [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] } 08:16:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:16:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:16:11 ---> package-listing.sh 08:16:11 ++ facter osfamily 08:16:11 ++ tr '[:upper:]' '[:lower:]' 08:16:11 + OS_FAMILY=redhat 08:16:11 + workspace=/w/workspace/edgex-go/1 08:16:11 + START_PACKAGES=/tmp/packages_start.txt 08:16:11 + END_PACKAGES=/tmp/packages_end.txt 08:16:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:16:11 + PACKAGES=/tmp/packages_start.txt 08:16:11 + '[' /w/workspace/edgex-go/1 ']' 08:16:11 + PACKAGES=/tmp/packages_end.txt 08:16:11 + case "${OS_FAMILY}" in 08:16:11 + rpm -qa 08:16:11 + sort 08:16:15 + '[' -f /tmp/packages_start.txt ']' 08:16:15 + '[' -f /tmp/packages_end.txt ']' 08:16:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:16:15 + '[' /w/workspace/edgex-go/1 ']' 08:16:15 + mkdir -p /w/workspace/edgex-go/1/archives/ 08:16:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:15 provisioning config files... 08:16:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2752502779989773663tmp [Pipeline] { [Pipeline] echo 08:16:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:16:17 ---> create-netrc.sh [Pipeline] } 08:16:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:16:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:16:17 ---> python-tools-install.sh 08:16:17 Generating Requirements File 08:17:40 Python 3.6.8 08:17:40 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 08:17:40 appdirs==1.4.3 08:17:40 argcomplete==1.12.1 08:17:40 aspy.yaml==1.3.0 08:17:40 attrs==19.3.0 08:17:40 Babel==2.8.0 08:17:40 beautifulsoup4==4.8.2 08:17:40 boto3==1.11.6 08:17:40 botocore==1.14.6 08:17:40 bs4==0.0.1 08:17:40 cachetools==4.1.1 08:17:40 certifi==2019.11.28 08:17:40 cffi==1.14.3 08:17:40 cfgv==2.0.1 08:17:40 chardet==3.0.4 08:17:40 click==7.1 08:17:40 cliff==3.4.0 08:17:40 cmd2==1.3.11 08:17:40 colorama==0.4.3 08:17:40 cryptography==3.1.1 08:17:40 debtcollector==2.2.0 08:17:40 decorator==4.4.2 08:17:40 defusedxml==0.6.0 08:17:40 Deprecated==1.2.7 08:17:40 distlib==0.3.1 08:17:40 distro==1.2.0 08:17:40 dnspython==1.16.0 08:17:40 docker==4.2.0 08:17:40 docutils==0.15.2 08:17:40 dogpile.cache==1.0.2 08:17:40 email-validator==1.0.5 08:17:40 filelock==3.0.12 08:17:40 future==0.18.2 08:17:40 google-auth==1.22.1 08:17:40 httplib2==0.17.0 08:17:40 identify==1.4.11 08:17:40 idna==2.9 08:17:40 importlib-metadata==1.7.0 08:17:40 importlib-resources==1.5.0 08:17:40 iso8601==0.1.13 08:17:40 Jinja2==2.11.1 08:17:40 jmespath==0.10.0 08:17:40 jsonpatch==1.26 08:17:40 jsonpointer==2.0 08:17:40 jsonschema==3.2.0 08:17:40 keystoneauth1==4.2.1 08:17:40 kubernetes==11.0.0 08:17:40 lftools==0.34.2 08:17:40 lxml==4.5.0 08:17:40 MarkupSafe==0.23 08:17:40 msgpack==1.0.0 08:17:40 multi-key-dict==2.0.3 08:17:40 munch==2.5.0 08:17:40 netaddr==0.8.0 08:17:40 netifaces==0.10.9 08:17:40 niet==1.4.2 08:17:40 nodeenv==1.3.5 08:17:40 oauth2client==4.1.3 08:17:40 oauthlib==3.1.0 08:17:40 openstacksdk==0.50.0 08:17:40 os-client-config==2.1.0 08:17:40 os-service-types==1.7.0 08:17:40 osc-lib==2.2.1 08:17:40 oslo.config==8.3.2 08:17:40 oslo.context==3.1.1 08:17:40 oslo.i18n==5.0.1 08:17:40 oslo.log==4.4.0 08:17:40 oslo.serialization==4.0.1 08:17:40 oslo.utils==4.6.0 08:17:40 packaging==20.4 08:17:40 pbr==5.4.4 08:17:40 pluggy==0.13.1 08:17:40 prettytable==0.7.2 08:17:40 py==1.9.0 08:17:40 pyasn1==0.4.8 08:17:40 pyasn1-modules==0.2.8 08:17:40 pycparser==2.20 08:17:40 pygerrit2==2.0.10 08:17:40 PyGithub==1.46 08:17:40 pyinotify==0.9.6 08:17:40 PyJWT==1.7.1 08:17:40 pyparsing==2.4.7 08:17:40 pyperclip==1.8.0 08:17:40 pyroute2==0.4.13 08:17:40 pyrsistent==0.15.7 08:17:40 PySocks==1.6.8 08:17:40 python-cinderclient==7.2.0 08:17:40 python-dateutil==2.8.1 08:17:40 python-heatclient==2.2.1 08:17:40 python-jenkins==1.7.0 08:17:40 python-keystoneclient==4.1.1 08:17:40 python-magnumclient==3.2.1 08:17:40 python-novaclient==17.2.1 08:17:40 python-openstackclient==5.4.0 08:17:40 python-swiftclient==3.10.1 08:17:40 pytz==2020.1 08:17:40 PyYAML==5.3 08:17:40 requests==2.23.0 08:17:40 requests-oauthlib==1.3.0 08:17:40 requestsexceptions==1.4.0 08:17:40 rfc3986==1.4.0 08:17:40 rpm==4.11.3 08:17:40 rsa==4.0 08:17:40 ruamel.yaml==0.16.10 08:17:40 ruamel.yaml.clib==0.2.0 08:17:40 s3transfer==0.3.3 08:17:40 shade==1.27.2 08:17:40 simplejson==3.17.2 08:17:40 six==1.14.0 08:17:40 soupsieve==2.0 08:17:40 stevedore==3.2.2 08:17:40 tabulate==0.8.6 08:17:40 toml==0.10.0 08:17:40 tox==3.20.0 08:17:40 tqdm==4.43.0 08:17:40 urllib3==1.25.8 08:17:40 virtualenv==20.0.33 08:17:40 wcwidth==0.2.5 08:17:40 websocket-client==0.57.0 08:17:40 wrapt==1.12.1 08:17:40 xdg==3.0.2 08:17:40 xmltodict==0.12.0 08:17:40 yq==2.11.1 08:17:40 zipp==3.3.0 08:17:40 Cache entry deserialization failed, entry ignored 08:17:40 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 08:17:40 Python 2.7.5 08:17:40 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 08:17:40 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 08:17:40 ansible==2.9.7 08:17:40 Babel==0.9.6 08:17:40 backports.ssl-match-hostname==3.5.0.1 08:17:40 beautifulsoup4==4.4.1 08:17:40 bodhi==2.11.0 08:17:40 bodhi-client==2.11.0 08:17:40 CCColUtils==1.4 08:17:40 cffi==1.6.0 08:17:40 chardet==2.2.1 08:17:40 click==6.7 08:17:40 cloud-init==18.5 08:17:40 configobj==4.7.2 08:17:40 cryptography==1.7.2 08:17:40 decorator==3.4.0 08:17:40 distro==1.2.0 08:17:40 enum34==1.0.4 08:17:40 fedpkg==1.38 08:17:40 futures==3.1.1 08:17:40 gitdb==0.6.4 08:17:40 GitPython==1.0.1 08:17:40 html5lib==0.999 08:17:40 httplib2==0.9.2 08:17:40 idna==2.4 08:17:40 iniparse==0.4 08:17:40 ipaddress==1.0.16 08:17:40 IPy==0.75 08:17:40 javapackages==1.0.0 08:17:40 Jinja2==2.7.2 08:17:40 jmespath==0.9.4 08:17:40 jsonpatch==1.2 08:17:40 jsonpointer==1.9 08:17:40 kerberos==1.1 08:17:40 kitchen==1.1.1 08:17:40 langtable==0.0.31 08:17:40 lockfile==0.9.1 08:17:40 lxml==3.2.1 08:17:40 MarkupSafe==0.11 08:17:40 munch==2.0.2 08:17:40 offtrac==0.1.0 08:17:40 openidc-client==0.6.0 08:17:40 packagedb-cli==2.14.1 08:17:40 paramiko==2.1.1 08:17:40 perf==0.1 08:17:40 ply==3.4 08:17:40 policycoreutils-default-encoding==0.1 08:17:40 prettytable==0.7.2 08:17:40 pyasn1==0.1.9 08:17:40 pycparser==2.14 08:17:40 pycurl==7.19.0 08:17:40 pygobject==3.22.0 08:17:40 pygpgme==0.3 08:17:40 pyliblzma==0.5.3 08:17:40 pyOpenSSL==0.13.1 08:17:40 pyparsing==1.5.6 08:17:40 pyserial==2.6 08:17:40 python-augeas==0.5.0 08:17:40 python-bugzilla==2.3.0 08:17:40 python-dateutil==1.5 08:17:40 python-fedora==0.10.0 08:17:40 python-linux-procfs==0.4.9 08:17:40 python-yubico==1.2.3 08:17:40 pyudev==0.15 08:17:40 pyusb==1.0.0b1 08:17:40 pyxattr==0.5.1 08:17:40 PyYAML==3.10 08:17:40 requests==2.6.0 08:17:40 requests-kerberos==0.7.0 08:17:40 rpkg==1.60 08:17:40 schedutils==0.4 08:17:40 seobject==0.1 08:17:40 sepolicy==1.1 08:17:40 six==1.9.0 08:17:40 smmap==0.9.0 08:17:40 urlgrabber==3.10 08:17:40 urllib3==1.10.2 08:17:40 virtualenv==15.1.0 08:17:40 yum-langpacks==0.4.2 08:17:40 yum-metadata-parser==1.1.4 [Pipeline] echo 08:17:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:17:40 ---> sudo-logs.sh 08:17:40 Archiving 'sudo' log.. [Pipeline] echo 08:17:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:17:41 ---> job-cost.sh 08:17:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bkEz 08:17:53 Cache entry deserialization failed, entry ignored 08:17:53 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:55 Cache entry deserialization failed, entry ignored 08:17:56 Cache entry deserialization failed, entry ignored 08:17:56 Cache entry deserialization failed, entry ignored 08:17:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:18:25 lf-activate-venv(): INFO: Adding /tmp/venv-bkEz/bin to PATH 08:18:25 INFO: No Stack... 08:18:26 INFO: Retrieving Pricing Info for: v1-standard-2 08:18:26 INFO: Archiving Costs [Pipeline] echo 08:18:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:18:27 ---> logs-deploy.sh 08:18:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2771/1 08:18:27 INFO: archiving workspace using pattern(s): 08:18:29 Archives upload complete. 08:18:29 INFO: archiving logs to Nexus 08:18:30 ---> uname -a: 08:18:30 Linux prd-centos7-docker-4c-2g-4200.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 08:18:30 08:18:30 08:18:30 ---> lscpu: 08:18:30 Architecture: x86_64 08:18:30 CPU op-mode(s): 32-bit, 64-bit 08:18:30 Byte Order: Little Endian 08:18:30 CPU(s): 4 08:18:30 On-line CPU(s) list: 0-3 08:18:30 Thread(s) per core: 1 08:18:30 Core(s) per socket: 1 08:18:30 Socket(s): 4 08:18:30 NUMA node(s): 1 08:18:30 Vendor ID: GenuineIntel 08:18:30 CPU family: 6 08:18:30 Model: 44 08:18:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:18:30 Stepping: 1 08:18:30 CPU MHz: 2933.442 08:18:30 BogoMIPS: 5866.88 08:18:30 Virtualization: VT-x 08:18:30 Hypervisor vendor: KVM 08:18:30 Virtualization type: full 08:18:30 L1d cache: 32K 08:18:30 L1i cache: 32K 08:18:30 L2 cache: 4096K 08:18:30 L3 cache: 16384K 08:18:30 NUMA node0 CPU(s): 0-3 08:18:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:18:30 08:18:30 08:18:30 ---> nproc: 08:18:30 4 08:18:30 08:18:30 08:18:30 ---> df -h: 08:18:30 Filesystem Size Used Avail Use% Mounted on 08:18:30 devtmpfs 887M 0 887M 0% /dev 08:18:30 tmpfs 919M 0 919M 0% /dev/shm 08:18:30 tmpfs 919M 17M 903M 2% /run 08:18:30 tmpfs 919M 0 919M 0% /sys/fs/cgroup 08:18:30 /dev/vda1 50G 8.6G 42G 18% / 08:18:30 tmpfs 184M 0 184M 0% /run/user/1001 08:18:30 08:18:30 08:18:30 ---> free -m: 08:18:30 total used free shared buff/cache available 08:18:30 Mem: 1837 633 67 16 1136 1004 08:18:30 Swap: 1023 3 1020 08:18:30 08:18:30