Pull request #3250 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 8a69c127c9b04e641d44d2e92838084644d97324 rather than 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c Obtained Jenkinsfile from 8a69c127c9b04e641d44d2e92838084644d97324 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-3250/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-3250/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@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-29501 in /w/workspace/edgexfoundry_edgex-go_PR-3250 [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 Merging remotes/origin/master commit 8a69c127c9b04e641d44d2e92838084644d97324 into PR head commit 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c Merge succeeded, producing 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c Checking out Revision 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c (PR-3250) > 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/3250/head:refs/remotes/origin/PR-3250 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c # 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 8a69c127c9b04e641d44d2e92838084644d97324 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c # timeout=10 Commit message: "feat(command): Update CoreCommand to use re-designed profile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:15:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:15:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:15:46 ========================================================= 09:15:46 EdgeX Global Pipelines Version Info 09:15:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:15:48 ------------------- 09:15:48 stable info: 09:15:48 ------------------- 09:15:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:15:48 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 09:15:48 Message: update stable to v1.0.184 09:15:49 ------------------- 09:15:49 experimental info: 09:15:49 ------------------- 09:15:49 Commited By: **** collab-it+edgex@linuxfoundation.org 09:15:49 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 09:15:49 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:15:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 09:15:49 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 09:15:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:15:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:15:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:15:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:15:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:15:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 09:15:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 09:15:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:15:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3250 [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3250 [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3250 [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c [Pipeline] echo 09:15:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2043a4c [Pipeline] echo 09:15:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:15:53 provisioning config files... 09:15:53 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6936487216644464737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:53 ---> docker-login.sh 09:15:53 nexus3.edgexfoundry.org:10001 09:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:54 Configure a credential helper to remove this warning. See 09:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:54 09:15:54 Login Succeeded 09:15:54 nexus3.edgexfoundry.org:10002 09:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:54 Configure a credential helper to remove this warning. See 09:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:54 09:15:54 Login Succeeded 09:15:54 nexus3.edgexfoundry.org:10003 09:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:54 Configure a credential helper to remove this warning. See 09:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:54 09:15:54 Login Succeeded 09:15:54 nexus3.edgexfoundry.org:10004 09:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:54 Configure a credential helper to remove this warning. See 09:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:54 09:15:54 Login Succeeded 09:15:54 docker.io 09:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:55 Configure a credential helper to remove this warning. See 09:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:55 09:15:55 Login Succeeded 09:15:55 ---> docker-login.sh ends [Pipeline] } 09:15:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:15:55 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/core-command/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo core-command,cmd/core-command/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/core-data/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo core-data,cmd/core-data/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/core-metadata/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo core-metadata,cmd/core-metadata/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/security-bootstrapper/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/security-proxy-setup/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/security-secretstore-setup/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/support-notifications/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo support-notifications,cmd/support-notifications/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/support-scheduler/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo support-scheduler,cmd/support-scheduler/Dockerfile 09:15:55 + for file in '`ls cmd/**/Dockerfile`' 09:15:55 ++ dirname cmd/sys-mgmt-agent/Dockerfile 09:15:55 ++ cut -d/ -f2 09:15:55 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 09:15:55 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-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-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 09:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:15:57 09:15:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:15:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:15:57 latest: Pulling from edgex-devops/git-semver 09:15:57 31603596830f: Pulling fs layer 09:15:57 2a8b12db71e7: Pulling fs layer 09:15:57 6ca5941a6612: Pulling fs layer 09:15:57 ecc8261a40a4: Pulling fs layer 09:15:57 ecc8261a40a4: Waiting 09:15:57 2a8b12db71e7: Verifying Checksum 09:15:57 2a8b12db71e7: Download complete 09:15:57 31603596830f: Verifying Checksum 09:15:57 31603596830f: Download complete 09:15:57 6ca5941a6612: Verifying Checksum 09:15:57 6ca5941a6612: Download complete 09:15:57 ecc8261a40a4: Verifying Checksum 09:15:57 ecc8261a40a4: Download complete 09:15:57 31603596830f: Pull complete 09:15:58 2a8b12db71e7: Pull complete 09:15:59 6ca5941a6612: Pull complete 09:15:59 ecc8261a40a4: Pull complete 09:15:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:15:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:15:59 prd-centos7-docker-4c-2g-29501 does not seem to be running inside a container 09:15:59 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:16:02 $ docker top d1cf7c6a434b826d3d032ccefa8b96f56b50f5cb89b172e67da2147f72a8ef88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:16:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:16:02 [ssh-agent] Looking for ssh-agent implementation... 09:16:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:16:03 $ docker exec d1cf7c6a434b826d3d032ccefa8b96f56b50f5cb89b172e67da2147f72a8ef88 ssh-agent 09:16:03 SSH_AUTH_SOCK=/tmp/ssh-aExCCHVnOvNH/agent.11 09:16:03 SSH_AGENT_PID=16 09:16:03 Running ssh-add (command line suppressed) 09:16:03 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3212441154623710162.key (/w/workspace/edgex-go/1@tmp/private_key_3212441154623710162.key) 09:16:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:16:03 + git tag --points-at HEAD [Pipeline] } 09:16:03 $ docker exec --env ******** --env ******** d1cf7c6a434b826d3d032ccefa8b96f56b50f5cb89b172e67da2147f72a8ef88 ssh-agent -k 09:16:04 unset SSH_AUTH_SOCK; 09:16:04 unset SSH_AGENT_PID; 09:16:04 echo Agent pid 16 killed; 09:16:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:16:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:16:04 [ssh-agent] Looking for ssh-agent implementation... 09:16:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:16:04 $ docker exec d1cf7c6a434b826d3d032ccefa8b96f56b50f5cb89b172e67da2147f72a8ef88 ssh-agent 09:16:04 SSH_AUTH_SOCK=/tmp/ssh-jjk1DvbTB1tK/agent.45 09:16:04 SSH_AGENT_PID=51 09:16:04 Running ssh-add (command line suppressed) 09:16:04 Identity added: /w/workspace/edgex-go/1@tmp/private_key_5644157287251089959.key (/w/workspace/edgex-go/1@tmp/private_key_5644157287251089959.key) 09:16:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:16:05 + git semver init 09:16:05 # -> Open(): unable to determine branch for HEAD 09:16:05 # $GIT_DIR = /w/workspace/edgex-go/1/.git 09:16:05 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 09:16:05 # $SEMVER_REMOTE_NAME = origin 09:16:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:16:05 # $SEMVER_USER_NAME = edgex-jenkins 09:16:05 # $SEMVER_BRANCH = PR-3250 09:16:05 # $SEMVER_TEMP = /tmp/semver-676269839 09:16:05 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 09:16:23 # '/tmp/semver-676269839' -> '/w/workspace/edgex-go/1/.semver' 09:16:24 # -> Force: false 09:16:24 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 09:16:24 $ docker exec --env ******** --env ******** d1cf7c6a434b826d3d032ccefa8b96f56b50f5cb89b172e67da2147f72a8ef88 ssh-agent -k 09:16:24 unset SSH_AUTH_SOCK; 09:16:24 unset SSH_AGENT_PID; 09:16:24 echo Agent pid 51 killed; 09:16:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:16:25 + git semver [Pipeline] } 09:16:25 $ docker stop --time=1 d1cf7c6a434b826d3d032ccefa8b96f56b50f5cb89b172e67da2147f72a8ef88 09:16:27 $ docker rm -f d1cf7c6a434b826d3d032ccefa8b96f56b50f5cb89b172e67da2147f72a8ef88 [Pipeline] // withDockerContainer [Pipeline] sh 09:16:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:16:28 Stashed 1 file(s) [Pipeline] echo 09:16:28 [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 09:16:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:16:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:16:30 + sudo service docker restart 09:16:30 + true 09:16:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 09:16:31 ========================================================= 09:16:31 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:16:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:16:31 + 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 . 09:16:34 Sending build context to Docker daemon 328.5MB 09:16:34 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 09:16:34 Step 2/6 : FROM ${BASE} 09:16:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:16:34 188c0c94c7c5: Pulling fs layer 09:16:34 0ef7d3d256c8: Pulling fs layer 09:16:34 de9db76c5a1d: Pulling fs layer 09:16:34 bca2f99d35d6: Pulling fs layer 09:16:34 93359f2a8cfa: Pulling fs layer 09:16:34 7c6f9722023f: Pulling fs layer 09:16:34 a35cf1a2eb13: Pulling fs layer 09:16:34 bca2f99d35d6: Waiting 09:16:34 a35cf1a2eb13: Waiting 09:16:34 93359f2a8cfa: Waiting 09:16:34 7c6f9722023f: Waiting 09:16:35 de9db76c5a1d: Verifying Checksum 09:16:35 de9db76c5a1d: Download complete 09:16:35 0ef7d3d256c8: Verifying Checksum 09:16:35 0ef7d3d256c8: Download complete 09:16:35 93359f2a8cfa: Verifying Checksum 09:16:35 93359f2a8cfa: Download complete 09:16:35 7c6f9722023f: Verifying Checksum 09:16:35 7c6f9722023f: Download complete 09:16:35 188c0c94c7c5: Download complete 09:16:35 188c0c94c7c5: Pull complete 09:16:35 0ef7d3d256c8: Pull complete 09:16:35 de9db76c5a1d: Pull complete 09:16:37 a35cf1a2eb13: Verifying Checksum 09:16:37 a35cf1a2eb13: Download complete 09:16:37 bca2f99d35d6: Verifying Checksum 09:16:37 bca2f99d35d6: Download complete 09:16:44 Still waiting to schedule task 09:16:44 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:16:44 bca2f99d35d6: Pull complete 09:16:44 93359f2a8cfa: Pull complete 09:16:44 7c6f9722023f: Pull complete 09:16:48 a35cf1a2eb13: Pull complete 09:16:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:16:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:16:48 ---> a62c8e92a672 09:16:48 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 09:16:48 ---> Running in 33c0823a47aa 09:16:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:16:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:16:50 (1/12) Installing libmagic (5.38-r0) 09:16:50 (2/12) Installing file (5.38-r0) 09:16:50 (3/12) Installing libc-dev (0.7.2-r3) 09:16:50 (4/12) Installing g++ (9.3.0-r2) 09:16:55 (5/12) Installing fortify-headers (1.1-r0) 09:16:55 (6/12) Installing patch (2.7.6-r6) 09:16:55 (7/12) Installing build-base (0.5-r2) 09:16:55 (8/12) Installing libsodium (1.0.18-r0) 09:16:55 (9/12) Installing pkgconf (1.7.2-r0) 09:16:55 (10/12) Installing libsodium-dev (1.0.18-r0) 09:16:55 (11/12) Installing libzmq (4.3.3-r0) 09:16:55 (12/12) Installing zeromq-dev (4.3.3-r0) 09:16:55 Executing busybox-1.31.1-r19.trigger 09:16:55 OK: 233 MiB in 51 packages 09:17:00 Removing intermediate container 33c0823a47aa 09:17:00 ---> 39e9c9b0903f 09:17:00 Step 4/6 : WORKDIR /edgex-go 09:17:00 ---> Running in 84e315e84cca 09:17:00 Removing intermediate container 84e315e84cca 09:17:00 ---> 1e1839e46865 09:17:00 Step 5/6 : COPY go.mod . 09:17:00 ---> af4dfdaf335e 09:17:00 Step 6/6 : RUN go mod download 09:17:00 ---> Running in d840ef81cc49 09:17:22 Removing intermediate container d840ef81cc49 09:17:22 ---> f05efc0439f4 09:17:22 Successfully built f05efc0439f4 09:17:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:17:22 + docker inspect -f . ci-base-image-x86_64 09:17:22 . [Pipeline] withDockerContainer 09:17:22 prd-centos7-docker-4c-2g-29501 does not seem to be running inside a container 09:17:22 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:17:23 $ docker top 00dc92da401c83d9d935226235195f638c7d294e72716b6b6eea073d3758b897 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:24 + go version 09:17:24 go version go1.15.5 linux/amd64 [Pipeline] } 09:17:24 $ docker stop --time=1 00dc92da401c83d9d935226235195f638c7d294e72716b6b6eea073d3758b897 09:17:25 $ docker rm -f 00dc92da401c83d9d935226235195f638c7d294e72716b6b6eea073d3758b897 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:26 + docker inspect -f . ci-base-image-x86_64 09:17:26 . [Pipeline] withDockerContainer 09:17:27 prd-centos7-docker-4c-2g-29501 does not seem to be running inside a container 09:17:27 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:17:27 $ docker top 38ecb597e4cb24a9b88d97863e2fa6b8731539596d73af2e76d6f69d3f58ea13 -eo pid,comm [Pipeline] { [Pipeline] echo 09:17:28 ========================================================= 09:17:28 [edgeXBuildGoParallel] Running Tests and Build... 09:17:28 ========================================================= [Pipeline] sh 09:17:28 + make test 09:17:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:17:38 ? github.com/edgexfoundry/edgex-go [no test files] 09:17:51 # github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 09:17:51 internal/core/command/v2/application/command.go:52:8: c.IsHidden undefined (type dtos.DeviceCommand has no field or method IsHidden) 09:17:51 internal/core/command/v2/application/command.go:98:7: c.IsHidden undefined (type dtos.DeviceCommand has no field or method IsHidden) 09:17:51 internal/core/command/v2/application/command.go:117:35: deviceCommand.ReadWrite undefined (type dtos.DeviceCommand has no field or method ReadWrite) 09:17:51 internal/core/command/v2/application/command.go:117:47: undefined: v2.ReadWrite_R 09:17:51 internal/core/command/v2/application/command.go:120:35: deviceCommand.ReadWrite undefined (type dtos.DeviceCommand has no field or method ReadWrite) 09:17:51 internal/core/command/v2/application/command.go:120:47: undefined: v2.ReadWrite_W 09:18:09 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 09:18:09 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 09:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.270s coverage: 27.1% of statements 09:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.051s coverage: 100.0% of statements 09:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.066s coverage: 100.0% of statements 09:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.122s coverage: 71.3% of statements 09:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.211s coverage: 82.9% of statements 09:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.076s coverage: 78.9% of statements 09:18:20 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:53:15: undefined: dtos.ResourceProperties 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:60:3: unknown field 'ReadWrite' in struct literal of type dtos.DeviceCommand 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:61:3: unknown field 'ResourceOperations' in struct literal of type dtos.DeviceCommand 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:203:15: undefined: dtos.ResourceProperties 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:214:15: undefined: dtos.ResourceProperties 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:220:3: unknown field 'ReadWrite' in struct literal of type dtos.DeviceCommand 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:338:15: undefined: dtos.ResourceProperties 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:349:15: undefined: dtos.ResourceProperties 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:355:3: unknown field 'ReadWrite' in struct literal of type dtos.DeviceCommand 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:489:15: undefined: dtos.ResourceProperties 09:18:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:489:15: too many errors 09:18:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.413s coverage: 28.6% of statements 09:18:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.072s coverage: 100.0% of statements 09:18:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.071s coverage: 100.0% of statements 09:18:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.172s coverage: 86.7% of statements 09:18:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.093s coverage: 97.5% of statements 09:18:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.098s coverage: 78.3% of statements 09:18:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 09:18:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.034s coverage: 58.8% of statements 09:18:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.053s coverage: 0.1% of statements 09:18:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.063s coverage: 47.1% of statements 09:18:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.049s coverage: 79.5% of statements 09:18:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.040s coverage: 94.1% of statements 09:18:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.046s coverage: 96.3% of statements 09:18:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.036s coverage: 87.5% of statements 09:18:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.042s coverage: 94.4% of statements 09:18:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.034s coverage: 44.8% of statements 09:18:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 6.048s coverage: 81.4% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.068s coverage: 92.9% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 77.8% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.042s coverage: 87.2% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.059s coverage: 75.5% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.033s coverage: 80.8% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.6% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.077s coverage: 91.6% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.195s coverage: 62.4% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.034s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.046s coverage: 91.3% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.042s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.035s coverage: 73.7% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.037s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.347s coverage: 69.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.089s coverage: 38.4% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.042s coverage: 89.5% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.035s coverage: 84.8% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.164s coverage: 47.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.059s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.051s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.139s coverage: 87.1% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.764s coverage: 29.1% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.070s coverage: 99.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.057s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.088s coverage: 96.5% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/system 0.035s coverage: 0.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.036s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.037s coverage: 87.9% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.034s coverage: 100.0% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.041s coverage: 32.1% of statements 09:18:47 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 09:18:47 make: *** [Makefile:94: test] Error 2 [Pipeline] } 09:18:47 $ docker stop --time=1 38ecb597e4cb24a9b88d97863e2fa6b8731539596d73af2e76d6f69d3f58ea13 09:18:49 $ docker rm -f 38ecb597e4cb24a9b88d97863e2fa6b8731539596d73af2e76d6f69d3f58ea13 [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] } 09:18:52 Failed in branch amd64 09:19:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29502 in /w/workspace/edgexfoundry_edgex-go_PR-3250 [Pipeline] { [Pipeline] ws 09:19:21 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 09:19:26 using credential edgex-jenkins-ssh 09:19:26 Cloning the remote Git repository 09:19:26 Cloning repository git@github.com:edgexfoundry/edgex-go.git 09:19:26 > git init /w/workspace/edgex-go/1 # timeout=10 09:19:26 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:19:26 > git --version # timeout=10 09:19:26 > git --version # 'git version 2.17.1' 09:19:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:19:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:19:44 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:19:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:19:44 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:19:44 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:19:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:19:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3250/head:refs/remotes/origin/PR-3250 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:19:45 Merging remotes/origin/master commit 8a69c127c9b04e641d44d2e92838084644d97324 into PR head commit 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c 09:19:46 Merge succeeded, producing 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c 09:19:46 Checking out Revision 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c (PR-3250) 09:19:45 > git config core.sparsecheckout # timeout=10 09:19:45 > git checkout -f 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c # timeout=10 09:19:46 > git remote # timeout=10 09:19:46 > git config --get remote.origin.url # timeout=10 09:19:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:19:46 > git merge 8a69c127c9b04e641d44d2e92838084644d97324 # timeout=10 09:19:46 > git rev-parse HEAD^{commit} # timeout=10 09:19:46 > git config core.sparsecheckout # timeout=10 09:19:46 > git checkout -f 2043a4cbf5ed1c1d8d76876f49e1499aa1c03b2c # timeout=10 09:19:50 Commit message: "feat(command): Update CoreCommand to use re-designed profile" 09:19:50 > git --version # timeout=10 09:19:50 > git --version # 'git version 2.17.1' 09:19:50 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:19:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:19:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:19:53 + true 09:19:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:19:55 provisioning config files... 09:19:55 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4797596679978218995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:19:56 ---> docker-login.sh 09:19:56 nexus3.edgexfoundry.org:10001 09:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:57 Configure a credential helper to remove this warning. See 09:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:57 09:19:57 Login Succeeded 09:19:57 nexus3.edgexfoundry.org:10002 09:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:57 Configure a credential helper to remove this warning. See 09:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:57 09:19:57 Login Succeeded 09:19:57 nexus3.edgexfoundry.org:10003 09:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:58 Configure a credential helper to remove this warning. See 09:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:58 09:19:58 Login Succeeded 09:19:58 nexus3.edgexfoundry.org:10004 09:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:59 Configure a credential helper to remove this warning. See 09:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:59 09:19:59 Login Succeeded 09:19:59 docker.io 09:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:59 Configure a credential helper to remove this warning. See 09:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:59 09:19:59 Login Succeeded 09:19:59 ---> docker-login.sh ends [Pipeline] } 09:19:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:20:00 ========================================================= 09:20:00 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:20:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:20:00 + 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 . 09:20:03 Sending build context to Docker daemon 166.7MB 09:20:03 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 09:20:03 Step 2/6 : FROM ${BASE} 09:20:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:20:03 5f621e34cdf4: Pulling fs layer 09:20:03 a4357932f1b6: Pulling fs layer 09:20:03 18c013af1878: Pulling fs layer 09:20:03 00ac8860ef70: Pulling fs layer 09:20:03 63d7cb157983: Pulling fs layer 09:20:03 b116817d02f9: Pulling fs layer 09:20:03 745a02a5169b: Pulling fs layer 09:20:03 00ac8860ef70: Waiting 09:20:03 63d7cb157983: Waiting 09:20:03 b116817d02f9: Waiting 09:20:03 745a02a5169b: Waiting 09:20:03 18c013af1878: Download complete 09:20:03 a4357932f1b6: Verifying Checksum 09:20:03 a4357932f1b6: Download complete 09:20:03 63d7cb157983: Verifying Checksum 09:20:03 63d7cb157983: Download complete 09:20:03 b116817d02f9: Download complete 09:20:03 5f621e34cdf4: Verifying Checksum 09:20:03 5f621e34cdf4: Download complete 09:20:04 5f621e34cdf4: Pull complete 09:20:05 a4357932f1b6: Pull complete 09:20:05 18c013af1878: Pull complete 09:20:06 745a02a5169b: Verifying Checksum 09:20:06 745a02a5169b: Download complete 09:20:07 00ac8860ef70: Verifying Checksum 09:20:07 00ac8860ef70: Download complete 09:20:17 00ac8860ef70: Pull complete 09:20:17 63d7cb157983: Pull complete 09:20:18 b116817d02f9: Pull complete 09:20:22 745a02a5169b: Pull complete 09:20:22 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:20:22 ---> b7e6874047d6 09:20:22 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 09:20:24 ---> Running in 84cfbb70d8e7 09:20:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:20:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:20:28 (1/12) Installing libmagic (5.38-r0) 09:20:28 (2/12) Installing file (5.38-r0) 09:20:28 (3/12) Installing libc-dev (0.7.2-r3) 09:20:28 (4/12) Installing g++ (9.3.0-r2) 09:20:39 (5/12) Installing fortify-headers (1.1-r0) 09:20:39 (6/12) Installing patch (2.7.6-r6) 09:20:39 (7/12) Installing build-base (0.5-r2) 09:20:39 (8/12) Installing libsodium (1.0.18-r0) 09:20:39 (9/12) Installing pkgconf (1.7.2-r0) 09:20:39 (10/12) Installing libsodium-dev (1.0.18-r0) 09:20:39 (11/12) Installing libzmq (4.3.3-r0) 09:20:39 (12/12) Installing zeromq-dev (4.3.3-r0) 09:20:39 Executing busybox-1.31.1-r19.trigger 09:20:39 OK: 217 MiB in 51 packages 09:20:43 Removing intermediate container 84cfbb70d8e7 09:20:43 ---> 50c0654757b2 09:20:43 Step 4/6 : WORKDIR /edgex-go 09:20:43 ---> Running in e4a841a2a8b3 09:20:43 Removing intermediate container e4a841a2a8b3 09:20:43 ---> 219ee30b07e5 09:20:43 Step 5/6 : COPY go.mod . 09:20:44 ---> c7a1084969f9 09:20:44 Step 6/6 : RUN go mod download 09:20:44 ---> Running in 0377fcd5c503 09:21:11 Removing intermediate container 0377fcd5c503 09:21:11 ---> f2face30281c 09:21:11 Successfully built f2face30281c 09:21:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:21:11 + docker inspect -f . ci-base-image-arm64 09:21:11 . [Pipeline] withDockerContainer 09:21:12 prd-ubuntu18.04-docker-arm64-4c-16g-29502 does not seem to be running inside a container 09:21:12 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:21:13 $ docker top 407401af15ce0bdc023987794e925048759061f277a9729c5f4b5a8d64333780 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:14 + go version 09:21:14 go version go1.15.5 linux/arm64 [Pipeline] } 09:21:14 $ docker stop --time=1 407401af15ce0bdc023987794e925048759061f277a9729c5f4b5a8d64333780 09:21:16 $ docker rm -f 407401af15ce0bdc023987794e925048759061f277a9729c5f4b5a8d64333780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:21:17 + docker inspect -f . ci-base-image-arm64 09:21:17 . [Pipeline] withDockerContainer 09:21:17 prd-ubuntu18.04-docker-arm64-4c-16g-29502 does not seem to be running inside a container 09:21:18 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:21:19 $ docker top 27fbe7b5b6d6fa5d9cd476e7d62d0266bb6c2432f2dcb5a3d45110ef4a8c01b3 -eo pid,comm [Pipeline] { [Pipeline] echo 09:21:19 ========================================================= 09:21:19 [edgeXBuildGoParallel] Running Tests and Build... 09:21:19 ========================================================= [Pipeline] sh 09:21:20 + make test 09:21:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:21:42 ? github.com/edgexfoundry/edgex-go [no test files] 09:22:15 # github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 09:22:15 internal/core/command/v2/application/command.go:52:8: c.IsHidden undefined (type dtos.DeviceCommand has no field or method IsHidden) 09:22:15 internal/core/command/v2/application/command.go:98:7: c.IsHidden undefined (type dtos.DeviceCommand has no field or method IsHidden) 09:22:15 internal/core/command/v2/application/command.go:117:35: deviceCommand.ReadWrite undefined (type dtos.DeviceCommand has no field or method ReadWrite) 09:22:15 internal/core/command/v2/application/command.go:117:47: undefined: v2.ReadWrite_R 09:22:15 internal/core/command/v2/application/command.go:120:35: deviceCommand.ReadWrite undefined (type dtos.DeviceCommand has no field or method ReadWrite) 09:22:15 internal/core/command/v2/application/command.go:120:47: undefined: v2.ReadWrite_W 09:23:02 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 09:23:02 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 09:23:10 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.577s coverage: 27.1% of statements 09:23:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.048s coverage: 100.0% of statements 09:23:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.072s coverage: 100.0% of statements 09:23:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.239s coverage: 71.3% of statements 09:23:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.534s coverage: 82.9% of statements 09:23:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.188s coverage: 78.9% of statements 09:23:18 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:53:15: undefined: dtos.ResourceProperties 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:60:3: unknown field 'ReadWrite' in struct literal of type dtos.DeviceCommand 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:61:3: unknown field 'ResourceOperations' in struct literal of type dtos.DeviceCommand 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:203:15: undefined: dtos.ResourceProperties 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:214:15: undefined: dtos.ResourceProperties 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:220:3: unknown field 'ReadWrite' in struct literal of type dtos.DeviceCommand 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:338:15: undefined: dtos.ResourceProperties 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:349:15: undefined: dtos.ResourceProperties 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:355:3: unknown field 'ReadWrite' in struct literal of type dtos.DeviceCommand 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:489:15: undefined: dtos.ResourceProperties 09:23:18 internal/core/metadata/v2/controller/http/deviceprofile_test.go:489:15: too many errors 09:23:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.132s coverage: 28.6% of statements 09:23:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.180s coverage: 100.0% of statements 09:23:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.121s coverage: 100.0% of statements 09:23:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.416s coverage: 86.7% of statements 09:23:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.390s coverage: 97.5% of statements 09:23:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.132s coverage: 78.3% of statements 09:23:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 09:23:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.048s coverage: 58.8% of statements 09:23:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.212s coverage: 0.1% of statements 09:23:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.069s coverage: 47.1% of statements 09:23:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.079s coverage: 79.5% of statements 09:23:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.065s coverage: 94.1% of statements 09:23:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.140s coverage: 96.3% of statements 09:23:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.065s coverage: 87.5% of statements 09:23:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.070s coverage: 94.4% of statements 09:23:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements 09:23:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 6.079s coverage: 81.4% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.135s coverage: 92.9% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 77.8% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.071s coverage: 87.2% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.090s coverage: 75.5% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.8% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.109s coverage: 87.2% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.138s coverage: 84.6% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.170s coverage: 91.6% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.479s coverage: 62.4% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.053s coverage: 100.0% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 91.3% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.047s coverage: 100.0% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.050s coverage: 73.7% of statements 09:23:53 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.046s coverage: 100.0% of statements 09:23:55 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.886s coverage: 69.0% of statements 09:23:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.368s coverage: 38.4% of statements 09:23:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.124s coverage: 89.5% of statements 09:23:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.095s coverage: 84.8% of statements 09:24:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.468s coverage: 47.0% of statements 09:24:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.122s coverage: 100.0% of statements 09:24:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.148s coverage: 100.0% of statements 09:24:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.433s coverage: 87.1% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.239s coverage: 29.1% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.184s coverage: 99.0% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.095s coverage: 100.0% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.229s coverage: 96.5% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/system 0.056s coverage: 0.0% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.069s coverage: 100.0% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.078s coverage: 87.9% of statements 09:24:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements 09:24:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.059s coverage: 32.1% of statements 09:24:13 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements 09:24:14 make: *** [Makefile:94: test] Error 2 [Pipeline] } 09:24:14 $ docker stop --time=1 27fbe7b5b6d6fa5d9cd476e7d62d0266bb6c2432f2dcb5a3d45110ef4a8c01b3 09:24:17 $ docker rm -f 27fbe7b5b6d6fa5d9cd476e7d62d0266bb6c2432f2dcb5a3d45110ef4a8c01b3 [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 Post stage [Pipeline] libraryResource [Pipeline] sh 09:24:19 ---> job-cost.sh 09:24:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SmI0 09:24:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:26:35 lf-activate-venv(): INFO: Adding /tmp/venv-SmI0/bin to PATH 09:26:35 INFO: No Stack... 09:26:35 INFO: Retrieving Pricing Info for: lf-standard-4 09:26:35 INFO: Archiving Costs [Pipeline] sh 09:26:35 + + cat /w/workspace/edgex-go/1/archives/cost.csv 09:26:35 cut -d, -f6 [Pipeline] lock 09:26:35 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3250-1-stack-cost] 09:26:35 Resource [jenkins-edgexfoundry-edgex-go-PR-3250-1-stack-cost] did not exist. Created. 09:26:35 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:36 + echo total: 0.20999999344348907 [Pipeline] stash 09:26:37 Stashed 1 file(s) [Pipeline] } 09:26:37 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3250-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:26:38 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] { (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 09:26:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:26:43 ---> package-listing.sh 09:26:43 ++ facter osfamily 09:26:43 ++ tr '[:upper:]' '[:lower:]' 09:26:43 + OS_FAMILY=redhat 09:26:43 + workspace=/w/workspace/edgex-go/1 09:26:43 + START_PACKAGES=/tmp/packages_start.txt 09:26:43 + END_PACKAGES=/tmp/packages_end.txt 09:26:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:26:43 + PACKAGES=/tmp/packages_start.txt 09:26:43 + '[' /w/workspace/edgex-go/1 ']' 09:26:43 + PACKAGES=/tmp/packages_end.txt 09:26:43 + case "${OS_FAMILY}" in 09:26:43 + sort 09:26:43 + rpm -qa 09:26:48 + '[' -f /tmp/packages_start.txt ']' 09:26:48 + '[' -f /tmp/packages_end.txt ']' 09:26:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:26:48 + '[' /w/workspace/edgex-go/1 ']' 09:26:48 + mkdir -p /w/workspace/edgex-go/1/archives/ 09:26:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 09:26:48 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 09:26:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:26:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:26:49 09:26:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:26:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:26:49 alpine: Pulling from edgex-lftools-log-publisher 09:26:49 df20fa9351a1: Pulling fs layer 09:26:49 36b3adc4ff6f: Pulling fs layer 09:26:49 8ad3a11d3b57: Pulling fs layer 09:26:49 46f8f816bc3b: Pulling fs layer 09:26:49 93b61091891f: Pulling fs layer 09:26:49 93b9cdb0e59b: Pulling fs layer 09:26:49 5e14af77c1be: Pulling fs layer 09:26:49 01666e4c0597: Pulling fs layer 09:26:49 aa168da1d23b: Pulling fs layer 09:26:49 46f8f816bc3b: Waiting 09:26:49 93b61091891f: Waiting 09:26:49 93b9cdb0e59b: Waiting 09:26:49 5e14af77c1be: Waiting 09:26:49 01666e4c0597: Waiting 09:26:49 aa168da1d23b: Waiting 09:26:49 36b3adc4ff6f: Download complete 09:26:49 46f8f816bc3b: Verifying Checksum 09:26:49 46f8f816bc3b: Download complete 09:26:49 df20fa9351a1: Verifying Checksum 09:26:49 93b9cdb0e59b: Verifying Checksum 09:26:49 93b9cdb0e59b: Download complete 09:26:49 5e14af77c1be: Verifying Checksum 09:26:49 5e14af77c1be: Download complete 09:26:49 93b61091891f: Verifying Checksum 09:26:49 93b61091891f: Download complete 09:26:49 01666e4c0597: Download complete 09:26:50 df20fa9351a1: Pull complete 09:26:50 36b3adc4ff6f: Pull complete 09:26:50 8ad3a11d3b57: Verifying Checksum 09:26:50 8ad3a11d3b57: Download complete 09:26:51 8ad3a11d3b57: Pull complete 09:26:52 46f8f816bc3b: Pull complete 09:26:53 aa168da1d23b: Verifying Checksum 09:26:53 aa168da1d23b: Download complete 09:26:53 93b61091891f: Pull complete 09:26:53 93b9cdb0e59b: Pull complete 09:26:53 5e14af77c1be: Pull complete 09:26:53 01666e4c0597: Pull complete 09:27:02 aa168da1d23b: Pull complete 09:27:02 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:27:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:27:02 prd-centos7-docker-4c-2g-29501 does not seem to be running inside a container 09:27:02 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:27:05 $ docker top 8a02d800e4fdcf831f914212f557be75d45db2c8f055d120e756a5b6cc434b8d -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:06 + touch /tmp/pre-build-complete [Pipeline] sh 09:27:06 + mkdir -p /var/log/sa [Pipeline] sh 09:27:06 + ls /var/log/sa-host 09:27:06 + sadf -c /var/log/sa-host/sa11 09:27:06 file_magic: OK 09:27:06 HZ: Using current value: 100 09:27:06 file_header: OK 09:27:06 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 09:27:06 Statistics: 09:27:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:27:06 File successfully converted to sysstat format version 12.2.1 09:27:06 + sadf -c /var/log/sa-host/sa23 09:27:06 file_magic: OK 09:27:06 HZ: Using current value: 100 09:27:06 file_header: OK 09:27:06 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 09:27:06 Statistics: 09:27:06 Hnuu...uuuununununu... 09:27:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:27:07 provisioning config files... 09:27:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config8556010314825414373tmp [Pipeline] { [Pipeline] echo 09:27:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:27:07 ---> create-netrc.sh [Pipeline] } 09:27:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:27:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:27:08 ---> python-tools-install.sh [Pipeline] echo 09:27:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:27:08 ---> sudo-logs.sh 09:27:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:27:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:27:09 ---> job-cost.sh 09:27:09 lf-activate-venv: SKIPPING 09:27:09 DEBUG: total: 0.20999999344348907 09:27:09 INFO: Retrieving Stack Cost... 09:27:09 INFO: Retrieving Pricing Info for: v1-standard-2 09:27:10 INFO: Archiving Costs [Pipeline] echo 09:27:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:27:10 ---> logs-deploy.sh 09:27:10 lf-activate-venv: SKIPPING 09:27:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3250/1 09:27:10 INFO: archiving workspace using pattern(s): 09:27:12 Archives upload complete. 09:27:12 INFO: archiving logs to Nexus