Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of beaufrusetta for edgexfoundry/edgex-go Loading trusted files from base branch master at 31468994070af38c8f9db93fe1a8ddc3ce05f196 rather than 9d858ce0f543b71a8403f3fe193093a551ab3e0d Obtained Jenkinsfile from 31468994070af38c8f9db93fe1a8ddc3ce05f196 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2577 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/50 [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/50 # 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/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 31468994070af38c8f9db93fe1a8ddc3ce05f196 into PR head commit 9d858ce0f543b71a8403f3fe193093a551ab3e0d Merge succeeded, producing b8366cacafa9bce4d3be2d863d1891921dc6e76d Checking out Revision b8366cacafa9bce4d3be2d863d1891921dc6e76d (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d858ce0f543b71a8403f3fe193093a551ab3e0d # 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 31468994070af38c8f9db93fe1a8ddc3ce05f196 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8366cacafa9bce4d3be2d863d1891921dc6e76d # timeout=10 Commit message: "Merge commit '31468994070af38c8f9db93fe1a8ddc3ce05f196' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-01T08:30:43.666Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-01T08:30:43.767Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-01T08:30:43.794Z] ========================================================= [2021-05-01T08:30:43.794Z] EdgeX Global Pipelines Version Info [2021-05-01T08:30:43.794Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6bcca5d0db3833e219e38f0d898f5172c3b62bc6 # timeout=10 [2021-05-01T08:30:47.218Z] ------------------- [2021-05-01T08:30:47.218Z] stable info: [2021-05-01T08:30:47.218Z] ------------------- [2021-05-01T08:30:47.218Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-01T08:30:47.218Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-01T08:30:47.218Z] Message: update stable to v1.0.191 [2021-05-01T08:30:48.221Z] ------------------- [2021-05-01T08:30:48.221Z] experimental info: [2021-05-01T08:30:48.221Z] ------------------- [2021-05-01T08:30:48.221Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-01T08:30:48.221Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-01T08:30:48.221Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-01T08:30:48.471Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-01T08:30:48.494Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-01T08:30:48.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-01T08:30:48.543Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-01T08:30:48.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-01T08:30:48.591Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-01T08:30:48.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-01T08:30:48.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-01T08:30:48.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-05-01T08:30:48.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-05-01T08:30:48.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-01T08:30:48.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-01T08:30:48.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-01T08:30:48.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-01T08:30:48.782Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-01T08:30:48.803Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-01T08:30:48.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-01T08:30:48.846Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-01T08:30:48.867Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-01T08:30:48.891Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-01T08:30:48.913Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-01T08:30:48.935Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-01T08:30:48.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-05-01T08:30:48.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-05-01T08:30:49.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-05-01T08:30:49.053Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8366cacafa9bce4d3be2d863d1891921dc6e76d [Pipeline] echo [2021-05-01T08:30:49.077Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8366ca [Pipeline] echo [2021-05-01T08:30:49.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-01T08:30:49.170Z] provisioning config files... [2021-05-01T08:30:49.211Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/50@tmp/config4413069514601617454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:30:49.588Z] ---> docker-login.sh [2021-05-01T08:30:49.588Z] nexus3.edgexfoundry.org:10001 [2021-05-01T08:30:50.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:30:50.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:30:50.870Z] Configure a credential helper to remove this warning. See [2021-05-01T08:30:50.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:30:50.870Z] [2021-05-01T08:30:50.870Z] Login Succeeded [2021-05-01T08:30:50.870Z] nexus3.edgexfoundry.org:10002 [2021-05-01T08:30:51.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:30:51.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:30:51.143Z] Configure a credential helper to remove this warning. See [2021-05-01T08:30:51.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:30:51.143Z] [2021-05-01T08:30:51.143Z] Login Succeeded [2021-05-01T08:30:51.143Z] nexus3.edgexfoundry.org:10003 [2021-05-01T08:30:51.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:30:51.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:30:51.413Z] Configure a credential helper to remove this warning. See [2021-05-01T08:30:51.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:30:51.413Z] [2021-05-01T08:30:51.413Z] Login Succeeded [2021-05-01T08:30:51.413Z] nexus3.edgexfoundry.org:10004 [2021-05-01T08:30:52.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:30:52.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:30:52.079Z] Configure a credential helper to remove this warning. See [2021-05-01T08:30:52.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:30:52.079Z] [2021-05-01T08:30:52.079Z] Login Succeeded [2021-05-01T08:30:52.079Z] docker.io [2021-05-01T08:30:52.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:30:52.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:30:52.639Z] Configure a credential helper to remove this warning. See [2021-05-01T08:30:52.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:30:52.639Z] [2021-05-01T08:30:52.639Z] Login Succeeded [2021-05-01T08:30:52.639Z] ---> docker-login.sh ends [Pipeline] } [2021-05-01T08:30:52.690Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-01T08:30:53.138Z] ++ 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-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/core-command/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/core-data/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-01T08:30:53.138Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-01T08:30:53.138Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-01T08:30:53.138Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-01T08:30:53.138Z] ++ cut -d/ -f2 [2021-05-01T08:30:53.138Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-01T08:30:53.481Z] 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-01T08:30:54.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-01T08:30:54.180Z] [2021-05-01T08:30:54.180Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:30:54.581Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-01T08:30:54.581Z] latest: Pulling from edgex-devops/git-semver [2021-05-01T08:30:54.581Z] 31603596830f: Pulling fs layer [2021-05-01T08:30:54.581Z] 54011a49482f: Pulling fs layer [2021-05-01T08:30:54.581Z] a6820b24f6d8: Pulling fs layer [2021-05-01T08:30:54.581Z] f581987b2513: Pulling fs layer [2021-05-01T08:30:54.581Z] f581987b2513: Waiting [2021-05-01T08:30:54.581Z] 54011a49482f: Verifying Checksum [2021-05-01T08:30:54.581Z] 54011a49482f: Download complete [2021-05-01T08:30:54.888Z] 31603596830f: Verifying Checksum [2021-05-01T08:30:54.888Z] 31603596830f: Download complete [2021-05-01T08:30:55.566Z] f581987b2513: Verifying Checksum [2021-05-01T08:30:55.566Z] f581987b2513: Download complete [2021-05-01T08:30:55.873Z] a6820b24f6d8: Verifying Checksum [2021-05-01T08:30:55.873Z] a6820b24f6d8: Download complete [2021-05-01T08:30:55.873Z] 31603596830f: Pull complete [2021-05-01T08:30:56.146Z] 54011a49482f: Pull complete [2021-05-01T08:30:58.977Z] a6820b24f6d8: Pull complete [2021-05-01T08:30:59.602Z] f581987b2513: Pull complete [2021-05-01T08:30:59.602Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-01T08:30:59.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-01T08:30:59.602Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-01T08:30:59.981Z] prd-centos7-docker-4c-2g-2577 does not seem to be running inside a container [2021-05-01T08:31:00.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-01T08:31:03.289Z] $ docker top 1284c756cc681381fd98e7a6bfc34dac4086a56ffd0cfb933f70694f971f7e62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-01T08:31:03.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-01T08:31:03.770Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-01T08:31:04.861Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-01T08:31:04.868Z] $ docker exec 1284c756cc681381fd98e7a6bfc34dac4086a56ffd0cfb933f70694f971f7e62 ssh-agent [2021-05-01T08:31:05.519Z] SSH_AUTH_SOCK=/tmp/ssh-uNdIshY21Cam/agent.11 [2021-05-01T08:31:05.519Z] SSH_AGENT_PID=17 [2021-05-01T08:31:05.564Z] Running ssh-add (command line suppressed) [2021-05-01T08:31:06.052Z] Identity added: /w/workspace/edgex-go/50@tmp/private_key_1732952734021328767.key (/w/workspace/edgex-go/50@tmp/private_key_1732952734021328767.key) [2021-05-01T08:31:06.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-01T08:31:06.947Z] + git tag --points-at HEAD [Pipeline] } [2021-05-01T08:31:07.045Z] $ docker exec --env ******** --env ******** 1284c756cc681381fd98e7a6bfc34dac4086a56ffd0cfb933f70694f971f7e62 ssh-agent -k [2021-05-01T08:31:07.403Z] unset SSH_AUTH_SOCK; [2021-05-01T08:31:07.403Z] unset SSH_AGENT_PID; [2021-05-01T08:31:07.403Z] echo Agent pid 17 killed; [2021-05-01T08:31:07.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-01T08:31:07.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-01T08:31:07.553Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-01T08:31:07.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-01T08:31:08.000Z] $ docker exec 1284c756cc681381fd98e7a6bfc34dac4086a56ffd0cfb933f70694f971f7e62 ssh-agent [2021-05-01T08:31:08.827Z] SSH_AUTH_SOCK=/tmp/ssh-NnJDSWgeuiks/agent.45 [2021-05-01T08:31:08.827Z] SSH_AGENT_PID=50 [2021-05-01T08:31:09.064Z] Running ssh-add (command line suppressed) [2021-05-01T08:31:09.339Z] Identity added: /w/workspace/edgex-go/50@tmp/private_key_2546036042127913449.key (/w/workspace/edgex-go/50@tmp/private_key_2546036042127913449.key) [2021-05-01T08:31:09.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-01T08:31:10.343Z] + git semver init [2021-05-01T08:31:10.343Z] # -> Open(): unable to determine branch for HEAD [2021-05-01T08:31:10.343Z] # $GIT_DIR = /w/workspace/edgex-go/50/.git [2021-05-01T08:31:10.343Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/50 [2021-05-01T08:31:10.343Z] # $SEMVER_REMOTE_NAME = origin [2021-05-01T08:31:10.343Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-01T08:31:10.343Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-01T08:31:10.343Z] # $SEMVER_BRANCH = PR-3328 [2021-05-01T08:31:10.343Z] # $SEMVER_TEMP = /tmp/semver-564117061 [2021-05-01T08:31:10.343Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-01T08:31:42.967Z] # '/tmp/semver-564117061' -> '/w/workspace/edgex-go/50/.semver' [2021-05-01T08:31:42.967Z] # -> Force: false [2021-05-01T08:31:42.967Z] # $SEMVER_DIR = /w/workspace/edgex-go/50/.semver [Pipeline] } [2021-05-01T08:31:42.999Z] $ docker exec --env ******** --env ******** 1284c756cc681381fd98e7a6bfc34dac4086a56ffd0cfb933f70694f971f7e62 ssh-agent -k [2021-05-01T08:31:43.471Z] unset SSH_AUTH_SOCK; [2021-05-01T08:31:43.471Z] unset SSH_AGENT_PID; [2021-05-01T08:31:43.471Z] echo Agent pid 50 killed; [2021-05-01T08:31:43.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-01T08:31:44.722Z] + git semver [Pipeline] } [2021-05-01T08:31:45.078Z] $ docker stop --time=1 1284c756cc681381fd98e7a6bfc34dac4086a56ffd0cfb933f70694f971f7e62 [2021-05-01T08:31:47.537Z] $ docker rm -f 1284c756cc681381fd98e7a6bfc34dac4086a56ffd0cfb933f70694f971f7e62 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-01T08:31:48.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-01T08:31:50.044Z] Stashed 1 file(s) [Pipeline] echo [2021-05-01T08:31:50.047Z] [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-01T08:31:50.694Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-01T08:31:51.071Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-01T08:31:51.466Z] + sudo service docker restart [2021-05-01T08:31:51.466Z] + true [2021-05-01T08:31:51.466Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-01T08:31:53.065Z] ========================================================= [2021-05-01T08:31:53.065Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-01T08:31:53.065Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:31:53.790Z] + 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-01T08:32:05.188Z] Still waiting to schedule task [2021-05-01T08:32:05.188Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-05-01T08:32:06.624Z] Sending build context to Docker daemon 329.8MB [2021-05-01T08:32:06.624Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-05-01T08:32:06.624Z] Step 2/6 : FROM ${BASE} [2021-05-01T08:32:06.624Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-01T08:32:06.624Z] 540db60ca938: Pulling fs layer [2021-05-01T08:32:06.624Z] adcc1eea9eea: Pulling fs layer [2021-05-01T08:32:06.624Z] 4c4ab2625f07: Pulling fs layer [2021-05-01T08:32:06.624Z] 0510c868ecb4: Pulling fs layer [2021-05-01T08:32:06.624Z] afea3b2eda06: Pulling fs layer [2021-05-01T08:32:06.624Z] 7809a108b3ef: Pulling fs layer [2021-05-01T08:32:06.624Z] f706445af74f: Pulling fs layer [2021-05-01T08:32:06.624Z] 0510c868ecb4: Waiting [2021-05-01T08:32:06.624Z] afea3b2eda06: Waiting [2021-05-01T08:32:06.624Z] 7809a108b3ef: Waiting [2021-05-01T08:32:06.624Z] f706445af74f: Waiting [2021-05-01T08:32:06.624Z] 4c4ab2625f07: Verifying Checksum [2021-05-01T08:32:06.624Z] 4c4ab2625f07: Download complete [2021-05-01T08:32:06.624Z] adcc1eea9eea: Verifying Checksum [2021-05-01T08:32:06.624Z] adcc1eea9eea: Download complete [2021-05-01T08:32:06.624Z] afea3b2eda06: Verifying Checksum [2021-05-01T08:32:06.624Z] afea3b2eda06: Download complete [2021-05-01T08:32:06.624Z] 7809a108b3ef: Verifying Checksum [2021-05-01T08:32:06.624Z] 7809a108b3ef: Download complete [2021-05-01T08:32:06.624Z] 540db60ca938: Verifying Checksum [2021-05-01T08:32:06.624Z] 540db60ca938: Download complete [2021-05-01T08:32:06.624Z] 540db60ca938: Pull complete [2021-05-01T08:32:06.624Z] adcc1eea9eea: Pull complete [2021-05-01T08:32:06.907Z] 4c4ab2625f07: Pull complete [2021-05-01T08:32:11.401Z] f706445af74f: Verifying Checksum [2021-05-01T08:32:11.401Z] f706445af74f: Download complete [2021-05-01T08:32:12.347Z] 0510c868ecb4: Verifying Checksum [2021-05-01T08:32:12.347Z] 0510c868ecb4: Download complete [2021-05-01T08:32:25.064Z] 0510c868ecb4: Pull complete [2021-05-01T08:32:25.064Z] afea3b2eda06: Pull complete [2021-05-01T08:32:25.064Z] 7809a108b3ef: Pull complete [2021-05-01T08:32:30.517Z] f706445af74f: Pull complete [2021-05-01T08:32:30.517Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-01T08:32:30.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-01T08:32:30.517Z] ---> b068be0155e3 [2021-05-01T08:32:30.517Z] 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-01T08:32:30.517Z] ---> Running in b2ae456c63e1 [2021-05-01T08:32:32.001Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-01T08:32:33.012Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-01T08:32:33.601Z] (1/12) Installing libmagic (5.39-r0) [2021-05-01T08:32:34.226Z] (2/12) Installing file (5.39-r0) [2021-05-01T08:32:34.226Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-01T08:32:34.226Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-01T08:32:39.837Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-01T08:32:39.837Z] (6/12) Installing patch (2.7.6-r6) [2021-05-01T08:32:39.837Z] (7/12) Installing build-base (0.5-r2) [2021-05-01T08:32:39.837Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-01T08:32:39.837Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-01T08:32:40.139Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-01T08:32:40.139Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-01T08:32:40.422Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-01T08:32:40.422Z] Executing busybox-1.32.1-r6.trigger [2021-05-01T08:32:40.422Z] OK: 219 MiB in 52 packages [2021-05-01T08:32:44.957Z] Removing intermediate container b2ae456c63e1 [2021-05-01T08:32:44.957Z] ---> 9334347d8acf [2021-05-01T08:32:44.957Z] Step 4/6 : WORKDIR /edgex-go [2021-05-01T08:32:45.332Z] ---> Running in ecf357700e5e [2021-05-01T08:32:46.044Z] Removing intermediate container ecf357700e5e [2021-05-01T08:32:46.044Z] ---> 4a998f8463df [2021-05-01T08:32:46.044Z] Step 5/6 : COPY go.mod . [2021-05-01T08:32:46.695Z] ---> f5552d8bd1b3 [2021-05-01T08:32:46.695Z] Step 6/6 : RUN go mod download [2021-05-01T08:32:46.969Z] ---> Running in 7f5cd0fd79f0 [2021-05-01T08:33:19.973Z] Removing intermediate container 7f5cd0fd79f0 [2021-05-01T08:33:19.973Z] ---> e40c06b38d5c [2021-05-01T08:33:19.973Z] Successfully built e40c06b38d5c [2021-05-01T08:33:19.973Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:33:20.450Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-01T08:33:21.055Z] . [Pipeline] withDockerContainer [2021-05-01T08:33:21.289Z] prd-centos7-docker-4c-2g-2577 does not seem to be running inside a container [2021-05-01T08:33:21.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-01T08:33:23.525Z] $ docker top c7a30fbe2fb55d0e4aa8fd4a2e5f4b267f40c6e0182ebfd60252ad9a30c405f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-01T08:33:24.796Z] + go version [2021-05-01T08:33:24.796Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-01T08:33:24.841Z] $ docker stop --time=1 c7a30fbe2fb55d0e4aa8fd4a2e5f4b267f40c6e0182ebfd60252ad9a30c405f1 [2021-05-01T08:33:27.043Z] $ docker rm -f c7a30fbe2fb55d0e4aa8fd4a2e5f4b267f40c6e0182ebfd60252ad9a30c405f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:33:27.864Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-01T08:33:28.145Z] . [Pipeline] withDockerContainer [2021-05-01T08:33:28.656Z] prd-centos7-docker-4c-2g-2577 does not seem to be running inside a container [2021-05-01T08:33:28.948Z] $ 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/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-01T08:33:31.013Z] $ docker top 33a3063f0c1417ef2f49280363eb7020807a9b00c36e1b720efc73749868f88c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-01T08:33:31.365Z] ========================================================= [2021-05-01T08:33:31.365Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-01T08:33:31.365Z] ========================================================= [Pipeline] sh [2021-05-01T08:33:32.053Z] + go mod tidy [Pipeline] sh [2021-05-01T08:33:35.465Z] + make test [2021-05-01T08:33:35.465Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-01T08:34:02.832Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-01T08:34:36.606Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2585 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws [2021-05-01T08:34:36.635Z] Running in /w/workspace/edgex-go/50 [Pipeline] { [Pipeline] checkout [2021-05-01T08:34:42.429Z] using credential edgex-jenkins-ssh [2021-05-01T08:34:42.451Z] Cloning the remote Git repository [2021-05-01T08:34:42.511Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-01T08:34:42.677Z] > git init /w/workspace/edgex-go/50 # timeout=10 [2021-05-01T08:34:42.826Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-01T08:34:42.827Z] > git --version # timeout=10 [2021-05-01T08:34:42.872Z] > git --version # 'git version 2.17.1' [2021-05-01T08:34:42.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-01T08:34:42.988Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-01T08:34:51.141Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-01T08:34:55.730Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:153:17: undefined: AuthHeaderTitle [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:153:34: undefined: BearerLabel [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:200:17: undefined: AuthHeaderTitle [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:200:34: undefined: BearerLabel [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:272:17: undefined: AuthHeaderTitle [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:272:34: undefined: BearerLabel [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:338:17: undefined: AuthHeaderTitle [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/adduser/command.go:338:34: undefined: BearerLabel [2021-05-01T08:34:55.730Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/deluser/command.go:81:17: undefined: AuthHeaderTitle [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/deluser/command.go:81:34: undefined: BearerLabel [2021-05-01T08:34:55.730Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/oauth2/command.go:105:17: undefined: AuthHeaderTitle [2021-05-01T08:34:55.730Z] internal/security/config/command/proxy/oauth2/command.go:105:34: undefined: BearerLabel [2021-05-01T08:34:58.761Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-01T08:34:58.793Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-01T08:34:58.815Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-01T08:34:58.847Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-01T08:34:58.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-01T08:34:58.864Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-01T08:34:59.739Z] Merging remotes/origin/master commit 31468994070af38c8f9db93fe1a8ddc3ce05f196 into PR head commit 9d858ce0f543b71a8403f3fe193093a551ab3e0d [2021-05-01T08:35:00.271Z] Merge succeeded, producing 68415fd3965f1b1d774f2c28802727e919cd69ec [2021-05-01T08:35:00.272Z] Checking out Revision 68415fd3965f1b1d774f2c28802727e919cd69ec (PR-3328) [2021-05-01T08:34:59.763Z] > git config core.sparsecheckout # timeout=10 [2021-05-01T08:34:59.776Z] > git checkout -f 9d858ce0f543b71a8403f3fe193093a551ab3e0d # timeout=10 [2021-05-01T08:35:00.106Z] > git remote # timeout=10 [2021-05-01T08:35:00.126Z] > git config --get remote.origin.url # timeout=10 [2021-05-01T08:35:00.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-01T08:35:00.155Z] > git merge 31468994070af38c8f9db93fe1a8ddc3ce05f196 # timeout=10 [2021-05-01T08:35:00.261Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-01T08:35:00.283Z] > git config core.sparsecheckout # timeout=10 [2021-05-01T08:35:00.295Z] > git checkout -f 68415fd3965f1b1d774f2c28802727e919cd69ec # timeout=10 [2021-05-01T08:35:02.685Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-01T08:35:02.685Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-01T08:35:04.518Z] Commit message: "Merge commit '31468994070af38c8f9db93fe1a8ddc3ce05f196' into HEAD" [2021-05-01T08:35:04.547Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-01T08:35:04.531Z] > git rev-list --no-walk 6bcca5d0db3833e219e38f0d898f5172c3b62bc6 # timeout=10 [2021-05-01T08:35:05.995Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-01T08:35:06.415Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-01T08:35:06.758Z] + true [2021-05-01T08:35:06.759Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-01T08:35:08.782Z] provisioning config files... [2021-05-01T08:35:08.832Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/50@tmp/config3441170348052573787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:35:09.209Z] ---> docker-login.sh [2021-05-01T08:35:09.209Z] nexus3.edgexfoundry.org:10001 [2021-05-01T08:35:09.900Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [2021-05-01T08:35:09.900Z] internal/security/proxy/service.go:330:17: undefined: AuthHeaderTitle [2021-05-01T08:35:09.900Z] internal/security/proxy/service.go:330:34: undefined: BearerLabel [2021-05-01T08:35:10.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:35:10.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:35:10.481Z] Configure a credential helper to remove this warning. See [2021-05-01T08:35:10.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:35:10.481Z] [2021-05-01T08:35:10.481Z] Login Succeeded [2021-05-01T08:35:10.481Z] nexus3.edgexfoundry.org:10002 [2021-05-01T08:35:11.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:35:11.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:35:11.078Z] Configure a credential helper to remove this warning. See [2021-05-01T08:35:11.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:35:11.078Z] [2021-05-01T08:35:11.078Z] Login Succeeded [2021-05-01T08:35:11.078Z] nexus3.edgexfoundry.org:10003 [2021-05-01T08:35:11.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:35:11.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:35:11.637Z] Configure a credential helper to remove this warning. See [2021-05-01T08:35:11.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:35:11.637Z] [2021-05-01T08:35:11.637Z] Login Succeeded [2021-05-01T08:35:11.637Z] nexus3.edgexfoundry.org:10004 [2021-05-01T08:35:11.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:35:12.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:35:12.186Z] Configure a credential helper to remove this warning. See [2021-05-01T08:35:12.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:35:12.186Z] [2021-05-01T08:35:12.186Z] Login Succeeded [2021-05-01T08:35:12.186Z] docker.io [2021-05-01T08:35:12.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-01T08:35:13.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-01T08:35:13.059Z] Configure a credential helper to remove this warning. See [2021-05-01T08:35:13.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-01T08:35:13.059Z] [2021-05-01T08:35:13.059Z] Login Succeeded [2021-05-01T08:35:13.059Z] ---> docker-login.sh ends [Pipeline] } [2021-05-01T08:35:13.078Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-01T08:35:13.432Z] ========================================================= [2021-05-01T08:35:13.433Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-01T08:35:13.433Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:35:13.780Z] + 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-01T08:35:16.424Z] Sending build context to Docker daemon 167.5MB [2021-05-01T08:35:16.424Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-05-01T08:35:16.424Z] Step 2/6 : FROM ${BASE} [2021-05-01T08:35:16.424Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-01T08:35:16.424Z] 595b0fe564bb: Pulling fs layer [2021-05-01T08:35:16.424Z] 7186ed65a4f7: Pulling fs layer [2021-05-01T08:35:16.424Z] 316046926c0a: Pulling fs layer [2021-05-01T08:35:16.424Z] 4ebd0625c992: Pulling fs layer [2021-05-01T08:35:16.424Z] 207e8628e3a3: Pulling fs layer [2021-05-01T08:35:16.424Z] c791037a9be2: Pulling fs layer [2021-05-01T08:35:16.424Z] ffd874e62e21: Pulling fs layer [2021-05-01T08:35:16.424Z] 4ebd0625c992: Waiting [2021-05-01T08:35:16.424Z] c791037a9be2: Waiting [2021-05-01T08:35:16.424Z] 207e8628e3a3: Waiting [2021-05-01T08:35:16.424Z] ffd874e62e21: Waiting [2021-05-01T08:35:16.424Z] 316046926c0a: Verifying Checksum [2021-05-01T08:35:16.424Z] 316046926c0a: Download complete [2021-05-01T08:35:16.424Z] 7186ed65a4f7: Verifying Checksum [2021-05-01T08:35:16.424Z] 7186ed65a4f7: Download complete [2021-05-01T08:35:16.424Z] 207e8628e3a3: Verifying Checksum [2021-05-01T08:35:16.424Z] 207e8628e3a3: Download complete [2021-05-01T08:35:16.424Z] c791037a9be2: Verifying Checksum [2021-05-01T08:35:16.424Z] c791037a9be2: Download complete [2021-05-01T08:35:16.424Z] 595b0fe564bb: Verifying Checksum [2021-05-01T08:35:16.424Z] 595b0fe564bb: Download complete [2021-05-01T08:35:18.254Z] 595b0fe564bb: Pull complete [2021-05-01T08:35:18.532Z] 7186ed65a4f7: Pull complete [2021-05-01T08:35:19.143Z] 316046926c0a: Pull complete [2021-05-01T08:35:19.741Z] ffd874e62e21: Verifying Checksum [2021-05-01T08:35:19.741Z] ffd874e62e21: Download complete [2021-05-01T08:35:20.738Z] 4ebd0625c992: Verifying Checksum [2021-05-01T08:35:20.738Z] 4ebd0625c992: Download complete [2021-05-01T08:35:29.104Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.506s coverage: 45.9% of statements [2021-05-01T08:35:29.104Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.161s coverage: 19.8% of statements [2021-05-01T08:35:29.104Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.243s coverage: 100.0% of statements [2021-05-01T08:35:32.790Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.343s coverage: 27.1% of statements [2021-05-01T08:35:32.790Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.100s coverage: 100.0% of statements [2021-05-01T08:35:32.790Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.189s coverage: 100.0% of statements [2021-05-01T08:35:32.790Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.227s coverage: 71.3% of statements [2021-05-01T08:35:33.304Z] 4ebd0625c992: Pull complete [2021-05-01T08:35:33.304Z] 207e8628e3a3: Pull complete [2021-05-01T08:35:33.304Z] c791037a9be2: Pull complete [2021-05-01T08:35:34.611Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.626s coverage: 87.7% of statements [2021-05-01T08:35:34.611Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.182s coverage: 78.9% of statements [2021-05-01T08:35:35.944Z] ffd874e62e21: Pull complete [2021-05-01T08:35:35.944Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-01T08:35:35.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-01T08:35:35.944Z] ---> cfc18b08335c [2021-05-01T08:35:35.944Z] 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-01T08:35:39.372Z] ---> Running in d2b76314fc1a [2021-05-01T08:35:40.814Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-01T08:35:41.797Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-01T08:35:42.403Z] (1/12) Installing libmagic (5.39-r0) [2021-05-01T08:35:43.380Z] (2/12) Installing file (5.39-r0) [2021-05-01T08:35:43.380Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-01T08:35:43.380Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-01T08:35:43.629Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.778s coverage: 28.6% of statements [2021-05-01T08:35:43.629Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.384s coverage: 100.0% of statements [2021-05-01T08:35:43.629Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.199s coverage: 100.0% of statements [2021-05-01T08:35:43.629Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.698s coverage: 86.7% of statements [2021-05-01T08:35:43.629Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.449s coverage: 97.5% of statements [2021-05-01T08:35:43.629Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.258s coverage: 78.3% of statements [2021-05-01T08:35:51.028Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.605s coverage: 95.1% of statements [2021-05-01T08:35:51.028Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.353s coverage: 58.8% of statements [2021-05-01T08:35:51.028Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.193s coverage: 0.9% of statements [2021-05-01T08:35:51.028Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.102s coverage: 47.1% of statements [2021-05-01T08:35:51.028Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.269s coverage: 79.5% of statements [2021-05-01T08:35:51.028Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.164s coverage: 94.1% of statements [2021-05-01T08:35:52.106Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.372s coverage: 96.3% of statements [2021-05-01T08:35:52.106Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.111s coverage: 87.5% of statements [2021-05-01T08:35:53.510Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-01T08:35:53.510Z] (6/12) Installing patch (2.7.6-r6) [2021-05-01T08:35:53.510Z] (7/12) Installing build-base (0.5-r2) [2021-05-01T08:35:53.510Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-01T08:35:53.510Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-01T08:35:53.510Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-01T08:35:53.510Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-01T08:35:53.510Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-01T08:35:53.510Z] Executing busybox-1.32.1-r6.trigger [2021-05-01T08:35:53.510Z] OK: 218 MiB in 52 packages [2021-05-01T08:35:56.914Z] Removing intermediate container d2b76314fc1a [2021-05-01T08:35:56.914Z] ---> 9964baa82d68 [2021-05-01T08:35:56.914Z] Step 4/6 : WORKDIR /edgex-go [2021-05-01T08:35:57.191Z] ---> Running in 159b48892491 [2021-05-01T08:35:57.465Z] Removing intermediate container 159b48892491 [2021-05-01T08:35:57.465Z] ---> 6815ada7a763 [2021-05-01T08:35:57.465Z] Step 5/6 : COPY go.mod . [2021-05-01T08:35:58.446Z] ---> 5f7de137c5f9 [2021-05-01T08:35:58.446Z] Step 6/6 : RUN go mod download [2021-05-01T08:35:58.446Z] ---> Running in b77aa48877cd [2021-05-01T08:36:05.365Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.220s coverage: 94.4% of statements [2021-05-01T08:36:05.365Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.426s coverage: 44.8% of statements [2021-05-01T08:36:06.422Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser.test] [2021-05-01T08:36:06.422Z] internal/security/config/command/proxy/adduser/command.go:153: undefined: AuthHeaderTitle [2021-05-01T08:36:06.422Z] internal/security/config/command/proxy/adduser/command.go:153: undefined: BearerLabel [2021-05-01T08:36:06.422Z] internal/security/config/command/proxy/adduser/command.go:200: undefined: AuthHeaderTitle [2021-05-01T08:36:06.422Z] internal/security/config/command/proxy/adduser/command.go:200: undefined: BearerLabel [2021-05-01T08:36:06.422Z] internal/security/config/command/proxy/adduser/command.go:272: undefined: AuthHeaderTitle [2021-05-01T08:36:06.422Z] internal/security/config/command/proxy/adduser/command.go:272: undefined: BearerLabel [2021-05-01T08:36:06.422Z] internal/security/config/command/proxy/adduser/command.go:338: undefined: AuthHeaderTitle [2021-05-01T08:36:06.423Z] internal/security/config/command/proxy/adduser/command.go:338: undefined: BearerLabel [2021-05-01T08:36:06.721Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser.test] [2021-05-01T08:36:06.721Z] internal/security/config/command/proxy/deluser/command.go:81: undefined: AuthHeaderTitle [2021-05-01T08:36:06.721Z] internal/security/config/command/proxy/deluser/command.go:81: undefined: BearerLabel [2021-05-01T08:36:09.447Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2.test] [2021-05-01T08:36:09.447Z] internal/security/config/command/proxy/oauth2/command.go:105: undefined: AuthHeaderTitle [2021-05-01T08:36:09.447Z] internal/security/config/command/proxy/oauth2/command.go:105: undefined: BearerLabel [2021-05-01T08:36:11.491Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.315s coverage: 81.8% of statements [2021-05-01T08:36:16.158Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] [2021-05-01T08:36:16.158Z] internal/security/proxy/service.go:330: undefined: AuthHeaderTitle [2021-05-01T08:36:16.158Z] internal/security/proxy/service.go:330: undefined: BearerLabel [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.258s coverage: 92.9% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.115s coverage: 65.1% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.136s coverage: 87.2% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.098s coverage: 100.0% of statements [2021-05-01T08:36:17.721Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] [2021-05-01T08:36:17.721Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.143s coverage: 87.2% of statements [2021-05-01T08:36:17.721Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [build failed] [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.213s coverage: 91.2% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.475s coverage: 64.4% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.120s coverage: 100.0% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.118s coverage: 91.3% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.069s coverage: 100.0% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.131s coverage: 73.7% of statements [2021-05-01T08:36:17.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.195s coverage: 100.0% of statements [2021-05-01T08:36:17.721Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-01T08:36:20.062Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.535s coverage: 43.2% of statements [2021-05-01T08:36:20.062Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.085s coverage: 89.5% of statements [2021-05-01T08:36:20.062Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.125s coverage: 84.8% of statements [2021-05-01T08:36:23.954Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.403s coverage: 47.0% of statements [2021-05-01T08:36:23.954Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.083s coverage: 100.0% of statements [2021-05-01T08:36:23.954Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.187s coverage: 100.0% of statements [2021-05-01T08:36:23.954Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.165s coverage: 9.6% of statements [2021-05-01T08:36:25.305Z] Removing intermediate container b77aa48877cd [2021-05-01T08:36:25.305Z] ---> 913f170fa794 [2021-05-01T08:36:25.305Z] Successfully built 913f170fa794 [2021-05-01T08:36:25.305Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:36:25.643Z] + docker inspect -f . ci-base-image-arm64 [2021-05-01T08:36:25.643Z] . [Pipeline] withDockerContainer [2021-05-01T08:36:25.882Z] prd-ubuntu18.04-docker-arm64-4c-16g-2585 does not seem to be running inside a container [2021-05-01T08:36:25.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-01T08:36:26.237Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.240s coverage: 92.6% of statements [2021-05-01T08:36:27.465Z] $ docker top 7799d45580b6b1f814e2d702fbb8131abc45732301ad5d01bf34107f305b5be3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-01T08:36:28.391Z] + go version [2021-05-01T08:36:28.391Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-01T08:36:28.420Z] $ docker stop --time=1 7799d45580b6b1f814e2d702fbb8131abc45732301ad5d01bf34107f305b5be3 [2021-05-01T08:36:30.258Z] $ docker rm -f 7799d45580b6b1f814e2d702fbb8131abc45732301ad5d01bf34107f305b5be3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:36:30.923Z] + docker inspect -f . ci-base-image-arm64 [2021-05-01T08:36:30.923Z] . [Pipeline] withDockerContainer [2021-05-01T08:36:31.151Z] prd-ubuntu18.04-docker-arm64-4c-16g-2585 does not seem to be running inside a container [2021-05-01T08:36:31.242Z] $ 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/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-01T08:36:32.641Z] $ docker top db2fc9a77636d980c535208541ef217a6586a141c224a9b17a5c0cb578893f13 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-01T08:36:32.918Z] ========================================================= [2021-05-01T08:36:32.919Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-01T08:36:32.919Z] ========================================================= [Pipeline] sh [2021-05-01T08:36:33.563Z] + go mod tidy [2021-05-01T08:36:33.831Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.061s coverage: 28.7% of statements [2021-05-01T08:36:33.831Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.482s coverage: 99.0% of statements [2021-05-01T08:36:33.831Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.302s coverage: 100.0% of statements [2021-05-01T08:36:33.831Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.396s coverage: 64.6% of statements [2021-05-01T08:36:34.232Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.293s coverage: 97.6% of statements [2021-05-01T08:36:34.232Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.170s coverage: 0.0% of statements [2021-05-01T08:36:34.232Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.113s coverage: 100.0% of statements [Pipeline] sh [2021-05-01T08:36:35.207Z] + make test [2021-05-01T08:36:35.207Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-01T08:36:35.763Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.073s coverage: 87.9% of statements [2021-05-01T08:36:35.763Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.120s coverage: 100.0% of statements [2021-05-01T08:36:36.943Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.200s coverage: 28.1% of statements [2021-05-01T08:36:36.943Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.183s coverage: 100.0% of statements [2021-05-01T08:36:37.959Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-01T08:36:38.017Z] $ docker stop --time=1 33a3063f0c1417ef2f49280363eb7020807a9b00c36e1b720efc73749868f88c [2021-05-01T08:36:42.949Z] $ docker rm -f 33a3063f0c1417ef2f49280363eb7020807a9b00c36e1b720efc73749868f88c [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-01T08:36:44.189Z] Failed in branch amd64 [2021-05-01T08:37:07.782Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-01T08:38:15.887Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-01T08:38:15.887Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:153:17: undefined: AuthHeaderTitle [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:153:34: undefined: BearerLabel [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:200:17: undefined: AuthHeaderTitle [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:200:34: undefined: BearerLabel [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:272:17: undefined: AuthHeaderTitle [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:272:34: undefined: BearerLabel [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:338:17: undefined: AuthHeaderTitle [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/adduser/command.go:338:34: undefined: BearerLabel [2021-05-01T08:38:15.887Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/deluser/command.go:81:17: undefined: AuthHeaderTitle [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/deluser/command.go:81:34: undefined: BearerLabel [2021-05-01T08:38:15.887Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/oauth2/command.go:105:17: undefined: AuthHeaderTitle [2021-05-01T08:38:15.887Z] internal/security/config/command/proxy/oauth2/command.go:105:34: undefined: BearerLabel [2021-05-01T08:38:15.887Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-01T08:38:26.082Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-01T08:38:26.368Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [2021-05-01T08:38:26.368Z] internal/security/proxy/service.go:330:17: undefined: AuthHeaderTitle [2021-05-01T08:38:26.368Z] internal/security/proxy/service.go:330:34: undefined: BearerLabel [2021-05-01T08:38:49.074Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.370s coverage: 45.9% of statements [2021-05-01T08:38:49.075Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.132s coverage: 19.8% of statements [2021-05-01T08:38:49.681Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.232s coverage: 100.0% of statements [2021-05-01T08:38:58.008Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.571s coverage: 27.1% of statements [2021-05-01T08:38:58.008Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.138s coverage: 100.0% of statements [2021-05-01T08:38:58.008Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.250s coverage: 100.0% of statements [2021-05-01T08:38:58.008Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.332s coverage: 71.3% of statements [2021-05-01T08:39:00.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.493s coverage: 87.7% of statements [2021-05-01T08:39:00.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.180s coverage: 78.9% of statements [2021-05-01T08:39:10.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.260s coverage: 28.6% of statements [2021-05-01T08:39:10.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.213s coverage: 100.0% of statements [2021-05-01T08:39:10.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.211s coverage: 100.0% of statements [2021-05-01T08:39:10.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.587s coverage: 86.7% of statements [2021-05-01T08:39:10.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.410s coverage: 97.5% of statements [2021-05-01T08:39:10.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.300s coverage: 78.3% of statements [2021-05-01T08:39:17.602Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.458s coverage: 95.1% of statements [2021-05-01T08:39:17.602Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.162s coverage: 58.8% of statements [2021-05-01T08:39:17.602Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.280s coverage: 0.9% of statements [2021-05-01T08:39:17.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.176s coverage: 47.1% of statements [2021-05-01T08:39:17.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.195s coverage: 79.5% of statements [2021-05-01T08:39:17.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.129s coverage: 94.1% of statements [2021-05-01T08:39:17.879Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.183s coverage: 96.3% of statements [2021-05-01T08:39:18.869Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.145s coverage: 87.5% of statements [2021-05-01T08:39:31.317Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.161s coverage: 94.4% of statements [2021-05-01T08:39:31.317Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.143s coverage: 44.8% of statements [2021-05-01T08:39:33.309Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser.test] [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:153: undefined: AuthHeaderTitle [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:153: undefined: BearerLabel [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:200: undefined: AuthHeaderTitle [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:200: undefined: BearerLabel [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:272: undefined: AuthHeaderTitle [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:272: undefined: BearerLabel [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:338: undefined: AuthHeaderTitle [2021-05-01T08:39:33.309Z] internal/security/config/command/proxy/adduser/command.go:338: undefined: BearerLabel [2021-05-01T08:39:33.584Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser.test] [2021-05-01T08:39:33.585Z] internal/security/config/command/proxy/deluser/command.go:81: undefined: AuthHeaderTitle [2021-05-01T08:39:33.585Z] internal/security/config/command/proxy/deluser/command.go:81: undefined: BearerLabel [2021-05-01T08:39:36.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.611s coverage: 81.8% of statements [2021-05-01T08:39:36.211Z] # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2.test] [2021-05-01T08:39:36.211Z] internal/security/config/command/proxy/oauth2/command.go:105: undefined: AuthHeaderTitle [2021-05-01T08:39:36.211Z] internal/security/config/command/proxy/oauth2/command.go:105: undefined: BearerLabel [2021-05-01T08:39:44.509Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] [2021-05-01T08:39:44.509Z] internal/security/proxy/service.go:330: undefined: AuthHeaderTitle [2021-05-01T08:39:44.509Z] internal/security/proxy/service.go:330: undefined: BearerLabel [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.210s coverage: 92.9% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.068s coverage: 65.1% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.089s coverage: 87.2% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.132s coverage: 100.0% of statements [2021-05-01T08:39:45.115Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] [2021-05-01T08:39:45.115Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.198s coverage: 87.2% of statements [2021-05-01T08:39:45.115Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [build failed] [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.228s coverage: 91.2% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.667s coverage: 64.4% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.181s coverage: 100.0% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.104s coverage: 91.3% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.059s coverage: 100.0% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.073s coverage: 73.7% of statements [2021-05-01T08:39:45.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.064s coverage: 100.0% of statements [2021-05-01T08:39:45.115Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-01T08:39:50.548Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.662s coverage: 43.2% of statements [2021-05-01T08:39:50.548Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.157s coverage: 89.5% of statements [2021-05-01T08:39:50.548Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.122s coverage: 84.8% of statements [2021-05-01T08:39:54.937Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.526s coverage: 47.0% of statements [2021-05-01T08:39:54.937Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.130s coverage: 100.0% of statements [2021-05-01T08:39:54.937Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.112s coverage: 100.0% of statements [2021-05-01T08:39:54.937Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.241s coverage: 9.6% of statements [2021-05-01T08:39:56.393Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.531s coverage: 92.6% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.980s coverage: 28.7% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.220s coverage: 99.0% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.260s coverage: 100.0% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.164s coverage: 64.6% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.382s coverage: 97.6% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.043s coverage: 0.0% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.049s coverage: 100.0% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.122s coverage: 87.9% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.057s coverage: 100.0% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.145s coverage: 28.1% of statements [2021-05-01T08:40:06.576Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-05-01T08:40:07.552Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-01T08:40:07.591Z] $ docker stop --time=1 db2fc9a77636d980c535208541ef217a6586a141c224a9b17a5c0cb578893f13 [2021-05-01T08:40:09.933Z] $ docker rm -f db2fc9a77636d980c535208541ef217a6586a141c224a9b17a5c0cb578893f13 [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-01T08:40:11.553Z] ---> job-cost.sh [2021-05-01T08:40:11.553Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-whRz [2021-05-01T08:41:08.198Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-01T08:43:15.038Z] lf-activate-venv(): INFO: Adding /tmp/venv-whRz/bin to PATH [2021-05-01T08:43:15.038Z] INFO: No Stack... [2021-05-01T08:43:15.310Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-01T08:43:15.905Z] INFO: Archiving Costs [Pipeline] sh [2021-05-01T08:43:16.249Z] + cut -d, -f6 [2021-05-01T08:43:16.249Z] + cat /w/workspace/edgex-go/50/archives/cost.csv [Pipeline] lock [2021-05-01T08:43:16.635Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-50-stack-cost] [2021-05-01T08:43:16.643Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3328-50-stack-cost] did not exist. Created. [2021-05-01T08:43:16.643Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-01T08:43:17.036Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-01T08:43:17.923Z] Stashed 1 file(s) [Pipeline] } [2021-05-01T08:43:17.938Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-50-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-01T08:43:18.079Z] 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-01T08:43:19.260Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:43:21.260Z] ---> package-listing.sh [2021-05-01T08:43:21.260Z] ++ facter osfamily [2021-05-01T08:43:21.260Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-01T08:43:21.637Z] + OS_FAMILY=redhat [2021-05-01T08:43:21.637Z] + workspace=/w/workspace/edgex-go/50 [2021-05-01T08:43:21.637Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-01T08:43:21.637Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-01T08:43:21.637Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-01T08:43:21.637Z] + PACKAGES=/tmp/packages_start.txt [2021-05-01T08:43:21.637Z] + '[' /w/workspace/edgex-go/50 ']' [2021-05-01T08:43:21.637Z] + PACKAGES=/tmp/packages_end.txt [2021-05-01T08:43:21.637Z] + case "${OS_FAMILY}" in [2021-05-01T08:43:21.637Z] + sort [2021-05-01T08:43:21.637Z] + rpm -qa [2021-05-01T08:43:30.363Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-01T08:43:30.363Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-01T08:43:30.363Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-01T08:43:30.363Z] + '[' /w/workspace/edgex-go/50 ']' [2021-05-01T08:43:30.363Z] + mkdir -p /w/workspace/edgex-go/50/archives/ [2021-05-01T08:43:30.363Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/50/archives/ [Pipeline] echo [2021-05-01T08:43:30.433Z] 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/50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-01T08:43:30.805Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:43:31.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-01T08:43:31.737Z] [2021-05-01T08:43:31.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-01T08:43:32.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-01T08:43:32.130Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-01T08:43:32.130Z] df20fa9351a1: Pulling fs layer [2021-05-01T08:43:32.130Z] 36b3adc4ff6f: Pulling fs layer [2021-05-01T08:43:32.130Z] 8ad3a11d3b57: Pulling fs layer [2021-05-01T08:43:32.130Z] 46f8f816bc3b: Pulling fs layer [2021-05-01T08:43:32.130Z] 93b61091891f: Pulling fs layer [2021-05-01T08:43:32.130Z] 93b9cdb0e59b: Pulling fs layer [2021-05-01T08:43:32.130Z] 5e14af77c1be: Pulling fs layer [2021-05-01T08:43:32.130Z] 01666e4c0597: Pulling fs layer [2021-05-01T08:43:32.130Z] aa168da1d23b: Pulling fs layer [2021-05-01T08:43:32.130Z] 46f8f816bc3b: Waiting [2021-05-01T08:43:32.130Z] 01666e4c0597: Waiting [2021-05-01T08:43:32.130Z] aa168da1d23b: Waiting [2021-05-01T08:43:32.130Z] 5e14af77c1be: Waiting [2021-05-01T08:43:32.130Z] 93b61091891f: Waiting [2021-05-01T08:43:32.130Z] 93b9cdb0e59b: Waiting [2021-05-01T08:43:32.403Z] 36b3adc4ff6f: Download complete [2021-05-01T08:43:32.403Z] 46f8f816bc3b: Verifying Checksum [2021-05-01T08:43:32.403Z] 46f8f816bc3b: Download complete [2021-05-01T08:43:32.403Z] df20fa9351a1: Verifying Checksum [2021-05-01T08:43:32.403Z] df20fa9351a1: Download complete [2021-05-01T08:43:32.686Z] 93b9cdb0e59b: Verifying Checksum [2021-05-01T08:43:32.686Z] 93b9cdb0e59b: Download complete [2021-05-01T08:43:32.686Z] 5e14af77c1be: Verifying Checksum [2021-05-01T08:43:32.686Z] 5e14af77c1be: Download complete [2021-05-01T08:43:32.686Z] 01666e4c0597: Verifying Checksum [2021-05-01T08:43:32.686Z] 01666e4c0597: Download complete [2021-05-01T08:43:32.686Z] 93b61091891f: Verifying Checksum [2021-05-01T08:43:32.686Z] 93b61091891f: Download complete [2021-05-01T08:43:33.325Z] 8ad3a11d3b57: Verifying Checksum [2021-05-01T08:43:33.325Z] 8ad3a11d3b57: Download complete [2021-05-01T08:43:33.325Z] df20fa9351a1: Pull complete [2021-05-01T08:43:33.940Z] 36b3adc4ff6f: Pull complete [2021-05-01T08:43:36.723Z] 8ad3a11d3b57: Pull complete [2021-05-01T08:43:36.723Z] 46f8f816bc3b: Pull complete [2021-05-01T08:43:38.333Z] 93b61091891f: Pull complete [2021-05-01T08:43:38.632Z] 93b9cdb0e59b: Pull complete [2021-05-01T08:43:38.910Z] 5e14af77c1be: Pull complete [2021-05-01T08:43:38.910Z] aa168da1d23b: Verifying Checksum [2021-05-01T08:43:38.910Z] aa168da1d23b: Download complete [2021-05-01T08:43:39.549Z] 01666e4c0597: Pull complete [2021-05-01T08:44:06.897Z] aa168da1d23b: Pull complete [2021-05-01T08:44:06.897Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-01T08:44:06.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-01T08:44:06.897Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-01T08:44:07.381Z] prd-centos7-docker-4c-2g-2577 does not seem to be running inside a container [2021-05-01T08:44:07.535Z] $ 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/50/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/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-01T08:44:11.948Z] $ docker top 6561f06d949973f0d5b418f5bac0d0beac30aa127ea88968cf715267af555fde -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-01T08:44:12.700Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-01T08:44:13.452Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-01T08:44:14.165Z] + ls /var/log/sa-host [2021-05-01T08:44:14.165Z] + sadf -c /var/log/sa-host/sa01 [2021-05-01T08:44:14.165Z] file_magic: OK [2021-05-01T08:44:14.165Z] HZ: Using current value: 100 [2021-05-01T08:44:14.165Z] file_header: OK [2021-05-01T08:44:14.165Z] 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-01T08:44:14.165Z] Statistics: [2021-05-01T08:44:14.165Z] 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...Hnuu...uuuununununu... [2021-05-01T08:44:14.165Z] File successfully converted to sysstat format version 12.2.1 [2021-05-01T08:44:14.165Z] + sadf -c /var/log/sa-host/sa23 [2021-05-01T08:44:14.165Z] file_magic: OK [2021-05-01T08:44:14.165Z] HZ: Using current value: 100 [2021-05-01T08:44:14.165Z] file_header: OK [2021-05-01T08:44:14.165Z] 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-01T08:44:14.165Z] Statistics: [2021-05-01T08:44:14.165Z] Hnuu...uuuununununu... [2021-05-01T08:44:14.165Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-01T08:44:14.766Z] provisioning config files... [2021-05-01T08:44:14.785Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/50@tmp/config3454833228265211113tmp [Pipeline] { [Pipeline] echo [2021-05-01T08:44:14.815Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:44:15.519Z] ---> create-netrc.sh [Pipeline] } [2021-05-01T08:44:15.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-01T08:44:15.647Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:44:16.350Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-01T08:44:16.366Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:44:17.116Z] ---> sudo-logs.sh [2021-05-01T08:44:17.116Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-01T08:44:17.332Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:44:18.100Z] ---> job-cost.sh [2021-05-01T08:44:18.101Z] lf-activate-venv: SKIPPING [2021-05-01T08:44:18.101Z] DEBUG: total: 0.20999999344348907 [2021-05-01T08:44:18.101Z] INFO: Retrieving Stack Cost... [2021-05-01T08:44:19.542Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-01T08:44:20.153Z] INFO: Archiving Costs [Pipeline] echo [2021-05-01T08:44:20.223Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-01T08:44:21.082Z] ---> logs-deploy.sh [2021-05-01T08:44:21.083Z] lf-activate-venv: SKIPPING [2021-05-01T08:44:21.373Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/50 [2021-05-01T08:44:21.373Z] INFO: archiving workspace using pattern(s): [2021-05-01T08:44:24.165Z] Archives upload complete. [2021-05-01T08:44:24.452Z] INFO: archiving logs to Nexus