Pull request #3438 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 58b19ec0acdc4f4c213f4d4b702d443fa8105650+6b23ec567a86ee52455607061a4fabaca114589a (18f26184a61e3797238ebdfefd4673d499156d7b) Running in Durability level: PERFORMANCE_OPTIMIZED 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4067 in /w/workspace/edgexfoundry_edgex-go_PR-3438 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/7 [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/7 # 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 6b23ec567a86ee52455607061a4fabaca114589a into PR head commit 58b19ec0acdc4f4c213f4d4b702d443fa8105650 Merge succeeded, producing 58b19ec0acdc4f4c213f4d4b702d443fa8105650 Checking out Revision 58b19ec0acdc4f4c213f4d4b702d443fa8105650 (PR-3438) > 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/3438/head:refs/remotes/origin/PR-3438 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58b19ec0acdc4f4c213f4d4b702d443fa8105650 # 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 6b23ec567a86ee52455607061a4fabaca114589a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58b19ec0acdc4f4c213f4d4b702d443fa8105650 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T10:47:32.843Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T10:47:33.023Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T10:47:33.050Z] ========================================================= [2021-05-10T10:47:33.050Z] EdgeX Global Pipelines Version Info [2021-05-10T10:47:33.050Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c154ee220a71be05af651602188d4da05f7fd4a8 # timeout=10 [2021-05-10T10:47:35.124Z] ------------------- [2021-05-10T10:47:35.124Z] stable info: [2021-05-10T10:47:35.124Z] ------------------- [2021-05-10T10:47:35.124Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T10:47:35.124Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T10:47:35.124Z] Message: update stable to v1.0.191 [2021-05-10T10:47:36.101Z] ------------------- [2021-05-10T10:47:36.101Z] experimental info: [2021-05-10T10:47:36.101Z] ------------------- [2021-05-10T10:47:36.102Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T10:47:36.102Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T10:47:36.102Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T10:47:36.335Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-10T10:47:36.356Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-10T10:47:36.376Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T10:47:36.396Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T10:47:36.417Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T10:47:36.438Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T10:47:36.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T10:47:36.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-10T10:47:36.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-05-10T10:47:36.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-05-10T10:47:36.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T10:47:36.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T10:47:36.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T10:47:36.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T10:47:36.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T10:47:36.713Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T10:47:36.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T10:47:36.756Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T10:47:36.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-10T10:47:36.799Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-10T10:47:36.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-10T10:47:36.842Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T10:47:36.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3438 [Pipeline] echo [2021-05-10T10:47:36.884Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3438 [Pipeline] echo [2021-05-10T10:47:36.904Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3438 [Pipeline] echo [2021-05-10T10:47:36.926Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58b19ec0acdc4f4c213f4d4b702d443fa8105650 [Pipeline] echo [2021-05-10T10:47:36.946Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58b19ec [Pipeline] echo [2021-05-10T10:47:36.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T10:47:37.068Z] provisioning config files... [2021-05-10T10:47:37.116Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config4975144795602103193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:47:37.508Z] ---> docker-login.sh [2021-05-10T10:47:37.508Z] nexus3.edgexfoundry.org:10001 [2021-05-10T10:47:37.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:47:38.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:47:38.054Z] Configure a credential helper to remove this warning. See [2021-05-10T10:47:38.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:47:38.054Z] [2021-05-10T10:47:38.054Z] Login Succeeded [2021-05-10T10:47:38.054Z] nexus3.edgexfoundry.org:10002 [2021-05-10T10:47:38.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:47:38.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:47:38.326Z] Configure a credential helper to remove this warning. See [2021-05-10T10:47:38.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:47:38.326Z] [2021-05-10T10:47:38.326Z] Login Succeeded [2021-05-10T10:47:38.326Z] nexus3.edgexfoundry.org:10003 [2021-05-10T10:47:38.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:47:38.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:47:38.619Z] Configure a credential helper to remove this warning. See [2021-05-10T10:47:38.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:47:38.619Z] [2021-05-10T10:47:38.619Z] Login Succeeded [2021-05-10T10:47:38.619Z] nexus3.edgexfoundry.org:10004 [2021-05-10T10:47:38.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:47:39.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:47:39.200Z] Configure a credential helper to remove this warning. See [2021-05-10T10:47:39.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:47:39.200Z] [2021-05-10T10:47:39.200Z] Login Succeeded [2021-05-10T10:47:39.200Z] docker.io [2021-05-10T10:47:39.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:47:39.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:47:39.765Z] Configure a credential helper to remove this warning. See [2021-05-10T10:47:39.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:47:39.765Z] [2021-05-10T10:47:39.765Z] Login Succeeded [2021-05-10T10:47:39.765Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T10:47:39.785Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T10:47:40.152Z] ++ 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 [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] ++ dirname cmd/core-command/Dockerfile [2021-05-10T10:47:40.152Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ dirname cmd/core-data/Dockerfile [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-10T10:47:40.152Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-10T10:47:40.152Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-10T10:47:40.152Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:47:40.152Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-10T10:47:40.152Z] ++ cut -d/ -f2 [2021-05-10T10:47:40.152Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-10T10:47:40.302Z] 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 [2021-05-10T10:47:41.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T10:47:41.712Z] [2021-05-10T10:47:41.712Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:47:42.060Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T10:47:42.060Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T10:47:42.060Z] 31603596830f: Pulling fs layer [2021-05-10T10:47:42.060Z] 54011a49482f: Pulling fs layer [2021-05-10T10:47:42.060Z] a6820b24f6d8: Pulling fs layer [2021-05-10T10:47:42.060Z] f581987b2513: Pulling fs layer [2021-05-10T10:47:42.060Z] f581987b2513: Waiting [2021-05-10T10:47:42.060Z] 54011a49482f: Verifying Checksum [2021-05-10T10:47:42.060Z] 54011a49482f: Download complete [2021-05-10T10:47:42.325Z] 31603596830f: Verifying Checksum [2021-05-10T10:47:42.325Z] 31603596830f: Download complete [2021-05-10T10:47:42.598Z] f581987b2513: Verifying Checksum [2021-05-10T10:47:42.598Z] f581987b2513: Download complete [2021-05-10T10:47:42.598Z] a6820b24f6d8: Verifying Checksum [2021-05-10T10:47:42.598Z] a6820b24f6d8: Download complete [2021-05-10T10:47:42.866Z] 31603596830f: Pull complete [2021-05-10T10:47:42.866Z] 54011a49482f: Pull complete [2021-05-10T10:47:44.307Z] a6820b24f6d8: Pull complete [2021-05-10T10:47:44.576Z] f581987b2513: Pull complete [2021-05-10T10:47:44.576Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T10:47:44.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T10:47:44.576Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T10:47:44.851Z] prd-centos7-docker-4c-2g-4067 does not seem to be running inside a container [2021-05-10T10:47:44.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@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 [2021-05-10T10:47:47.655Z] $ docker top 5d0f9951cc74b923c4580ed5c22bb9f3646e65115214af3c4047867d428f5d26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T10:47:47.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T10:47:47.999Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T10:47:48.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T10:47:48.382Z] $ docker exec 5d0f9951cc74b923c4580ed5c22bb9f3646e65115214af3c4047867d428f5d26 ssh-agent [2021-05-10T10:47:48.771Z] SSH_AUTH_SOCK=/tmp/ssh-GwyrYtwLHNDd/agent.11 [2021-05-10T10:47:48.771Z] SSH_AGENT_PID=16 [2021-05-10T10:47:48.796Z] Running ssh-add (command line suppressed) [2021-05-10T10:47:48.951Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_425014657485025750.key (/w/workspace/edgex-go/7@tmp/private_key_425014657485025750.key) [2021-05-10T10:47:49.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T10:47:49.387Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T10:47:49.444Z] $ docker exec --env ******** --env ******** 5d0f9951cc74b923c4580ed5c22bb9f3646e65115214af3c4047867d428f5d26 ssh-agent -k [2021-05-10T10:47:49.598Z] unset SSH_AUTH_SOCK; [2021-05-10T10:47:49.599Z] unset SSH_AGENT_PID; [2021-05-10T10:47:49.599Z] echo Agent pid 16 killed; [2021-05-10T10:47:49.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T10:47:49.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T10:47:49.740Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T10:47:50.029Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T10:47:50.036Z] $ docker exec 5d0f9951cc74b923c4580ed5c22bb9f3646e65115214af3c4047867d428f5d26 ssh-agent [2021-05-10T10:47:50.402Z] SSH_AUTH_SOCK=/tmp/ssh-cDDGUct5N00z/agent.46 [2021-05-10T10:47:50.402Z] SSH_AGENT_PID=51 [2021-05-10T10:47:50.412Z] Running ssh-add (command line suppressed) [2021-05-10T10:47:50.734Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_8859947756286404566.key (/w/workspace/edgex-go/7@tmp/private_key_8859947756286404566.key) [2021-05-10T10:47:50.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T10:47:51.206Z] + git semver init [2021-05-10T10:47:51.207Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T10:47:51.207Z] # $GIT_DIR = /w/workspace/edgex-go/7/.git [2021-05-10T10:47:51.207Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/7 [2021-05-10T10:47:51.207Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T10:47:51.207Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T10:47:51.207Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T10:47:51.207Z] # $SEMVER_BRANCH = PR-3438 [2021-05-10T10:47:51.207Z] # $SEMVER_TEMP = /tmp/semver-104433689 [2021-05-10T10:47:51.207Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-10T10:48:18.112Z] # '/tmp/semver-104433689' -> '/w/workspace/edgex-go/7/.semver' [2021-05-10T10:48:18.112Z] # -> Force: false [2021-05-10T10:48:18.112Z] # $SEMVER_DIR = /w/workspace/edgex-go/7/.semver [Pipeline] } [2021-05-10T10:48:18.209Z] $ docker exec --env ******** --env ******** 5d0f9951cc74b923c4580ed5c22bb9f3646e65115214af3c4047867d428f5d26 ssh-agent -k [2021-05-10T10:48:18.997Z] unset SSH_AUTH_SOCK; [2021-05-10T10:48:19.002Z] unset SSH_AGENT_PID; [2021-05-10T10:48:19.002Z] echo Agent pid 51 killed; [2021-05-10T10:48:19.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T10:48:19.704Z] + git semver [Pipeline] } [2021-05-10T10:48:19.759Z] $ docker stop --time=1 5d0f9951cc74b923c4580ed5c22bb9f3646e65115214af3c4047867d428f5d26 [2021-05-10T10:48:21.994Z] $ docker rm -f 5d0f9951cc74b923c4580ed5c22bb9f3646e65115214af3c4047867d428f5d26 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T10:48:23.090Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T10:48:24.924Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T10:48:24.927Z] [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 [2021-05-10T10:48:25.549Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T10:48:25.912Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T10:48:26.244Z] + sudo service docker restart [2021-05-10T10:48:26.244Z] + true [2021-05-10T10:48:26.244Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-10T10:48:27.257Z] ========================================================= [2021-05-10T10:48:27.257Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T10:48:27.257Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:48:27.647Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T10:48:36.639Z] Sending build context to Docker daemon 330MB [2021-05-10T10:48:36.639Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T10:48:36.639Z] Step 2/6 : FROM ${BASE} [2021-05-10T10:48:36.639Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T10:48:36.639Z] 540db60ca938: Pulling fs layer [2021-05-10T10:48:36.639Z] adcc1eea9eea: Pulling fs layer [2021-05-10T10:48:36.639Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T10:48:36.639Z] 0510c868ecb4: Pulling fs layer [2021-05-10T10:48:36.639Z] afea3b2eda06: Pulling fs layer [2021-05-10T10:48:36.639Z] 7809a108b3ef: Pulling fs layer [2021-05-10T10:48:36.639Z] f706445af74f: Pulling fs layer [2021-05-10T10:48:36.639Z] afea3b2eda06: Waiting [2021-05-10T10:48:36.639Z] 7809a108b3ef: Waiting [2021-05-10T10:48:36.639Z] f706445af74f: Waiting [2021-05-10T10:48:36.639Z] 0510c868ecb4: Waiting [2021-05-10T10:48:36.639Z] 4c4ab2625f07: Download complete [2021-05-10T10:48:36.639Z] adcc1eea9eea: Verifying Checksum [2021-05-10T10:48:36.639Z] adcc1eea9eea: Download complete [2021-05-10T10:48:36.639Z] afea3b2eda06: Verifying Checksum [2021-05-10T10:48:36.639Z] afea3b2eda06: Download complete [2021-05-10T10:48:36.639Z] 7809a108b3ef: Verifying Checksum [2021-05-10T10:48:36.639Z] 7809a108b3ef: Download complete [2021-05-10T10:48:36.639Z] 540db60ca938: Verifying Checksum [2021-05-10T10:48:36.639Z] 540db60ca938: Download complete [2021-05-10T10:48:36.639Z] 540db60ca938: Pull complete [2021-05-10T10:48:37.322Z] adcc1eea9eea: Pull complete [2021-05-10T10:48:37.606Z] 4c4ab2625f07: Pull complete [2021-05-10T10:48:40.135Z] Still waiting to schedule task [2021-05-10T10:48:40.135Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-10T10:48:42.239Z] f706445af74f: Verifying Checksum [2021-05-10T10:48:42.240Z] f706445af74f: Download complete [2021-05-10T10:48:45.844Z] 0510c868ecb4: Verifying Checksum [2021-05-10T10:48:45.844Z] 0510c868ecb4: Download complete [2021-05-10T10:48:58.761Z] 0510c868ecb4: Pull complete [2021-05-10T10:48:58.761Z] afea3b2eda06: Pull complete [2021-05-10T10:48:58.761Z] 7809a108b3ef: Pull complete [2021-05-10T10:49:04.523Z] f706445af74f: Pull complete [2021-05-10T10:49:04.523Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T10:49:04.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T10:49:04.523Z] ---> b068be0155e3 [2021-05-10T10:49:04.523Z] 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 [2021-05-10T10:49:04.803Z] ---> Running in 836c4cfd974f [2021-05-10T10:49:05.788Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T10:49:09.355Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T10:49:11.331Z] (1/12) Installing libmagic (5.39-r0) [2021-05-10T10:49:11.912Z] (2/12) Installing file (5.39-r0) [2021-05-10T10:49:11.913Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-10T10:49:12.185Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-10T10:49:39.330Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-10T10:49:39.330Z] (6/12) Installing patch (2.7.6-r6) [2021-05-10T10:49:39.330Z] (7/12) Installing build-base (0.5-r2) [2021-05-10T10:49:39.330Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-10T10:49:39.330Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-10T10:49:39.330Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-10T10:49:39.330Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-10T10:49:39.330Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-10T10:49:39.330Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T10:49:39.330Z] OK: 219 MiB in 52 packages [2021-05-10T10:49:41.361Z] Removing intermediate container 836c4cfd974f [2021-05-10T10:49:41.361Z] ---> f8ff4d106d86 [2021-05-10T10:49:41.361Z] Step 4/6 : WORKDIR /edgex-go [2021-05-10T10:49:41.361Z] ---> Running in b59fcbdcc2dd [2021-05-10T10:49:41.361Z] Removing intermediate container b59fcbdcc2dd [2021-05-10T10:49:41.361Z] ---> 0f2115e44f60 [2021-05-10T10:49:41.361Z] Step 5/6 : COPY go.mod . [2021-05-10T10:49:42.390Z] ---> 38dffd1edc12 [2021-05-10T10:49:42.390Z] Step 6/6 : RUN go mod download [2021-05-10T10:49:42.390Z] ---> Running in 6dedd6c6ab09 [2021-05-10T10:50:09.573Z] Removing intermediate container 6dedd6c6ab09 [2021-05-10T10:50:09.573Z] ---> 9ec49b78776b [2021-05-10T10:50:09.859Z] Successfully built 9ec49b78776b [2021-05-10T10:50:09.859Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:50:10.253Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T10:50:10.535Z] . [Pipeline] withDockerContainer [2021-05-10T10:50:10.760Z] prd-centos7-docker-4c-2g-4067 does not seem to be running inside a container [2021-05-10T10:50:10.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@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 [2021-05-10T10:50:12.548Z] $ docker top 9c440bd65db4346deefc5e40d037a37c25334523f04d6c3187a651107bd21b84 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T10:50:13.627Z] + go version [2021-05-10T10:50:13.627Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T10:50:13.649Z] $ docker stop --time=1 9c440bd65db4346deefc5e40d037a37c25334523f04d6c3187a651107bd21b84 [2021-05-10T10:50:15.432Z] $ docker rm -f 9c440bd65db4346deefc5e40d037a37c25334523f04d6c3187a651107bd21b84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:50:16.278Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T10:50:16.278Z] . [Pipeline] withDockerContainer [2021-05-10T10:50:16.734Z] prd-centos7-docker-4c-2g-4067 does not seem to be running inside a container [2021-05-10T10:50:16.911Z] $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@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 [2021-05-10T10:50:18.532Z] $ docker top e5159e502be3933ccc7cbecc3c2529b71a60ff96933f382ac0887d60786b7bb9 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-10T10:50:18.834Z] ========================================================= [2021-05-10T10:50:18.834Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-10T10:50:18.834Z] ========================================================= [Pipeline] sh [2021-05-10T10:50:19.177Z] + go mod tidy [Pipeline] sh [2021-05-10T10:50:22.096Z] + make test [2021-05-10T10:50:22.096Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T10:50:33.853Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4068 in /w/workspace/edgexfoundry_edgex-go_PR-3438 [Pipeline] { [Pipeline] ws [2021-05-10T10:50:33.871Z] Running in /w/workspace/edgex-go/7 [Pipeline] { [Pipeline] checkout [2021-05-10T10:50:37.445Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-10T10:50:39.580Z] using credential edgex-jenkins-ssh [2021-05-10T10:50:39.605Z] Cloning the remote Git repository [2021-05-10T10:50:39.663Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-10T10:50:39.790Z] > git init /w/workspace/edgex-go/7 # timeout=10 [2021-05-10T10:50:39.868Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-10T10:50:39.869Z] > git --version # timeout=10 [2021-05-10T10:50:39.888Z] > git --version # 'git version 2.17.1' [2021-05-10T10:50:39.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T10:50:40.044Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T10:51:04.800Z] # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [2021-05-10T10:51:04.800Z] internal/pkg/bootstrap/handlers/database/database.go:107:33: secretProvider.GetSecrets undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".SecretProvider has no field or method GetSecrets) [2021-05-10T10:51:07.509Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [2021-05-10T10:51:07.509Z] internal/pkg/v2/bootstrap/handlers/database.go:83:33: secretProvider.GetSecrets undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".SecretProvider has no field or method GetSecrets) [2021-05-10T10:51:23.112Z] # github.com/edgexfoundry/edgex-go/internal/security/config [2021-05-10T10:51:23.112Z] internal/security/config/main.go:54:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:51:23.112Z] *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:51:25.938Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [2021-05-10T10:51:25.938Z] internal/security/bootstrapper/redis/handlers/handlers.go:71:33: secretProvider.GetSecrets undefined (type interfaces.SecretProvider has no field or method GetSecrets) [2021-05-10T10:51:25.938Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [2021-05-10T10:51:25.938Z] internal/security/secretstore/main.go:71:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:51:25.938Z] *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:51:26.592Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [2021-05-10T10:51:26.592Z] internal/security/proxy/main.go:67:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:51:26.592Z] *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:51:35.516Z] # github.com/edgexfoundry/edgex-go/internal/system/agent [2021-05-10T10:51:35.516Z] internal/system/agent/main.go:60:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:51:35.516Z] *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:51:36.249Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-10T10:51:36.604Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.113s coverage: 19.8% of statements [2021-05-10T10:51:39.353Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.203s coverage: 100.0% of statements [2021-05-10T10:51:39.353Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-10T10:51:39.353Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.152s coverage: 100.0% of statements [2021-05-10T10:51:39.353Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.215s coverage: 100.0% of statements [2021-05-10T10:51:41.468Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.110s coverage: 71.3% of statements [2021-05-10T10:51:42.132Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.502s coverage: 87.7% of statements [2021-05-10T10:51:42.132Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.128s coverage: 78.9% of statements [2021-05-10T10:51:42.132Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-10T10:51:44.259Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.199s coverage: 100.0% of statements [2021-05-10T10:51:44.259Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.176s coverage: 100.0% of statements [2021-05-10T10:51:45.977Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.569s coverage: 86.7% of statements [2021-05-10T10:51:47.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.426s coverage: 97.5% of statements [2021-05-10T10:51:47.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.178s coverage: 78.3% of statements [2021-05-10T10:51:53.904Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.768s coverage: 95.1% of statements [2021-05-10T10:51:53.904Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.170s coverage: 58.8% of statements [2021-05-10T10:51:53.904Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.134s coverage: 0.9% of statements [2021-05-10T10:51:53.904Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.193s coverage: 22.6% of statements [2021-05-10T10:51:53.904Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.202s coverage: 47.1% of statements [2021-05-10T10:51:53.904Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.190s coverage: 79.5% of statements [2021-05-10T10:51:53.904Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.183s coverage: 94.1% of statements [2021-05-10T10:51:54.573Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.102s coverage: 96.3% of statements [2021-05-10T10:51:55.275Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.088s coverage: 87.5% of statements [2021-05-10T10:52:07.831Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.111s coverage: 94.4% of statements [2021-05-10T10:52:07.831Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.103s coverage: 44.8% of statements [2021-05-10T10:52:10.651Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.713s coverage: 81.8% of statements [2021-05-10T10:52:16.326Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] [2021-05-10T10:52:16.327Z] internal/security/proxy/main.go:67: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:52:16.327Z] *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:52:16.979Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] [2021-05-10T10:52:16.979Z] internal/security/secretstore/main.go:71: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:52:16.979Z] *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.285s coverage: 92.9% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.064s coverage: 65.1% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.134s coverage: 87.2% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.154s coverage: 100.0% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.114s coverage: 76.0% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.114s coverage: 80.0% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.134s coverage: 87.2% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.099s coverage: 85.4% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.192s coverage: 91.2% of statements [2021-05-10T10:52:19.735Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2021-05-10T10:52:19.735Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.195s coverage: 91.3% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.071s coverage: 100.0% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.087s coverage: 73.7% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.040s coverage: 100.0% of statements [2021-05-10T10:52:19.735Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-10T10:52:19.735Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.088s coverage: 89.5% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.061s coverage: 84.8% of statements [2021-05-10T10:52:19.735Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.109s coverage: 100.0% of statements [2021-05-10T10:52:19.735Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.102s coverage: 100.0% of statements [2021-05-10T10:52:20.745Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.195s coverage: 9.6% of statements [2021-05-10T10:52:22.987Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.469s coverage: 92.6% of statements [2021-05-10T10:52:22.987Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-10T10:52:22.987Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.154s coverage: 99.0% of statements [2021-05-10T10:52:22.987Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.132s coverage: 100.0% of statements [2021-05-10T10:52:25.272Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.170s coverage: 64.6% of statements [2021-05-10T10:52:27.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.237s coverage: 97.6% of statements [2021-05-10T10:52:27.408Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.071s coverage: 0.0% of statements [2021-05-10T10:52:27.408Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.099s coverage: 100.0% of statements [2021-05-10T10:52:27.408Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.064s coverage: 87.9% of statements [2021-05-10T10:52:27.408Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.035s coverage: 100.0% of statements [2021-05-10T10:52:27.640Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-10T10:52:27.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T10:52:27.696Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-10T10:52:27.733Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-10T10:52:27.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T10:52:27.751Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3438/head:refs/remotes/origin/PR-3438 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T10:52:28.996Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.113s coverage: 28.1% of statements [2021-05-10T10:52:28.996Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.151s coverage: 85.7% of statements [2021-05-10T10:52:29.116Z] Merging remotes/origin/master commit 6b23ec567a86ee52455607061a4fabaca114589a into PR head commit 58b19ec0acdc4f4c213f4d4b702d443fa8105650 [2021-05-10T10:52:29.283Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.072s coverage: 100.0% of statements [2021-05-10T10:52:29.552Z] make: *** [Makefile:94: test] Error 2 [2021-05-10T10:52:29.585Z] Merge succeeded, producing 58b19ec0acdc4f4c213f4d4b702d443fa8105650 [2021-05-10T10:52:29.585Z] Checking out Revision 58b19ec0acdc4f4c213f4d4b702d443fa8105650 (PR-3438) [Pipeline] } [2021-05-10T10:52:29.951Z] $ docker stop --time=1 e5159e502be3933ccc7cbecc3c2529b71a60ff96933f382ac0887d60786b7bb9 [2021-05-10T10:52:32.930Z] $ docker rm -f e5159e502be3933ccc7cbecc3c2529b71a60ff96933f382ac0887d60786b7bb9 [2021-05-10T10:52:34.109Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [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] } [2021-05-10T10:52:34.371Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T10:52:29.126Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T10:52:29.149Z] > git checkout -f 58b19ec0acdc4f4c213f4d4b702d443fa8105650 # timeout=10 [2021-05-10T10:52:29.476Z] > git remote # timeout=10 [2021-05-10T10:52:29.494Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T10:52:29.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T10:52:29.519Z] > git merge 6b23ec567a86ee52455607061a4fabaca114589a # timeout=10 [2021-05-10T10:52:29.555Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T10:52:29.583Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T10:52:29.604Z] > git checkout -f 58b19ec0acdc4f4c213f4d4b702d443fa8105650 # timeout=10 [2021-05-10T10:52:35.517Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T10:52:35.917Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T10:52:36.251Z] + + sudotrue service [2021-05-10T10:52:36.251Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T10:52:38.270Z] provisioning config files... [2021-05-10T10:52:38.317Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config1672335594676845513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:52:38.702Z] ---> docker-login.sh [2021-05-10T10:52:38.702Z] nexus3.edgexfoundry.org:10001 [2021-05-10T10:52:39.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:52:39.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:52:39.966Z] Configure a credential helper to remove this warning. See [2021-05-10T10:52:39.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:52:39.966Z] [2021-05-10T10:52:39.966Z] Login Succeeded [2021-05-10T10:52:39.966Z] nexus3.edgexfoundry.org:10002 [2021-05-10T10:52:40.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:52:40.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:52:40.570Z] Configure a credential helper to remove this warning. See [2021-05-10T10:52:40.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:52:40.570Z] [2021-05-10T10:52:40.570Z] Login Succeeded [2021-05-10T10:52:40.570Z] nexus3.edgexfoundry.org:10003 [2021-05-10T10:52:41.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:52:41.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:52:41.176Z] Configure a credential helper to remove this warning. See [2021-05-10T10:52:41.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:52:41.176Z] [2021-05-10T10:52:41.176Z] Login Succeeded [2021-05-10T10:52:41.176Z] nexus3.edgexfoundry.org:10004 [2021-05-10T10:52:41.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:52:41.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:52:41.776Z] Configure a credential helper to remove this warning. See [2021-05-10T10:52:41.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:52:41.776Z] [2021-05-10T10:52:41.776Z] Login Succeeded [2021-05-10T10:52:41.776Z] docker.io [2021-05-10T10:52:42.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:52:44.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:52:44.040Z] Configure a credential helper to remove this warning. See [2021-05-10T10:52:44.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:52:44.040Z] [2021-05-10T10:52:44.040Z] Login Succeeded [2021-05-10T10:52:44.040Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T10:52:44.057Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T10:52:44.405Z] ========================================================= [2021-05-10T10:52:44.406Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T10:52:44.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:52:44.745Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T10:52:47.388Z] Sending build context to Docker daemon 167.6MB [2021-05-10T10:52:47.388Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T10:52:47.388Z] Step 2/6 : FROM ${BASE} [2021-05-10T10:52:47.388Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T10:52:47.388Z] 595b0fe564bb: Pulling fs layer [2021-05-10T10:52:47.388Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T10:52:47.388Z] 316046926c0a: Pulling fs layer [2021-05-10T10:52:47.388Z] 4ebd0625c992: Pulling fs layer [2021-05-10T10:52:47.388Z] 207e8628e3a3: Pulling fs layer [2021-05-10T10:52:47.388Z] c791037a9be2: Pulling fs layer [2021-05-10T10:52:47.388Z] ffd874e62e21: Pulling fs layer [2021-05-10T10:52:47.388Z] 207e8628e3a3: Waiting [2021-05-10T10:52:47.388Z] c791037a9be2: Waiting [2021-05-10T10:52:47.388Z] 4ebd0625c992: Waiting [2021-05-10T10:52:47.388Z] 316046926c0a: Verifying Checksum [2021-05-10T10:52:47.388Z] 316046926c0a: Download complete [2021-05-10T10:52:47.388Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T10:52:47.388Z] 7186ed65a4f7: Download complete [2021-05-10T10:52:47.388Z] 207e8628e3a3: Verifying Checksum [2021-05-10T10:52:47.388Z] 207e8628e3a3: Download complete [2021-05-10T10:52:47.388Z] c791037a9be2: Verifying Checksum [2021-05-10T10:52:47.388Z] c791037a9be2: Download complete [2021-05-10T10:52:47.388Z] 595b0fe564bb: Verifying Checksum [2021-05-10T10:52:47.388Z] 595b0fe564bb: Download complete [2021-05-10T10:52:48.000Z] 595b0fe564bb: Pull complete [2021-05-10T10:52:48.595Z] 7186ed65a4f7: Pull complete [2021-05-10T10:52:48.871Z] 316046926c0a: Pull complete [2021-05-10T10:52:50.328Z] ffd874e62e21: Verifying Checksum [2021-05-10T10:52:50.328Z] ffd874e62e21: Download complete [2021-05-10T10:52:51.318Z] 4ebd0625c992: Verifying Checksum [2021-05-10T10:52:51.318Z] 4ebd0625c992: Download complete [2021-05-10T10:53:01.489Z] 4ebd0625c992: Pull complete [2021-05-10T10:53:01.489Z] 207e8628e3a3: Pull complete [2021-05-10T10:53:01.489Z] c791037a9be2: Pull complete [2021-05-10T10:53:04.867Z] ffd874e62e21: Pull complete [2021-05-10T10:53:04.867Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T10:53:04.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T10:53:04.867Z] ---> cfc18b08335c [2021-05-10T10:53:04.867Z] 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 [2021-05-10T10:53:08.251Z] ---> Running in 3202224bf2a5 [2021-05-10T10:53:09.238Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T10:53:11.916Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T10:53:16.216Z] (1/12) Installing libmagic (5.39-r0) [2021-05-10T10:53:17.190Z] (2/12) Installing file (5.39-r0) [2021-05-10T10:53:17.462Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-10T10:53:17.462Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-10T10:53:39.600Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-10T10:53:39.600Z] (6/12) Installing patch (2.7.6-r6) [2021-05-10T10:53:39.600Z] (7/12) Installing build-base (0.5-r2) [2021-05-10T10:53:39.600Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-10T10:53:39.874Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-10T10:53:40.148Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-10T10:53:40.421Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-10T10:53:40.421Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-10T10:53:40.695Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T10:53:40.695Z] OK: 218 MiB in 52 packages [2021-05-10T10:53:45.005Z] Removing intermediate container 3202224bf2a5 [2021-05-10T10:53:45.006Z] ---> 6a3f4f76eca4 [2021-05-10T10:53:45.006Z] Step 4/6 : WORKDIR /edgex-go [2021-05-10T10:53:45.006Z] ---> Running in ad9d70f24805 [2021-05-10T10:53:45.602Z] Removing intermediate container ad9d70f24805 [2021-05-10T10:53:45.602Z] ---> 5b9cb5c777ef [2021-05-10T10:53:45.602Z] Step 5/6 : COPY go.mod . [2021-05-10T10:53:46.101Z] ---> 4866a34c41da [2021-05-10T10:53:46.101Z] Step 6/6 : RUN go mod download [2021-05-10T10:53:46.375Z] ---> Running in 77449d0325c5 [2021-05-10T10:54:13.165Z] Removing intermediate container 77449d0325c5 [2021-05-10T10:54:13.165Z] ---> b6d09542574d [2021-05-10T10:54:13.165Z] Successfully built b6d09542574d [2021-05-10T10:54:13.165Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:54:13.513Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T10:54:13.513Z] . [Pipeline] withDockerContainer [2021-05-10T10:54:13.788Z] prd-ubuntu18.04-docker-arm64-4c-16g-4068 does not seem to be running inside a container [2021-05-10T10:54:13.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@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-arm64 cat [2021-05-10T10:54:15.425Z] $ docker top a4e4efe77012cb0956d90ac4b3c0e7e2d5ecd526fadaa35fa86fa33655cec0a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T10:54:16.392Z] + go version [2021-05-10T10:54:16.392Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T10:54:16.409Z] $ docker stop --time=1 a4e4efe77012cb0956d90ac4b3c0e7e2d5ecd526fadaa35fa86fa33655cec0a9 [2021-05-10T10:54:18.371Z] $ docker rm -f a4e4efe77012cb0956d90ac4b3c0e7e2d5ecd526fadaa35fa86fa33655cec0a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:54:19.086Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T10:54:19.086Z] . [Pipeline] withDockerContainer [2021-05-10T10:54:19.358Z] prd-ubuntu18.04-docker-arm64-4c-16g-4068 does not seem to be running inside a container [2021-05-10T10:54:19.435Z] $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@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-arm64 cat [2021-05-10T10:54:20.900Z] $ docker top 45a27466c0e6bb3344d7872c5aff8ab133576426e7bd2aea82d309dbde00a0f0 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-10T10:54:21.234Z] ========================================================= [2021-05-10T10:54:21.234Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-10T10:54:21.234Z] ========================================================= [Pipeline] sh [2021-05-10T10:54:21.884Z] + go mod tidy [Pipeline] sh [2021-05-10T10:54:23.529Z] + make test [2021-05-10T10:54:23.529Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T10:54:50.346Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-10T10:55:29.412Z] # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [2021-05-10T10:55:29.412Z] internal/pkg/bootstrap/handlers/database/database.go:107:33: secretProvider.GetSecrets undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".SecretProvider has no field or method GetSecrets) [2021-05-10T10:55:51.635Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [2021-05-10T10:55:51.635Z] internal/pkg/v2/bootstrap/handlers/database.go:83:33: secretProvider.GetSecrets undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".SecretProvider has no field or method GetSecrets) [2021-05-10T10:55:53.628Z] # github.com/edgexfoundry/edgex-go/internal/security/config [2021-05-10T10:55:53.628Z] internal/security/config/main.go:54:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:55:53.628Z] *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:56:00.401Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [2021-05-10T10:56:00.401Z] internal/security/bootstrapper/redis/handlers/handlers.go:71:33: secretProvider.GetSecrets undefined (type interfaces.SecretProvider has no field or method GetSecrets) [2021-05-10T10:56:01.862Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [2021-05-10T10:56:01.862Z] internal/security/proxy/main.go:67:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:56:01.862Z] *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:56:01.862Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [2021-05-10T10:56:01.862Z] internal/security/secretstore/main.go:71:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:56:01.862Z] *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:56:17.052Z] # github.com/edgexfoundry/edgex-go/internal/system/agent [2021-05-10T10:56:17.052Z] internal/system/agent/main.go:60:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:56:17.052Z] *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:56:17.052Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-10T10:56:17.662Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.174s coverage: 19.8% of statements [2021-05-10T10:56:23.104Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.227s coverage: 100.0% of statements [2021-05-10T10:56:23.104Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-10T10:56:23.104Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.142s coverage: 100.0% of statements [2021-05-10T10:56:23.104Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.149s coverage: 100.0% of statements [2021-05-10T10:56:24.083Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.286s coverage: 71.3% of statements [2021-05-10T10:56:28.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.513s coverage: 87.7% of statements [2021-05-10T10:56:28.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.155s coverage: 78.9% of statements [2021-05-10T10:56:28.408Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-10T10:56:28.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.226s coverage: 100.0% of statements [2021-05-10T10:56:28.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.163s coverage: 100.0% of statements [2021-05-10T10:56:31.047Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.394s coverage: 86.7% of statements [2021-05-10T10:56:33.043Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.398s coverage: 97.5% of statements [2021-05-10T10:56:33.043Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.210s coverage: 78.3% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.231s coverage: 95.1% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.125s coverage: 58.8% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.258s coverage: 0.9% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.120s coverage: 22.6% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.153s coverage: 47.1% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.177s coverage: 79.5% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.135s coverage: 94.1% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.194s coverage: 96.3% of statements [2021-05-10T10:56:41.375Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.156s coverage: 87.5% of statements [2021-05-10T10:56:56.482Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.147s coverage: 94.4% of statements [2021-05-10T10:56:56.482Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.129s coverage: 44.8% of statements [2021-05-10T10:56:59.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.523s coverage: 81.8% of statements [2021-05-10T10:57:06.604Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] [2021-05-10T10:57:06.604Z] internal/security/proxy/main.go:67: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:57:06.604Z] *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.210s coverage: 92.9% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.073s coverage: 87.2% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.107s coverage: 100.0% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.159s coverage: 76.0% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.155s coverage: 80.0% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.192s coverage: 87.2% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.248s coverage: 85.4% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.275s coverage: 91.2% of statements [2021-05-10T10:57:06.604Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2021-05-10T10:57:06.604Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.084s coverage: 91.3% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.048s coverage: 100.0% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.064s coverage: 73.7% of statements [2021-05-10T10:57:06.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.101s coverage: 100.0% of statements [2021-05-10T10:57:06.604Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-10T10:57:06.604Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] [2021-05-10T10:57:06.604Z] internal/security/secretstore/main.go:71: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2021-05-10T10:57:06.604Z] *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetMessageBusInfo method) [2021-05-10T10:57:06.604Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2021-05-10T10:57:08.050Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.108s coverage: 89.5% of statements [2021-05-10T10:57:08.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.088s coverage: 84.8% of statements [2021-05-10T10:57:08.327Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-10T10:57:10.333Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.157s coverage: 100.0% of statements [2021-05-10T10:57:10.939Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.121s coverage: 100.0% of statements [2021-05-10T10:57:12.932Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.183s coverage: 9.6% of statements [2021-05-10T10:57:14.926Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.446s coverage: 92.6% of statements [2021-05-10T10:57:14.926Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-10T10:57:15.918Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.193s coverage: 99.0% of statements [2021-05-10T10:57:15.918Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.287s coverage: 100.0% of statements [2021-05-10T10:57:15.918Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.187s coverage: 64.6% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.328s coverage: 97.6% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.040s coverage: 0.0% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.047s coverage: 100.0% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.101s coverage: 87.9% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.082s coverage: 100.0% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.125s coverage: 28.1% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.068s coverage: 85.7% of statements [2021-05-10T10:57:22.658Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements [2021-05-10T10:57:22.658Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-10T10:57:22.677Z] $ docker stop --time=1 45a27466c0e6bb3344d7872c5aff8ab133576426e7bd2aea82d309dbde00a0f0 [2021-05-10T10:57:24.957Z] $ docker rm -f 45a27466c0e6bb3344d7872c5aff8ab133576426e7bd2aea82d309dbde00a0f0 [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 [2021-05-10T10:57:26.474Z] ---> job-cost.sh [2021-05-10T10:57:26.474Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-T8bS [2021-05-10T10:58:05.469Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T10:59:42.246Z] lf-activate-venv(): INFO: Adding /tmp/venv-T8bS/bin to PATH [2021-05-10T10:59:42.246Z] INFO: No Stack... [2021-05-10T10:59:42.246Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T10:59:42.246Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T10:59:42.591Z] + + cat /w/workspace/edgex-go/7/archives/cost.csvcut [2021-05-10T10:59:42.591Z] -d, -f6 [Pipeline] lock [2021-05-10T10:59:43.020Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3438-7-stack-cost] [2021-05-10T10:59:43.036Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3438-7-stack-cost] did not exist. Created. [2021-05-10T10:59:43.037Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3438-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T10:59:43.516Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T10:59:44.559Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T10:59:44.595Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3438-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T10:59:44.742Z] 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 [2021-05-10T10:59:45.831Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:59:47.361Z] ---> package-listing.sh [2021-05-10T10:59:47.361Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T10:59:47.361Z] ++ facter osfamily [2021-05-10T10:59:48.019Z] + OS_FAMILY=redhat [2021-05-10T10:59:48.019Z] + workspace=/w/workspace/edgex-go/7 [2021-05-10T10:59:48.019Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T10:59:48.019Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T10:59:48.019Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T10:59:48.019Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T10:59:48.019Z] + '[' /w/workspace/edgex-go/7 ']' [2021-05-10T10:59:48.019Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T10:59:48.019Z] + case "${OS_FAMILY}" in [2021-05-10T10:59:48.019Z] + rpm -qa [2021-05-10T10:59:48.019Z] + sort [2021-05-10T10:59:58.521Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T10:59:58.521Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T10:59:58.521Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T10:59:58.521Z] + '[' /w/workspace/edgex-go/7 ']' [2021-05-10T10:59:58.521Z] + mkdir -p /w/workspace/edgex-go/7/archives/ [2021-05-10T10:59:58.521Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/7/archives/ [Pipeline] echo [2021-05-10T10:59:58.542Z] 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/7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T10:59:58.950Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:59:59.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T11:00:00.597Z] [2021-05-10T11:00:00.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T11:00:00.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T11:00:01.276Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T11:00:01.276Z] df20fa9351a1: Pulling fs layer [2021-05-10T11:00:01.276Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T11:00:01.276Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T11:00:01.276Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T11:00:01.276Z] 93b61091891f: Pulling fs layer [2021-05-10T11:00:01.276Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T11:00:01.276Z] 5e14af77c1be: Pulling fs layer [2021-05-10T11:00:01.276Z] 01666e4c0597: Pulling fs layer [2021-05-10T11:00:01.276Z] aa168da1d23b: Pulling fs layer [2021-05-10T11:00:01.276Z] 93b9cdb0e59b: Waiting [2021-05-10T11:00:01.276Z] 5e14af77c1be: Waiting [2021-05-10T11:00:01.276Z] 01666e4c0597: Waiting [2021-05-10T11:00:01.276Z] aa168da1d23b: Waiting [2021-05-10T11:00:01.276Z] 46f8f816bc3b: Waiting [2021-05-10T11:00:01.276Z] 93b61091891f: Waiting [2021-05-10T11:00:01.276Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T11:00:01.276Z] 36b3adc4ff6f: Download complete [2021-05-10T11:00:01.578Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T11:00:01.578Z] 46f8f816bc3b: Download complete [2021-05-10T11:00:01.923Z] df20fa9351a1: Download complete [2021-05-10T11:00:01.923Z] 93b61091891f: Verifying Checksum [2021-05-10T11:00:01.923Z] 93b61091891f: Download complete [2021-05-10T11:00:01.923Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T11:00:01.923Z] 93b9cdb0e59b: Download complete [2021-05-10T11:00:01.923Z] 5e14af77c1be: Verifying Checksum [2021-05-10T11:00:01.923Z] 5e14af77c1be: Download complete [2021-05-10T11:00:01.923Z] 01666e4c0597: Verifying Checksum [2021-05-10T11:00:01.923Z] 01666e4c0597: Download complete [2021-05-10T11:00:03.104Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T11:00:03.104Z] 8ad3a11d3b57: Download complete [2021-05-10T11:00:03.787Z] df20fa9351a1: Pull complete [2021-05-10T11:00:04.974Z] 36b3adc4ff6f: Pull complete [2021-05-10T11:00:08.747Z] 8ad3a11d3b57: Pull complete [2021-05-10T11:00:08.747Z] 46f8f816bc3b: Pull complete [2021-05-10T11:00:09.864Z] 93b61091891f: Pull complete [2021-05-10T11:00:10.209Z] 93b9cdb0e59b: Pull complete [2021-05-10T11:00:10.564Z] 5e14af77c1be: Pull complete [2021-05-10T11:00:11.264Z] 01666e4c0597: Pull complete [2021-05-10T11:00:17.150Z] aa168da1d23b: Verifying Checksum [2021-05-10T11:00:17.150Z] aa168da1d23b: Download complete [2021-05-10T11:00:40.098Z] aa168da1d23b: Pull complete [2021-05-10T11:00:40.098Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T11:00:40.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T11:00:40.098Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T11:00:40.768Z] prd-centos7-docker-4c-2g-4067 does not seem to be running inside a container [2021-05-10T11:00:40.974Z] $ 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/7/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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@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 [2021-05-10T11:00:45.408Z] $ docker top 80520272bd2cf0af7ce63af5053701f139b23349bbdf17b3e7ae08a51210696d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T11:00:46.438Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T11:00:47.217Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T11:00:47.982Z] + ls /var/log/sa-host [2021-05-10T11:00:47.982Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T11:00:47.982Z] file_magic: OK [2021-05-10T11:00:47.982Z] HZ: Using current value: 100 [2021-05-10T11:00:47.982Z] file_header: OK [2021-05-10T11:00:47.982Z] 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 [2021-05-10T11:00:47.982Z] Statistics: [2021-05-10T11:00:47.982Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T11:00:47.982Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T11:00:47.982Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T11:00:47.982Z] file_magic: OK [2021-05-10T11:00:47.982Z] HZ: Using current value: 100 [2021-05-10T11:00:47.982Z] file_header: OK [2021-05-10T11:00:47.982Z] 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 [2021-05-10T11:00:47.982Z] Statistics: [2021-05-10T11:00:47.982Z] Hnuu...uuuununununu... [2021-05-10T11:00:47.982Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T11:00:48.832Z] provisioning config files... [2021-05-10T11:00:48.874Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/7@tmp/config2088379016286108790tmp [Pipeline] { [Pipeline] echo [2021-05-10T11:00:48.915Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:00:49.662Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T11:00:49.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T11:00:49.830Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:00:50.630Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T11:00:50.816Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:00:51.774Z] ---> sudo-logs.sh [2021-05-10T11:00:51.774Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T11:00:52.034Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:00:52.550Z] ---> job-cost.sh [2021-05-10T11:00:52.822Z] lf-activate-venv: SKIPPING [2021-05-10T11:00:52.822Z] DEBUG: total: 0.20999999344348907 [2021-05-10T11:00:52.822Z] INFO: Retrieving Stack Cost... [2021-05-10T11:00:53.516Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T11:00:54.602Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T11:00:54.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:00:55.565Z] ---> logs-deploy.sh [2021-05-10T11:00:55.565Z] lf-activate-venv: SKIPPING [2021-05-10T11:00:55.565Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3438/7 [2021-05-10T11:00:55.565Z] INFO: archiving workspace using pattern(s): [2021-05-10T11:00:59.563Z] Archives upload complete. [2021-05-10T11:00:59.563Z] INFO: archiving logs to Nexus