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 abd01a6d142b6f684e0380bd2bdcda548b905f03 rather than 11f5c55f442fede4c20b23a65322837f80019be6 Obtained Jenkinsfile from abd01a6d142b6f684e0380bd2bdcda548b905f03 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33327 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/27 [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/27 # 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 abd01a6d142b6f684e0380bd2bdcda548b905f03 into PR head commit 11f5c55f442fede4c20b23a65322837f80019be6 Merge succeeded, producing 11f5c55f442fede4c20b23a65322837f80019be6 Checking out Revision 11f5c55f442fede4c20b23a65322837f80019be6 (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 11f5c55f442fede4c20b23a65322837f80019be6 # 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 abd01a6d142b6f684e0380bd2bdcda548b905f03 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11f5c55f442fede4c20b23a65322837f80019be6 # timeout=10 Commit message: "feat(security): Secure Kong Admin API" First time build. Skipping changelog. > git rev-list --no-walk f6ce338dc0833d772ec132c52d329f721105b07a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:59:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:59:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:59:04 ========================================================= 16:59:04 EdgeX Global Pipelines Version Info 16:59:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:59:05 ------------------- 16:59:05 stable info: 16:59:05 ------------------- 16:59:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:59:05 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 16:59:05 Message: update stable to v1.0.186 16:59:06 ------------------- 16:59:06 experimental info: 16:59:06 ------------------- 16:59:06 Commited By: **** collab-it+edgex@linuxfoundation.org 16:59:06 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 16:59:06 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 16:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:59:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11f5c55f442fede4c20b23a65322837f80019be6 [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11f5c55 [Pipeline] echo 16:59:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:59:09 provisioning config files... 16:59:09 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/27@tmp/config4361223615832706219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:10 ---> docker-login.sh 16:59:10 nexus3.edgexfoundry.org:10001 16:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:10 Configure a credential helper to remove this warning. See 16:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:10 16:59:10 Login Succeeded 16:59:10 nexus3.edgexfoundry.org:10002 16:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:11 Configure a credential helper to remove this warning. See 16:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:11 16:59:11 Login Succeeded 16:59:11 nexus3.edgexfoundry.org:10003 16:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:11 Configure a credential helper to remove this warning. See 16:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:11 16:59:11 Login Succeeded 16:59:11 nexus3.edgexfoundry.org:10004 16:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:11 Configure a credential helper to remove this warning. See 16:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:11 16:59:11 Login Succeeded 16:59:11 docker.io 16:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:11 Configure a credential helper to remove this warning. See 16:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:11 16:59:11 Login Succeeded 16:59:11 ---> docker-login.sh ends [Pipeline] } 16:59:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:12 ++ 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 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/core-command/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo core-command,cmd/core-command/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/core-data/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo core-data,cmd/core-data/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/core-metadata/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo core-metadata,cmd/core-metadata/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/security-bootstrapper/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/security-proxy-setup/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/security-secretstore-setup/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/support-notifications/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo support-notifications,cmd/support-notifications/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/support-scheduler/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:59:12 + for file in '`ls cmd/**/Dockerfile`' 16:59:12 ++ dirname cmd/sys-mgmt-agent/Dockerfile 16:59:12 ++ cut -d/ -f2 16:59:12 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:59:12 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 16:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:14 16:59:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:59:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:14 latest: Pulling from edgex-devops/git-semver 16:59:14 31603596830f: Pulling fs layer 16:59:14 2a8b12db71e7: Pulling fs layer 16:59:14 6ca5941a6612: Pulling fs layer 16:59:14 ecc8261a40a4: Pulling fs layer 16:59:14 ecc8261a40a4: Waiting 16:59:14 2a8b12db71e7: Download complete 16:59:14 31603596830f: Download complete 16:59:14 ecc8261a40a4: Verifying Checksum 16:59:14 ecc8261a40a4: Download complete 16:59:14 6ca5941a6612: Verifying Checksum 16:59:14 6ca5941a6612: Download complete 16:59:15 31603596830f: Pull complete 16:59:15 2a8b12db71e7: Pull complete 16:59:15 6ca5941a6612: Pull complete 16:59:15 ecc8261a40a4: Pull complete 16:59:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:59:16 prd-centos7-docker-4c-2g-33327 does not seem to be running inside a container 16:59:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/27 -v /w/workspace/edgex-go/27:/w/workspace/edgex-go/27:rw,z -v /w/workspace/edgex-go/27@tmp:/w/workspace/edgex-go/27@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 16:59:18 $ docker top de7f23052714c1c97f404b12c3c9f9d99257e7973a33bc59dc256d9602f99843 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:59:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:19 [ssh-agent] Looking for ssh-agent implementation... 16:59:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:19 $ docker exec de7f23052714c1c97f404b12c3c9f9d99257e7973a33bc59dc256d9602f99843 ssh-agent 16:59:19 SSH_AUTH_SOCK=/tmp/ssh-ohShEuQI2nfO/agent.13 16:59:19 SSH_AGENT_PID=18 16:59:19 Running ssh-add (command line suppressed) 16:59:19 Identity added: /w/workspace/edgex-go/27@tmp/private_key_61566618313038651.key (/w/workspace/edgex-go/27@tmp/private_key_61566618313038651.key) 16:59:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:19 + git tag --points-at HEAD [Pipeline] } 16:59:19 $ docker exec --env ******** --env ******** de7f23052714c1c97f404b12c3c9f9d99257e7973a33bc59dc256d9602f99843 ssh-agent -k 16:59:20 unset SSH_AUTH_SOCK; 16:59:20 unset SSH_AGENT_PID; 16:59:20 echo Agent pid 18 killed; 16:59:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:20 [ssh-agent] Looking for ssh-agent implementation... 16:59:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:20 $ docker exec de7f23052714c1c97f404b12c3c9f9d99257e7973a33bc59dc256d9602f99843 ssh-agent 16:59:20 SSH_AUTH_SOCK=/tmp/ssh-Pu7oLMhNCoWl/agent.49 16:59:20 SSH_AGENT_PID=54 16:59:20 Running ssh-add (command line suppressed) 16:59:20 Identity added: /w/workspace/edgex-go/27@tmp/private_key_5754818001347741324.key (/w/workspace/edgex-go/27@tmp/private_key_5754818001347741324.key) 16:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:21 + git semver init 16:59:21 # -> Open(): unable to determine branch for HEAD 16:59:21 # $GIT_DIR = /w/workspace/edgex-go/27/.git 16:59:21 # $GIT_WORK_TREE = /w/workspace/edgex-go/27 16:59:21 # $SEMVER_REMOTE_NAME = origin 16:59:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:59:21 # $SEMVER_USER_NAME = edgex-jenkins 16:59:21 # $SEMVER_BRANCH = PR-3328 16:59:21 # $SEMVER_TEMP = /tmp/semver-255459813 16:59:21 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 16:59:39 # '/tmp/semver-255459813' -> '/w/workspace/edgex-go/27/.semver' 16:59:39 # -> Force: false 16:59:39 # $SEMVER_DIR = /w/workspace/edgex-go/27/.semver [Pipeline] } 16:59:39 $ docker exec --env ******** --env ******** de7f23052714c1c97f404b12c3c9f9d99257e7973a33bc59dc256d9602f99843 ssh-agent -k 16:59:39 unset SSH_AUTH_SOCK; 16:59:39 unset SSH_AGENT_PID; 16:59:39 echo Agent pid 54 killed; 16:59:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:40 + git semver [Pipeline] } 16:59:40 $ docker stop --time=1 de7f23052714c1c97f404b12c3c9f9d99257e7973a33bc59dc256d9602f99843 16:59:41 $ docker rm -f de7f23052714c1c97f404b12c3c9f9d99257e7973a33bc59dc256d9602f99843 [Pipeline] // withDockerContainer [Pipeline] sh 16:59:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:59:42 Stashed 1 file(s) [Pipeline] echo 16:59:42 [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 16:59:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:59:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:59:44 + sudo service docker restart 16:59:44 + true 16:59:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 16:59:44 ========================================================= 16:59:44 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:59:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:59:45 + 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 . 16:59:48 Sending build context to Docker daemon 329.4MB 16:59:48 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 16:59:48 Step 2/6 : FROM ${BASE} 16:59:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:59:48 188c0c94c7c5: Pulling fs layer 16:59:48 0ef7d3d256c8: Pulling fs layer 16:59:48 de9db76c5a1d: Pulling fs layer 16:59:48 bca2f99d35d6: Pulling fs layer 16:59:48 93359f2a8cfa: Pulling fs layer 16:59:48 7c6f9722023f: Pulling fs layer 16:59:48 a35cf1a2eb13: Pulling fs layer 16:59:48 bca2f99d35d6: Waiting 16:59:48 93359f2a8cfa: Waiting 16:59:48 7c6f9722023f: Waiting 16:59:48 a35cf1a2eb13: Waiting 16:59:48 de9db76c5a1d: Verifying Checksum 16:59:48 de9db76c5a1d: Download complete 16:59:48 0ef7d3d256c8: Verifying Checksum 16:59:48 0ef7d3d256c8: Download complete 16:59:48 93359f2a8cfa: Verifying Checksum 16:59:48 93359f2a8cfa: Download complete 16:59:48 7c6f9722023f: Download complete 16:59:48 188c0c94c7c5: Verifying Checksum 16:59:48 188c0c94c7c5: Download complete 16:59:48 188c0c94c7c5: Pull complete 16:59:49 0ef7d3d256c8: Pull complete 16:59:49 de9db76c5a1d: Pull complete 16:59:50 a35cf1a2eb13: Verifying Checksum 16:59:50 a35cf1a2eb13: Download complete 16:59:51 bca2f99d35d6: Verifying Checksum 16:59:51 bca2f99d35d6: Download complete 16:59:57 bca2f99d35d6: Pull complete 16:59:57 93359f2a8cfa: Pull complete 16:59:57 7c6f9722023f: Pull complete 16:59:58 Still waiting to schedule task 16:59:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline 17:00:00 a35cf1a2eb13: Pull complete 17:00:00 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:00:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:00:00 ---> a62c8e92a672 17:00:00 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 17:00:01 ---> Running in 478ffab3a132 17:00:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:00:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:00:02 (1/12) Installing libmagic (5.38-r0) 17:00:03 (2/12) Installing file (5.38-r0) 17:00:03 (3/12) Installing libc-dev (0.7.2-r3) 17:00:03 (4/12) Installing g++ (9.3.0-r2) 17:00:08 (5/12) Installing fortify-headers (1.1-r0) 17:00:08 (6/12) Installing patch (2.7.6-r6) 17:00:08 (7/12) Installing build-base (0.5-r2) 17:00:08 (8/12) Installing libsodium (1.0.18-r0) 17:00:08 (9/12) Installing pkgconf (1.7.2-r0) 17:00:08 (10/12) Installing libsodium-dev (1.0.18-r0) 17:00:08 (11/12) Installing libzmq (4.3.3-r0) 17:00:08 (12/12) Installing zeromq-dev (4.3.3-r0) 17:00:08 Executing busybox-1.31.1-r19.trigger 17:00:08 OK: 233 MiB in 51 packages 17:00:11 Removing intermediate container 478ffab3a132 17:00:11 ---> 1884eaee2c0a 17:00:11 Step 4/6 : WORKDIR /edgex-go 17:00:11 ---> Running in f2fd20028844 17:00:11 Removing intermediate container f2fd20028844 17:00:11 ---> f9973045cd62 17:00:11 Step 5/6 : COPY go.mod . 17:00:12 ---> 34650c93ccc8 17:00:12 Step 6/6 : RUN go mod download 17:00:12 ---> Running in 80f3846fa662 17:00:34 Removing intermediate container 80f3846fa662 17:00:34 ---> 51e79c5a2046 17:00:34 Successfully built 51e79c5a2046 17:00:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:00:34 + docker inspect -f . ci-base-image-x86_64 17:00:34 . [Pipeline] withDockerContainer 17:00:34 prd-centos7-docker-4c-2g-33327 does not seem to be running inside a container 17:00:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/27 -v /w/workspace/edgex-go/27:/w/workspace/edgex-go/27:rw,z -v /w/workspace/edgex-go/27@tmp:/w/workspace/edgex-go/27@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 17:00:35 $ docker top 246bb4eaae76b14c18d8376742c51c1384333dce1dbbe3b9e186c0064aee0fb4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:36 + go version 17:00:36 go version go1.15.5 linux/amd64 [Pipeline] } 17:00:36 $ docker stop --time=1 246bb4eaae76b14c18d8376742c51c1384333dce1dbbe3b9e186c0064aee0fb4 17:00:37 $ docker rm -f 246bb4eaae76b14c18d8376742c51c1384333dce1dbbe3b9e186c0064aee0fb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:00:38 + docker inspect -f . ci-base-image-x86_64 17:00:38 . [Pipeline] withDockerContainer 17:00:38 prd-centos7-docker-4c-2g-33327 does not seem to be running inside a container 17:00:38 $ 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/27 -v /w/workspace/edgex-go/27:/w/workspace/edgex-go/27:rw,z -v /w/workspace/edgex-go/27@tmp:/w/workspace/edgex-go/27@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 17:00:39 $ docker top 391f9009e44529651d294355cf1877ced539ff866267ab2e991775ca6ee0a480 -eo pid,comm [Pipeline] { [Pipeline] echo 17:00:39 ========================================================= 17:00:39 [edgeXBuildGoParallel] Running Tests and Build... 17:00:39 ========================================================= [Pipeline] sh 17:00:39 + make test 17:00:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:00:49 ? github.com/edgexfoundry/edgex-go [no test files] 17:01:07 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 17:01:09 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 17:01:12 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 17:01:12 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 17:01:12 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 17:01:12 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 17:01:12 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 17:01:13 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 17:01:14 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 17:01:14 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 17:01:17 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 17:01:17 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 17:01:17 ? github.com/edgexfoundry/edgex-go/internal [no test files] 17:01:19 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.098s coverage: 45.9% of statements 17:01:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 17:01:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 17:01:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 17:01:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 17:01:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 17:01:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 17:01:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.051s coverage: 19.8% of statements 17:01:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.085s coverage: 100.0% of statements 17:01:24 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.158s coverage: 27.1% of statements 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 17:01:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.058s coverage: 100.0% of statements 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 17:01:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.066s coverage: 100.0% of statements 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 17:01:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.086s coverage: 71.3% of statements 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 17:01:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.188s coverage: 82.9% of statements 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 17:01:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.086s coverage: 78.9% of statements 17:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 17:01:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.361s coverage: 28.6% of statements 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 17:01:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.093s coverage: 100.0% of statements 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 17:01:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.095s coverage: 100.0% of statements 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 17:01:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.154s coverage: 86.7% of statements 17:01:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 17:01:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.160s coverage: 97.5% of statements 17:01:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 17:01:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.091s coverage: 78.3% of statements 17:01:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 17:01:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 17:01:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 17:01:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 17:01:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.437s coverage: 92.8% of statements 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 17:01:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.043s coverage: 58.8% of statements 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 17:01:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.066s coverage: 1.0% of statements 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 17:01:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 17:01:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.088s coverage: 47.1% of statements 17:01:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.077s coverage: 79.5% of statements 17:01:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.055s coverage: 94.1% of statements 17:01:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.073s coverage: 96.3% of statements 17:01:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.059s coverage: 87.5% of statements 17:01:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.069s coverage: 94.4% of statements 17:01:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.061s coverage: 44.8% of statements 17:01:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.201s coverage: 81.5% of statements 17:01:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 17:01:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/tokencleaner 0.045s coverage: 87.1% of statements 17:01:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33328 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 17:01:47 Running in /w/workspace/edgex-go/27 [Pipeline] { [Pipeline] checkout 17:01:52 using credential edgex-jenkins-ssh 17:01:52 Cloning the remote Git repository 17:01:52 Cloning repository git@github.com:edgexfoundry/edgex-go.git 17:01:52 > git init /w/workspace/edgex-go/27 # timeout=10 17:01:52 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:01:52 > git --version # timeout=10 17:01:52 > git --version # 'git version 2.17.1' 17:01:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.096s coverage: 92.9% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.036s coverage: 65.1% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.039s coverage: 87.2% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 75.3% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.066s coverage: 80.0% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.070s coverage: 87.2% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.058s coverage: 85.4% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.099s coverage: 91.2% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.185s coverage: 64.4% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.045s coverage: 100.0% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.034s coverage: 91.3% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.038s coverage: 73.7% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.036s coverage: 100.0% of statements 17:01:54 --- FAIL: TestInitKongService (0.00s) 17:01:54 --- FAIL: TestInitKongService/serviceOK (0.00s) 17:01:54 service_test.go:342: 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 17:01:54 --- FAIL: TestInitKongService/service409 (0.00s) 17:01:54 service_test.go:342: 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 17:01:54 --- FAIL: TestInitKongRoutes (0.00s) 17:01:54 --- FAIL: TestInitKongRoutes/routeOK (0.00s) 17:01:54 service_test.go:398: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused 17:01:54 --- FAIL: TestResetProxy (0.00s) 17:01:54 --- FAIL: TestResetProxy/resetOK (0.00s) 17:01:54 service_test.go:458: 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 17:01:54 --- FAIL: TestGetSvcIDs (0.00s) 17:01:54 --- FAIL: TestGetSvcIDs/GetOK (0.00s) 17:01:54 service_test.go:525: 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 17:01:54 --- FAIL: TestInitJWTAuth (0.00s) 17:01:54 --- FAIL: TestInitJWTAuth/jwtOK (0.00s) 17:01:54 service_test.go:583: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused 17:01:54 FAIL 17:01:54 coverage: 53.9% of statements 17:01:54 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.264s 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.130s coverage: 41.5% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.044s coverage: 89.5% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.042s coverage: 84.8% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.150s coverage: 47.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.055s coverage: 100.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.044s coverage: 100.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.063s coverage: 11.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.143s coverage: 87.1% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.724s coverage: 29.1% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.060s coverage: 99.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.063s coverage: 100.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.108s coverage: 95.6% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/system 0.037s coverage: 0.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.046s coverage: 87.9% of statements 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 17:01:54 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.033s coverage: 100.0% of statements 17:01:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.047s coverage: 32.1% of statements 17:01:55 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 17:01:55 FAIL 17:01:55 make: *** [Makefile:94: test] Error 1 [Pipeline] } 17:01:55 $ docker stop --time=1 391f9009e44529651d294355cf1877ced539ff866267ab2e991775ca6ee0a480 17:01:56 $ docker rm -f 391f9009e44529651d294355cf1877ced539ff866267ab2e991775ca6ee0a480 [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] } 17:01:58 Failed in branch amd64 17:02:09 Merging remotes/origin/master commit abd01a6d142b6f684e0380bd2bdcda548b905f03 into PR head commit 11f5c55f442fede4c20b23a65322837f80019be6 17:02:09 Merge succeeded, producing 11f5c55f442fede4c20b23a65322837f80019be6 17:02:09 Checking out Revision 11f5c55f442fede4c20b23a65322837f80019be6 (PR-3328) 17:02:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:02:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:02:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:02:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:02:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:08 > 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 17:02:09 > git config core.sparsecheckout # timeout=10 17:02:09 > git checkout -f 11f5c55f442fede4c20b23a65322837f80019be6 # timeout=10 17:02:09 > git remote # timeout=10 17:02:09 > git config --get remote.origin.url # timeout=10 17:02:09 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:09 > git merge abd01a6d142b6f684e0380bd2bdcda548b905f03 # timeout=10 17:02:09 > git rev-parse HEAD^{commit} # timeout=10 17:02:09 > git config core.sparsecheckout # timeout=10 17:02:09 > git checkout -f 11f5c55f442fede4c20b23a65322837f80019be6 # timeout=10 17:02:13 Commit message: "feat(security): Secure Kong Admin API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:02:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:02:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:02:16 + sudo service docker restart 17:02:16 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:02:18 provisioning config files... 17:02:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/27@tmp/config5809416016997814590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:19 ---> docker-login.sh 17:02:19 nexus3.edgexfoundry.org:10001 17:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:20 Configure a credential helper to remove this warning. See 17:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:20 17:02:20 Login Succeeded 17:02:20 nexus3.edgexfoundry.org:10002 17:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:20 Configure a credential helper to remove this warning. See 17:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:20 17:02:20 Login Succeeded 17:02:20 nexus3.edgexfoundry.org:10003 17:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:21 Configure a credential helper to remove this warning. See 17:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:21 17:02:21 Login Succeeded 17:02:21 nexus3.edgexfoundry.org:10004 17:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:22 Configure a credential helper to remove this warning. See 17:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:22 17:02:22 Login Succeeded 17:02:22 docker.io 17:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:22 Configure a credential helper to remove this warning. See 17:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:22 17:02:22 Login Succeeded 17:02:22 ---> docker-login.sh ends [Pipeline] } 17:02:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:02:23 ========================================================= 17:02:23 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:02:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:02:23 + 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 . 17:02:26 Sending build context to Docker daemon 167.3MB 17:02:26 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 17:02:26 Step 2/6 : FROM ${BASE} 17:02:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:02:26 5f621e34cdf4: Pulling fs layer 17:02:26 a4357932f1b6: Pulling fs layer 17:02:26 18c013af1878: Pulling fs layer 17:02:26 00ac8860ef70: Pulling fs layer 17:02:26 63d7cb157983: Pulling fs layer 17:02:26 b116817d02f9: Pulling fs layer 17:02:26 745a02a5169b: Pulling fs layer 17:02:26 00ac8860ef70: Waiting 17:02:26 63d7cb157983: Waiting 17:02:26 b116817d02f9: Waiting 17:02:26 745a02a5169b: Waiting 17:02:26 18c013af1878: Download complete 17:02:26 a4357932f1b6: Download complete 17:02:26 63d7cb157983: Verifying Checksum 17:02:26 63d7cb157983: Download complete 17:02:26 b116817d02f9: Verifying Checksum 17:02:26 b116817d02f9: Download complete 17:02:27 5f621e34cdf4: Verifying Checksum 17:02:27 5f621e34cdf4: Download complete 17:02:27 5f621e34cdf4: Pull complete 17:02:28 a4357932f1b6: Pull complete 17:02:28 18c013af1878: Pull complete 17:02:30 745a02a5169b: Verifying Checksum 17:02:30 00ac8860ef70: Verifying Checksum 17:02:30 00ac8860ef70: Download complete 17:02:40 00ac8860ef70: Pull complete 17:02:41 63d7cb157983: Pull complete 17:02:41 b116817d02f9: Pull complete 17:02:45 745a02a5169b: Pull complete 17:02:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:02:45 ---> b7e6874047d6 17:02:45 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 17:02:48 ---> Running in 671a5eeeabe5 17:02:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:02:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:02:50 (1/12) Installing libmagic (5.38-r0) 17:02:51 (2/12) Installing file (5.38-r0) 17:02:51 (3/12) Installing libc-dev (0.7.2-r3) 17:02:51 (4/12) Installing g++ (9.3.0-r2) 17:02:56 (5/12) Installing fortify-headers (1.1-r0) 17:02:56 (6/12) Installing patch (2.7.6-r6) 17:02:56 (7/12) Installing build-base (0.5-r2) 17:02:56 (8/12) Installing libsodium (1.0.18-r0) 17:02:56 (9/12) Installing pkgconf (1.7.2-r0) 17:02:56 (10/12) Installing libsodium-dev (1.0.18-r0) 17:02:56 (11/12) Installing libzmq (4.3.3-r0) 17:02:56 (12/12) Installing zeromq-dev (4.3.3-r0) 17:02:56 Executing busybox-1.31.1-r19.trigger 17:02:56 OK: 217 MiB in 51 packages 17:03:00 Removing intermediate container 671a5eeeabe5 17:03:00 ---> 2b135940d7df 17:03:00 Step 4/6 : WORKDIR /edgex-go 17:03:00 ---> Running in eea9fd226d2a 17:03:01 Removing intermediate container eea9fd226d2a 17:03:01 ---> 9ea94c081ea5 17:03:01 Step 5/6 : COPY go.mod . 17:03:02 ---> 8fba17d13180 17:03:02 Step 6/6 : RUN go mod download 17:03:02 ---> Running in 70a92f1bd5d8 17:03:29 Removing intermediate container 70a92f1bd5d8 17:03:29 ---> 88aa2438e180 17:03:29 Successfully built 88aa2438e180 17:03:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:03:29 + docker inspect -f . ci-base-image-arm64 17:03:29 . [Pipeline] withDockerContainer 17:03:29 prd-ubuntu18.04-docker-arm64-4c-16g-33328 does not seem to be running inside a container 17:03:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/27 -v /w/workspace/edgex-go/27:/w/workspace/edgex-go/27:rw,z -v /w/workspace/edgex-go/27@tmp:/w/workspace/edgex-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:03:31 $ docker top 5cf8d8264907355b56d9d679e6e3ac0877028a48628faa2f52e460ab54b68ae7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:03:32 + go version 17:03:32 go version go1.15.5 linux/arm64 [Pipeline] } 17:03:32 $ docker stop --time=1 5cf8d8264907355b56d9d679e6e3ac0877028a48628faa2f52e460ab54b68ae7 17:03:34 $ docker rm -f 5cf8d8264907355b56d9d679e6e3ac0877028a48628faa2f52e460ab54b68ae7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:03:35 + docker inspect -f . ci-base-image-arm64 17:03:35 . [Pipeline] withDockerContainer 17:03:35 prd-ubuntu18.04-docker-arm64-4c-16g-33328 does not seem to be running inside a container 17:03:35 $ 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/27 -v /w/workspace/edgex-go/27:/w/workspace/edgex-go/27:rw,z -v /w/workspace/edgex-go/27@tmp:/w/workspace/edgex-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:03:37 $ docker top acdc86396e0eb87f3410057c0e0d03fa2274eae4338e5bdc847ee422381848e1 -eo pid,comm [Pipeline] { [Pipeline] echo 17:03:37 ========================================================= 17:03:37 [edgeXBuildGoParallel] Running Tests and Build... 17:03:37 ========================================================= [Pipeline] sh 17:03:38 + make test 17:03:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:04:00 ? github.com/edgexfoundry/edgex-go [no test files] 17:04:47 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 17:05:05 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 17:05:05 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 17:05:05 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 17:05:05 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 17:05:05 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 17:05:05 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 17:05:05 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 17:05:07 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 17:05:09 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 17:05:17 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 17:05:17 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 17:05:17 ? github.com/edgexfoundry/edgex-go/internal [no test files] 17:05:23 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.341s coverage: 45.9% of statements 17:05:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 17:05:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 17:05:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 17:05:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 17:05:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 17:05:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 17:05:23 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.111s coverage: 19.8% of statements 17:05:23 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.198s coverage: 100.0% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.629s coverage: 27.1% of statements 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.153s coverage: 100.0% of statements 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.159s coverage: 100.0% of statements 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 17:05:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 17:05:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.250s coverage: 71.3% of statements 17:05:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 17:05:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 17:05:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.518s coverage: 82.9% of statements 17:05:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 17:05:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 17:05:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.135s coverage: 78.9% of statements 17:05:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 17:05:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.113s coverage: 28.6% of statements 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 17:05:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.225s coverage: 100.0% of statements 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 17:05:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.163s coverage: 100.0% of statements 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 17:05:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.440s coverage: 86.7% of statements 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 17:05:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.428s coverage: 97.5% of statements 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 17:05:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.183s coverage: 78.3% of statements 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 17:05:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 17:05:50 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.295s coverage: 92.8% of statements 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 17:05:50 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.137s coverage: 58.8% of statements 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 17:05:50 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.210s coverage: 1.0% of statements 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 17:05:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 17:05:50 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.185s coverage: 47.1% of statements 17:05:50 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.189s coverage: 79.5% of statements 17:05:50 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.111s coverage: 94.1% of statements 17:05:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.179s coverage: 96.3% of statements 17:05:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.126s coverage: 87.5% of statements 17:06:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.145s coverage: 94.4% of statements 17:06:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.120s coverage: 44.8% of statements 17:06:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.603s coverage: 81.5% of statements 17:06:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 17:06:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/tokencleaner 0.090s coverage: 87.1% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.176s coverage: 92.9% of statements 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.068s coverage: 87.2% of statements 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.111s coverage: 100.0% of statements 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.138s coverage: 75.3% of statements 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.136s coverage: 80.0% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.206s coverage: 87.2% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.215s coverage: 85.4% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.238s coverage: 91.2% of statements 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.551s coverage: 64.4% of statements 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 17:06:21 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.122s coverage: 100.0% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.107s coverage: 91.3% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.061s coverage: 100.0% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.114s coverage: 73.7% of statements 17:06:21 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.094s coverage: 100.0% of statements 17:06:25 --- FAIL: TestInitKongService (0.01s) 17:06:25 --- FAIL: TestInitKongService/serviceOK (0.00s) 17:06:25 service_test.go:342: 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 17:06:25 --- FAIL: TestInitKongService/service409 (0.00s) 17:06:25 service_test.go:342: 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 17:06:25 --- FAIL: TestInitKongRoutes (0.01s) 17:06:25 --- FAIL: TestInitKongRoutes/routeOK (0.00s) 17:06:25 service_test.go:398: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused 17:06:25 --- FAIL: TestResetProxy (0.01s) 17:06:25 --- FAIL: TestResetProxy/resetOK (0.00s) 17:06:25 service_test.go:458: 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 17:06:25 --- FAIL: TestGetSvcIDs (0.01s) 17:06:25 --- FAIL: TestGetSvcIDs/GetOK (0.00s) 17:06:25 service_test.go:525: 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 17:06:25 --- FAIL: TestInitJWTAuth (0.01s) 17:06:25 --- FAIL: TestInitJWTAuth/jwtOK (0.00s) 17:06:25 service_test.go:583: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused 17:06:25 FAIL 17:06:25 coverage: 53.9% of statements 17:06:25 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.834s 17:06:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 17:06:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 17:06:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 17:06:28 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.509s coverage: 41.5% of statements 17:06:28 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 17:06:28 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 17:06:28 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.115s coverage: 89.5% of statements 17:06:28 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 17:06:28 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.096s coverage: 84.8% of statements 17:06:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.418s coverage: 47.0% of statements 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 17:06:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.129s coverage: 100.0% of statements 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 17:06:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.158s coverage: 100.0% of statements 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 17:06:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.116s coverage: 11.0% of statements 17:06:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 17:06:35 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.419s coverage: 87.1% of statements 17:06:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 17:06:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 17:06:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.609s coverage: 29.1% of statements 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.205s coverage: 99.0% of statements 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.170s coverage: 100.0% of statements 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.381s coverage: 95.6% of statements 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.047s coverage: 100.0% of statements 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.092s coverage: 87.9% of statements 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 17:06:42 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 17:06:42 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements 17:06:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.126s coverage: 32.1% of statements 17:06:44 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements 17:06:44 FAIL 17:06:45 make: *** [Makefile:94: test] Error 1 [Pipeline] } 17:06:45 $ docker stop --time=1 acdc86396e0eb87f3410057c0e0d03fa2274eae4338e5bdc847ee422381848e1 17:06:47 $ docker rm -f acdc86396e0eb87f3410057c0e0d03fa2274eae4338e5bdc847ee422381848e1 [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 17:06:49 ---> job-cost.sh 17:06:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FS0O 17:07:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:09:05 lf-activate-venv(): INFO: Adding /tmp/venv-FS0O/bin to PATH 17:09:05 INFO: No Stack... 17:09:05 INFO: Retrieving Pricing Info for: lf-standard-4 17:09:05 INFO: Archiving Costs [Pipeline] sh 17:09:05 + cat /w/workspace/edgex-go/27/archives/cost.csv 17:09:05 + cut -d, -f6 [Pipeline] lock 17:09:05 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-27-stack-cost] 17:09:05 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-27-stack-cost] did not exist. Created. 17:09:05 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:09:06 + echo total: 0.20999999344348907 [Pipeline] stash 17:09:07 Stashed 1 file(s) [Pipeline] } 17:09:07 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-27-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:09:07 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 17:09:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:09:10 ---> package-listing.sh 17:09:10 ++ facter osfamily 17:09:10 ++ tr '[:upper:]' '[:lower:]' 17:09:10 + OS_FAMILY=redhat 17:09:10 + workspace=/w/workspace/edgex-go/27 17:09:10 + START_PACKAGES=/tmp/packages_start.txt 17:09:10 + END_PACKAGES=/tmp/packages_end.txt 17:09:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:09:10 + PACKAGES=/tmp/packages_start.txt 17:09:10 + '[' /w/workspace/edgex-go/27 ']' 17:09:10 + PACKAGES=/tmp/packages_end.txt 17:09:10 + case "${OS_FAMILY}" in 17:09:10 + rpm -qa 17:09:10 + sort 17:09:16 + '[' -f /tmp/packages_start.txt ']' 17:09:16 + '[' -f /tmp/packages_end.txt ']' 17:09:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:09:16 + '[' /w/workspace/edgex-go/27 ']' 17:09:16 + mkdir -p /w/workspace/edgex-go/27/archives/ 17:09:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/27/archives/ [Pipeline] echo 17:09:16 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/27/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:09:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:09:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:09:16 17:09:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:09:17 alpine: Pulling from edgex-lftools-log-publisher 17:09:17 df20fa9351a1: Pulling fs layer 17:09:17 36b3adc4ff6f: Pulling fs layer 17:09:17 8ad3a11d3b57: Pulling fs layer 17:09:17 46f8f816bc3b: Pulling fs layer 17:09:17 93b61091891f: Pulling fs layer 17:09:17 93b9cdb0e59b: Pulling fs layer 17:09:17 5e14af77c1be: Pulling fs layer 17:09:17 01666e4c0597: Pulling fs layer 17:09:17 aa168da1d23b: Pulling fs layer 17:09:17 93b9cdb0e59b: Waiting 17:09:17 5e14af77c1be: Waiting 17:09:17 01666e4c0597: Waiting 17:09:17 aa168da1d23b: Waiting 17:09:17 46f8f816bc3b: Waiting 17:09:17 93b61091891f: Waiting 17:09:17 36b3adc4ff6f: Verifying Checksum 17:09:17 36b3adc4ff6f: Download complete 17:09:17 46f8f816bc3b: Download complete 17:09:17 df20fa9351a1: Verifying Checksum 17:09:17 df20fa9351a1: Download complete 17:09:17 93b9cdb0e59b: Verifying Checksum 17:09:17 93b9cdb0e59b: Download complete 17:09:17 93b61091891f: Verifying Checksum 17:09:17 93b61091891f: Download complete 17:09:17 5e14af77c1be: Verifying Checksum 17:09:17 5e14af77c1be: Download complete 17:09:17 01666e4c0597: Verifying Checksum 17:09:17 01666e4c0597: Download complete 17:09:17 df20fa9351a1: Pull complete 17:09:17 36b3adc4ff6f: Pull complete 17:09:18 8ad3a11d3b57: Verifying Checksum 17:09:18 8ad3a11d3b57: Download complete 17:09:18 8ad3a11d3b57: Pull complete 17:09:19 46f8f816bc3b: Pull complete 17:09:19 93b61091891f: Pull complete 17:09:19 aa168da1d23b: Verifying Checksum 17:09:19 aa168da1d23b: Download complete 17:09:19 93b9cdb0e59b: Pull complete 17:09:19 5e14af77c1be: Pull complete 17:09:19 01666e4c0597: Pull complete 17:09:26 aa168da1d23b: Pull complete 17:09:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:09:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:09:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:09:26 prd-centos7-docker-4c-2g-33327 does not seem to be running inside a container 17:09:26 $ 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/27/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/27 -v /w/workspace/edgex-go/27:/w/workspace/edgex-go/27:rw,z -v /w/workspace/edgex-go/27@tmp:/w/workspace/edgex-go/27@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 17:09:29 $ docker top a1879b3b6bc23c574923329022db566ad13b5e2d2b279c5ae944494119882ff0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:09:29 + touch /tmp/pre-build-complete [Pipeline] sh 17:09:30 + mkdir -p /var/log/sa [Pipeline] sh 17:09:30 + ls /var/log/sa-host 17:09:30 + sadf -c /var/log/sa-host/sa08 17:09:30 file_magic: OK 17:09:30 HZ: Using current value: 100 17:09:30 file_header: OK 17:09:30 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 17:09:30 Statistics: 17:09:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:09:30 File successfully converted to sysstat format version 12.2.1 17:09:30 + sadf -c /var/log/sa-host/sa23 17:09:30 file_magic: OK 17:09:30 HZ: Using current value: 100 17:09:30 file_header: OK 17:09:30 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 17:09:30 Statistics: 17:09:30 Hnuu...uuuununununu... 17:09:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:31 provisioning config files... 17:09:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/27@tmp/config2136541643414754381tmp [Pipeline] { [Pipeline] echo 17:09:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:09:31 ---> create-netrc.sh [Pipeline] } 17:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:09:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:09:31 ---> python-tools-install.sh [Pipeline] echo 17:09:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:09:32 ---> sudo-logs.sh 17:09:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:09:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:09:32 ---> job-cost.sh 17:09:32 lf-activate-venv: SKIPPING 17:09:32 DEBUG: total: 0.20999999344348907 17:09:32 INFO: Retrieving Stack Cost... 17:09:33 INFO: Retrieving Pricing Info for: v1-standard-2 17:09:34 INFO: Archiving Costs [Pipeline] echo 17:09:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:09:34 ---> logs-deploy.sh 17:09:34 lf-activate-venv: SKIPPING 17:09:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/27 17:09:34 INFO: archiving workspace using pattern(s): 17:09:35 Archives upload complete. 17:09:35 INFO: archiving logs to Nexus