Pull request #3438 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d16e2cfd15b71e1393be385cf301ee53df0f8e92+feccc1132204ea0a3421d61f23242004f0b740e5 (fb7feec52f05429d59571acc1c90afa19b9ee533) 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 Running on prd-centos7-docker-4c-2g-3837 in /w/workspace/edgexfoundry_edgex-go_PR-3438 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3438/head:refs/remotes/origin/PR-3438 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit feccc1132204ea0a3421d61f23242004f0b740e5 into PR head commit d16e2cfd15b71e1393be385cf301ee53df0f8e92 Merge succeeded, producing d16e2cfd15b71e1393be385cf301ee53df0f8e92 Checking out Revision d16e2cfd15b71e1393be385cf301ee53df0f8e92 (PR-3438) > git config core.sparsecheckout # timeout=10 > git checkout -f d16e2cfd15b71e1393be385cf301ee53df0f8e92 # 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 feccc1132204ea0a3421d61f23242004f0b740e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d16e2cfd15b71e1393be385cf301ee53df0f8e92 # 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-09T11:28:39.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-09T11:28:39.229Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-09T11:28:39.256Z] ========================================================= [2021-05-09T11:28:39.256Z] EdgeX Global Pipelines Version Info [2021-05-09T11:28:39.256Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7b111e79427abc25e398b9bf859cfc4522b4fe85 # timeout=10 [2021-05-09T11:28:41.237Z] ------------------- [2021-05-09T11:28:41.237Z] stable info: [2021-05-09T11:28:41.237Z] ------------------- [2021-05-09T11:28:41.237Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-09T11:28:41.237Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:28:41.237Z] Message: update stable to v1.0.191 [2021-05-09T11:28:41.812Z] ------------------- [2021-05-09T11:28:41.812Z] experimental info: [2021-05-09T11:28:41.812Z] ------------------- [2021-05-09T11:28:41.812Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-09T11:28:41.812Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:28:41.812Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-09T11:28:41.959Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-09T11:28:41.981Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-09T11:28:42.002Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-09T11:28:42.024Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-09T11:28:42.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-09T11:28:42.078Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-09T11:28:42.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-09T11:28:42.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-09T11:28:42.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-05-09T11:28:42.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-05-09T11:28:42.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-09T11:28:42.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-09T11:28:42.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-09T11:28:42.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-09T11:28:42.298Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T11:28:42.320Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T11:28:42.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-09T11:28:42.366Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-09T11:28:42.389Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-09T11:28:42.412Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-09T11:28:42.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-09T11:28:42.457Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-09T11:28:42.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3438 [Pipeline] echo [2021-05-09T11:28:42.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3438 [Pipeline] echo [2021-05-09T11:28:42.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3438 [Pipeline] echo [2021-05-09T11:28:42.548Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d16e2cfd15b71e1393be385cf301ee53df0f8e92 [Pipeline] echo [2021-05-09T11:28:42.572Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d16e2cf [Pipeline] echo [2021-05-09T11:28:42.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:28:42.666Z] provisioning config files... [2021-05-09T11:28:42.706Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config470875197713742345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:28:43.044Z] ---> docker-login.sh [2021-05-09T11:28:43.044Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:28:43.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:43.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:43.572Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:43.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:43.572Z] [2021-05-09T11:28:43.572Z] Login Succeeded [2021-05-09T11:28:43.572Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:28:43.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:43.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:43.835Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:43.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:43.835Z] [2021-05-09T11:28:43.835Z] Login Succeeded [2021-05-09T11:28:43.835Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:28:43.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:43.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:43.835Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:43.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:43.835Z] [2021-05-09T11:28:43.835Z] Login Succeeded [2021-05-09T11:28:43.835Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:28:44.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:44.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:44.107Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:44.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:44.107Z] [2021-05-09T11:28:44.107Z] Login Succeeded [2021-05-09T11:28:44.107Z] docker.io [2021-05-09T11:28:44.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:44.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:44.647Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:44.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:44.647Z] [2021-05-09T11:28:44.647Z] Login Succeeded [2021-05-09T11:28:44.647Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:28:44.660Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:28:45.028Z] ++ 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-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/core-command/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/core-data/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-09T11:28:45.028Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:45.028Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-09T11:28:45.028Z] ++ cut -d/ -f2 [2021-05-09T11:28:45.028Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-09T11:28:45.129Z] 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-09T11:28:45.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:45.776Z] [2021-05-09T11:28:45.776Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:28:46.098Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:46.098Z] latest: Pulling from edgex-devops/git-semver [2021-05-09T11:28:46.098Z] 31603596830f: Pulling fs layer [2021-05-09T11:28:46.098Z] 54011a49482f: Pulling fs layer [2021-05-09T11:28:46.098Z] a6820b24f6d8: Pulling fs layer [2021-05-09T11:28:46.098Z] f581987b2513: Pulling fs layer [2021-05-09T11:28:46.098Z] f581987b2513: Waiting [2021-05-09T11:28:46.098Z] 54011a49482f: Verifying Checksum [2021-05-09T11:28:46.098Z] 54011a49482f: Download complete [2021-05-09T11:28:46.373Z] 31603596830f: Download complete [2021-05-09T11:28:46.643Z] f581987b2513: Verifying Checksum [2021-05-09T11:28:46.643Z] f581987b2513: Download complete [2021-05-09T11:28:46.643Z] a6820b24f6d8: Verifying Checksum [2021-05-09T11:28:46.643Z] a6820b24f6d8: Download complete [2021-05-09T11:28:46.909Z] 31603596830f: Pull complete [2021-05-09T11:28:46.909Z] 54011a49482f: Pull complete [2021-05-09T11:28:47.862Z] a6820b24f6d8: Pull complete [2021-05-09T11:28:48.124Z] f581987b2513: Pull complete [2021-05-09T11:28:48.124Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-09T11:28:48.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:48.124Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-09T11:28:48.242Z] prd-centos7-docker-4c-2g-3837 does not seem to be running inside a container [2021-05-09T11:28:48.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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-09T11:28:51.059Z] $ docker top e78a8560db18abe98696b486b157b18fca1a8bda30e4db2bd336cde897277cb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:28:51.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:28:51.248Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:28:51.483Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:28:51.488Z] $ docker exec e78a8560db18abe98696b486b157b18fca1a8bda30e4db2bd336cde897277cb6 ssh-agent [2021-05-09T11:28:51.670Z] SSH_AUTH_SOCK=/tmp/ssh-CYfvxfwGwEWD/agent.11 [2021-05-09T11:28:51.670Z] SSH_AGENT_PID=16 [2021-05-09T11:28:51.689Z] Running ssh-add (command line suppressed) [2021-05-09T11:28:51.816Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_2559858646335263850.key (/w/workspace/edgex-go/2@tmp/private_key_2559858646335263850.key) [2021-05-09T11:28:51.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:28:52.178Z] + git tag --points-at HEAD [Pipeline] } [2021-05-09T11:28:52.204Z] $ docker exec --env ******** --env ******** e78a8560db18abe98696b486b157b18fca1a8bda30e4db2bd336cde897277cb6 ssh-agent -k [2021-05-09T11:28:52.325Z] unset SSH_AUTH_SOCK; [2021-05-09T11:28:52.325Z] unset SSH_AGENT_PID; [2021-05-09T11:28:52.325Z] echo Agent pid 16 killed; [2021-05-09T11:28:52.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-09T11:28:52.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:28:52.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:28:52.617Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:28:52.622Z] $ docker exec e78a8560db18abe98696b486b157b18fca1a8bda30e4db2bd336cde897277cb6 ssh-agent [2021-05-09T11:28:52.806Z] SSH_AUTH_SOCK=/tmp/ssh-1RHu4SerRUOW/agent.46 [2021-05-09T11:28:52.806Z] SSH_AGENT_PID=52 [2021-05-09T11:28:52.815Z] Running ssh-add (command line suppressed) [2021-05-09T11:28:52.954Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_2436841020788389325.key (/w/workspace/edgex-go/2@tmp/private_key_2436841020788389325.key) [2021-05-09T11:28:53.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:28:53.337Z] + git semver init [2021-05-09T11:28:53.337Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:28:53.337Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2021-05-09T11:28:53.337Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2021-05-09T11:28:53.337Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:28:53.337Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:28:53.337Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:28:53.337Z] # $SEMVER_BRANCH = PR-3438 [2021-05-09T11:28:53.337Z] # $SEMVER_TEMP = /tmp/semver-687784198 [2021-05-09T11:28:53.337Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-09T11:29:20.005Z] # '/tmp/semver-687784198' -> '/w/workspace/edgex-go/2/.semver' [2021-05-09T11:29:20.005Z] # -> Force: false [2021-05-09T11:29:20.005Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2021-05-09T11:29:20.023Z] $ docker exec --env ******** --env ******** e78a8560db18abe98696b486b157b18fca1a8bda30e4db2bd336cde897277cb6 ssh-agent -k [2021-05-09T11:29:20.332Z] unset SSH_AUTH_SOCK; [2021-05-09T11:29:20.332Z] unset SSH_AGENT_PID; [2021-05-09T11:29:20.332Z] echo Agent pid 52 killed; [2021-05-09T11:29:20.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:29:20.807Z] + git semver [Pipeline] } [2021-05-09T11:29:20.827Z] $ docker stop --time=1 e78a8560db18abe98696b486b157b18fca1a8bda30e4db2bd336cde897277cb6 [2021-05-09T11:29:22.807Z] $ docker rm -f e78a8560db18abe98696b486b157b18fca1a8bda30e4db2bd336cde897277cb6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:29:23.319Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-09T11:29:23.976Z] Stashed 1 file(s) [Pipeline] echo [2021-05-09T11:29:23.979Z] [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-09T11:29:24.486Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:29:24.797Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:29:25.104Z] + sudo service docker restart [2021-05-09T11:29:25.104Z] + true [2021-05-09T11:29:25.104Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-09T11:29:25.708Z] ========================================================= [2021-05-09T11:29:25.708Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-09T11:29:25.708Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:29:26.062Z] + 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-09T11:29:30.305Z] Sending build context to Docker daemon 330MB [2021-05-09T11:29:30.305Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-09T11:29:30.305Z] Step 2/6 : FROM ${BASE} [2021-05-09T11:29:30.305Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-09T11:29:30.305Z] 540db60ca938: Pulling fs layer [2021-05-09T11:29:30.305Z] adcc1eea9eea: Pulling fs layer [2021-05-09T11:29:30.305Z] 4c4ab2625f07: Pulling fs layer [2021-05-09T11:29:30.305Z] 0510c868ecb4: Pulling fs layer [2021-05-09T11:29:30.305Z] afea3b2eda06: Pulling fs layer [2021-05-09T11:29:30.305Z] 7809a108b3ef: Pulling fs layer [2021-05-09T11:29:30.305Z] f706445af74f: Pulling fs layer [2021-05-09T11:29:30.305Z] afea3b2eda06: Waiting [2021-05-09T11:29:30.305Z] 7809a108b3ef: Waiting [2021-05-09T11:29:30.305Z] f706445af74f: Waiting [2021-05-09T11:29:30.305Z] 0510c868ecb4: Waiting [2021-05-09T11:29:30.305Z] 4c4ab2625f07: Download complete [2021-05-09T11:29:30.305Z] adcc1eea9eea: Verifying Checksum [2021-05-09T11:29:30.305Z] adcc1eea9eea: Download complete [2021-05-09T11:29:30.305Z] afea3b2eda06: Download complete [2021-05-09T11:29:30.305Z] 7809a108b3ef: Verifying Checksum [2021-05-09T11:29:30.305Z] 7809a108b3ef: Download complete [2021-05-09T11:29:30.305Z] 540db60ca938: Download complete [2021-05-09T11:29:30.574Z] 540db60ca938: Pull complete [2021-05-09T11:29:30.840Z] adcc1eea9eea: Pull complete [2021-05-09T11:29:31.103Z] 4c4ab2625f07: Pull complete [2021-05-09T11:29:32.523Z] f706445af74f: Verifying Checksum [2021-05-09T11:29:32.523Z] f706445af74f: Download complete [2021-05-09T11:29:33.487Z] 0510c868ecb4: Verifying Checksum [2021-05-09T11:29:33.487Z] 0510c868ecb4: Download complete [2021-05-09T11:29:39.112Z] Still waiting to schedule task [2021-05-09T11:29:39.112Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-09T11:29:40.122Z] 0510c868ecb4: Pull complete [2021-05-09T11:29:40.122Z] afea3b2eda06: Pull complete [2021-05-09T11:29:40.122Z] 7809a108b3ef: Pull complete [2021-05-09T11:29:45.458Z] f706445af74f: Pull complete [2021-05-09T11:29:45.458Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-09T11:29:45.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-09T11:29:45.458Z] ---> b068be0155e3 [2021-05-09T11:29:45.458Z] 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-09T11:29:45.458Z] ---> Running in 0a080ca9c553 [2021-05-09T11:29:46.035Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:29:47.969Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:29:48.919Z] (1/12) Installing libmagic (5.39-r0) [2021-05-09T11:29:50.847Z] (2/12) Installing file (5.39-r0) [2021-05-09T11:29:50.847Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-09T11:29:50.847Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-09T11:30:03.122Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-09T11:30:03.122Z] (6/12) Installing patch (2.7.6-r6) [2021-05-09T11:30:03.122Z] (7/12) Installing build-base (0.5-r2) [2021-05-09T11:30:03.122Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-09T11:30:03.122Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-09T11:30:03.122Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:30:03.122Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-09T11:30:03.122Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:30:03.122Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:30:03.122Z] OK: 219 MiB in 52 packages [2021-05-09T11:30:07.373Z] Removing intermediate container 0a080ca9c553 [2021-05-09T11:30:07.373Z] ---> c5c99cb1d970 [2021-05-09T11:30:07.373Z] Step 4/6 : WORKDIR /edgex-go [2021-05-09T11:30:07.373Z] ---> Running in 52272e41e10a [2021-05-09T11:30:07.373Z] Removing intermediate container 52272e41e10a [2021-05-09T11:30:07.373Z] ---> 9343810b711c [2021-05-09T11:30:07.373Z] Step 5/6 : COPY go.mod . [2021-05-09T11:30:07.373Z] ---> fe96fb0f15a5 [2021-05-09T11:30:07.373Z] Step 6/6 : RUN go mod download [2021-05-09T11:30:07.373Z] ---> Running in 68fa1e0b5aad [2021-05-09T11:30:34.065Z] Removing intermediate container 68fa1e0b5aad [2021-05-09T11:30:34.065Z] ---> e1d1990af221 [2021-05-09T11:30:34.065Z] Successfully built e1d1990af221 [2021-05-09T11:30:34.065Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:30:34.389Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:30:34.389Z] . [Pipeline] withDockerContainer [2021-05-09T11:30:34.511Z] prd-centos7-docker-4c-2g-3837 does not seem to be running inside a container [2021-05-09T11:30:34.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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-09T11:30:35.928Z] $ docker top 459a585d99a16ee3d23faf3ca06994e771de26ab859352757f4ddbfacd3233ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:30:36.426Z] + go version [2021-05-09T11:30:36.426Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-09T11:30:36.444Z] $ docker stop --time=1 459a585d99a16ee3d23faf3ca06994e771de26ab859352757f4ddbfacd3233ed [2021-05-09T11:30:37.889Z] $ docker rm -f 459a585d99a16ee3d23faf3ca06994e771de26ab859352757f4ddbfacd3233ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:30:38.441Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:30:38.441Z] . [Pipeline] withDockerContainer [2021-05-09T11:30:38.560Z] prd-centos7-docker-4c-2g-3837 does not seem to be running inside a container [2021-05-09T11:30:38.615Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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-09T11:30:39.373Z] $ docker top ba5c49d2bc8b75de746a4e6273fbbc3c725b6796a484679f170a65e6e363da49 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-09T11:30:39.526Z] ========================================================= [2021-05-09T11:30:39.526Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-09T11:30:39.526Z] ========================================================= [Pipeline] sh [2021-05-09T11:30:39.851Z] + go mod tidy [Pipeline] sh [2021-05-09T11:30:41.583Z] + make test [2021-05-09T11:30:41.583Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-09T11:30:51.717Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-09T11:31:14.358Z] # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [2021-05-09T11:31:14.358Z] 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-09T11:31:18.660Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [2021-05-09T11:31:18.660Z] 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-09T11:31:19.634Z] # github.com/edgexfoundry/edgex-go/internal/security/config [2021-05-09T11:31:19.634Z] 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-09T11:31:19.634Z] *"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-09T11:31:23.057Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [2021-05-09T11:31:23.057Z] internal/security/bootstrapper/redis/handlers/handlers.go:71:33: secretProvider.GetSecrets undefined (type interfaces.SecretProvider has no field or method GetSecrets) [2021-05-09T11:31:23.331Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [2021-05-09T11:31:23.331Z] 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-09T11:31:23.331Z] *"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-09T11:31:23.331Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [2021-05-09T11:31:23.332Z] 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-09T11:31:23.332Z] *"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-09T11:31:28.776Z] # github.com/edgexfoundry/edgex-go/internal/system/agent [2021-05-09T11:31:28.776Z] 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-09T11:31:28.776Z] *"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-09T11:31:29.055Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-09T11:31:29.645Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.085s coverage: 19.8% of statements [2021-05-09T11:31:31.647Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.145s coverage: 100.0% of statements [2021-05-09T11:31:31.647Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-09T11:31:31.647Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.060s coverage: 100.0% of statements [2021-05-09T11:31:31.647Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.082s coverage: 100.0% of statements [2021-05-09T11:31:33.610Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.119s coverage: 71.3% of statements [2021-05-09T11:31:33.610Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.238s coverage: 87.7% of statements [2021-05-09T11:31:33.610Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.088s coverage: 78.9% of statements [2021-05-09T11:31:33.894Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-09T11:31:35.358Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.118s coverage: 100.0% of statements [2021-05-09T11:31:35.358Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.079s coverage: 100.0% of statements [2021-05-09T11:31:35.954Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.174s coverage: 86.7% of statements [2021-05-09T11:31:36.961Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.199s coverage: 97.5% of statements [2021-05-09T11:31:36.961Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.098s coverage: 78.3% of statements [2021-05-09T11:31:40.354Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.548s coverage: 95.1% of statements [2021-05-09T11:31:40.354Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.081s coverage: 58.8% of statements [2021-05-09T11:31:40.354Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.076s coverage: 0.9% of statements [2021-05-09T11:31:40.354Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.060s coverage: 22.6% of statements [2021-05-09T11:31:40.354Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.076s coverage: 47.1% of statements [2021-05-09T11:31:40.354Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.088s coverage: 79.5% of statements [2021-05-09T11:31:40.941Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.103s coverage: 94.1% of statements [2021-05-09T11:31:40.941Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.077s coverage: 96.3% of statements [2021-05-09T11:31:41.217Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.073s coverage: 87.5% of statements [2021-05-09T11:31:53.541Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.073s coverage: 94.4% of statements [2021-05-09T11:31:53.541Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.062s coverage: 44.8% of statements [2021-05-09T11:31:56.898Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.295s coverage: 81.8% of statements [2021-05-09T11:31:58.338Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] [2021-05-09T11:31:58.338Z] 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-09T11:31:58.338Z] *"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-09T11:31:58.621Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] [2021-05-09T11:31:58.621Z] 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-09T11:31:58.621Z] *"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-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.116s coverage: 92.9% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.052s coverage: 87.2% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.074s coverage: 76.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.070s coverage: 80.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.124s coverage: 87.2% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.077s coverage: 85.4% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.159s coverage: 91.2% of statements [2021-05-09T11:32:05.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2021-05-09T11:32:05.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.057s coverage: 91.3% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.041s coverage: 73.7% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements [2021-05-09T11:32:05.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-09T11:32:05.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.062s coverage: 89.5% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.053s coverage: 84.8% of statements [2021-05-09T11:32:05.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.060s coverage: 100.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.046s coverage: 100.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.102s coverage: 9.6% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.195s coverage: 92.6% of statements [2021-05-09T11:32:05.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.097s coverage: 99.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.083s coverage: 100.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.073s coverage: 64.6% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.129s coverage: 97.6% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-05-09T11:32:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.030s coverage: 100.0% of statements [2021-05-09T11:32:05.552Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.040s coverage: 87.9% of statements [2021-05-09T11:32:05.552Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.042s coverage: 100.0% of statements [2021-05-09T11:32:07.504Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.049s coverage: 28.1% of statements [2021-05-09T11:32:07.504Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.047s coverage: 100.0% of statements [2021-05-09T11:32:07.504Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-09T11:32:07.524Z] $ docker stop --time=1 ba5c49d2bc8b75de746a4e6273fbbc3c725b6796a484679f170a65e6e363da49 [2021-05-09T11:32:09.354Z] $ docker rm -f ba5c49d2bc8b75de746a4e6273fbbc3c725b6796a484679f170a65e6e363da49 [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-09T11:32:09.966Z] Failed in branch amd64 [2021-05-09T11:33:07.945Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3843 in /w/workspace/edgexfoundry_edgex-go_PR-3438 [Pipeline] { [Pipeline] ws [2021-05-09T11:33:07.964Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2021-05-09T11:33:14.058Z] using credential edgex-jenkins-ssh [2021-05-09T11:33:14.076Z] Cloning the remote Git repository [2021-05-09T11:33:14.142Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-09T11:33:14.276Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2021-05-09T11:33:14.389Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-09T11:33:14.389Z] > git --version # timeout=10 [2021-05-09T11:33:14.407Z] > git --version # 'git version 2.17.1' [2021-05-09T11:33:14.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:33:14.477Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:33:34.578Z] Merging remotes/origin/master commit feccc1132204ea0a3421d61f23242004f0b740e5 into PR head commit d16e2cfd15b71e1393be385cf301ee53df0f8e92 [2021-05-09T11:33:33.766Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-09T11:33:33.782Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:33:33.807Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-09T11:33:33.846Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-09T11:33:33.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:33:33.861Z] > 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-09T11:33:34.596Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:33:34.607Z] > git checkout -f d16e2cfd15b71e1393be385cf301ee53df0f8e92 # timeout=10 [2021-05-09T11:33:35.030Z] Merge succeeded, producing d16e2cfd15b71e1393be385cf301ee53df0f8e92 [2021-05-09T11:33:35.030Z] Checking out Revision d16e2cfd15b71e1393be385cf301ee53df0f8e92 (PR-3438) [2021-05-09T11:33:34.942Z] > git remote # timeout=10 [2021-05-09T11:33:34.964Z] > git config --get remote.origin.url # timeout=10 [2021-05-09T11:33:34.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:33:34.993Z] > git merge feccc1132204ea0a3421d61f23242004f0b740e5 # timeout=10 [2021-05-09T11:33:35.015Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-09T11:33:35.038Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:33:35.062Z] > git checkout -f d16e2cfd15b71e1393be385cf301ee53df0f8e92 # timeout=10 [2021-05-09T11:33:39.608Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:33:41.023Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:33:41.485Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:33:41.833Z] + sudo service docker restart [2021-05-09T11:33:41.833Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:33:44.499Z] provisioning config files... [2021-05-09T11:33:44.550Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config3434698037750961025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:33:44.954Z] ---> docker-login.sh [2021-05-09T11:33:44.954Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:33:45.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:33:46.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:33:46.218Z] Configure a credential helper to remove this warning. See [2021-05-09T11:33:46.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:33:46.218Z] [2021-05-09T11:33:46.218Z] Login Succeeded [2021-05-09T11:33:46.218Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:33:46.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:33:46.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:33:46.818Z] Configure a credential helper to remove this warning. See [2021-05-09T11:33:46.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:33:46.818Z] [2021-05-09T11:33:46.818Z] Login Succeeded [2021-05-09T11:33:46.818Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:33:47.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:33:47.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:33:47.422Z] Configure a credential helper to remove this warning. See [2021-05-09T11:33:47.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:33:47.422Z] [2021-05-09T11:33:47.422Z] Login Succeeded [2021-05-09T11:33:47.422Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:33:48.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:33:48.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:33:48.023Z] Configure a credential helper to remove this warning. See [2021-05-09T11:33:48.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:33:48.023Z] [2021-05-09T11:33:48.023Z] Login Succeeded [2021-05-09T11:33:48.023Z] docker.io [2021-05-09T11:33:48.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:33:48.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:33:48.899Z] Configure a credential helper to remove this warning. See [2021-05-09T11:33:48.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:33:48.899Z] [2021-05-09T11:33:48.899Z] Login Succeeded [2021-05-09T11:33:48.899Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:33:48.918Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T11:33:49.273Z] ========================================================= [2021-05-09T11:33:49.273Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-09T11:33:49.273Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:33:49.621Z] + 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-09T11:33:52.299Z] Sending build context to Docker daemon 167.6MB [2021-05-09T11:33:52.299Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-09T11:33:52.299Z] Step 2/6 : FROM ${BASE} [2021-05-09T11:33:52.299Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-09T11:33:52.299Z] 595b0fe564bb: Pulling fs layer [2021-05-09T11:33:52.299Z] 7186ed65a4f7: Pulling fs layer [2021-05-09T11:33:52.299Z] 316046926c0a: Pulling fs layer [2021-05-09T11:33:52.299Z] 4ebd0625c992: Pulling fs layer [2021-05-09T11:33:52.299Z] 207e8628e3a3: Pulling fs layer [2021-05-09T11:33:52.299Z] c791037a9be2: Pulling fs layer [2021-05-09T11:33:52.299Z] ffd874e62e21: Pulling fs layer [2021-05-09T11:33:52.299Z] 4ebd0625c992: Waiting [2021-05-09T11:33:52.299Z] 207e8628e3a3: Waiting [2021-05-09T11:33:52.299Z] c791037a9be2: Waiting [2021-05-09T11:33:52.299Z] ffd874e62e21: Waiting [2021-05-09T11:33:52.299Z] 316046926c0a: Download complete [2021-05-09T11:33:52.299Z] 7186ed65a4f7: Verifying Checksum [2021-05-09T11:33:52.299Z] 7186ed65a4f7: Download complete [2021-05-09T11:33:52.299Z] 207e8628e3a3: Verifying Checksum [2021-05-09T11:33:52.299Z] 207e8628e3a3: Download complete [2021-05-09T11:33:52.299Z] c791037a9be2: Download complete [2021-05-09T11:33:52.299Z] 595b0fe564bb: Verifying Checksum [2021-05-09T11:33:52.299Z] 595b0fe564bb: Download complete [2021-05-09T11:33:52.911Z] 595b0fe564bb: Pull complete [2021-05-09T11:33:53.512Z] 7186ed65a4f7: Pull complete [2021-05-09T11:33:53.786Z] 316046926c0a: Pull complete [2021-05-09T11:33:55.218Z] ffd874e62e21: Verifying Checksum [2021-05-09T11:33:55.218Z] ffd874e62e21: Download complete [2021-05-09T11:33:56.661Z] 4ebd0625c992: Verifying Checksum [2021-05-09T11:33:56.661Z] 4ebd0625c992: Download complete [2021-05-09T11:34:06.826Z] 4ebd0625c992: Pull complete [2021-05-09T11:34:06.827Z] 207e8628e3a3: Pull complete [2021-05-09T11:34:07.115Z] c791037a9be2: Pull complete [2021-05-09T11:34:10.520Z] ffd874e62e21: Pull complete [2021-05-09T11:34:10.520Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-09T11:34:10.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-09T11:34:10.520Z] ---> cfc18b08335c [2021-05-09T11:34:10.520Z] 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-09T11:34:14.873Z] ---> Running in 6682091a2ab4 [2021-05-09T11:34:15.863Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:34:17.845Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:34:20.473Z] (1/12) Installing libmagic (5.39-r0) [2021-05-09T11:34:20.473Z] (2/12) Installing file (5.39-r0) [2021-05-09T11:34:20.746Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-09T11:34:21.018Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-09T11:34:33.415Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-09T11:34:33.415Z] (6/12) Installing patch (2.7.6-r6) [2021-05-09T11:34:33.415Z] (7/12) Installing build-base (0.5-r2) [2021-05-09T11:34:33.415Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-09T11:34:33.415Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-09T11:34:33.415Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:34:33.415Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-09T11:34:33.415Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:34:33.415Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:34:33.415Z] OK: 218 MiB in 52 packages [2021-05-09T11:34:37.720Z] Removing intermediate container 6682091a2ab4 [2021-05-09T11:34:37.720Z] ---> 69cb4d20a21c [2021-05-09T11:34:37.720Z] Step 4/6 : WORKDIR /edgex-go [2021-05-09T11:34:37.720Z] ---> Running in f5558425e6c9 [2021-05-09T11:34:37.994Z] Removing intermediate container f5558425e6c9 [2021-05-09T11:34:37.994Z] ---> b1908c6d545a [2021-05-09T11:34:37.994Z] Step 5/6 : COPY go.mod . [2021-05-09T11:34:38.974Z] ---> 71b109846813 [2021-05-09T11:34:38.974Z] Step 6/6 : RUN go mod download [2021-05-09T11:34:38.974Z] ---> Running in a54ed28aeeef [2021-05-09T11:35:11.378Z] Removing intermediate container a54ed28aeeef [2021-05-09T11:35:11.378Z] ---> 8074adb5db17 [2021-05-09T11:35:11.378Z] Successfully built 8074adb5db17 [2021-05-09T11:35:11.378Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:35:11.728Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:35:11.728Z] . [Pipeline] withDockerContainer [2021-05-09T11:35:11.999Z] prd-ubuntu18.04-docker-arm64-4c-16g-3843 does not seem to be running inside a container [2021-05-09T11:35:12.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-09T11:35:13.756Z] $ docker top fabc98a4f161c12f4a2d3015fc54a81b316aa70c7449b94c481e6dced1a39c3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:35:14.772Z] + go version [2021-05-09T11:35:14.772Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-09T11:35:14.800Z] $ docker stop --time=1 fabc98a4f161c12f4a2d3015fc54a81b316aa70c7449b94c481e6dced1a39c3f [2021-05-09T11:35:16.734Z] $ docker rm -f fabc98a4f161c12f4a2d3015fc54a81b316aa70c7449b94c481e6dced1a39c3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:35:17.403Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:35:17.403Z] . [Pipeline] withDockerContainer [2021-05-09T11:35:17.659Z] prd-ubuntu18.04-docker-arm64-4c-16g-3843 does not seem to be running inside a container [2021-05-09T11:35:17.756Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-09T11:35:19.337Z] $ docker top d213b4d7bc971a35ecf7dfc7e8bdc098b79039251f95cc340cd54da5b50bf4ba -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-09T11:35:19.629Z] ========================================================= [2021-05-09T11:35:19.629Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-09T11:35:19.629Z] ========================================================= [Pipeline] sh [2021-05-09T11:35:20.278Z] + go mod tidy [Pipeline] sh [2021-05-09T11:35:22.048Z] + make test [2021-05-09T11:35:22.048Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-09T11:35:54.545Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-09T11:36:51.187Z] # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [2021-05-09T11:36:51.187Z] 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-09T11:37:13.448Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [2021-05-09T11:37:13.448Z] 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-09T11:37:13.448Z] # github.com/edgexfoundry/edgex-go/internal/security/config [2021-05-09T11:37:13.448Z] 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-09T11:37:13.448Z] *"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-09T11:37:20.240Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [2021-05-09T11:37:20.240Z] internal/security/bootstrapper/redis/handlers/handlers.go:71:33: secretProvider.GetSecrets undefined (type interfaces.SecretProvider has no field or method GetSecrets) [2021-05-09T11:37:22.243Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [2021-05-09T11:37:22.243Z] 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-09T11:37:22.243Z] *"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-09T11:37:22.243Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [2021-05-09T11:37:22.243Z] 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-09T11:37:22.243Z] *"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-09T11:37:37.390Z] # github.com/edgexfoundry/edgex-go/internal/system/agent [2021-05-09T11:37:37.390Z] 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-09T11:37:37.390Z] *"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-09T11:37:40.044Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-09T11:37:40.323Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.173s coverage: 19.8% of statements [2021-05-09T11:37:47.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.408s coverage: 100.0% of statements [2021-05-09T11:37:47.060Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-09T11:37:47.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.188s coverage: 100.0% of statements [2021-05-09T11:37:47.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.223s coverage: 100.0% of statements [2021-05-09T11:37:49.718Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.326s coverage: 71.3% of statements [2021-05-09T11:37:51.746Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.565s coverage: 87.7% of statements [2021-05-09T11:37:51.746Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.197s coverage: 78.9% of statements [2021-05-09T11:37:51.746Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-09T11:37:53.199Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.254s coverage: 100.0% of statements [2021-05-09T11:37:53.199Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.179s coverage: 100.0% of statements [2021-05-09T11:37:55.836Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.462s coverage: 86.7% of statements [2021-05-09T11:37:57.830Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.409s coverage: 97.5% of statements [2021-05-09T11:37:57.830Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.215s coverage: 78.3% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.327s coverage: 95.1% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.141s coverage: 58.8% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.251s coverage: 0.9% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.138s coverage: 22.6% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.171s coverage: 47.1% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.157s coverage: 79.5% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.109s coverage: 94.1% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.206s coverage: 96.3% of statements [2021-05-09T11:38:08.031Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.159s coverage: 87.5% of statements [2021-05-09T11:38:20.449Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.161s coverage: 94.4% of statements [2021-05-09T11:38:20.449Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.161s coverage: 44.8% of statements [2021-05-09T11:38:25.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.560s coverage: 81.8% of statements [2021-05-09T11:38:32.581Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] [2021-05-09T11:38:32.581Z] 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-09T11:38:32.581Z] *"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-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.211s coverage: 92.9% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 65.1% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.076s coverage: 87.2% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.107s coverage: 100.0% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.157s coverage: 76.0% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.130s coverage: 80.0% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.201s coverage: 87.2% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.270s coverage: 85.4% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.238s coverage: 91.2% of statements [2021-05-09T11:38:32.581Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2021-05-09T11:38:32.581Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.115s coverage: 91.3% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.050s coverage: 100.0% of statements [2021-05-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.094s coverage: 73.7% of statements [2021-05-09T11:38:32.581Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] [2021-05-09T11:38:32.581Z] 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-09T11:38:32.581Z] *"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-09T11:38:32.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.081s coverage: 100.0% of statements [2021-05-09T11:38:32.581Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-09T11:38:32.581Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2021-05-09T11:38:33.577Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.087s coverage: 89.5% of statements [2021-05-09T11:38:34.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.104s coverage: 84.8% of statements [2021-05-09T11:38:34.565Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-09T11:38:36.539Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.120s coverage: 100.0% of statements [2021-05-09T11:38:36.815Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.091s coverage: 100.0% of statements [2021-05-09T11:38:38.805Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.151s coverage: 9.6% of statements [2021-05-09T11:38:41.455Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.491s coverage: 92.6% of statements [2021-05-09T11:38:41.455Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-09T11:38:42.060Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.285s coverage: 99.0% of statements [2021-05-09T11:38:42.060Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.255s coverage: 100.0% of statements [2021-05-09T11:38:42.342Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.201s coverage: 64.6% of statements [2021-05-09T11:38:47.768Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.312s coverage: 97.6% of statements [2021-05-09T11:38:47.768Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.047s coverage: 0.0% of statements [2021-05-09T11:38:47.768Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.065s coverage: 100.0% of statements [2021-05-09T11:38:47.768Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.082s coverage: 87.9% of statements [2021-05-09T11:38:47.768Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.072s coverage: 100.0% of statements [2021-05-09T11:38:47.768Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.125s coverage: 28.1% of statements [2021-05-09T11:38:47.768Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.087s coverage: 100.0% of statements [2021-05-09T11:38:48.809Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-09T11:38:48.863Z] $ docker stop --time=1 d213b4d7bc971a35ecf7dfc7e8bdc098b79039251f95cc340cd54da5b50bf4ba [2021-05-09T11:38:51.198Z] $ docker rm -f d213b4d7bc971a35ecf7dfc7e8bdc098b79039251f95cc340cd54da5b50bf4ba [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-09T11:38:52.671Z] ---> job-cost.sh [2021-05-09T11:38:52.671Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-y8ab [2021-05-09T11:39:31.683Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:41:08.417Z] lf-activate-venv(): INFO: Adding /tmp/venv-y8ab/bin to PATH [2021-05-09T11:41:08.417Z] INFO: No Stack... [2021-05-09T11:41:08.417Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-09T11:41:08.417Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:41:08.776Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2021-05-09T11:41:08.776Z] + cut -d, -f6 [Pipeline] lock [2021-05-09T11:41:09.151Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3438-2-stack-cost] [2021-05-09T11:41:09.160Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3438-2-stack-cost] did not exist. Created. [2021-05-09T11:41:09.160Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3438-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:41:09.544Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-09T11:41:10.376Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:41:10.390Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3438-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-09T11:41:10.535Z] 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-09T11:41:11.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:12.172Z] ---> package-listing.sh [2021-05-09T11:41:12.172Z] ++ facter osfamily [2021-05-09T11:41:12.172Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-09T11:41:12.172Z] + OS_FAMILY=redhat [2021-05-09T11:41:12.172Z] + workspace=/w/workspace/edgex-go/2 [2021-05-09T11:41:12.172Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-09T11:41:12.172Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-09T11:41:12.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-09T11:41:12.172Z] + PACKAGES=/tmp/packages_start.txt [2021-05-09T11:41:12.172Z] + '[' /w/workspace/edgex-go/2 ']' [2021-05-09T11:41:12.172Z] + PACKAGES=/tmp/packages_end.txt [2021-05-09T11:41:12.172Z] + case "${OS_FAMILY}" in [2021-05-09T11:41:12.172Z] + rpm -qa [2021-05-09T11:41:12.172Z] + sort [2021-05-09T11:41:17.488Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-09T11:41:17.488Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-09T11:41:17.488Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-09T11:41:17.488Z] + '[' /w/workspace/edgex-go/2 ']' [2021-05-09T11:41:17.488Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2021-05-09T11:41:17.488Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2021-05-09T11:41:17.503Z] 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-09T11:41:17.803Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:41:18.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:41:18.115Z] [2021-05-09T11:41:18.115Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:41:18.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:41:18.438Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-09T11:41:18.438Z] df20fa9351a1: Pulling fs layer [2021-05-09T11:41:18.438Z] 36b3adc4ff6f: Pulling fs layer [2021-05-09T11:41:18.438Z] 8ad3a11d3b57: Pulling fs layer [2021-05-09T11:41:18.438Z] 46f8f816bc3b: Pulling fs layer [2021-05-09T11:41:18.438Z] 93b61091891f: Pulling fs layer [2021-05-09T11:41:18.438Z] 93b9cdb0e59b: Pulling fs layer [2021-05-09T11:41:18.438Z] 5e14af77c1be: Pulling fs layer [2021-05-09T11:41:18.438Z] 01666e4c0597: Pulling fs layer [2021-05-09T11:41:18.438Z] aa168da1d23b: Pulling fs layer [2021-05-09T11:41:18.438Z] 93b61091891f: Waiting [2021-05-09T11:41:18.438Z] 93b9cdb0e59b: Waiting [2021-05-09T11:41:18.438Z] 5e14af77c1be: Waiting [2021-05-09T11:41:18.438Z] 01666e4c0597: Waiting [2021-05-09T11:41:18.438Z] aa168da1d23b: Waiting [2021-05-09T11:41:18.438Z] 46f8f816bc3b: Waiting [2021-05-09T11:41:18.438Z] 46f8f816bc3b: Download complete [2021-05-09T11:41:18.701Z] df20fa9351a1: Verifying Checksum [2021-05-09T11:41:18.701Z] df20fa9351a1: Download complete [2021-05-09T11:41:18.701Z] 93b9cdb0e59b: Verifying Checksum [2021-05-09T11:41:18.701Z] 93b9cdb0e59b: Download complete [2021-05-09T11:41:18.701Z] 5e14af77c1be: Download complete [2021-05-09T11:41:18.701Z] 93b61091891f: Verifying Checksum [2021-05-09T11:41:18.701Z] 93b61091891f: Download complete [2021-05-09T11:41:18.701Z] 01666e4c0597: Verifying Checksum [2021-05-09T11:41:18.701Z] 01666e4c0597: Download complete [2021-05-09T11:41:18.963Z] 8ad3a11d3b57: Verifying Checksum [2021-05-09T11:41:18.963Z] 8ad3a11d3b57: Download complete [2021-05-09T11:41:18.963Z] df20fa9351a1: Pull complete [2021-05-09T11:41:19.230Z] 36b3adc4ff6f: Pull complete [2021-05-09T11:41:20.192Z] 8ad3a11d3b57: Pull complete [2021-05-09T11:41:20.192Z] 46f8f816bc3b: Pull complete [2021-05-09T11:41:20.773Z] 93b61091891f: Pull complete [2021-05-09T11:41:20.773Z] 93b9cdb0e59b: Pull complete [2021-05-09T11:41:21.041Z] aa168da1d23b: Verifying Checksum [2021-05-09T11:41:21.041Z] aa168da1d23b: Download complete [2021-05-09T11:41:21.041Z] 5e14af77c1be: Pull complete [2021-05-09T11:41:21.041Z] 01666e4c0597: Pull complete [2021-05-09T11:41:29.241Z] aa168da1d23b: Pull complete [2021-05-09T11:41:29.241Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-09T11:41:29.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:41:29.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-09T11:41:29.426Z] prd-centos7-docker-4c-2g-3837 does not seem to be running inside a container [2021-05-09T11:41:29.482Z] $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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-09T11:41:32.525Z] $ docker top 358950ca87fa1d67a42a8a41bfe29139bd55db6b8ae0c347eb69a719c7584241 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:41:33.073Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-09T11:41:33.439Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-09T11:41:33.740Z] + ls /var/log/sa-host [2021-05-09T11:41:33.740Z] + sadf -c /var/log/sa-host/sa09 [2021-05-09T11:41:33.740Z] file_magic: OK [2021-05-09T11:41:33.740Z] HZ: Using current value: 100 [2021-05-09T11:41:33.740Z] file_header: OK [2021-05-09T11:41:33.740Z] 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-09T11:41:33.740Z] Statistics: [2021-05-09T11:41:33.740Z] 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-09T11:41:33.740Z] File successfully converted to sysstat format version 12.2.1 [2021-05-09T11:41:33.740Z] + sadf -c /var/log/sa-host/sa23 [2021-05-09T11:41:33.740Z] file_magic: OK [2021-05-09T11:41:33.740Z] HZ: Using current value: 100 [2021-05-09T11:41:33.740Z] file_header: OK [2021-05-09T11:41:33.740Z] 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-09T11:41:33.740Z] Statistics: [2021-05-09T11:41:33.740Z] Hnuu...uuuununununu... [2021-05-09T11:41:33.740Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:41:33.921Z] provisioning config files... [2021-05-09T11:41:33.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2871963260838828786tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:41:33.958Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:34.260Z] ---> create-netrc.sh [Pipeline] } [2021-05-09T11:41:34.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-09T11:41:34.295Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:34.594Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-09T11:41:34.605Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:34.904Z] ---> sudo-logs.sh [2021-05-09T11:41:34.904Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-09T11:41:34.968Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:35.291Z] ---> job-cost.sh [2021-05-09T11:41:35.291Z] lf-activate-venv: SKIPPING [2021-05-09T11:41:35.291Z] DEBUG: total: 0.20999999344348907 [2021-05-09T11:41:35.291Z] INFO: Retrieving Stack Cost... [2021-05-09T11:41:36.683Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:41:37.631Z] INFO: Archiving Costs [Pipeline] echo [2021-05-09T11:41:37.646Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:37.946Z] ---> logs-deploy.sh [2021-05-09T11:41:37.946Z] lf-activate-venv: SKIPPING [2021-05-09T11:41:37.946Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3438/2 [2021-05-09T11:41:37.946Z] INFO: archiving workspace using pattern(s): [2021-05-09T11:41:39.336Z] Archives upload complete. [2021-05-09T11:41:39.599Z] INFO: archiving logs to Nexus