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 9479b0bd6fd5f506950cc10d210a264fbf845fb3 rather than c3e4b4b02eb8fed364144b1f70f879119ac45d91 Obtained Jenkinsfile from 9479b0bd6fd5f506950cc10d210a264fbf845fb3 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32537 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/21 [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/21 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 9479b0bd6fd5f506950cc10d210a264fbf845fb3 into PR head commit c3e4b4b02eb8fed364144b1f70f879119ac45d91 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 5fb3b9c5da636d51b7fa173eaf7c69939c28b98d Checking out Revision 5fb3b9c5da636d51b7fa173eaf7c69939c28b98d (PR-3328) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9479b0bd6fd5f506950cc10d210a264fbf845fb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5fb3b9c5da636d51b7fa173eaf7c69939c28b98d # timeout=10 Commit message: "Merge commit '9479b0bd6fd5f506950cc10d210a264fbf845fb3' into HEAD" > git rev-list --no-walk c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:31:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:31:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:31:25 ========================================================= 00:31:25 EdgeX Global Pipelines Version Info 00:31:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:31:27 ------------------- 00:31:27 stable info: 00:31:27 ------------------- 00:31:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:31:27 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 00:31:27 Message: update stable to v1.0.186 00:31:28 ------------------- 00:31:28 experimental info: 00:31:28 ------------------- 00:31:28 Commited By: **** collab-it+edgex@linuxfoundation.org 00:31:28 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 00:31:28 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:31:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:31:28 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:31:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:31:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:31:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:31:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:31:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:31:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:31:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:31:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:31:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:31:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 00:31:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 00:31:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 00:31:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5fb3b9c5da636d51b7fa173eaf7c69939c28b98d [Pipeline] echo 00:31:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5fb3b9c [Pipeline] echo 00:31:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:31:31 provisioning config files... 00:31:31 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/21@tmp/config4653533767604605188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:31 ---> docker-login.sh 00:31:31 nexus3.edgexfoundry.org:10001 00:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:32 Configure a credential helper to remove this warning. See 00:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:32 00:31:32 Login Succeeded 00:31:32 nexus3.edgexfoundry.org:10002 00:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:32 Configure a credential helper to remove this warning. See 00:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:32 00:31:32 Login Succeeded 00:31:32 nexus3.edgexfoundry.org:10003 00:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:32 Configure a credential helper to remove this warning. See 00:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:32 00:31:32 Login Succeeded 00:31:32 nexus3.edgexfoundry.org:10004 00:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:33 Configure a credential helper to remove this warning. See 00:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:33 00:31:33 Login Succeeded 00:31:33 docker.io 00:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:33 Configure a credential helper to remove this warning. See 00:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:33 00:31:33 Login Succeeded 00:31:33 ---> docker-login.sh ends [Pipeline] } 00:31:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:33 ++ 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 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/core-command/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo core-command,cmd/core-command/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/core-data/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo core-data,cmd/core-data/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/core-metadata/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo core-metadata,cmd/core-metadata/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/security-bootstrapper/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/security-proxy-setup/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/support-notifications/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo support-notifications,cmd/support-notifications/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/support-scheduler/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:31:33 + for file in '`ls cmd/**/Dockerfile`' 00:31:33 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:31:33 ++ cut -d/ -f2 00:31:33 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:31:33 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 00:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:31:34 00:31:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:31:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:31:35 latest: Pulling from edgex-devops/git-semver 00:31:35 31603596830f: Pulling fs layer 00:31:35 2a8b12db71e7: Pulling fs layer 00:31:35 6ca5941a6612: Pulling fs layer 00:31:35 ecc8261a40a4: Pulling fs layer 00:31:35 ecc8261a40a4: Waiting 00:31:35 2a8b12db71e7: Verifying Checksum 00:31:35 2a8b12db71e7: Download complete 00:31:35 31603596830f: Verifying Checksum 00:31:35 31603596830f: Download complete 00:31:35 ecc8261a40a4: Verifying Checksum 00:31:35 ecc8261a40a4: Download complete 00:31:35 6ca5941a6612: Verifying Checksum 00:31:35 6ca5941a6612: Download complete 00:31:35 31603596830f: Pull complete 00:31:35 2a8b12db71e7: Pull complete 00:31:36 6ca5941a6612: Pull complete 00:31:37 ecc8261a40a4: Pull complete 00:31:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:31:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:31:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:31:37 prd-centos7-docker-4c-2g-32537 does not seem to be running inside a container 00:31:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/21 -v /w/workspace/edgex-go/21:/w/workspace/edgex-go/21:rw,z -v /w/workspace/edgex-go/21@tmp:/w/workspace/edgex-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:31:40 $ docker top 0b79b8b24d6e0c8827eafa74a87807d3b10d7b5ba10f46934845bd777d6f029d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:31:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:40 [ssh-agent] Looking for ssh-agent implementation... 00:31:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:40 $ docker exec 0b79b8b24d6e0c8827eafa74a87807d3b10d7b5ba10f46934845bd777d6f029d ssh-agent 00:31:40 SSH_AUTH_SOCK=/tmp/ssh-YgXB8WNB9fCk/agent.12 00:31:40 SSH_AGENT_PID=17 00:31:40 Running ssh-add (command line suppressed) 00:31:41 Identity added: /w/workspace/edgex-go/21@tmp/private_key_1728518235080670207.key (/w/workspace/edgex-go/21@tmp/private_key_1728518235080670207.key) 00:31:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:41 + git tag --points-at HEAD [Pipeline] } 00:31:41 $ docker exec --env ******** --env ******** 0b79b8b24d6e0c8827eafa74a87807d3b10d7b5ba10f46934845bd777d6f029d ssh-agent -k 00:31:41 unset SSH_AUTH_SOCK; 00:31:41 unset SSH_AGENT_PID; 00:31:41 echo Agent pid 17 killed; 00:31:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:31:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:41 [ssh-agent] Looking for ssh-agent implementation... 00:31:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:42 $ docker exec 0b79b8b24d6e0c8827eafa74a87807d3b10d7b5ba10f46934845bd777d6f029d ssh-agent 00:31:42 SSH_AUTH_SOCK=/tmp/ssh-a5pZURfhMGyn/agent.46 00:31:42 SSH_AGENT_PID=51 00:31:42 Running ssh-add (command line suppressed) 00:31:42 Identity added: /w/workspace/edgex-go/21@tmp/private_key_7916107158409883035.key (/w/workspace/edgex-go/21@tmp/private_key_7916107158409883035.key) 00:31:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:42 + git semver init 00:31:42 # -> Open(): unable to determine branch for HEAD 00:31:42 # $GIT_DIR = /w/workspace/edgex-go/21/.git 00:31:42 # $GIT_WORK_TREE = /w/workspace/edgex-go/21 00:31:42 # $SEMVER_REMOTE_NAME = origin 00:31:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:31:42 # $SEMVER_USER_NAME = edgex-jenkins 00:31:42 # $SEMVER_BRANCH = PR-3328 00:31:42 # $SEMVER_TEMP = /tmp/semver-863165075 00:31:42 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:32:15 # '/tmp/semver-863165075' -> '/w/workspace/edgex-go/21/.semver' 00:32:15 # -> Force: false 00:32:15 # $SEMVER_DIR = /w/workspace/edgex-go/21/.semver [Pipeline] } 00:32:15 $ docker exec --env ******** --env ******** 0b79b8b24d6e0c8827eafa74a87807d3b10d7b5ba10f46934845bd777d6f029d ssh-agent -k 00:32:15 unset SSH_AUTH_SOCK; 00:32:15 unset SSH_AGENT_PID; 00:32:15 echo Agent pid 51 killed; 00:32:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:16 + git semver [Pipeline] } 00:32:16 $ docker stop --time=1 0b79b8b24d6e0c8827eafa74a87807d3b10d7b5ba10f46934845bd777d6f029d 00:32:17 $ docker rm -f 0b79b8b24d6e0c8827eafa74a87807d3b10d7b5ba10f46934845bd777d6f029d [Pipeline] // withDockerContainer [Pipeline] sh 00:32:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:32:18 Stashed 1 file(s) [Pipeline] echo 00:32:18 [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 00:32:19 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:32:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:32:20 + sudo service docker restart 00:32:20 + true 00:32:20 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:32:21 ========================================================= 00:32:21 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:32:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:32:21 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:32:25 Sending build context to Docker daemon 329.4MB 00:32:25 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:32:25 Step 2/6 : FROM ${BASE} 00:32:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:32:25 188c0c94c7c5: Pulling fs layer 00:32:25 0ef7d3d256c8: Pulling fs layer 00:32:25 de9db76c5a1d: Pulling fs layer 00:32:25 bca2f99d35d6: Pulling fs layer 00:32:25 93359f2a8cfa: Pulling fs layer 00:32:25 7c6f9722023f: Pulling fs layer 00:32:25 a35cf1a2eb13: Pulling fs layer 00:32:25 bca2f99d35d6: Waiting 00:32:25 93359f2a8cfa: Waiting 00:32:25 7c6f9722023f: Waiting 00:32:25 a35cf1a2eb13: Waiting 00:32:25 de9db76c5a1d: Verifying Checksum 00:32:25 de9db76c5a1d: Download complete 00:32:25 0ef7d3d256c8: Verifying Checksum 00:32:25 0ef7d3d256c8: Download complete 00:32:25 93359f2a8cfa: Download complete 00:32:25 7c6f9722023f: Verifying Checksum 00:32:25 7c6f9722023f: Download complete 00:32:25 188c0c94c7c5: Verifying Checksum 00:32:25 188c0c94c7c5: Download complete 00:32:25 188c0c94c7c5: Pull complete 00:32:26 0ef7d3d256c8: Pull complete 00:32:26 de9db76c5a1d: Pull complete 00:32:27 a35cf1a2eb13: Verifying Checksum 00:32:27 a35cf1a2eb13: Download complete 00:32:27 bca2f99d35d6: Verifying Checksum 00:32:27 bca2f99d35d6: Download complete 00:32:34 Still waiting to schedule task 00:32:34 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:32:34 bca2f99d35d6: Pull complete 00:32:34 93359f2a8cfa: Pull complete 00:32:34 7c6f9722023f: Pull complete 00:32:39 a35cf1a2eb13: Pull complete 00:32:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:32:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:32:39 ---> a62c8e92a672 00:32:39 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 00:32:39 ---> Running in 218d244cd530 00:32:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:32:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:32:42 (1/12) Installing libmagic (5.38-r0) 00:32:42 (2/12) Installing file (5.38-r0) 00:32:42 (3/12) Installing libc-dev (0.7.2-r3) 00:32:42 (4/12) Installing g++ (9.3.0-r2) 00:32:46 (5/12) Installing fortify-headers (1.1-r0) 00:32:46 (6/12) Installing patch (2.7.6-r6) 00:32:46 (7/12) Installing build-base (0.5-r2) 00:32:46 (8/12) Installing libsodium (1.0.18-r0) 00:32:47 (9/12) Installing pkgconf (1.7.2-r0) 00:32:47 (10/12) Installing libsodium-dev (1.0.18-r0) 00:32:47 (11/12) Installing libzmq (4.3.3-r0) 00:32:47 (12/12) Installing zeromq-dev (4.3.3-r0) 00:32:47 Executing busybox-1.31.1-r19.trigger 00:32:47 OK: 233 MiB in 51 packages 00:32:51 Removing intermediate container 218d244cd530 00:32:51 ---> 5be69a3b98bf 00:32:51 Step 4/6 : WORKDIR /edgex-go 00:32:51 ---> Running in bbe9b5cf0d2e 00:32:51 Removing intermediate container bbe9b5cf0d2e 00:32:51 ---> 74a15daf139d 00:32:51 Step 5/6 : COPY go.mod . 00:32:51 ---> 1ea334f765b2 00:32:51 Step 6/6 : RUN go mod download 00:32:51 ---> Running in 73b5f9069cbf 00:33:13 Removing intermediate container 73b5f9069cbf 00:33:13 ---> 85faa880bf7f 00:33:13 Successfully built 85faa880bf7f 00:33:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:33:13 + docker inspect -f . ci-base-image-x86_64 00:33:13 . [Pipeline] withDockerContainer 00:33:14 prd-centos7-docker-4c-2g-32537 does not seem to be running inside a container 00:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/21 -v /w/workspace/edgex-go/21:/w/workspace/edgex-go/21:rw,z -v /w/workspace/edgex-go/21@tmp:/w/workspace/edgex-go/21@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 ******** ci-base-image-x86_64 cat 00:33:15 $ docker top 13bd870835e7f6f50c4f7e023cd7a674ad9f8fcacfd7326a864559001b72e542 -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:15 + go version 00:33:15 go version go1.15.5 linux/amd64 [Pipeline] } 00:33:15 $ docker stop --time=1 13bd870835e7f6f50c4f7e023cd7a674ad9f8fcacfd7326a864559001b72e542 00:33:17 $ docker rm -f 13bd870835e7f6f50c4f7e023cd7a674ad9f8fcacfd7326a864559001b72e542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:33:18 + docker inspect -f . ci-base-image-x86_64 00:33:18 . [Pipeline] withDockerContainer 00:33:18 prd-centos7-docker-4c-2g-32537 does not seem to be running inside a container 00:33:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/21 -v /w/workspace/edgex-go/21:/w/workspace/edgex-go/21:rw,z -v /w/workspace/edgex-go/21@tmp:/w/workspace/edgex-go/21@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 ******** ci-base-image-x86_64 cat 00:33:19 $ docker top b5971f9cb2417a91314ac299c37eba5b99af0b176370a3fc2db3e07077d904b4 -eo pid,comm [Pipeline] { [Pipeline] echo 00:33:19 ========================================================= 00:33:19 [edgeXBuildGoParallel] Running Tests and Build... 00:33:19 ========================================================= [Pipeline] sh 00:33:19 + make test 00:33:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:33:29 ? github.com/edgexfoundry/edgex-go [no test files] 00:33:45 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:33:53 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:33:53 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:33:53 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:33:56 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:33:56 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:33:56 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:33:56 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:33:56 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:33:57 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:34:00 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:34:00 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:34:00 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:34:02 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.135s coverage: 45.9% of statements 00:34:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:34:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:34:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:34:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:34:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:34:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 00:34:02 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.072s coverage: 19.8% of statements 00:34:02 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.091s coverage: 100.0% of statements 00:34:06 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.167s coverage: 27.1% of statements 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:34:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.052s coverage: 100.0% of statements 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:34:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.113s coverage: 100.0% of statements 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:34:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.087s coverage: 71.3% of statements 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:34:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.189s coverage: 82.9% of statements 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:34:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.070s coverage: 78.9% of statements 00:34:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:34:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.366s coverage: 28.6% of statements 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:34:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.095s coverage: 100.0% of statements 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:34:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.111s coverage: 100.0% of statements 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:34:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.138s coverage: 86.7% of statements 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:34:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.143s coverage: 97.5% of statements 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:34:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.089s coverage: 78.3% of statements 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:34:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.415s coverage: 92.8% of statements 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.056s coverage: 58.8% of statements 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.064s coverage: 1.0% of statements 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:34:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.067s coverage: 47.1% of statements 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.109s coverage: 79.5% of statements 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.056s coverage: 94.1% of statements 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.098s coverage: 96.3% of statements 00:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.049s coverage: 87.5% of statements 00:34:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.070s coverage: 94.4% of statements 00:34:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.059s coverage: 44.8% of statements 00:34:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.224s coverage: 81.5% of statements 00:34:27 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:34:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/tokencleaner 0.050s coverage: 87.1% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.106s coverage: 92.9% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.043s coverage: 87.2% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:34:39 flag provided but not defined: -badarg 00:34:39 Usage of adduser: 00:34:39 -algorithm string 00:34:39 Algorithm used for signing the JWT, RS256 or ES256 00:34:39 -client_id string 00:34:39 Optional manually-specified OAuth2 client_id. 00:34:39 -client_secret string 00:34:39 Optional manually-specified OAuth2 client_secret. 00:34:39 -confdir string 00:34:39 00:34:39 -group string 00:34:39 Group to which the user belongs, defaults to 'admin' (default "admin") 00:34:39 -id string 00:34:39 ID to use for linkage with JWT claim (usually the 'iss' field) 00:34:39 -public_key string 00:34:39 Public key (in PEM format) used to validate the JWT. 00:34:39 -redirect_uris string 00:34:39 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 00:34:39 -token-type string 00:34:39 Type of token to create: jwt or oauth2 00:34:39 -user string 00:34:39 Username of the user to add 00:34:39 --- FAIL: TestAddUserJWT (0.00s) 00:34:39 command_test.go:96: 00:34:39 Error Trace: command_test.go:96 00:34:39 Error: Received unexpected error: 00:34:39 Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 Test: TestAddUserJWT 00:34:39 --- FAIL: TestAddUserOAuth2 (0.00s) 00:34:39 command_test.go:144: 00:34:39 Error Trace: command_test.go:144 00:34:39 Error: Received unexpected error: 00:34:39 Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 Test: TestAddUserOAuth2 00:34:39 FAIL 00:34:39 coverage: 34.0% of statements 00:34:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.046s 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:34:39 flag provided but not defined: -badarg 00:34:39 Usage of deluser: 00:34:39 -confdir string 00:34:39 00:34:39 -user string 00:34:39 Username of the user to delete 00:34:39 --- FAIL: TestDelUser (0.00s) 00:34:39 command_test.go:73: 00:34:39 Error Trace: command_test.go:73 00:34:39 command_test.go:79 00:34:39 Error: Received unexpected error: 00:34:39 Failed to send delete consumer request someuser: Delete "http://127.0.0.1:0/admin/consumers/someuser": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 Test: TestDelUser 00:34:39 FAIL 00:34:39 coverage: 69.2% of statements 00:34:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.042s 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.099s coverage: 87.2% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 84.6% of statements 00:34:39 flag provided but not defined: -badarg 00:34:39 Usage of tls: 00:34:39 -confdir string 00:34:39 00:34:39 -incert string 00:34:39 Path to PEM-encoded leaf certificate 00:34:39 -inkey string 00:34:39 Path to PEM-encoded private key 00:34:39 -snis string 00:34:39 [Optional] comma-separated extra server name indications list to associate with this certificate 00:34:39 --- FAIL: TestTLSAddNewCertificate (0.01s) 00:34:39 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.00s) 00:34:39 command_test.go:125: 00:34:39 Error Trace: command_test.go:125 00:34:39 Error: Received unexpected error: 00:34:39 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty 00:34:39 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) 00:34:39 command_test.go:125: 00:34:39 Error Trace: command_test.go:125 00:34:39 Error: Received unexpected error: 00:34:39 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server 00:34:39 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) 00:34:39 command_test.go:125: 00:34:39 Error Trace: command_test.go:125 00:34:39 Error: Received unexpected error: 00:34:39 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server 00:34:39 --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) 00:34:39 command_test.go:125: 00:34:39 Error Trace: command_test.go:125 00:34:39 Error: Received unexpected error: 00:34:39 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty 00:34:39 FAIL 00:34:39 coverage: 44.3% of statements 00:34:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.065s 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.205s coverage: 64.4% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.055s coverage: 100.0% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.046s coverage: 91.3% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.038s coverage: 100.0% of statements 00:34:39 --- FAIL: TestDelete (0.01s) 00:34:39 --- FAIL: TestDelete/DeleteOK (0.00s) 00:34:39 resource_test.go:75: failed to delete 1 at services with error Delete "http://127.0.0.1:0/admin/services/1": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 --- FAIL: TestPostCertExists (0.06s) 00:34:39 service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert 00:34:39 --- FAIL: TestInit (0.01s) 00:34:39 --- FAIL: TestInit/empty_env (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/empty_env 00:34:39 --- FAIL: TestInit/add_one_unique_route (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_one_unique_route 00:34:39 --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_one_unique_route_with_URL_containing_IP_address 00:34:39 --- FAIL: TestInit/add_two_unique_routes (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_two_unique_routes 00:34:39 --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname 00:34:39 --- FAIL: TestInit/add_one_duplicate_route (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_one_duplicate_route 00:34:39 --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_one_unique,_one_duplicate_route 00:34:39 --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_one_unique,_multiple_duplicate_routes 00:34:39 --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/add_two_unique,_multiple_duplicate_routes 00:34:39 --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route 00:34:39 --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/bad_URL_without_full_quallified_URL 00:34:39 --- FAIL: TestInit/empty_service_name (0.00s) 00:34:39 service_test.go:220: 00:34:39 Error Trace: service_test.go:220 00:34:39 Error: Received unexpected error: 00:34:39 failed to read config template: open : no such file or directory 00:34:39 Test: TestInit/empty_service_name 00:34:39 --- FAIL: TestInitKongService (0.01s) 00:34:39 --- FAIL: TestInitKongService/serviceOK (0.00s) 00:34:39 service_test.go:340: failed to set up proxy service: test Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 --- FAIL: TestInitKongService/service409 (0.00s) 00:34:39 service_test.go:340: failed to set up proxy service: conflict Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 --- FAIL: TestInitKongRoutes (0.00s) 00:34:39 --- FAIL: TestInitKongRoutes/routeOK (0.00s) 00:34:39 service_test.go:396: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 --- FAIL: TestResetProxy (0.00s) 00:34:39 --- FAIL: TestResetProxy/resetOK (0.00s) 00:34:39 service_test.go:456: failed to get list of routes with error Get "http://127.0.0.1:0/admin/routes": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 --- FAIL: TestGetSvcIDs (0.00s) 00:34:39 --- FAIL: TestGetSvcIDs/GetOK (0.00s) 00:34:39 service_test.go:523: failed to get list of testservice with error Get "http://127.0.0.1:0/admin/testservice": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 --- FAIL: TestInitJWTAuth (0.00s) 00:34:39 --- FAIL: TestInitJWTAuth/jwtOK (0.00s) 00:34:39 service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused 00:34:39 FAIL 00:34:39 coverage: 28.7% of statements 00:34:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.155s 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.138s coverage: 41.5% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.052s coverage: 89.5% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.036s coverage: 84.8% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.186s coverage: 47.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.064s coverage: 100.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.181s coverage: 87.1% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.753s coverage: 29.1% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.088s coverage: 99.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.065s coverage: 100.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.123s coverage: 95.6% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/system 0.033s coverage: 0.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.027s coverage: 100.0% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.037s coverage: 87.9% of statements 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:34:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.033s coverage: 100.0% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.055s coverage: 32.1% of statements 00:34:39 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 00:34:39 FAIL 00:34:39 make: *** [Makefile:94: test] Error 1 [Pipeline] } 00:34:39 $ docker stop --time=1 b5971f9cb2417a91314ac299c37eba5b99af0b176370a3fc2db3e07077d904b4 00:34:41 $ docker rm -f b5971f9cb2417a91314ac299c37eba5b99af0b176370a3fc2db3e07077d904b4 [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] } 00:34:42 Failed in branch amd64 00:35:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32542 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 00:35:43 Running in /w/workspace/edgex-go/21 [Pipeline] { [Pipeline] checkout 00:35:48 using credential edgex-jenkins-ssh 00:35:48 Cloning the remote Git repository 00:35:48 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:35:48 > git init /w/workspace/edgex-go/21 # timeout=10 00:35:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:35:48 > git --version # timeout=10 00:35:48 > git --version # 'git version 2.17.1' 00:35:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:36:04 Merging remotes/origin/master commit 9479b0bd6fd5f506950cc10d210a264fbf845fb3 into PR head commit c3e4b4b02eb8fed364144b1f70f879119ac45d91 00:36:05 Merge succeeded, producing 4b07df2bc23fa80ed5255dd6c96de0aa5335e325 00:36:05 Checking out Revision 4b07df2bc23fa80ed5255dd6c96de0aa5335e325 (PR-3328) 00:36:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:36:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:36:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:36:03 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:36:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:36:03 > 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 00:36:04 > git config core.sparsecheckout # timeout=10 00:36:04 > git checkout -f c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 00:36:05 > git remote # timeout=10 00:36:05 > git config --get remote.origin.url # timeout=10 00:36:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:36:05 > git merge 9479b0bd6fd5f506950cc10d210a264fbf845fb3 # timeout=10 00:36:05 > git rev-parse HEAD^{commit} # timeout=10 00:36:05 > git config core.sparsecheckout # timeout=10 00:36:05 > git checkout -f 4b07df2bc23fa80ed5255dd6c96de0aa5335e325 # timeout=10 00:36:09 Commit message: "Merge commit '9479b0bd6fd5f506950cc10d210a264fbf845fb3' into HEAD" 00:36:09 > git rev-list --no-walk c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:36:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:36:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:36:12 + sudo service docker restart 00:36:12 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:36:14 provisioning config files... 00:36:14 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/21@tmp/config2296107165975738914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:14 ---> docker-login.sh 00:36:14 nexus3.edgexfoundry.org:10001 00:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:15 Configure a credential helper to remove this warning. See 00:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:15 00:36:15 Login Succeeded 00:36:15 nexus3.edgexfoundry.org:10002 00:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:16 Configure a credential helper to remove this warning. See 00:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:16 00:36:16 Login Succeeded 00:36:16 nexus3.edgexfoundry.org:10003 00:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:17 Configure a credential helper to remove this warning. See 00:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:17 00:36:17 Login Succeeded 00:36:17 nexus3.edgexfoundry.org:10004 00:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:17 Configure a credential helper to remove this warning. See 00:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:17 00:36:17 Login Succeeded 00:36:17 docker.io 00:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:18 Configure a credential helper to remove this warning. See 00:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:18 00:36:18 Login Succeeded 00:36:18 ---> docker-login.sh ends [Pipeline] } 00:36:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:36:18 ========================================================= 00:36:18 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:36:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:36:19 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:36:21 Sending build context to Docker daemon 167.4MB 00:36:21 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:36:21 Step 2/6 : FROM ${BASE} 00:36:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:36:21 5f621e34cdf4: Pulling fs layer 00:36:21 a4357932f1b6: Pulling fs layer 00:36:21 18c013af1878: Pulling fs layer 00:36:21 00ac8860ef70: Pulling fs layer 00:36:21 63d7cb157983: Pulling fs layer 00:36:21 b116817d02f9: Pulling fs layer 00:36:21 745a02a5169b: Pulling fs layer 00:36:21 00ac8860ef70: Waiting 00:36:21 63d7cb157983: Waiting 00:36:21 b116817d02f9: Waiting 00:36:21 745a02a5169b: Waiting 00:36:21 18c013af1878: Verifying Checksum 00:36:21 18c013af1878: Download complete 00:36:21 a4357932f1b6: Verifying Checksum 00:36:21 a4357932f1b6: Download complete 00:36:21 63d7cb157983: Download complete 00:36:22 b116817d02f9: Verifying Checksum 00:36:22 b116817d02f9: Download complete 00:36:22 5f621e34cdf4: Download complete 00:36:22 5f621e34cdf4: Pull complete 00:36:23 a4357932f1b6: Pull complete 00:36:23 18c013af1878: Pull complete 00:36:24 745a02a5169b: Verifying Checksum 00:36:24 745a02a5169b: Download complete 00:36:25 00ac8860ef70: Verifying Checksum 00:36:25 00ac8860ef70: Download complete 00:36:36 00ac8860ef70: Pull complete 00:36:36 63d7cb157983: Pull complete 00:36:36 b116817d02f9: Pull complete 00:36:40 745a02a5169b: Pull complete 00:36:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:36:40 ---> b7e6874047d6 00:36:40 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 00:36:43 ---> Running in 32fbb10cd76a 00:36:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:36:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:36:46 (1/12) Installing libmagic (5.38-r0) 00:36:46 (2/12) Installing file (5.38-r0) 00:36:46 (3/12) Installing libc-dev (0.7.2-r3) 00:36:46 (4/12) Installing g++ (9.3.0-r2) 00:36:50 (5/12) Installing fortify-headers (1.1-r0) 00:36:50 (6/12) Installing patch (2.7.6-r6) 00:36:50 (7/12) Installing build-base (0.5-r2) 00:36:50 (8/12) Installing libsodium (1.0.18-r0) 00:36:51 (9/12) Installing pkgconf (1.7.2-r0) 00:36:51 (10/12) Installing libsodium-dev (1.0.18-r0) 00:36:51 (11/12) Installing libzmq (4.3.3-r0) 00:36:51 (12/12) Installing zeromq-dev (4.3.3-r0) 00:36:51 Executing busybox-1.31.1-r19.trigger 00:36:51 OK: 217 MiB in 51 packages 00:36:55 Removing intermediate container 32fbb10cd76a 00:36:55 ---> bdbdee2e3061 00:36:55 Step 4/6 : WORKDIR /edgex-go 00:36:55 ---> Running in 4e0992cc4b83 00:36:55 Removing intermediate container 4e0992cc4b83 00:36:55 ---> 2d2e519be12b 00:36:55 Step 5/6 : COPY go.mod . 00:36:56 ---> ab405f5e7652 00:36:56 Step 6/6 : RUN go mod download 00:36:56 ---> Running in 51560c01eb4d 00:37:23 Removing intermediate container 51560c01eb4d 00:37:23 ---> b55b7d09862a 00:37:23 Successfully built b55b7d09862a 00:37:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:37:23 + docker inspect -f . ci-base-image-arm64 00:37:23 . [Pipeline] withDockerContainer 00:37:24 prd-ubuntu18.04-docker-arm64-4c-16g-32542 does not seem to be running inside a container 00:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/21 -v /w/workspace/edgex-go/21:/w/workspace/edgex-go/21:rw,z -v /w/workspace/edgex-go/21@tmp:/w/workspace/edgex-go/21@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 ******** ci-base-image-arm64 cat 00:37:25 $ docker top 4ddeb0611a6a0b10e2a18326932ae88456b6fad0591717ddb1b66a74067020e0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:26 + go version 00:37:26 go version go1.15.5 linux/arm64 [Pipeline] } 00:37:26 $ docker stop --time=1 4ddeb0611a6a0b10e2a18326932ae88456b6fad0591717ddb1b66a74067020e0 00:37:28 $ docker rm -f 4ddeb0611a6a0b10e2a18326932ae88456b6fad0591717ddb1b66a74067020e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:37:29 + docker inspect -f . ci-base-image-arm64 00:37:29 . [Pipeline] withDockerContainer 00:37:30 prd-ubuntu18.04-docker-arm64-4c-16g-32542 does not seem to be running inside a container 00:37:30 $ 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/21 -v /w/workspace/edgex-go/21:/w/workspace/edgex-go/21:rw,z -v /w/workspace/edgex-go/21@tmp:/w/workspace/edgex-go/21@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 ******** ci-base-image-arm64 cat 00:37:31 $ docker top f22a1154d5770743f3d271b633f3d0f2f97ce4cf1f29e5ae26443838ecd837ac -eo pid,comm [Pipeline] { [Pipeline] echo 00:37:31 ========================================================= 00:37:31 [edgeXBuildGoParallel] Running Tests and Build... 00:37:31 ========================================================= [Pipeline] sh 00:37:32 + make test 00:37:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:37:54 ? github.com/edgexfoundry/edgex-go [no test files] 00:38:41 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:38:50 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:38:58 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:38:58 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:38:59 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:38:59 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:38:59 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:38:59 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:39:03 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:39:03 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:39:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:39:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:39:11 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:39:17 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.302s coverage: 45.9% of statements 00:39:17 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:39:17 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:39:17 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:39:17 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:39:17 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:39:17 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 00:39:17 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.144s coverage: 19.8% of statements 00:39:17 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.208s coverage: 100.0% of statements 00:39:25 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.639s coverage: 27.1% of statements 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:39:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.157s coverage: 100.0% of statements 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:39:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.149s coverage: 100.0% of statements 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:39:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.248s coverage: 71.3% of statements 00:39:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:39:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:39:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.495s coverage: 82.9% of statements 00:39:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:39:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:39:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.222s coverage: 78.9% of statements 00:39:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.144s coverage: 28.6% of statements 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.365s coverage: 100.0% of statements 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.154s coverage: 100.0% of statements 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.443s coverage: 86.7% of statements 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.397s coverage: 97.5% of statements 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.188s coverage: 78.3% of statements 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.204s coverage: 92.8% of statements 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.138s coverage: 58.8% of statements 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.227s coverage: 1.0% of statements 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:39:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.170s coverage: 47.1% of statements 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.216s coverage: 79.5% of statements 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.149s coverage: 94.1% of statements 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.181s coverage: 96.3% of statements 00:39:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.148s coverage: 87.5% of statements 00:39:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.142s coverage: 94.4% of statements 00:39:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.238s coverage: 44.8% of statements 00:40:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.546s coverage: 81.5% of statements 00:40:06 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:40:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/tokencleaner 0.104s coverage: 87.1% of statements 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.175s coverage: 92.9% of statements 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.072s coverage: 87.2% of statements 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.108s coverage: 100.0% of statements 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:40:18 flag provided but not defined: -badarg 00:40:18 Usage of adduser: 00:40:18 -algorithm string 00:40:18 Algorithm used for signing the JWT, RS256 or ES256 00:40:18 -client_id string 00:40:18 Optional manually-specified OAuth2 client_id. 00:40:18 -client_secret string 00:40:18 Optional manually-specified OAuth2 client_secret. 00:40:18 -confdir string 00:40:18 00:40:18 -group string 00:40:18 Group to which the user belongs, defaults to 'admin' (default "admin") 00:40:18 -id string 00:40:18 ID to use for linkage with JWT claim (usually the 'iss' field) 00:40:18 -public_key string 00:40:18 Public key (in PEM format) used to validate the JWT. 00:40:18 -redirect_uris string 00:40:18 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 00:40:18 -token-type string 00:40:18 Type of token to create: jwt or oauth2 00:40:18 -user string 00:40:18 Username of the user to add 00:40:18 --- FAIL: TestAddUserJWT (0.01s) 00:40:18 command_test.go:96: 00:40:18 Error Trace: command_test.go:96 00:40:18 Error: Received unexpected error: 00:40:18 Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused 00:40:18 Test: TestAddUserJWT 00:40:18 --- FAIL: TestAddUserOAuth2 (0.00s) 00:40:18 command_test.go:144: 00:40:18 Error Trace: command_test.go:144 00:40:18 Error: Received unexpected error: 00:40:18 Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused 00:40:18 Test: TestAddUserOAuth2 00:40:18 FAIL 00:40:18 coverage: 34.0% of statements 00:40:18 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.116s 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:40:18 flag provided but not defined: -badarg 00:40:18 Usage of deluser: 00:40:18 -confdir string 00:40:18 00:40:18 -user string 00:40:18 Username of the user to delete 00:40:18 --- FAIL: TestDelUser (0.01s) 00:40:18 command_test.go:73: 00:40:18 Error Trace: command_test.go:73 00:40:18 command_test.go:79 00:40:18 Error: Received unexpected error: 00:40:18 Failed to send delete consumer request someuser: Delete "http://127.0.0.1:0/admin/consumers/someuser": dial tcp 127.0.0.1:0: connect: connection refused 00:40:18 Test: TestDelUser 00:40:18 FAIL 00:40:18 coverage: 69.2% of statements 00:40:18 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.119s 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.192s coverage: 87.2% of statements 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.202s coverage: 84.6% of statements 00:40:18 flag provided but not defined: -badarg 00:40:18 Usage of tls: 00:40:18 -confdir string 00:40:18 00:40:18 -incert string 00:40:18 Path to PEM-encoded leaf certificate 00:40:18 -inkey string 00:40:18 Path to PEM-encoded private key 00:40:18 -snis string 00:40:18 [Optional] comma-separated extra server name indications list to associate with this certificate 00:40:18 --- FAIL: TestTLSAddNewCertificate (0.03s) 00:40:18 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.01s) 00:40:18 command_test.go:125: 00:40:18 Error Trace: command_test.go:125 00:40:18 Error: Received unexpected error: 00:40:18 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:40:18 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty 00:40:18 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) 00:40:18 command_test.go:125: 00:40:18 Error Trace: command_test.go:125 00:40:18 Error: Received unexpected error: 00:40:18 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:40:18 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server 00:40:18 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) 00:40:18 command_test.go:125: 00:40:18 Error Trace: command_test.go:125 00:40:18 Error: Received unexpected error: 00:40:18 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:40:18 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server 00:40:18 --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) 00:40:18 command_test.go:125: 00:40:18 Error Trace: command_test.go:125 00:40:18 Error: Received unexpected error: 00:40:18 Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused 00:40:18 Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty 00:40:18 FAIL 00:40:18 coverage: 44.3% of statements 00:40:18 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.156s 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.576s coverage: 64.4% of statements 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:40:18 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.128s coverage: 100.0% of statements 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.074s coverage: 91.3% of statements 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.060s coverage: 73.7% of statements 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.046s coverage: 100.0% of statements 00:40:19 --- FAIL: TestDelete (0.01s) 00:40:19 --- FAIL: TestDelete/DeleteOK (0.00s) 00:40:19 resource_test.go:75: failed to delete 1 at services with error Delete "http://127.0.0.1:0/admin/services/1": dial tcp 127.0.0.1:0: connect: connection refused 00:40:19 --- FAIL: TestPostCertExists (0.02s) 00:40:19 service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert 00:40:19 --- FAIL: TestInit (0.04s) 00:40:19 --- FAIL: TestInit/empty_env (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/empty_env 00:40:19 --- FAIL: TestInit/add_one_unique_route (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_one_unique_route 00:40:19 --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_one_unique_route_with_URL_containing_IP_address 00:40:19 --- FAIL: TestInit/add_two_unique_routes (0.01s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_two_unique_routes 00:40:19 --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname 00:40:19 --- FAIL: TestInit/add_one_duplicate_route (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_one_duplicate_route 00:40:19 --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_one_unique,_one_duplicate_route 00:40:19 --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_one_unique,_multiple_duplicate_routes 00:40:19 --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/add_two_unique,_multiple_duplicate_routes 00:40:19 --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route 00:40:19 --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/bad_URL_without_full_quallified_URL 00:40:19 --- FAIL: TestInit/empty_service_name (0.00s) 00:40:19 service_test.go:220: 00:40:19 Error Trace: service_test.go:220 00:40:19 Error: Received unexpected error: 00:40:19 failed to read config template: open : no such file or directory 00:40:19 Test: TestInit/empty_service_name 00:40:19 --- FAIL: TestInitKongService (0.01s) 00:40:19 --- FAIL: TestInitKongService/serviceOK (0.00s) 00:40:19 service_test.go:340: failed to set up proxy service: test Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused 00:40:19 --- FAIL: TestInitKongService/service409 (0.00s) 00:40:19 service_test.go:340: failed to set up proxy service: conflict Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused 00:40:19 --- FAIL: TestInitKongRoutes (0.01s) 00:40:19 --- FAIL: TestInitKongRoutes/routeOK (0.00s) 00:40:19 service_test.go:396: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused 00:40:19 --- FAIL: TestResetProxy (0.00s) 00:40:19 --- FAIL: TestResetProxy/resetOK (0.00s) 00:40:19 service_test.go:456: failed to get list of routes with error Get "http://127.0.0.1:0/admin/routes": dial tcp 127.0.0.1:0: connect: connection refused 00:40:19 --- FAIL: TestGetSvcIDs (0.02s) 00:40:19 --- FAIL: TestGetSvcIDs/GetOK (0.00s) 00:40:19 service_test.go:523: failed to get list of testservice with error Get "http://127.0.0.1:0/admin/testservice": dial tcp 127.0.0.1:0: connect: connection refused 00:40:19 --- FAIL: TestInitJWTAuth (0.00s) 00:40:19 --- FAIL: TestInitJWTAuth/jwtOK (0.00s) 00:40:19 service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused 00:40:19 FAIL 00:40:19 coverage: 28.7% of statements 00:40:19 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.269s 00:40:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:40:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:40:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:40:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.544s coverage: 41.5% of statements 00:40:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:40:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:40:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.113s coverage: 89.5% of statements 00:40:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:40:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.078s coverage: 84.8% of statements 00:40:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.522s coverage: 47.0% of statements 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:40:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.112s coverage: 100.0% of statements 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:40:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.094s coverage: 100.0% of statements 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 00:40:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.397s coverage: 87.1% of statements 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 00:40:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.137s coverage: 29.1% of statements 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.184s coverage: 99.0% of statements 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.148s coverage: 100.0% of statements 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.382s coverage: 95.6% of statements 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/system 0.050s coverage: 0.0% of statements 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.063s coverage: 100.0% of statements 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.102s coverage: 87.9% of statements 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:40:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:40:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.066s coverage: 100.0% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.120s coverage: 32.1% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements 00:40:38 FAIL 00:40:39 make: *** [Makefile:94: test] Error 1 [Pipeline] } 00:40:39 $ docker stop --time=1 f22a1154d5770743f3d271b633f3d0f2f97ce4cf1f29e5ae26443838ecd837ac 00:40:41 $ docker rm -f f22a1154d5770743f3d271b633f3d0f2f97ce4cf1f29e5ae26443838ecd837ac [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 00:40:43 ---> job-cost.sh 00:40:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UBWz 00:41:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:42:59 lf-activate-venv(): INFO: Adding /tmp/venv-UBWz/bin to PATH 00:42:59 INFO: No Stack... 00:42:59 INFO: Retrieving Pricing Info for: lf-standard-4 00:42:59 INFO: Archiving Costs [Pipeline] sh 00:42:59 + cut -d, -f6 00:42:59 + cat /w/workspace/edgex-go/21/archives/cost.csv [Pipeline] lock 00:42:59 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-21-stack-cost] 00:42:59 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-21-stack-cost] did not exist. Created. 00:42:59 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:00 + echo total: 0.20999999344348907 [Pipeline] stash 00:43:01 Stashed 1 file(s) [Pipeline] } 00:43:01 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-21-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:43:02 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 00:43:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:43:04 ---> package-listing.sh 00:43:04 ++ facter osfamily 00:43:04 ++ tr '[:upper:]' '[:lower:]' 00:43:04 + OS_FAMILY=redhat 00:43:04 + workspace=/w/workspace/edgex-go/21 00:43:04 + START_PACKAGES=/tmp/packages_start.txt 00:43:04 + END_PACKAGES=/tmp/packages_end.txt 00:43:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:43:04 + PACKAGES=/tmp/packages_start.txt 00:43:04 + '[' /w/workspace/edgex-go/21 ']' 00:43:04 + PACKAGES=/tmp/packages_end.txt 00:43:04 + case "${OS_FAMILY}" in 00:43:04 + rpm -qa 00:43:04 + sort 00:43:10 + '[' -f /tmp/packages_start.txt ']' 00:43:10 + '[' -f /tmp/packages_end.txt ']' 00:43:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:43:10 + '[' /w/workspace/edgex-go/21 ']' 00:43:10 + mkdir -p /w/workspace/edgex-go/21/archives/ 00:43:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/21/archives/ [Pipeline] echo 00:43:10 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/21/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:43:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:43:11 00:43:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:43:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:43:11 alpine: Pulling from edgex-lftools-log-publisher 00:43:11 df20fa9351a1: Pulling fs layer 00:43:11 36b3adc4ff6f: Pulling fs layer 00:43:11 8ad3a11d3b57: Pulling fs layer 00:43:11 46f8f816bc3b: Pulling fs layer 00:43:11 93b61091891f: Pulling fs layer 00:43:11 93b9cdb0e59b: Pulling fs layer 00:43:11 5e14af77c1be: Pulling fs layer 00:43:11 01666e4c0597: Pulling fs layer 00:43:11 aa168da1d23b: Pulling fs layer 00:43:11 46f8f816bc3b: Waiting 00:43:11 93b61091891f: Waiting 00:43:11 93b9cdb0e59b: Waiting 00:43:11 5e14af77c1be: Waiting 00:43:11 01666e4c0597: Waiting 00:43:11 aa168da1d23b: Waiting 00:43:11 36b3adc4ff6f: Verifying Checksum 00:43:11 36b3adc4ff6f: Download complete 00:43:11 46f8f816bc3b: Verifying Checksum 00:43:11 46f8f816bc3b: Download complete 00:43:11 df20fa9351a1: Verifying Checksum 00:43:11 df20fa9351a1: Download complete 00:43:11 93b9cdb0e59b: Verifying Checksum 00:43:11 93b9cdb0e59b: Download complete 00:43:11 5e14af77c1be: Download complete 00:43:12 01666e4c0597: Verifying Checksum 00:43:12 01666e4c0597: Download complete 00:43:12 8ad3a11d3b57: Verifying Checksum 00:43:12 8ad3a11d3b57: Download complete 00:43:12 df20fa9351a1: Pull complete 00:43:12 36b3adc4ff6f: Pull complete 00:43:12 93b61091891f: Verifying Checksum 00:43:12 93b61091891f: Download complete 00:43:13 8ad3a11d3b57: Pull complete 00:43:13 46f8f816bc3b: Pull complete 00:43:14 aa168da1d23b: Verifying Checksum 00:43:14 aa168da1d23b: Download complete 00:43:14 93b61091891f: Pull complete 00:43:14 93b9cdb0e59b: Pull complete 00:43:15 5e14af77c1be: Pull complete 00:43:15 01666e4c0597: Pull complete 00:43:23 aa168da1d23b: Pull complete 00:43:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:43:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:43:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:43:23 prd-centos7-docker-4c-2g-32537 does not seem to be running inside a container 00:43:23 $ 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/21/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/21 -v /w/workspace/edgex-go/21:/w/workspace/edgex-go/21:rw,z -v /w/workspace/edgex-go/21@tmp:/w/workspace/edgex-go/21@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:10003/edgex-lftools-log-publisher:alpine cat 00:43:26 $ docker top a148c65cd23c4f4925371b8ddb60253d89320a977b3241e35a83327999a2d1c8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:26 + touch /tmp/pre-build-complete [Pipeline] sh 00:43:26 + mkdir -p /var/log/sa [Pipeline] sh 00:43:27 + ls /var/log/sa-host 00:43:27 + sadf -c /var/log/sa-host/sa02 00:43:27 file_magic: OK 00:43:27 HZ: Using current value: 100 00:43:27 file_header: OK 00:43:27 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 00:43:27 Statistics: 00:43:27 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... 00:43:27 File successfully converted to sysstat format version 12.2.1 00:43:27 + sadf -c /var/log/sa-host/sa23 00:43:27 file_magic: OK 00:43:27 HZ: Using current value: 100 00:43:27 file_header: OK 00:43:27 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 00:43:27 Statistics: 00:43:27 Hnuu...uuuununununu... 00:43:27 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:27 provisioning config files... 00:43:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/21@tmp/config7851777735314379117tmp [Pipeline] { [Pipeline] echo 00:43:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:43:27 ---> create-netrc.sh [Pipeline] } 00:43:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:43:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:43:28 ---> python-tools-install.sh [Pipeline] echo 00:43:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:43:28 ---> sudo-logs.sh 00:43:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:43:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:43:29 ---> job-cost.sh 00:43:29 lf-activate-venv: SKIPPING 00:43:29 DEBUG: total: 0.20999999344348907 00:43:29 INFO: Retrieving Stack Cost... 00:43:30 INFO: Retrieving Pricing Info for: v1-standard-2 00:43:30 INFO: Archiving Costs [Pipeline] echo 00:43:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:43:31 ---> logs-deploy.sh 00:43:31 lf-activate-venv: SKIPPING 00:43:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/21 00:43:31 INFO: archiving workspace using pattern(s): 00:43:32 Archives upload complete. 00:43:32 INFO: archiving logs to Nexus