Pull request #3328 updated 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 f2bd0815c0e73667d07e5744b61daa5be38d8f92 rather than 8c3db74080aaec5dd89fcd6ddf9ced13c785cc07 Obtained Jenkinsfile from f2bd0815c0e73667d07e5744b61daa5be38d8f92 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 Running on prd-centos7-docker-4c-2g-32335 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/14 [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/14 # 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 f2bd0815c0e73667d07e5744b61daa5be38d8f92 into PR head commit 8c3db74080aaec5dd89fcd6ddf9ced13c785cc07 Merge succeeded, producing 2513fb4943981c7cb4154ca5cfb403ebd2ee3a92 Checking out Revision 2513fb4943981c7cb4154ca5cfb403ebd2ee3a92 (PR-3328) > 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 8c3db74080aaec5dd89fcd6ddf9ced13c785cc07 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f2bd0815c0e73667d07e5744b61daa5be38d8f92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2513fb4943981c7cb4154ca5cfb403ebd2ee3a92 # timeout=10 Commit message: "Merge commit 'f2bd0815c0e73667d07e5744b61daa5be38d8f92' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 371e2cabbe3ab8dd03b3055751727bfeaebd12d7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:32:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:32:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:32:39 ========================================================= 21:32:39 EdgeX Global Pipelines Version Info 21:32:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:32:41 ------------------- 21:32:41 stable info: 21:32:41 ------------------- 21:32:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:32:41 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 21:32:41 Message: update stable to v1.0.186 21:32:42 ------------------- 21:32:42 experimental info: 21:32:42 ------------------- 21:32:42 Commited By: **** collab-it+edgex@linuxfoundation.org 21:32:42 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 21:32:42 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:32:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2513fb4943981c7cb4154ca5cfb403ebd2ee3a92 [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2513fb4 [Pipeline] echo 21:32:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:32:45 provisioning config files... 21:32:45 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/14@tmp/config1357546581717493306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:45 ---> docker-login.sh 21:32:45 nexus3.edgexfoundry.org:10001 21:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:45 Configure a credential helper to remove this warning. See 21:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:45 21:32:45 Login Succeeded 21:32:45 nexus3.edgexfoundry.org:10002 21:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:45 Configure a credential helper to remove this warning. See 21:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:45 21:32:45 Login Succeeded 21:32:45 nexus3.edgexfoundry.org:10003 21:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:46 Configure a credential helper to remove this warning. See 21:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:46 21:32:46 Login Succeeded 21:32:46 nexus3.edgexfoundry.org:10004 21:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:46 Configure a credential helper to remove this warning. See 21:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:46 21:32:46 Login Succeeded 21:32:46 docker.io 21:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:46 Configure a credential helper to remove this warning. See 21:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:46 21:32:46 Login Succeeded 21:32:46 ---> docker-login.sh ends [Pipeline] } 21:32:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:47 ++ 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 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/core-command/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo core-command,cmd/core-command/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/core-data/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo core-data,cmd/core-data/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/core-metadata/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo core-metadata,cmd/core-metadata/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/security-bootstrapper/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/security-proxy-setup/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/security-secretstore-setup/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/support-notifications/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo support-notifications,cmd/support-notifications/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/support-scheduler/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:32:47 + for file in '`ls cmd/**/Dockerfile`' 21:32:47 ++ dirname cmd/sys-mgmt-agent/Dockerfile 21:32:47 ++ cut -d/ -f2 21:32:47 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:32:47 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 21:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:32:48 21:32:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:32:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:32:49 latest: Pulling from edgex-devops/git-semver 21:32:49 31603596830f: Pulling fs layer 21:32:49 2a8b12db71e7: Pulling fs layer 21:32:49 6ca5941a6612: Pulling fs layer 21:32:49 ecc8261a40a4: Pulling fs layer 21:32:49 ecc8261a40a4: Waiting 21:32:49 2a8b12db71e7: Verifying Checksum 21:32:49 2a8b12db71e7: Download complete 21:32:49 31603596830f: Verifying Checksum 21:32:49 31603596830f: Download complete 21:32:49 ecc8261a40a4: Verifying Checksum 21:32:49 ecc8261a40a4: Download complete 21:32:49 6ca5941a6612: Verifying Checksum 21:32:49 6ca5941a6612: Download complete 21:32:49 31603596830f: Pull complete 21:32:49 2a8b12db71e7: Pull complete 21:32:50 6ca5941a6612: Pull complete 21:32:50 ecc8261a40a4: Pull complete 21:32:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:32:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:32:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:32:50 prd-centos7-docker-4c-2g-32335 does not seem to be running inside a container 21:32:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@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 21:32:53 $ docker top a0580716eb9f4f4de4d108a0d6d93077ff67503c07359c52ac2b94ffd75095f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:53 [ssh-agent] Looking for ssh-agent implementation... 21:32:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:54 $ docker exec a0580716eb9f4f4de4d108a0d6d93077ff67503c07359c52ac2b94ffd75095f1 ssh-agent 21:32:54 SSH_AUTH_SOCK=/tmp/ssh-8DNSWEjKWcKU/agent.13 21:32:54 SSH_AGENT_PID=18 21:32:54 Running ssh-add (command line suppressed) 21:32:54 Identity added: /w/workspace/edgex-go/14@tmp/private_key_7024578034038095360.key (/w/workspace/edgex-go/14@tmp/private_key_7024578034038095360.key) 21:32:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:54 + git tag --points-at HEAD [Pipeline] } 21:32:54 $ docker exec --env ******** --env ******** a0580716eb9f4f4de4d108a0d6d93077ff67503c07359c52ac2b94ffd75095f1 ssh-agent -k 21:32:55 unset SSH_AUTH_SOCK; 21:32:55 unset SSH_AGENT_PID; 21:32:55 echo Agent pid 18 killed; 21:32:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:32:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:55 [ssh-agent] Looking for ssh-agent implementation... 21:32:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:55 $ docker exec a0580716eb9f4f4de4d108a0d6d93077ff67503c07359c52ac2b94ffd75095f1 ssh-agent 21:32:55 SSH_AUTH_SOCK=/tmp/ssh-Kp3uxrn1zhBy/agent.46 21:32:55 SSH_AGENT_PID=52 21:32:55 Running ssh-add (command line suppressed) 21:32:55 Identity added: /w/workspace/edgex-go/14@tmp/private_key_6941424278272294399.key (/w/workspace/edgex-go/14@tmp/private_key_6941424278272294399.key) 21:32:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:56 + git semver init 21:32:56 # -> Open(): unable to determine branch for HEAD 21:32:56 # $GIT_DIR = /w/workspace/edgex-go/14/.git 21:32:56 # $GIT_WORK_TREE = /w/workspace/edgex-go/14 21:32:56 # $SEMVER_REMOTE_NAME = origin 21:32:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:32:56 # $SEMVER_USER_NAME = edgex-jenkins 21:32:56 # $SEMVER_BRANCH = PR-3328 21:32:56 # $SEMVER_TEMP = /tmp/semver-068750942 21:32:56 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 21:33:14 # '/tmp/semver-068750942' -> '/w/workspace/edgex-go/14/.semver' 21:33:14 # -> Force: false 21:33:14 # $SEMVER_DIR = /w/workspace/edgex-go/14/.semver [Pipeline] } 21:33:14 $ docker exec --env ******** --env ******** a0580716eb9f4f4de4d108a0d6d93077ff67503c07359c52ac2b94ffd75095f1 ssh-agent -k 21:33:14 unset SSH_AUTH_SOCK; 21:33:14 unset SSH_AGENT_PID; 21:33:14 echo Agent pid 52 killed; 21:33:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:33:15 + git semver [Pipeline] } 21:33:15 $ docker stop --time=1 a0580716eb9f4f4de4d108a0d6d93077ff67503c07359c52ac2b94ffd75095f1 21:33:16 $ docker rm -f a0580716eb9f4f4de4d108a0d6d93077ff67503c07359c52ac2b94ffd75095f1 [Pipeline] // withDockerContainer [Pipeline] sh 21:33:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:33:17 Stashed 1 file(s) [Pipeline] echo 21:33:17 [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 21:33:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:33:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:33:19 + sudo service docker restart 21:33:19 + true 21:33:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 21:33:19 ========================================================= 21:33:19 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:33:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:33:20 + 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 . 21:33:24 Sending build context to Docker daemon 329.2MB 21:33:24 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 21:33:24 Step 2/6 : FROM ${BASE} 21:33:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:33:24 188c0c94c7c5: Pulling fs layer 21:33:24 0ef7d3d256c8: Pulling fs layer 21:33:24 de9db76c5a1d: Pulling fs layer 21:33:24 bca2f99d35d6: Pulling fs layer 21:33:24 93359f2a8cfa: Pulling fs layer 21:33:24 7c6f9722023f: Pulling fs layer 21:33:24 a35cf1a2eb13: Pulling fs layer 21:33:24 93359f2a8cfa: Waiting 21:33:24 7c6f9722023f: Waiting 21:33:24 bca2f99d35d6: Waiting 21:33:24 a35cf1a2eb13: Waiting 21:33:24 de9db76c5a1d: Verifying Checksum 21:33:24 de9db76c5a1d: Download complete 21:33:24 0ef7d3d256c8: Verifying Checksum 21:33:24 0ef7d3d256c8: Download complete 21:33:24 93359f2a8cfa: Verifying Checksum 21:33:24 93359f2a8cfa: Download complete 21:33:24 7c6f9722023f: Verifying Checksum 21:33:24 7c6f9722023f: Download complete 21:33:24 188c0c94c7c5: Verifying Checksum 21:33:24 188c0c94c7c5: Download complete 21:33:25 188c0c94c7c5: Pull complete 21:33:25 0ef7d3d256c8: Pull complete 21:33:25 de9db76c5a1d: Pull complete 21:33:26 a35cf1a2eb13: Verifying Checksum 21:33:26 a35cf1a2eb13: Download complete 21:33:27 bca2f99d35d6: Verifying Checksum 21:33:27 bca2f99d35d6: Download complete 21:33:32 bca2f99d35d6: Pull complete 21:33:32 93359f2a8cfa: Pull complete 21:33:32 7c6f9722023f: Pull complete 21:33:33 Still waiting to schedule task 21:33:33 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:33:36 a35cf1a2eb13: Pull complete 21:33:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:33:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:33:36 ---> a62c8e92a672 21:33:36 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 21:33:37 ---> Running in 839867ea5031 21:33:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:33:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:33:39 (1/12) Installing libmagic (5.38-r0) 21:33:39 (2/12) Installing file (5.38-r0) 21:33:39 (3/12) Installing libc-dev (0.7.2-r3) 21:33:39 (4/12) Installing g++ (9.3.0-r2) 21:33:43 (5/12) Installing fortify-headers (1.1-r0) 21:33:43 (6/12) Installing patch (2.7.6-r6) 21:33:43 (7/12) Installing build-base (0.5-r2) 21:33:43 (8/12) Installing libsodium (1.0.18-r0) 21:33:43 (9/12) Installing pkgconf (1.7.2-r0) 21:33:43 (10/12) Installing libsodium-dev (1.0.18-r0) 21:33:43 (11/12) Installing libzmq (4.3.3-r0) 21:33:43 (12/12) Installing zeromq-dev (4.3.3-r0) 21:33:43 Executing busybox-1.31.1-r19.trigger 21:33:44 OK: 233 MiB in 51 packages 21:33:48 Removing intermediate container 839867ea5031 21:33:48 ---> 7885717be1a7 21:33:48 Step 4/6 : WORKDIR /edgex-go 21:33:48 ---> Running in ca6fe3a6d3ad 21:33:48 Removing intermediate container ca6fe3a6d3ad 21:33:48 ---> 68230b981788 21:33:48 Step 5/6 : COPY go.mod . 21:33:48 ---> 54d4d4e9e129 21:33:48 Step 6/6 : RUN go mod download 21:33:48 ---> Running in bf45279bedb3 21:34:10 Removing intermediate container bf45279bedb3 21:34:10 ---> 79233a5e0000 21:34:10 Successfully built 79233a5e0000 21:34:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:34:10 + docker inspect -f . ci-base-image-x86_64 21:34:10 . [Pipeline] withDockerContainer 21:34:10 prd-centos7-docker-4c-2g-32335 does not seem to be running inside a container 21:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@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 21:34:11 $ docker top 4d501cd26da4d184e528ed33a2099f48d1dce282392ec55077d8d3eae48adc1c -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:12 + go version 21:34:12 go version go1.15.5 linux/amd64 [Pipeline] } 21:34:12 $ docker stop --time=1 4d501cd26da4d184e528ed33a2099f48d1dce282392ec55077d8d3eae48adc1c 21:34:13 $ docker rm -f 4d501cd26da4d184e528ed33a2099f48d1dce282392ec55077d8d3eae48adc1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:34:14 + docker inspect -f . ci-base-image-x86_64 21:34:14 . [Pipeline] withDockerContainer 21:34:14 prd-centos7-docker-4c-2g-32335 does not seem to be running inside a container 21:34:14 $ 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/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@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 21:34:15 $ docker top 582cf2b24c46bca40349aab8e59fd76551b20db23739e984ee3606dfd23854de -eo pid,comm [Pipeline] { [Pipeline] echo 21:34:15 ========================================================= 21:34:15 [edgeXBuildGoParallel] Running Tests and Build... 21:34:15 ========================================================= [Pipeline] sh 21:34:15 + make test 21:34:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:34:23 ? github.com/edgexfoundry/edgex-go [no test files] 21:34:39 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:34:47 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:34:47 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:34:47 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:34:49 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:34:49 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:34:49 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:34:49 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:34:50 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:34:50 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:34:54 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:34:54 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:34:54 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:34:56 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.134s coverage: 45.9% of statements 21:34:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:34:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:34:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:34:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:34:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:34:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 21:34:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.053s coverage: 19.8% of statements 21:34:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.100s coverage: 100.0% of statements 21:35:00 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.193s coverage: 27.1% of statements 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:35:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.065s coverage: 100.0% of statements 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:35:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.087s coverage: 100.0% of statements 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:35:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.084s coverage: 71.3% of statements 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:35:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.169s coverage: 82.9% of statements 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:35:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.068s coverage: 78.9% of statements 21:35:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:35:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.366s coverage: 28.6% of statements 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:35:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.093s coverage: 100.0% of statements 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:35:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.098s coverage: 100.0% of statements 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:35:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.143s coverage: 86.7% of statements 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:35:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.145s coverage: 97.5% of statements 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:35:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.078s coverage: 78.3% of statements 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:35:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.388s coverage: 92.8% of statements 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.073s coverage: 58.8% of statements 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.062s coverage: 1.0% of statements 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 21:35:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.055s coverage: 47.1% of statements 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.092s coverage: 79.5% of statements 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.068s coverage: 94.1% of statements 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.078s coverage: 96.3% of statements 21:35:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.053s coverage: 87.5% of statements 21:35:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.072s coverage: 94.4% of statements 21:35:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.052s coverage: 44.8% of statements 21:35:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.268s coverage: 82.6% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.086s coverage: 92.9% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.039s coverage: 87.2% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:35:33 flag provided but not defined: -badarg 21:35:33 Usage of adduser: 21:35:33 -algorithm string 21:35:33 Algorithm used for signing the JWT, RS256 or ES256 21:35:33 -client_id string 21:35:33 Optional manually-specified OAuth2 client_id. 21:35:33 -client_secret string 21:35:33 Optional manually-specified OAuth2 client_secret. 21:35:33 -confdir string 21:35:33 21:35:33 -group string 21:35:33 Group to which the user belongs, defaults to 'admin' (default "admin") 21:35:33 -id string 21:35:33 ID to use for linkage with JWT claim (usually the 'iss' field) 21:35:33 -public_key string 21:35:33 Public key (in PEM format) used to validate the JWT. 21:35:33 -redirect_uris string 21:35:33 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 21:35:33 -token-type string 21:35:33 Type of token to create: jwt or oauth2 21:35:33 -user string 21:35:33 Username of the user to add 21:35:33 --- FAIL: TestAddUserJWT (0.00s) 21:35:33 command_test.go:96: 21:35:33 Error Trace: command_test.go:96 21:35:33 Error: Received unexpected error: 21:35:33 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 21:35:33 Test: TestAddUserJWT 21:35:33 --- FAIL: TestAddUserOAuth2 (0.00s) 21:35:33 command_test.go:144: 21:35:33 Error Trace: command_test.go:144 21:35:33 Error: Received unexpected error: 21:35:33 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 21:35:33 Test: TestAddUserOAuth2 21:35:33 FAIL 21:35:33 coverage: 34.0% of statements 21:35:33 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.044s 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:35:33 flag provided but not defined: -badarg 21:35:33 Usage of deluser: 21:35:33 -confdir string 21:35:33 21:35:33 -user string 21:35:33 Username of the user to delete 21:35:33 --- FAIL: TestDelUser (0.00s) 21:35:33 command_test.go:73: 21:35:33 Error Trace: command_test.go:73 21:35:33 command_test.go:79 21:35:33 Error: Received unexpected error: 21:35:33 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 21:35:33 Test: TestDelUser 21:35:33 FAIL 21:35:33 coverage: 69.2% of statements 21:35:33 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.036s 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.100s coverage: 87.2% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.060s coverage: 84.6% of statements 21:35:33 flag provided but not defined: -badarg 21:35:33 Usage of tls: 21:35:33 -confdir string 21:35:33 21:35:33 -incert string 21:35:33 Path to PEM-encoded leaf certificate 21:35:33 -inkey string 21:35:33 Path to PEM-encoded private key 21:35:33 -snis string 21:35:33 [Optional] comma-separated extra server name indications list to associate with this certificate 21:35:33 --- FAIL: TestTLSAddNewCertificate (0.01s) 21:35:33 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.00s) 21:35:33 command_test.go:125: 21:35:33 Error Trace: command_test.go:125 21:35:33 Error: Received unexpected error: 21:35:33 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 21:35:33 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty 21:35:33 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) 21:35:33 command_test.go:125: 21:35:33 Error Trace: command_test.go:125 21:35:33 Error: Received unexpected error: 21:35:33 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 21:35:33 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server 21:35:33 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) 21:35:33 command_test.go:125: 21:35:33 Error Trace: command_test.go:125 21:35:33 Error: Received unexpected error: 21:35:33 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 21:35:33 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server 21:35:33 --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) 21:35:33 command_test.go:125: 21:35:33 Error Trace: command_test.go:125 21:35:33 Error: Received unexpected error: 21:35:33 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 21:35:33 Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty 21:35:33 FAIL 21:35:33 coverage: 44.3% of statements 21:35:33 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.070s 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.216s coverage: 64.4% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.062s coverage: 100.0% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 91.3% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.027s coverage: 100.0% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.038s coverage: 73.7% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements 21:35:33 --- FAIL: TestDelete (0.00s) 21:35:33 --- FAIL: TestDelete/DeleteOK (0.00s) 21:35:33 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 21:35:33 --- FAIL: TestPostCertExists (0.01s) 21:35:33 service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert 21:35:33 --- FAIL: TestInit (0.01s) 21:35:33 --- FAIL: TestInit/empty_env (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/empty_env 21:35:33 --- FAIL: TestInit/add_one_unique_route (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_one_unique_route 21:35:33 --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_one_unique_route_with_URL_containing_IP_address 21:35:33 --- FAIL: TestInit/add_two_unique_routes (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_two_unique_routes 21:35:33 --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname 21:35:33 --- FAIL: TestInit/add_one_duplicate_route (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_one_duplicate_route 21:35:33 --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_one_unique,_one_duplicate_route 21:35:33 --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_one_unique,_multiple_duplicate_routes 21:35:33 --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/add_two_unique,_multiple_duplicate_routes 21:35:33 --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route 21:35:33 --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/bad_URL_without_full_quallified_URL 21:35:33 --- FAIL: TestInit/empty_service_name (0.00s) 21:35:33 service_test.go:220: 21:35:33 Error Trace: service_test.go:220 21:35:33 Error: Received unexpected error: 21:35:33 failed to read config template: open : no such file or directory 21:35:33 Test: TestInit/empty_service_name 21:35:33 --- FAIL: TestInitKongService (0.00s) 21:35:33 --- FAIL: TestInitKongService/serviceOK (0.00s) 21:35:33 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 21:35:33 --- FAIL: TestInitKongService/service409 (0.00s) 21:35:33 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 21:35:33 --- FAIL: TestInitKongRoutes (0.00s) 21:35:33 --- FAIL: TestInitKongRoutes/routeOK (0.00s) 21:35:33 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 21:35:33 --- FAIL: TestResetProxy (0.00s) 21:35:33 --- FAIL: TestResetProxy/resetOK (0.00s) 21:35:33 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 21:35:33 --- FAIL: TestGetSvcIDs (0.00s) 21:35:33 --- FAIL: TestGetSvcIDs/GetOK (0.00s) 21:35:33 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 21:35:33 --- FAIL: TestInitJWTAuth (0.00s) 21:35:33 --- FAIL: TestInitJWTAuth/jwtOK (0.00s) 21:35:33 service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused 21:35:33 FAIL 21:35:33 coverage: 28.7% of statements 21:35:33 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.081s 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.141s coverage: 41.5% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.045s coverage: 89.5% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.033s coverage: 84.8% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.129s coverage: 47.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.054s coverage: 100.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.061s coverage: 100.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.140s coverage: 87.1% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.711s coverage: 29.1% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.066s coverage: 99.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.057s coverage: 100.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.088s coverage: 95.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/system 0.030s coverage: 0.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.035s coverage: 100.0% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.049s coverage: 87.9% of statements 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 21:35:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.027s coverage: 100.0% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.059s coverage: 32.1% of statements 21:35:33 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 21:35:33 FAIL 21:35:33 make: *** [Makefile:94: test] Error 1 [Pipeline] } 21:35:33 $ docker stop --time=1 582cf2b24c46bca40349aab8e59fd76551b20db23739e984ee3606dfd23854de 21:35:35 $ docker rm -f 582cf2b24c46bca40349aab8e59fd76551b20db23739e984ee3606dfd23854de [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] } 21:35:36 Failed in branch amd64 21:35:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32337 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 21:35:54 Running in /w/workspace/edgex-go/14 [Pipeline] { [Pipeline] checkout 21:35:59 using credential edgex-jenkins-ssh 21:35:59 Cloning the remote Git repository 21:35:59 Cloning repository git@github.com:edgexfoundry/edgex-go.git 21:35:59 > git init /w/workspace/edgex-go/14 # timeout=10 21:35:59 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:35:59 > git --version # timeout=10 21:35:59 > git --version # 'git version 2.17.1' 21:35:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:35:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:36:14 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:36:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:36:15 Merging remotes/origin/master commit f2bd0815c0e73667d07e5744b61daa5be38d8f92 into PR head commit 8c3db74080aaec5dd89fcd6ddf9ced13c785cc07 21:36:16 Merge succeeded, producing cdb44d824825d0d17e4964bb2d445e264db6699c 21:36:16 Checking out Revision cdb44d824825d0d17e4964bb2d445e264db6699c (PR-3328) 21:36:14 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:36:14 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:36:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:36:14 > 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 21:36:15 > git config core.sparsecheckout # timeout=10 21:36:15 > git checkout -f 8c3db74080aaec5dd89fcd6ddf9ced13c785cc07 # timeout=10 21:36:16 > git remote # timeout=10 21:36:16 > git config --get remote.origin.url # timeout=10 21:36:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:36:16 > git merge f2bd0815c0e73667d07e5744b61daa5be38d8f92 # timeout=10 21:36:16 > git rev-parse HEAD^{commit} # timeout=10 21:36:16 > git config core.sparsecheckout # timeout=10 21:36:16 > git checkout -f cdb44d824825d0d17e4964bb2d445e264db6699c # timeout=10 21:36:21 Commit message: "Merge commit 'f2bd0815c0e73667d07e5744b61daa5be38d8f92' into HEAD" 21:36:21 First time build. Skipping changelog. 21:36:21 > git rev-list --no-walk 371e2cabbe3ab8dd03b3055751727bfeaebd12d7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:36:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:36:23 + true 21:36:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:36:25 provisioning config files... 21:36:25 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/14@tmp/config8634586496393488558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:25 ---> docker-login.sh 21:36:25 nexus3.edgexfoundry.org:10001 21:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:27 Configure a credential helper to remove this warning. See 21:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:27 21:36:27 Login Succeeded 21:36:27 nexus3.edgexfoundry.org:10002 21:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:27 Configure a credential helper to remove this warning. See 21:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:27 21:36:27 Login Succeeded 21:36:27 nexus3.edgexfoundry.org:10003 21:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:28 Configure a credential helper to remove this warning. See 21:36:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:28 21:36:28 Login Succeeded 21:36:28 nexus3.edgexfoundry.org:10004 21:36:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:28 Configure a credential helper to remove this warning. See 21:36:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:28 21:36:28 Login Succeeded 21:36:28 docker.io 21:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:29 Configure a credential helper to remove this warning. See 21:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:29 21:36:29 Login Succeeded 21:36:29 ---> docker-login.sh ends [Pipeline] } 21:36:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:29 ========================================================= 21:36:29 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:36:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:36:30 + 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 . 21:36:32 Sending build context to Docker daemon 167.2MB 21:36:32 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 21:36:32 Step 2/6 : FROM ${BASE} 21:36:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:36:32 5f621e34cdf4: Pulling fs layer 21:36:32 a4357932f1b6: Pulling fs layer 21:36:32 18c013af1878: Pulling fs layer 21:36:32 00ac8860ef70: Pulling fs layer 21:36:32 63d7cb157983: Pulling fs layer 21:36:32 b116817d02f9: Pulling fs layer 21:36:32 745a02a5169b: Pulling fs layer 21:36:32 00ac8860ef70: Waiting 21:36:32 63d7cb157983: Waiting 21:36:32 745a02a5169b: Waiting 21:36:32 b116817d02f9: Waiting 21:36:32 18c013af1878: Verifying Checksum 21:36:32 18c013af1878: Download complete 21:36:32 a4357932f1b6: Verifying Checksum 21:36:32 a4357932f1b6: Download complete 21:36:32 63d7cb157983: Download complete 21:36:33 b116817d02f9: Download complete 21:36:33 5f621e34cdf4: Verifying Checksum 21:36:33 5f621e34cdf4: Download complete 21:36:33 5f621e34cdf4: Pull complete 21:36:34 a4357932f1b6: Pull complete 21:36:35 18c013af1878: Pull complete 21:36:35 745a02a5169b: Download complete 21:36:37 00ac8860ef70: Verifying Checksum 21:36:37 00ac8860ef70: Download complete 21:36:47 00ac8860ef70: Pull complete 21:36:47 63d7cb157983: Pull complete 21:36:47 b116817d02f9: Pull complete 21:36:51 745a02a5169b: Pull complete 21:36:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:36:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:36:51 ---> b7e6874047d6 21:36:51 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 21:36:55 ---> Running in 342f4a59f14b 21:36:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:36:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:36:57 (1/12) Installing libmagic (5.38-r0) 21:36:57 (2/12) Installing file (5.38-r0) 21:36:57 (3/12) Installing libc-dev (0.7.2-r3) 21:36:57 (4/12) Installing g++ (9.3.0-r2) 21:37:03 (5/12) Installing fortify-headers (1.1-r0) 21:37:03 (6/12) Installing patch (2.7.6-r6) 21:37:03 (7/12) Installing build-base (0.5-r2) 21:37:03 (8/12) Installing libsodium (1.0.18-r0) 21:37:03 (9/12) Installing pkgconf (1.7.2-r0) 21:37:03 (10/12) Installing libsodium-dev (1.0.18-r0) 21:37:03 (11/12) Installing libzmq (4.3.3-r0) 21:37:03 (12/12) Installing zeromq-dev (4.3.3-r0) 21:37:03 Executing busybox-1.31.1-r19.trigger 21:37:03 OK: 217 MiB in 51 packages 21:37:07 Removing intermediate container 342f4a59f14b 21:37:07 ---> 5b19a89438e9 21:37:07 Step 4/6 : WORKDIR /edgex-go 21:37:07 ---> Running in 43a870e691cb 21:37:07 Removing intermediate container 43a870e691cb 21:37:07 ---> acafe2ced820 21:37:07 Step 5/6 : COPY go.mod . 21:37:08 ---> b9e273787398 21:37:08 Step 6/6 : RUN go mod download 21:37:08 ---> Running in 1eaabc0c11f4 21:37:35 Removing intermediate container 1eaabc0c11f4 21:37:35 ---> ea72263c5a8a 21:37:35 Successfully built ea72263c5a8a 21:37:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:37:35 + docker inspect -f . ci-base-image-arm64 21:37:35 . [Pipeline] withDockerContainer 21:37:35 prd-ubuntu18.04-docker-arm64-4c-16g-32337 does not seem to be running inside a container 21:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:37:37 $ docker top ce3e08908342af14b4cd63e7472ffc18f320a385f2381b9dfcdff3440b01a561 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:38 + go version 21:37:38 go version go1.15.5 linux/arm64 [Pipeline] } 21:37:38 $ docker stop --time=1 ce3e08908342af14b4cd63e7472ffc18f320a385f2381b9dfcdff3440b01a561 21:37:40 $ docker rm -f ce3e08908342af14b4cd63e7472ffc18f320a385f2381b9dfcdff3440b01a561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:37:41 + docker inspect -f . ci-base-image-arm64 21:37:41 . [Pipeline] withDockerContainer 21:37:42 prd-ubuntu18.04-docker-arm64-4c-16g-32337 does not seem to be running inside a container 21:37:42 $ 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/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:37:43 $ docker top b77818194634150a31576e2b4eda47b32cc9a9b322f9237d388624c553defb5c -eo pid,comm [Pipeline] { [Pipeline] echo 21:37:43 ========================================================= 21:37:43 [edgeXBuildGoParallel] Running Tests and Build... 21:37:43 ========================================================= [Pipeline] sh 21:37:44 + make test 21:37:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:38:06 ? github.com/edgexfoundry/edgex-go [no test files] 21:38:53 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:39:02 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:39:09 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:39:09 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:39:12 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:39:12 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:39:12 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:39:12 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:39:15 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:39:16 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:39:24 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:39:24 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:39:24 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:39:30 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.391s coverage: 45.9% of statements 21:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 21:39:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.161s coverage: 19.8% of statements 21:39:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.234s coverage: 100.0% of statements 21:39:36 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.522s coverage: 27.1% of statements 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:39:36 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.164s coverage: 100.0% of statements 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:39:36 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.139s coverage: 100.0% of statements 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.293s coverage: 71.3% of statements 21:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:39:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:39:39 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.531s coverage: 82.9% of statements 21:39:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:39:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:39:39 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.154s coverage: 78.9% of statements 21:39:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:39:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.285s coverage: 28.6% of statements 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:39:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.219s coverage: 100.0% of statements 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:39:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.138s coverage: 100.0% of statements 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:39:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.464s coverage: 86.7% of statements 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:39:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.443s coverage: 97.5% of statements 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:39:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.238s coverage: 78.3% of statements 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:39:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:39:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.275s coverage: 92.8% of statements 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:39:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.118s coverage: 58.8% of statements 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:39:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.226s coverage: 1.0% of statements 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 21:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.154s coverage: 47.1% of statements 21:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.179s coverage: 79.5% of statements 21:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.179s coverage: 94.1% of statements 21:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.160s coverage: 96.3% of statements 21:39:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.138s coverage: 87.5% of statements 21:40:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.144s coverage: 94.4% of statements 21:40:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.123s coverage: 44.8% of statements 21:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.484s coverage: 82.6% of statements 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.200s coverage: 92.9% of statements 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.070s coverage: 87.2% of statements 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:40:28 flag provided but not defined: -badarg 21:40:28 Usage of adduser: 21:40:28 -algorithm string 21:40:28 Algorithm used for signing the JWT, RS256 or ES256 21:40:28 -client_id string 21:40:28 Optional manually-specified OAuth2 client_id. 21:40:28 -client_secret string 21:40:28 Optional manually-specified OAuth2 client_secret. 21:40:28 -confdir string 21:40:28 21:40:28 -group string 21:40:28 Group to which the user belongs, defaults to 'admin' (default "admin") 21:40:28 -id string 21:40:28 ID to use for linkage with JWT claim (usually the 'iss' field) 21:40:28 -public_key string 21:40:28 Public key (in PEM format) used to validate the JWT. 21:40:28 -redirect_uris string 21:40:28 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 21:40:28 -token-type string 21:40:28 Type of token to create: jwt or oauth2 21:40:28 -user string 21:40:28 Username of the user to add 21:40:28 --- FAIL: TestAddUserJWT (0.01s) 21:40:28 command_test.go:96: 21:40:28 Error Trace: command_test.go:96 21:40:28 Error: Received unexpected error: 21:40:28 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 21:40:28 Test: TestAddUserJWT 21:40:28 --- FAIL: TestAddUserOAuth2 (0.01s) 21:40:28 command_test.go:144: 21:40:28 Error Trace: command_test.go:144 21:40:28 Error: Received unexpected error: 21:40:28 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 21:40:28 Test: TestAddUserOAuth2 21:40:28 FAIL 21:40:28 coverage: 34.0% of statements 21:40:28 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.128s 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:40:28 flag provided but not defined: -badarg 21:40:28 Usage of deluser: 21:40:28 -confdir string 21:40:28 21:40:28 -user string 21:40:28 Username of the user to delete 21:40:28 --- FAIL: TestDelUser (0.01s) 21:40:28 command_test.go:73: 21:40:28 Error Trace: command_test.go:73 21:40:28 command_test.go:79 21:40:28 Error: Received unexpected error: 21:40:28 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 21:40:28 Test: TestDelUser 21:40:28 FAIL 21:40:28 coverage: 69.2% of statements 21:40:28 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.123s 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.195s coverage: 87.2% of statements 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.201s coverage: 84.6% of statements 21:40:28 flag provided but not defined: -badarg 21:40:28 Usage of tls: 21:40:28 -confdir string 21:40:28 21:40:28 -incert string 21:40:28 Path to PEM-encoded leaf certificate 21:40:28 -inkey string 21:40:28 Path to PEM-encoded private key 21:40:28 -snis string 21:40:28 [Optional] comma-separated extra server name indications list to associate with this certificate 21:40:28 --- FAIL: TestTLSAddNewCertificate (0.03s) 21:40:28 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.01s) 21:40:28 command_test.go:125: 21:40:28 Error Trace: command_test.go:125 21:40:28 Error: Received unexpected error: 21:40:28 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 21:40:28 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty 21:40:28 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) 21:40:28 command_test.go:125: 21:40:28 Error Trace: command_test.go:125 21:40:28 Error: Received unexpected error: 21:40:28 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 21:40:28 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server 21:40:28 --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) 21:40:28 command_test.go:125: 21:40:28 Error Trace: command_test.go:125 21:40:28 Error: Received unexpected error: 21:40:28 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 21:40:28 Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server 21:40:28 --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) 21:40:28 command_test.go:125: 21:40:28 Error Trace: command_test.go:125 21:40:28 Error: Received unexpected error: 21:40:28 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 21:40:28 Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty 21:40:28 FAIL 21:40:28 coverage: 44.3% of statements 21:40:28 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.203s 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.538s coverage: 64.4% of statements 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:40:28 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.112s coverage: 100.0% of statements 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.091s coverage: 91.3% of statements 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.052s coverage: 100.0% of statements 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.076s coverage: 73.7% of statements 21:40:28 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.051s coverage: 100.0% of statements 21:40:30 --- FAIL: TestDelete (0.01s) 21:40:30 --- FAIL: TestDelete/DeleteOK (0.00s) 21:40:30 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 21:40:30 --- FAIL: TestPostCertExists (0.02s) 21:40:30 service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert 21:40:30 --- FAIL: TestInit (0.03s) 21:40:30 --- FAIL: TestInit/empty_env (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/empty_env 21:40:30 --- FAIL: TestInit/add_one_unique_route (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_one_unique_route 21:40:30 --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_one_unique_route_with_URL_containing_IP_address 21:40:30 --- FAIL: TestInit/add_two_unique_routes (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_two_unique_routes 21:40:30 --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname 21:40:30 --- FAIL: TestInit/add_one_duplicate_route (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_one_duplicate_route 21:40:30 --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_one_unique,_one_duplicate_route 21:40:30 --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_one_unique,_multiple_duplicate_routes 21:40:30 --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/add_two_unique,_multiple_duplicate_routes 21:40:30 --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route 21:40:30 --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/bad_URL_without_full_quallified_URL 21:40:30 --- FAIL: TestInit/empty_service_name (0.00s) 21:40:30 service_test.go:220: 21:40:30 Error Trace: service_test.go:220 21:40:30 Error: Received unexpected error: 21:40:30 failed to read config template: open : no such file or directory 21:40:30 Test: TestInit/empty_service_name 21:40:30 --- FAIL: TestInitKongService (0.01s) 21:40:30 --- FAIL: TestInitKongService/serviceOK (0.00s) 21:40:30 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 21:40:30 --- FAIL: TestInitKongService/service409 (0.00s) 21:40:30 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 21:40:30 --- FAIL: TestInitKongRoutes (0.01s) 21:40:30 --- FAIL: TestInitKongRoutes/routeOK (0.00s) 21:40:30 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 21:40:30 --- FAIL: TestResetProxy (0.01s) 21:40:30 --- FAIL: TestResetProxy/resetOK (0.00s) 21:40:30 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 21:40:30 --- FAIL: TestGetSvcIDs (0.01s) 21:40:30 --- FAIL: TestGetSvcIDs/GetOK (0.00s) 21:40:30 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 21:40:30 --- FAIL: TestInitJWTAuth (0.00s) 21:40:30 --- FAIL: TestInitJWTAuth/jwtOK (0.00s) 21:40:30 service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused 21:40:30 FAIL 21:40:30 coverage: 28.7% of statements 21:40:30 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.274s 21:40:30 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:40:30 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:40:30 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:40:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.500s coverage: 41.5% of statements 21:40:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:40:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:40:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.143s coverage: 89.5% of statements 21:40:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:40:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.108s coverage: 84.8% of statements 21:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.436s coverage: 47.0% of statements 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 21:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.180s coverage: 100.0% of statements 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 21:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.120s coverage: 100.0% of statements 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 21:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.415s coverage: 87.1% of statements 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 21:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.132s coverage: 29.1% of statements 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.165s coverage: 99.0% of statements 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.187s coverage: 100.0% of statements 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.237s coverage: 95.0% of statements 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.056s coverage: 100.0% of statements 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.115s coverage: 87.9% of statements 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 21:40:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:40:46 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.055s coverage: 100.0% of statements 21:40:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.112s coverage: 32.1% of statements 21:40:48 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.079s coverage: 100.0% of statements 21:40:48 FAIL 21:40:49 make: *** [Makefile:94: test] Error 1 [Pipeline] } 21:40:49 $ docker stop --time=1 b77818194634150a31576e2b4eda47b32cc9a9b322f9237d388624c553defb5c 21:40:51 $ docker rm -f b77818194634150a31576e2b4eda47b32cc9a9b322f9237d388624c553defb5c [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 21:40:53 ---> job-cost.sh 21:40:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wz8F 21:41:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 21:43:09 lf-activate-venv(): INFO: Adding /tmp/venv-wz8F/bin to PATH 21:43:09 INFO: No Stack... 21:43:09 INFO: Retrieving Pricing Info for: lf-standard-4 21:43:09 INFO: Archiving Costs [Pipeline] sh 21:43:09 + cut -d, -f6 21:43:09 + cat /w/workspace/edgex-go/14/archives/cost.csv [Pipeline] lock 21:43:09 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-14-stack-cost] 21:43:09 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-14-stack-cost] did not exist. Created. 21:43:09 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:43:10 + echo total: 0.20999999344348907 [Pipeline] stash 21:43:11 Stashed 1 file(s) [Pipeline] } 21:43:11 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-14-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:43:12 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 21:43:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:14 ---> package-listing.sh 21:43:14 ++ facter osfamily 21:43:14 ++ tr '[:upper:]' '[:lower:]' 21:43:14 + OS_FAMILY=redhat 21:43:14 + workspace=/w/workspace/edgex-go/14 21:43:14 + START_PACKAGES=/tmp/packages_start.txt 21:43:14 + END_PACKAGES=/tmp/packages_end.txt 21:43:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:14 + PACKAGES=/tmp/packages_start.txt 21:43:14 + '[' /w/workspace/edgex-go/14 ']' 21:43:14 + PACKAGES=/tmp/packages_end.txt 21:43:14 + case "${OS_FAMILY}" in 21:43:14 + rpm -qa 21:43:14 + sort 21:43:19 + '[' -f /tmp/packages_start.txt ']' 21:43:19 + '[' -f /tmp/packages_end.txt ']' 21:43:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:43:19 + '[' /w/workspace/edgex-go/14 ']' 21:43:19 + mkdir -p /w/workspace/edgex-go/14/archives/ 21:43:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/14/archives/ [Pipeline] echo 21:43:20 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/14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:43:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:43:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:43:20 21:43:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:43:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:43:20 alpine: Pulling from edgex-lftools-log-publisher 21:43:20 df20fa9351a1: Pulling fs layer 21:43:20 36b3adc4ff6f: Pulling fs layer 21:43:20 8ad3a11d3b57: Pulling fs layer 21:43:20 46f8f816bc3b: Pulling fs layer 21:43:20 93b61091891f: Pulling fs layer 21:43:20 93b9cdb0e59b: Pulling fs layer 21:43:20 5e14af77c1be: Pulling fs layer 21:43:20 01666e4c0597: Pulling fs layer 21:43:20 aa168da1d23b: Pulling fs layer 21:43:20 46f8f816bc3b: Waiting 21:43:20 93b61091891f: Waiting 21:43:20 93b9cdb0e59b: Waiting 21:43:20 5e14af77c1be: Waiting 21:43:20 01666e4c0597: Waiting 21:43:20 aa168da1d23b: Waiting 21:43:20 36b3adc4ff6f: Verifying Checksum 21:43:20 36b3adc4ff6f: Download complete 21:43:20 46f8f816bc3b: Verifying Checksum 21:43:20 46f8f816bc3b: Download complete 21:43:21 df20fa9351a1: Verifying Checksum 21:43:21 df20fa9351a1: Download complete 21:43:21 93b9cdb0e59b: Download complete 21:43:21 5e14af77c1be: Verifying Checksum 21:43:21 5e14af77c1be: Download complete 21:43:21 01666e4c0597: Verifying Checksum 21:43:21 01666e4c0597: Download complete 21:43:21 df20fa9351a1: Pull complete 21:43:21 36b3adc4ff6f: Pull complete 21:43:22 93b61091891f: Verifying Checksum 21:43:22 93b61091891f: Download complete 21:43:22 8ad3a11d3b57: Verifying Checksum 21:43:22 8ad3a11d3b57: Download complete 21:43:22 8ad3a11d3b57: Pull complete 21:43:23 46f8f816bc3b: Pull complete 21:43:23 aa168da1d23b: Verifying Checksum 21:43:23 aa168da1d23b: Download complete 21:43:24 93b61091891f: Pull complete 21:43:24 93b9cdb0e59b: Pull complete 21:43:24 5e14af77c1be: Pull complete 21:43:24 01666e4c0597: Pull complete 21:43:32 aa168da1d23b: Pull complete 21:43:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:43:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:43:32 prd-centos7-docker-4c-2g-32335 does not seem to be running inside a container 21:43:32 $ 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/14/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/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@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 21:43:35 $ docker top 109e837bd3bbf557ac641c6096a80519a330ea608783559181b5311b9ddd8beb -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:43:36 + mkdir -p /var/log/sa [Pipeline] sh 21:43:37 + ls /var/log/sa-host 21:43:37 + sadf -c /var/log/sa-host/sa23 21:43:37 file_magic: OK 21:43:37 HZ: Using current value: 100 21:43:37 file_header: OK 21:43:37 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 21:43:37 Statistics: 21:43:37 Hnuu...uuuununununu... 21:43:37 File successfully converted to sysstat format version 12.2.1 21:43:37 + sadf -c /var/log/sa-host/sa31 21:43:37 file_magic: OK 21:43:37 HZ: Using current value: 100 21:43:37 file_header: OK 21:43:37 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 21:43:37 Statistics: 21:43:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:43:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:37 provisioning config files... 21:43:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/14@tmp/config5851683474474266888tmp [Pipeline] { [Pipeline] echo 21:43:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:43:38 ---> create-netrc.sh [Pipeline] } 21:43:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:43:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:43:38 ---> python-tools-install.sh [Pipeline] echo 21:43:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:43:38 ---> sudo-logs.sh 21:43:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:43:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:43:39 ---> job-cost.sh 21:43:39 lf-activate-venv: SKIPPING 21:43:39 DEBUG: total: 0.20999999344348907 21:43:39 INFO: Retrieving Stack Cost... 21:43:39 INFO: Retrieving Pricing Info for: v1-standard-2 21:43:40 INFO: Archiving Costs [Pipeline] echo 21:43:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:43:40 ---> logs-deploy.sh 21:43:40 lf-activate-venv: SKIPPING 21:43:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/14 21:43:40 INFO: archiving workspace using pattern(s): 21:43:42 Archives upload complete. 21:43:42 INFO: archiving logs to Nexus