Pull request #3196 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 756c8f67da22a1e32f0adf623247959e7b9e4742 rather than e4cd17d2e8e852239d401424f277333cd197ba1e Obtained Jenkinsfile from 756c8f67da22a1e32f0adf623247959e7b9e4742 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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-3196/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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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-3196/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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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-27619 in /w/workspace/edgexfoundry_edgex-go_PR-3196 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3196/head:refs/remotes/origin/PR-3196 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 756c8f67da22a1e32f0adf623247959e7b9e4742 into PR head commit e4cd17d2e8e852239d401424f277333cd197ba1e Merge succeeded, producing e4cd17d2e8e852239d401424f277333cd197ba1e Checking out Revision e4cd17d2e8e852239d401424f277333cd197ba1e (PR-3196) > git config core.sparsecheckout # timeout=10 > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # 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 756c8f67da22a1e32f0adf623247959e7b9e4742 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # timeout=10 Commit message: "refactor: Modify config.Clients to use service key" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:25:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:25:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:25:32 ========================================================= 06:25:32 EdgeX Global Pipelines Version Info 06:25:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:25:33 ------------------- 06:25:33 stable info: 06:25:33 ------------------- 06:25:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:25:33 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 06:25:33 Message: update stable to v1.0.181 06:25:34 ------------------- 06:25:34 experimental info: 06:25:34 ------------------- 06:25:34 Commited By: **** collab-it+edgex@linuxfoundation.org 06:25:34 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 06:25:34 Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3196 [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3196 [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3196 [Pipeline] echo 06:25:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4cd17d2e8e852239d401424f277333cd197ba1e [Pipeline] echo 06:25:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4cd17d [Pipeline] echo 06:25:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:25:38 provisioning config files... 06:25:38 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config26732880802594743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:39 ---> docker-login.sh 06:25:39 nexus3.edgexfoundry.org:10001 06:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:39 Configure a credential helper to remove this warning. See 06:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:39 06:25:39 Login Succeeded 06:25:39 nexus3.edgexfoundry.org:10002 06:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:39 Configure a credential helper to remove this warning. See 06:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:39 06:25:39 Login Succeeded 06:25:39 nexus3.edgexfoundry.org:10003 06:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:39 Configure a credential helper to remove this warning. See 06:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:39 06:25:39 Login Succeeded 06:25:39 nexus3.edgexfoundry.org:10004 06:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:40 Configure a credential helper to remove this warning. See 06:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:40 06:25:40 Login Succeeded 06:25:40 docker.io 06:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:40 Configure a credential helper to remove this warning. See 06:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:40 06:25:40 Login Succeeded 06:25:40 ---> docker-login.sh ends [Pipeline] } 06:25:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:25:41 ++ 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 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/core-command/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo core-command,cmd/core-command/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/core-data/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo core-data,cmd/core-data/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/core-metadata/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo core-metadata,cmd/core-metadata/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/security-bootstrapper/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/security-proxy-setup/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/security-secretstore-setup/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/support-notifications/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo support-notifications,cmd/support-notifications/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/support-scheduler/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo support-scheduler,cmd/support-scheduler/Dockerfile 06:25:41 + for file in '`ls cmd/**/Dockerfile`' 06:25:41 ++ dirname cmd/sys-mgmt-agent/Dockerfile 06:25:41 ++ cut -d/ -f2 06:25:41 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 06:25:41 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 06:25:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:42 06:25:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:25:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:43 latest: Pulling from edgex-devops/git-semver 06:25:43 31603596830f: Pulling fs layer 06:25:43 2a8b12db71e7: Pulling fs layer 06:25:43 6ca5941a6612: Pulling fs layer 06:25:43 ecc8261a40a4: Pulling fs layer 06:25:43 ecc8261a40a4: Waiting 06:25:43 2a8b12db71e7: Verifying Checksum 06:25:43 2a8b12db71e7: Download complete 06:25:43 31603596830f: Verifying Checksum 06:25:43 31603596830f: Download complete 06:25:43 ecc8261a40a4: Verifying Checksum 06:25:43 ecc8261a40a4: Download complete 06:25:43 6ca5941a6612: Verifying Checksum 06:25:43 6ca5941a6612: Download complete 06:25:43 31603596830f: Pull complete 06:25:43 2a8b12db71e7: Pull complete 06:25:44 6ca5941a6612: Pull complete 06:25:45 ecc8261a40a4: Pull complete 06:25:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:25:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:25:45 prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container 06:25:45 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:25:47 $ docker top ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:25:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:48 [ssh-agent] Looking for ssh-agent implementation... 06:25:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:48 $ docker exec ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent 06:25:48 SSH_AUTH_SOCK=/tmp/ssh-uzwDEwyDk8GG/agent.11 06:25:48 SSH_AGENT_PID=16 06:25:48 Running ssh-add (command line suppressed) 06:25:49 Identity added: /w/workspace/edgex-go/1@tmp/private_key_7445662256961104116.key (/w/workspace/edgex-go/1@tmp/private_key_7445662256961104116.key) 06:25:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:49 + git tag --points-at HEAD [Pipeline] } 06:25:49 $ docker exec --env ******** --env ******** ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent -k 06:25:49 unset SSH_AUTH_SOCK; 06:25:49 unset SSH_AGENT_PID; 06:25:49 echo Agent pid 16 killed; 06:25:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:25:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:49 [ssh-agent] Looking for ssh-agent implementation... 06:25:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:50 $ docker exec ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent 06:25:50 SSH_AUTH_SOCK=/tmp/ssh-SyOJSbAkbpVu/agent.46 06:25:50 SSH_AGENT_PID=52 06:25:50 Running ssh-add (command line suppressed) 06:25:50 Identity added: /w/workspace/edgex-go/1@tmp/private_key_2548763188492556963.key (/w/workspace/edgex-go/1@tmp/private_key_2548763188492556963.key) 06:25:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:50 + git semver init 06:25:50 # -> Open(): unable to determine branch for HEAD 06:25:50 # $GIT_DIR = /w/workspace/edgex-go/1/.git 06:25:50 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 06:25:50 # $SEMVER_REMOTE_NAME = origin 06:25:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:25:50 # $SEMVER_USER_NAME = edgex-jenkins 06:25:50 # $SEMVER_BRANCH = PR-3196 06:25:50 # $SEMVER_TEMP = /tmp/semver-525576561 06:25:50 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 06:26:08 # '/tmp/semver-525576561' -> '/w/workspace/edgex-go/1/.semver' 06:26:09 # -> Force: false 06:26:09 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 06:26:09 $ docker exec --env ******** --env ******** ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent -k 06:26:10 unset SSH_AUTH_SOCK; 06:26:10 unset SSH_AGENT_PID; 06:26:10 echo Agent pid 52 killed; 06:26:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:26:10 + git semver [Pipeline] } 06:26:10 $ docker stop --time=1 ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 06:26:12 $ docker rm -f ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 [Pipeline] // withDockerContainer [Pipeline] sh 06:26:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:26:13 Stashed 1 file(s) [Pipeline] echo 06:26:13 [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) 06:26:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27616 in /w/workspace/edgexfoundry_edgex-go_PR-3196 [Pipeline] script [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 06:26:14 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 06:26:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:26:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:26:15 + true 06:26:15 + sudo service docker restart 06:26:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 06:26:16 ========================================================= 06:26:16 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:26:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:26:16 + 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 . 06:26:20 using credential edgex-jenkins-ssh 06:26:20 Cloning the remote Git repository 06:26:20 Sending build context to Docker daemon 328MB 06:26:20 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 06:26:20 Step 2/6 : FROM ${BASE} 06:26:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:26:20 188c0c94c7c5: Pulling fs layer 06:26:20 0ef7d3d256c8: Pulling fs layer 06:26:20 de9db76c5a1d: Pulling fs layer 06:26:20 bca2f99d35d6: Pulling fs layer 06:26:20 93359f2a8cfa: Pulling fs layer 06:26:20 7c6f9722023f: Pulling fs layer 06:26:20 a35cf1a2eb13: Pulling fs layer 06:26:20 93359f2a8cfa: Waiting 06:26:20 7c6f9722023f: Waiting 06:26:20 a35cf1a2eb13: Waiting 06:26:20 bca2f99d35d6: Waiting 06:26:20 de9db76c5a1d: Download complete 06:26:20 0ef7d3d256c8: Verifying Checksum 06:26:20 0ef7d3d256c8: Download complete 06:26:20 93359f2a8cfa: Verifying Checksum 06:26:20 93359f2a8cfa: Download complete 06:26:20 7c6f9722023f: Verifying Checksum 06:26:20 7c6f9722023f: Download complete 06:26:20 188c0c94c7c5: Verifying Checksum 06:26:20 188c0c94c7c5: Download complete 06:26:20 188c0c94c7c5: Pull complete 06:26:21 0ef7d3d256c8: Pull complete 06:26:20 Cloning repository git@github.com:edgexfoundry/edgex-go.git 06:26:21 > git init /w/workspace/edgex-go/1 # timeout=10 06:26:21 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:26:21 > git --version # timeout=10 06:26:21 > git --version # 'git version 2.17.1' 06:26:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:21 de9db76c5a1d: Pull complete 06:26:22 a35cf1a2eb13: Download complete 06:26:23 bca2f99d35d6: Download complete 06:26:28 bca2f99d35d6: Pull complete 06:26:28 93359f2a8cfa: Pull complete 06:26:28 7c6f9722023f: Pull complete 06:26:36 a35cf1a2eb13: Pull complete 06:26:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:26:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:26:36 ---> a62c8e92a672 06:26:36 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 06:26:36 ---> Running in 2516bc7de212 06:26:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:26:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:26:38 (1/12) Installing libmagic (5.38-r0) 06:26:38 (2/12) Installing file (5.38-r0) 06:26:39 (3/12) Installing libc-dev (0.7.2-r3) 06:26:39 (4/12) Installing g++ (9.3.0-r2) 06:26:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:26:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:26:40 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:26:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3196/head:refs/remotes/origin/PR-3196 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:26:41 Merging remotes/origin/master commit 756c8f67da22a1e32f0adf623247959e7b9e4742 into PR head commit e4cd17d2e8e852239d401424f277333cd197ba1e 06:26:42 Merge succeeded, producing e4cd17d2e8e852239d401424f277333cd197ba1e 06:26:42 Checking out Revision e4cd17d2e8e852239d401424f277333cd197ba1e (PR-3196) 06:26:43 (5/12) Installing fortify-headers (1.1-r0) 06:26:43 (6/12) Installing patch (2.7.6-r6) 06:26:43 (7/12) Installing build-base (0.5-r2) 06:26:43 (8/12) Installing libsodium (1.0.18-r0) 06:26:43 (9/12) Installing pkgconf (1.7.2-r0) 06:26:43 (10/12) Installing libsodium-dev (1.0.18-r0) 06:26:43 (11/12) Installing libzmq (4.3.3-r0) 06:26:43 (12/12) Installing zeromq-dev (4.3.3-r0) 06:26:43 Executing busybox-1.31.1-r19.trigger 06:26:43 OK: 233 MiB in 51 packages 06:26:41 > git config core.sparsecheckout # timeout=10 06:26:41 > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # timeout=10 06:26:42 > git remote # timeout=10 06:26:42 > git config --get remote.origin.url # timeout=10 06:26:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:42 > git merge 756c8f67da22a1e32f0adf623247959e7b9e4742 # timeout=10 06:26:42 > git rev-parse HEAD^{commit} # timeout=10 06:26:42 > git config core.sparsecheckout # timeout=10 06:26:42 > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # timeout=10 06:26:46 Commit message: "refactor: Modify config.Clients to use service key" 06:26:46 > git --version # timeout=10 06:26:46 > git --version # 'git version 2.17.1' 06:26:46 fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 06:26:47 Removing intermediate container 2516bc7de212 06:26:47 ---> fb0276c9bf8e 06:26:47 Step 4/6 : WORKDIR /edgex-go 06:26:47 ---> Running in 78db768e1543 06:26:47 Removing intermediate container 78db768e1543 06:26:47 ---> 460865507129 06:26:47 Step 5/6 : COPY go.mod . [Pipeline] withEnv [Pipeline] { 06:26:47 ---> ea899980b1e7 06:26:47 Step 6/6 : RUN go mod download [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 06:26:47 ---> Running in c1c43634c805 [Pipeline] sh 06:26:48 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:26:49 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:26:49 + + truesudo 06:26:49 service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:26:52 provisioning config files... 06:26:52 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7055247200071303642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:53 ---> docker-login.sh 06:26:53 nexus3.edgexfoundry.org:10001 06:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:54 Configure a credential helper to remove this warning. See 06:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:54 06:26:54 Login Succeeded 06:26:54 nexus3.edgexfoundry.org:10002 06:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:55 Configure a credential helper to remove this warning. See 06:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:55 06:26:55 Login Succeeded 06:26:55 nexus3.edgexfoundry.org:10003 06:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:55 Configure a credential helper to remove this warning. See 06:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:55 06:26:55 Login Succeeded 06:26:55 nexus3.edgexfoundry.org:10004 06:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:56 Configure a credential helper to remove this warning. See 06:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:56 06:26:56 Login Succeeded 06:26:56 docker.io 06:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:57 Configure a credential helper to remove this warning. See 06:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:57 06:26:57 Login Succeeded 06:26:57 ---> docker-login.sh ends [Pipeline] } 06:26:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:26:57 ========================================================= 06:26:57 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:26:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:26:58 + 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 . 06:27:00 Sending build context to Docker daemon 166.4MB 06:27:00 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 06:27:00 Step 2/6 : FROM ${BASE} 06:27:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:27:00 5f621e34cdf4: Pulling fs layer 06:27:00 a4357932f1b6: Pulling fs layer 06:27:00 18c013af1878: Pulling fs layer 06:27:00 00ac8860ef70: Pulling fs layer 06:27:00 63d7cb157983: Pulling fs layer 06:27:00 b116817d02f9: Pulling fs layer 06:27:00 745a02a5169b: Pulling fs layer 06:27:00 63d7cb157983: Waiting 06:27:00 b116817d02f9: Waiting 06:27:00 745a02a5169b: Waiting 06:27:00 18c013af1878: Download complete 06:27:00 a4357932f1b6: Verifying Checksum 06:27:00 a4357932f1b6: Download complete 06:27:00 63d7cb157983: Verifying Checksum 06:27:00 63d7cb157983: Download complete 06:27:00 b116817d02f9: Verifying Checksum 06:27:00 b116817d02f9: Download complete 06:27:00 5f621e34cdf4: Verifying Checksum 06:27:00 5f621e34cdf4: Download complete 06:27:01 5f621e34cdf4: Pull complete 06:27:02 a4357932f1b6: Pull complete 06:27:02 18c013af1878: Pull complete 06:27:02 745a02a5169b: Verifying Checksum 06:27:02 745a02a5169b: Download complete 06:27:04 00ac8860ef70: Verifying Checksum 06:27:04 00ac8860ef70: Download complete 06:27:14 Removing intermediate container c1c43634c805 06:27:14 ---> ba74bc68e63a 06:27:14 Successfully built ba74bc68e63a 06:27:14 Successfully tagged ci-base-image-x86_64:latest 06:27:14 00ac8860ef70: Pull complete 06:27:14 63d7cb157983: Pull complete 06:27:14 b116817d02f9: Pull complete [Pipeline] isUnix [Pipeline] sh 06:27:14 + docker inspect -f . ci-base-image-x86_64 06:27:14 . [Pipeline] withDockerContainer 06:27:15 prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container 06:27:15 $ 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 06:27:16 $ docker top 05f4fed1abb7fa70984052fb5d99cd7b77b9d7b89a39f302db12d001ff411944 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:16 + go version 06:27:16 go version go1.15.5 linux/amd64 [Pipeline] } 06:27:16 $ docker stop --time=1 05f4fed1abb7fa70984052fb5d99cd7b77b9d7b89a39f302db12d001ff411944 06:27:18 $ docker rm -f 05f4fed1abb7fa70984052fb5d99cd7b77b9d7b89a39f302db12d001ff411944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:27:18 745a02a5169b: Pull complete 06:27:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:27:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:27:18 ---> b7e6874047d6 06:27:18 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 06:27:19 + docker inspect -f . ci-base-image-x86_64 06:27:19 . [Pipeline] withDockerContainer 06:27:19 prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container 06:27:19 $ 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 ******** ci-base-image-x86_64 cat 06:27:19 $ docker top 0de5dca9ab9ab5c48285cf0c77c2279d71ac8baa9ece059a4d8cee5552a7d42e -eo pid,comm [Pipeline] { [Pipeline] echo 06:27:20 ========================================================= 06:27:20 [edgeXBuildGoParallel] Running Tests and Build... 06:27:20 ========================================================= [Pipeline] sh 06:27:20 + make test 06:27:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:27:22 ---> Running in e852a594fc17 06:27:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:27:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:27:24 (1/12) Installing libmagic (5.38-r0) 06:27:24 (2/12) Installing file (5.38-r0) 06:27:25 (3/12) Installing libc-dev (0.7.2-r3) 06:27:25 (4/12) Installing g++ (9.3.0-r2) 06:27:29 (5/12) Installing fortify-headers (1.1-r0) 06:27:29 (6/12) Installing patch (2.7.6-r6) 06:27:29 (7/12) Installing build-base (0.5-r2) 06:27:29 (8/12) Installing libsodium (1.0.18-r0) 06:27:29 (9/12) Installing pkgconf (1.7.2-r0) 06:27:29 (10/12) Installing libsodium-dev (1.0.18-r0) 06:27:29 (11/12) Installing libzmq (4.3.3-r0) 06:27:29 (12/12) Installing zeromq-dev (4.3.3-r0) 06:27:29 Executing busybox-1.31.1-r19.trigger 06:27:29 OK: 217 MiB in 51 packages 06:27:30 ? github.com/edgexfoundry/edgex-go [no test files] 06:27:34 Removing intermediate container e852a594fc17 06:27:34 ---> 3056eb495eec 06:27:34 Step 4/6 : WORKDIR /edgex-go 06:27:34 ---> Running in 01958a66c84a 06:27:34 Removing intermediate container 01958a66c84a 06:27:34 ---> b9a575567b2a 06:27:34 Step 5/6 : COPY go.mod . 06:27:35 ---> 58982318d23d 06:27:35 Step 6/6 : RUN go mod download 06:27:35 ---> Running in 29a917fb2773 06:27:45 # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database 06:27:45 internal/pkg/bootstrap/handlers/database/database.go:74:47: undefined: v2.Primary 06:27:45 internal/pkg/bootstrap/handlers/database/database.go:107:74: undefined: v2.Primary 06:27:50 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers 06:27:50 internal/pkg/v2/bootstrap/handlers/database.go:53:47: undefined: v2.Primary 06:27:50 internal/pkg/v2/bootstrap/handlers/database.go:82:74: undefined: v2.Primary 06:27:53 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers 06:27:53 internal/security/bootstrapper/redis/handlers/handlers.go:71:62: undefined: v2.Primary 06:27:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 06:27:59 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.096s coverage: 100.0% of statements 06:27:59 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 06:27:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.037s coverage: 100.0% of statements 06:27:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.049s coverage: 100.0% of statements 06:28:02 Removing intermediate container 29a917fb2773 06:28:02 ---> 8529ded31aa7 06:28:02 Successfully built 8529ded31aa7 06:28:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:28:02 + docker inspect -f . ci-base-image-arm64 06:28:02 . [Pipeline] withDockerContainer 06:28:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.120s coverage: 65.8% of statements 06:28:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.467s coverage: 82.3% of statements 06:28:02 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 06:28:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.071s coverage: 100.0% of statements 06:28:03 prd-ubuntu18.04-docker-arm64-4c-16g-27616 does not seem to be running inside a container 06:28:03 $ 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 06:28:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.032s coverage: 100.0% of statements 06:28:04 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.102s coverage: 86.7% of statements 06:28:04 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.106s coverage: 97.5% of statements 06:28:04 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.079s coverage: 78.3% of statements 06:28:04 $ docker top a517d7efeb3ee96527542f12d98e8fe45c8a363355cd2a16c4095b1fd992247e -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:05 + go version 06:28:05 go version go1.15.5 linux/arm64 [Pipeline] } 06:28:05 $ docker stop --time=1 a517d7efeb3ee96527542f12d98e8fe45c8a363355cd2a16c4095b1fd992247e 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.409s coverage: 92.8% of statements 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.033s coverage: 58.8% of statements 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.068s coverage: 0.1% of statements 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.036s coverage: 45.5% of statements 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.056s coverage: 79.5% of statements 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.033s coverage: 94.1% of statements 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.064s coverage: 96.3% of statements 06:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.029s coverage: 87.5% of statements 06:28:07 $ docker rm -f a517d7efeb3ee96527542f12d98e8fe45c8a363355cd2a16c4095b1fd992247e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:08 + docker inspect -f . ci-base-image-arm64 06:28:08 . [Pipeline] withDockerContainer 06:28:09 prd-ubuntu18.04-docker-arm64-4c-16g-27616 does not seem to be running inside a container 06:28:09 $ 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 ******** ci-base-image-arm64 cat 06:28:10 $ docker top 8565547def47b722c73edba3aeb1a14fc2a208ca8e3c237b5dea5f299b81aed1 -eo pid,comm [Pipeline] { [Pipeline] echo 06:28:11 ========================================================= 06:28:11 [edgeXBuildGoParallel] Running Tests and Build... 06:28:11 ========================================================= [Pipeline] sh 06:28:11 + make test 06:28:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:28:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.044s coverage: 94.4% of statements 06:28:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.036s coverage: 44.8% of statements 06:28:20 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.test] 06:28:20 internal/support/notifications/v2/controller/http/subscription_test.go:614:3: cannot use testReq.Subscription.Categories (type []string) as type []models.Category in field value 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.059s coverage: 92.9% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 77.8% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.045s coverage: 87.2% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.044s coverage: 75.5% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.033s coverage: 80.8% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.6% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.6% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.158s coverage: 62.4% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.034s coverage: 91.3% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.025s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.302s coverage: 68.9% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.095s coverage: 36.6% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.036s coverage: 89.5% of statements 06:28:30 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.059s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.050s coverage: 100.0% of statements 06:28:30 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 06:28:30 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.075s coverage: 99.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.039s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.066s coverage: 92.9% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.044s coverage: 87.9% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.035s coverage: 100.0% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements 06:28:30 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 06:28:30 make: *** [Makefile:94: test] Error 2 [Pipeline] } 06:28:30 $ docker stop --time=1 0de5dca9ab9ab5c48285cf0c77c2279d71ac8baa9ece059a4d8cee5552a7d42e 06:28:33 $ docker rm -f 0de5dca9ab9ab5c48285cf0c77c2279d71ac8baa9ece059a4d8cee5552a7d42e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) 06:28:34 ? github.com/edgexfoundry/edgex-go [no test files] 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] } 06:28:36 Failed in branch amd64 06:29:14 # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database 06:29:14 internal/pkg/bootstrap/handlers/database/database.go:74:47: undefined: v2.Primary 06:29:14 internal/pkg/bootstrap/handlers/database/database.go:107:74: undefined: v2.Primary 06:29:22 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers 06:29:22 internal/pkg/v2/bootstrap/handlers/database.go:53:47: undefined: v2.Primary 06:29:22 internal/pkg/v2/bootstrap/handlers/database.go:82:74: undefined: v2.Primary 06:29:31 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers 06:29:31 internal/security/bootstrapper/redis/handlers/handlers.go:71:62: undefined: v2.Primary 06:29:46 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 06:29:50 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.188s coverage: 100.0% of statements 06:29:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 06:29:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.079s coverage: 100.0% of statements 06:29:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.090s coverage: 100.0% of statements 06:29:52 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.253s coverage: 65.8% of statements 06:29:56 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.729s coverage: 82.3% of statements 06:29:56 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 06:29:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.172s coverage: 100.0% of statements 06:29:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.082s coverage: 100.0% of statements 06:29:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.341s coverage: 86.7% of statements 06:29:59 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.299s coverage: 97.5% of statements 06:29:59 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.153s coverage: 78.3% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.295s coverage: 92.8% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.069s coverage: 58.8% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.265s coverage: 0.1% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.077s coverage: 45.5% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.104s coverage: 79.5% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.074s coverage: 94.1% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.094s coverage: 96.3% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.051s coverage: 87.5% of statements 06:30:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.110s coverage: 94.4% of statements 06:30:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.123s coverage: 92.9% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.079s coverage: 77.8% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.077s coverage: 75.5% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.8% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.121s coverage: 87.2% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.121s coverage: 84.6% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.171s coverage: 91.6% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.546s coverage: 62.4% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.056s coverage: 100.0% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 91.3% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.061s coverage: 100.0% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.066s coverage: 73.7% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.046s coverage: 100.0% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.851s coverage: 68.9% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.342s coverage: 36.6% of statements 06:30:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.087s coverage: 89.5% of statements 06:30:35 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 06:30:35 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.test] 06:30:35 internal/support/notifications/v2/controller/http/subscription_test.go:614:3: cannot use testReq.Subscription.Categories (type []string) as type []models.Category in field value 06:30:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.119s coverage: 100.0% of statements 06:30:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.100s coverage: 100.0% of statements 06:30:38 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 06:30:38 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 06:30:41 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.177s coverage: 99.0% of statements 06:30:41 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.133s coverage: 100.0% of statements 06:30:41 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.155s coverage: 92.9% of statements 06:30:41 ok github.com/edgexfoundry/edgex-go/internal/system 0.040s coverage: 0.0% of statements 06:30:42 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.076s coverage: 100.0% of statements 06:30:42 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.079s coverage: 87.9% of statements 06:30:44 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.069s coverage: 100.0% of statements 06:30:44 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.060s coverage: 32.1% of statements 06:30:44 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.079s coverage: 100.0% of statements 06:30:45 make: *** [Makefile:94: test] Error 2 [Pipeline] } 06:30:45 $ docker stop --time=1 8565547def47b722c73edba3aeb1a14fc2a208ca8e3c237b5dea5f299b81aed1 06:30:47 $ docker rm -f 8565547def47b722c73edba3aeb1a14fc2a208ca8e3c237b5dea5f299b81aed1 [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 06:30:50 ---> job-cost.sh 06:30:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YLCR 06:31:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:33:51 lf-activate-venv(): INFO: Adding /tmp/venv-YLCR/bin to PATH 06:33:51 INFO: No Stack... 06:33:51 INFO: Retrieving Pricing Info for: lf-standard-4 06:33:51 INFO: Archiving Costs [Pipeline] sh 06:33:51 + + catcut /w/workspace/edgex-go/1/archives/cost.csv -d, 06:33:51 -f6 [Pipeline] lock 06:33:51 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] 06:33:51 Resource [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] did not exist. Created. 06:33:51 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:33:52 + echo total: 0.20999999344348907 [Pipeline] stash 06:33:53 Stashed 1 file(s) [Pipeline] } 06:33:53 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:33:54 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 06:33:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:33:58 ---> package-listing.sh 06:33:58 ++ facter osfamily 06:33:58 ++ tr '[:upper:]' '[:lower:]' 06:33:58 + OS_FAMILY=redhat 06:33:58 + workspace=/w/workspace/edgex-go/1 06:33:58 + START_PACKAGES=/tmp/packages_start.txt 06:33:58 + END_PACKAGES=/tmp/packages_end.txt 06:33:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:33:58 + PACKAGES=/tmp/packages_start.txt 06:33:58 + '[' /w/workspace/edgex-go/1 ']' 06:33:58 + PACKAGES=/tmp/packages_end.txt 06:33:58 + case "${OS_FAMILY}" in 06:33:58 + rpm -qa 06:33:58 + sort 06:34:04 + '[' -f /tmp/packages_start.txt ']' 06:34:04 + '[' -f /tmp/packages_end.txt ']' 06:34:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:34:04 + '[' /w/workspace/edgex-go/1 ']' 06:34:04 + mkdir -p /w/workspace/edgex-go/1/archives/ 06:34:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 06:34:04 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 06:34:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:04 06:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:34:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:05 alpine: Pulling from edgex-lftools-log-publisher 06:34:05 df20fa9351a1: Pulling fs layer 06:34:05 36b3adc4ff6f: Pulling fs layer 06:34:05 8ad3a11d3b57: Pulling fs layer 06:34:05 46f8f816bc3b: Pulling fs layer 06:34:05 93b61091891f: Pulling fs layer 06:34:05 93b9cdb0e59b: Pulling fs layer 06:34:05 5e14af77c1be: Pulling fs layer 06:34:05 01666e4c0597: Pulling fs layer 06:34:05 aa168da1d23b: Pulling fs layer 06:34:05 93b9cdb0e59b: Waiting 06:34:05 5e14af77c1be: Waiting 06:34:05 01666e4c0597: Waiting 06:34:05 aa168da1d23b: Waiting 06:34:05 93b61091891f: Waiting 06:34:05 46f8f816bc3b: Waiting 06:34:05 36b3adc4ff6f: Download complete 06:34:05 46f8f816bc3b: Verifying Checksum 06:34:05 46f8f816bc3b: Download complete 06:34:05 df20fa9351a1: Verifying Checksum 06:34:05 df20fa9351a1: Download complete 06:34:05 93b9cdb0e59b: Verifying Checksum 06:34:05 93b9cdb0e59b: Download complete 06:34:05 5e14af77c1be: Verifying Checksum 06:34:05 5e14af77c1be: Download complete 06:34:05 01666e4c0597: Verifying Checksum 06:34:05 01666e4c0597: Download complete 06:34:05 93b61091891f: Verifying Checksum 06:34:05 93b61091891f: Download complete 06:34:05 df20fa9351a1: Pull complete 06:34:05 36b3adc4ff6f: Pull complete 06:34:06 8ad3a11d3b57: Verifying Checksum 06:34:06 8ad3a11d3b57: Download complete 06:34:07 8ad3a11d3b57: Pull complete 06:34:07 46f8f816bc3b: Pull complete 06:34:07 aa168da1d23b: Verifying Checksum 06:34:07 aa168da1d23b: Download complete 06:34:07 93b61091891f: Pull complete 06:34:08 93b9cdb0e59b: Pull complete 06:34:08 5e14af77c1be: Pull complete 06:34:08 01666e4c0597: Pull complete 06:34:16 aa168da1d23b: Pull complete 06:34:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:34:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:34:16 prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container 06:34:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:34:20 $ docker top 2b868bfc0141b745c7d076db8147e6d5bbbb368e3ba9b80f3795d6718b058c0c -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:34:21 + mkdir -p /var/log/sa [Pipeline] sh 06:34:21 + ls /var/log/sa-host 06:34:21 + sadf -c /var/log/sa-host/sa23 06:34:21 file_magic: OK 06:34:21 HZ: Using current value: 100 06:34:21 file_header: OK 06:34:21 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 06:34:21 Statistics: 06:34:21 Hnuu...uuuununununu... 06:34:21 File successfully converted to sysstat format version 12.2.1 06:34:21 + sadf -c /var/log/sa-host/sa25 06:34:21 file_magic: OK 06:34:21 HZ: Using current value: 100 06:34:21 file_header: OK 06:34:21 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 06:34:21 Statistics: 06:34:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:34:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:21 provisioning config files... 06:34:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2223923978820670010tmp [Pipeline] { [Pipeline] echo 06:34:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:34:22 ---> create-netrc.sh [Pipeline] } 06:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:34:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:34:22 ---> python-tools-install.sh [Pipeline] echo 06:34:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:34:23 ---> sudo-logs.sh 06:34:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:34:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:34:23 ---> job-cost.sh 06:34:23 lf-activate-venv: SKIPPING 06:34:23 DEBUG: total: 0.20999999344348907 06:34:23 INFO: Retrieving Stack Cost... 06:34:24 INFO: Retrieving Pricing Info for: v1-standard-2 06:34:25 INFO: Archiving Costs [Pipeline] echo 06:34:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:34:25 ---> logs-deploy.sh 06:34:25 lf-activate-venv: SKIPPING 06:34:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3196/1 06:34:25 INFO: archiving workspace using pattern(s): 06:34:27 Archives upload complete. 06:34:27 INFO: archiving logs to Nexus 06:34:28 ---> uname -a: 06:34:28 Linux prd-centos7-docker-4c-2g-27619.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:34:28 06:34:28