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 d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 rather than 0d185f246ac2f257619a2d6a5df204d504169ab1 Obtained Jenkinsfile from d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2089 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/45 [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/45 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 into PR head commit 0d185f246ac2f257619a2d6a5df204d504169ab1 Merge succeeded, producing 0d185f246ac2f257619a2d6a5df204d504169ab1 Checking out Revision 0d185f246ac2f257619a2d6a5df204d504169ab1 (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d185f246ac2f257619a2d6a5df204d504169ab1 # 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 d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d185f246ac2f257619a2d6a5df204d504169ab1 # timeout=10 Commit message: "feat(security): Secure Kong Admin API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:00:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:00:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:00:53 ========================================================= 22:00:53 EdgeX Global Pipelines Version Info 22:00:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7e73357f8cb1fcdb6d91e2be9971f26d924da7e2 # timeout=10 22:00:58 ------------------- 22:00:58 stable info: 22:00:58 ------------------- 22:00:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:00:58 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:00:58 Message: update stable to v1.0.186 22:00:59 ------------------- 22:00:59 experimental info: 22:00:59 ------------------- 22:00:59 Commited By: **** collab-it+edgex@linuxfoundation.org 22:00:59 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 22:00:59 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d185f246ac2f257619a2d6a5df204d504169ab1 [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d185f2 [Pipeline] echo 22:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:01:00 provisioning config files... 22:01:00 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/45@tmp/config4291866682396690553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:01 ---> docker-login.sh 22:01:01 nexus3.edgexfoundry.org:10001 22:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:04 Configure a credential helper to remove this warning. See 22:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:04 22:01:04 Login Succeeded 22:01:04 nexus3.edgexfoundry.org:10002 22:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:05 Configure a credential helper to remove this warning. See 22:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:05 22:01:05 Login Succeeded 22:01:05 nexus3.edgexfoundry.org:10003 22:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:06 Configure a credential helper to remove this warning. See 22:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:06 22:01:06 Login Succeeded 22:01:06 nexus3.edgexfoundry.org:10004 22:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:06 Configure a credential helper to remove this warning. See 22:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:06 22:01:06 Login Succeeded 22:01:06 docker.io 22:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:08 Configure a credential helper to remove this warning. See 22:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:08 22:01:08 Login Succeeded 22:01:08 ---> docker-login.sh ends [Pipeline] } 22:01:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:08 ++ 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 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ cut -d/ -f2 22:01:08 ++ dirname cmd/core-command/Dockerfile 22:01:08 + echo core-command,cmd/core-command/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ dirname cmd/core-data/Dockerfile 22:01:08 ++ cut -d/ -f2 22:01:08 + echo core-data,cmd/core-data/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ cut -d/ -f2 22:01:08 ++ dirname cmd/core-metadata/Dockerfile 22:01:08 + echo core-metadata,cmd/core-metadata/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ dirname cmd/security-bootstrapper/Dockerfile 22:01:08 ++ cut -d/ -f2 22:01:08 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ cut -d/ -f2 22:01:08 ++ dirname cmd/security-proxy-setup/Dockerfile 22:01:08 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ dirname cmd/security-secretstore-setup/Dockerfile 22:01:08 ++ cut -d/ -f2 22:01:08 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ dirname cmd/support-notifications/Dockerfile 22:01:08 ++ cut -d/ -f2 22:01:08 + echo support-notifications,cmd/support-notifications/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ dirname cmd/support-scheduler/Dockerfile 22:01:08 ++ cut -d/ -f2 22:01:08 + echo support-scheduler,cmd/support-scheduler/Dockerfile 22:01:08 + for file in '`ls cmd/**/Dockerfile`' 22:01:08 ++ dirname cmd/sys-mgmt-agent/Dockerfile 22:01:08 ++ cut -d/ -f2 22:01:08 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 22:01:08 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 22:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:01:10 22:01:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:01:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:01:11 latest: Pulling from edgex-devops/git-semver 22:01:11 31603596830f: Pulling fs layer 22:01:11 ed72481023dd: Pulling fs layer 22:01:11 c32a4479710f: Pulling fs layer 22:01:11 c2876331c4ee: Pulling fs layer 22:01:11 c2876331c4ee: Waiting 22:01:12 ed72481023dd: Verifying Checksum 22:01:12 ed72481023dd: Download complete 22:01:12 31603596830f: Download complete 22:01:12 c32a4479710f: Verifying Checksum 22:01:12 c32a4479710f: Download complete 22:01:13 c2876331c4ee: Verifying Checksum 22:01:13 c2876331c4ee: Download complete 22:01:14 31603596830f: Pull complete 22:01:15 ed72481023dd: Pull complete 22:01:19 c32a4479710f: Pull complete 22:01:20 c2876331c4ee: Pull complete 22:01:20 Digest: sha256:847ffe7ce2e7ac62508696f65e6af8fb3845486e82f4c7d75a16a052f406db85 22:01:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:01:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:01:21 prd-centos7-docker-4c-2g-2089 does not seem to be running inside a container 22:01:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/45 -v /w/workspace/edgex-go/45:/w/workspace/edgex-go/45:rw,z -v /w/workspace/edgex-go/45@tmp:/w/workspace/edgex-go/45@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:01:25 $ docker top 386da806739163f5fccbb531531f5324550b87819eaf5a9c3f82f7ea5ab7b0ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:25 [ssh-agent] Looking for ssh-agent implementation... 22:01:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:26 $ docker exec 386da806739163f5fccbb531531f5324550b87819eaf5a9c3f82f7ea5ab7b0ac ssh-agent 22:01:27 SSH_AUTH_SOCK=/tmp/ssh-pakniHOvVf1M/agent.11 22:01:27 SSH_AGENT_PID=16 22:01:27 Running ssh-add (command line suppressed) 22:01:28 Identity added: /w/workspace/edgex-go/45@tmp/private_key_1506962140280968132.key (/w/workspace/edgex-go/45@tmp/private_key_1506962140280968132.key) 22:01:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:29 + git tag --points-at HEAD [Pipeline] } 22:01:29 $ docker exec --env ******** --env ******** 386da806739163f5fccbb531531f5324550b87819eaf5a9c3f82f7ea5ab7b0ac ssh-agent -k 22:01:29 unset SSH_AUTH_SOCK; 22:01:29 unset SSH_AGENT_PID; 22:01:29 echo Agent pid 16 killed; 22:01:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:01:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:30 [ssh-agent] Looking for ssh-agent implementation... 22:01:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:30 $ docker exec 386da806739163f5fccbb531531f5324550b87819eaf5a9c3f82f7ea5ab7b0ac ssh-agent 22:01:31 SSH_AUTH_SOCK=/tmp/ssh-04lQ6Nxqw6Ef/agent.44 22:01:31 SSH_AGENT_PID=49 22:01:31 Running ssh-add (command line suppressed) 22:01:32 Identity added: /w/workspace/edgex-go/45@tmp/private_key_6609859890766700933.key (/w/workspace/edgex-go/45@tmp/private_key_6609859890766700933.key) 22:01:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:32 + git semver init 22:01:33 # -> Open(): unable to determine branch for HEAD 22:01:33 # $GIT_DIR = /w/workspace/edgex-go/45/.git 22:01:33 # $GIT_WORK_TREE = /w/workspace/edgex-go/45 22:01:33 # $SEMVER_REMOTE_NAME = origin 22:01:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:01:33 # $SEMVER_USER_NAME = edgex-jenkins 22:01:33 # $SEMVER_BRANCH = PR-3328 22:01:33 # $SEMVER_TEMP = /tmp/semver-900164341 22:01:33 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 22:02:07 # '/tmp/semver-900164341' -> '/w/workspace/edgex-go/45/.semver' 22:02:07 # -> Force: false 22:02:07 # $SEMVER_DIR = /w/workspace/edgex-go/45/.semver [Pipeline] } 22:02:08 $ docker exec --env ******** --env ******** 386da806739163f5fccbb531531f5324550b87819eaf5a9c3f82f7ea5ab7b0ac ssh-agent -k 22:02:08 unset SSH_AUTH_SOCK; 22:02:08 unset SSH_AGENT_PID; 22:02:08 echo Agent pid 49 killed; 22:02:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:09 + git semver [Pipeline] } 22:02:10 $ docker stop --time=1 386da806739163f5fccbb531531f5324550b87819eaf5a9c3f82f7ea5ab7b0ac 22:02:12 $ docker rm -f 386da806739163f5fccbb531531f5324550b87819eaf5a9c3f82f7ea5ab7b0ac [Pipeline] // withDockerContainer [Pipeline] sh 22:02:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:02:14 Stashed 1 file(s) [Pipeline] echo 22:02:14 [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 22:02:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:02:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:02:16 + sudo service docker restart 22:02:16 + true 22:02:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 22:02:18 ========================================================= 22:02:18 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:02:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:02:18 + 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 . 22:02:27 Sending build context to Docker daemon 329.8MB 22:02:27 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 22:02:27 Step 2/6 : FROM ${BASE} 22:02:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:02:27 188c0c94c7c5: Pulling fs layer 22:02:27 0ef7d3d256c8: Pulling fs layer 22:02:27 de9db76c5a1d: Pulling fs layer 22:02:27 bca2f99d35d6: Pulling fs layer 22:02:27 93359f2a8cfa: Pulling fs layer 22:02:27 7c6f9722023f: Pulling fs layer 22:02:27 a35cf1a2eb13: Pulling fs layer 22:02:27 93359f2a8cfa: Waiting 22:02:27 7c6f9722023f: Waiting 22:02:27 a35cf1a2eb13: Waiting 22:02:27 bca2f99d35d6: Waiting 22:02:27 de9db76c5a1d: Verifying Checksum 22:02:27 de9db76c5a1d: Download complete 22:02:27 0ef7d3d256c8: Verifying Checksum 22:02:27 0ef7d3d256c8: Download complete 22:02:27 93359f2a8cfa: Verifying Checksum 22:02:27 93359f2a8cfa: Download complete 22:02:27 7c6f9722023f: Verifying Checksum 22:02:27 7c6f9722023f: Download complete 22:02:28 188c0c94c7c5: Verifying Checksum 22:02:28 188c0c94c7c5: Download complete 22:02:29 188c0c94c7c5: Pull complete 22:02:29 Still waiting to schedule task 22:02:29 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2088’ 22:02:30 0ef7d3d256c8: Pull complete 22:02:31 de9db76c5a1d: Pull complete 22:02:37 a35cf1a2eb13: Verifying Checksum 22:02:37 a35cf1a2eb13: Download complete 22:02:39 bca2f99d35d6: Verifying Checksum 22:02:39 bca2f99d35d6: Download complete 22:02:57 bca2f99d35d6: Pull complete 22:02:57 93359f2a8cfa: Pull complete 22:02:57 7c6f9722023f: Pull complete 22:03:06 a35cf1a2eb13: Pull complete 22:03:06 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:03:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:03:06 ---> a62c8e92a672 22:03:06 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 22:03:06 ---> Running in d64246727e44 22:03:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:03:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:03:10 (1/12) Installing libmagic (5.38-r0) 22:03:10 (2/12) Installing file (5.38-r0) 22:03:10 (3/12) Installing libc-dev (0.7.2-r3) 22:03:10 (4/12) Installing g++ (9.3.0-r2) 22:03:16 (5/12) Installing fortify-headers (1.1-r0) 22:03:16 (6/12) Installing patch (2.7.6-r6) 22:03:16 (7/12) Installing build-base (0.5-r2) 22:03:16 (8/12) Installing libsodium (1.0.18-r0) 22:03:16 (9/12) Installing pkgconf (1.7.2-r0) 22:03:17 (10/12) Installing libsodium-dev (1.0.18-r0) 22:03:17 (11/12) Installing libzmq (4.3.3-r0) 22:03:17 (12/12) Installing zeromq-dev (4.3.3-r0) 22:03:17 Executing busybox-1.31.1-r19.trigger 22:03:17 OK: 233 MiB in 51 packages 22:03:24 Removing intermediate container d64246727e44 22:03:24 ---> 27f6cca0daeb 22:03:24 Step 4/6 : WORKDIR /edgex-go 22:03:24 ---> Running in 1b34eb6ed6ce 22:03:24 Removing intermediate container 1b34eb6ed6ce 22:03:24 ---> 9c750b830f51 22:03:24 Step 5/6 : COPY go.mod . 22:03:25 ---> c91c940e0c0e 22:03:25 Step 6/6 : RUN go mod download 22:03:25 ---> Running in 8b8c9f9113fe 22:04:23 Removing intermediate container 8b8c9f9113fe 22:04:23 ---> 408afed30947 22:04:23 Successfully built 408afed30947 22:04:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:04:23 + docker inspect -f . ci-base-image-x86_64 22:04:24 . [Pipeline] withDockerContainer 22:04:24 prd-centos7-docker-4c-2g-2089 does not seem to be running inside a container 22:04:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/45 -v /w/workspace/edgex-go/45:/w/workspace/edgex-go/45:rw,z -v /w/workspace/edgex-go/45@tmp:/w/workspace/edgex-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:04:27 $ docker top a3eeecdc87a771fd8688a4d51ae3cc7368c392b1bef181b4824da4be24415e4e -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:28 + go version 22:04:28 go version go1.15.5 linux/amd64 [Pipeline] } 22:04:29 $ docker stop --time=1 a3eeecdc87a771fd8688a4d51ae3cc7368c392b1bef181b4824da4be24415e4e 22:04:31 $ docker rm -f a3eeecdc87a771fd8688a4d51ae3cc7368c392b1bef181b4824da4be24415e4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:04:32 + docker inspect -f . ci-base-image-x86_64 22:04:32 . [Pipeline] withDockerContainer 22:04:33 prd-centos7-docker-4c-2g-2089 does not seem to be running inside a container 22:04:33 $ 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/45 -v /w/workspace/edgex-go/45:/w/workspace/edgex-go/45:rw,z -v /w/workspace/edgex-go/45@tmp:/w/workspace/edgex-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:04:35 $ docker top 8b7bd283188da4484ae50c7214b92f4b4fd91fe084f1ef5d189bbaf544381ca9 -eo pid,comm [Pipeline] { [Pipeline] echo 22:04:35 ========================================================= 22:04:35 [edgeXBuildGoParallel] Running Tests and Build... 22:04:35 ========================================================= [Pipeline] sh 22:04:36 + make test 22:04:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:04:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2092 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 22:04:43 Running in /w/workspace/edgex-go/45 [Pipeline] { [Pipeline] checkout 22:04:49 using credential edgex-jenkins-ssh 22:04:49 Cloning the remote Git repository 22:04:49 Cloning repository git@github.com:edgexfoundry/edgex-go.git 22:04:49 > git init /w/workspace/edgex-go/45 # timeout=10 22:04:49 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 22:04:49 > git --version # timeout=10 22:04:49 > git --version # 'git version 2.17.1' 22:04:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:04:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:06 Merging remotes/origin/master commit d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 into PR head commit 0d185f246ac2f257619a2d6a5df204d504169ab1 22:05:05 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 22:05:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:05 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 22:05:05 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 22:05:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:05 > 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 22:05:06 > git config core.sparsecheckout # timeout=10 22:05:06 Merge succeeded, producing 0d185f246ac2f257619a2d6a5df204d504169ab1 22:05:06 Checking out Revision 0d185f246ac2f257619a2d6a5df204d504169ab1 (PR-3328) 22:05:06 > git checkout -f 0d185f246ac2f257619a2d6a5df204d504169ab1 # timeout=10 22:05:06 > git remote # timeout=10 22:05:06 > git config --get remote.origin.url # timeout=10 22:05:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:06 > git merge d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 # timeout=10 22:05:06 > git rev-parse HEAD^{commit} # timeout=10 22:05:06 > git config core.sparsecheckout # timeout=10 22:05:06 > git checkout -f 0d185f246ac2f257619a2d6a5df204d504169ab1 # timeout=10 22:05:10 ? github.com/edgexfoundry/edgex-go [no test files] 22:05:11 Commit message: "feat(security): Secure Kong Admin API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:05:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:05:13 + sudo service docker restart 22:05:13 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:05:15 provisioning config files... 22:05:15 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/45@tmp/config9025040469998393905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:15 ---> docker-login.sh 22:05:15 nexus3.edgexfoundry.org:10001 22:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:17 Configure a credential helper to remove this warning. See 22:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:17 22:05:17 Login Succeeded 22:05:17 nexus3.edgexfoundry.org:10002 22:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:17 Configure a credential helper to remove this warning. See 22:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:17 22:05:17 Login Succeeded 22:05:17 nexus3.edgexfoundry.org:10003 22:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:18 Configure a credential helper to remove this warning. See 22:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:18 22:05:18 Login Succeeded 22:05:18 nexus3.edgexfoundry.org:10004 22:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:18 Configure a credential helper to remove this warning. See 22:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:18 22:05:18 Login Succeeded 22:05:18 docker.io 22:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:19 Configure a credential helper to remove this warning. See 22:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:19 22:05:19 Login Succeeded 22:05:19 ---> docker-login.sh ends [Pipeline] } 22:05:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:05:19 ========================================================= 22:05:19 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:05:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:05:20 + 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 . 22:05:22 Sending build context to Docker daemon 167.5MB 22:05:22 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 22:05:22 Step 2/6 : FROM ${BASE} 22:05:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:05:22 5f621e34cdf4: Pulling fs layer 22:05:22 a4357932f1b6: Pulling fs layer 22:05:22 18c013af1878: Pulling fs layer 22:05:22 00ac8860ef70: Pulling fs layer 22:05:22 63d7cb157983: Pulling fs layer 22:05:22 b116817d02f9: Pulling fs layer 22:05:22 745a02a5169b: Pulling fs layer 22:05:22 00ac8860ef70: Waiting 22:05:22 63d7cb157983: Waiting 22:05:22 b116817d02f9: Waiting 22:05:22 745a02a5169b: Waiting 22:05:22 18c013af1878: Verifying Checksum 22:05:22 18c013af1878: Download complete 22:05:22 a4357932f1b6: Verifying Checksum 22:05:22 a4357932f1b6: Download complete 22:05:22 63d7cb157983: Download complete 22:05:22 b116817d02f9: Verifying Checksum 22:05:22 b116817d02f9: Download complete 22:05:22 5f621e34cdf4: Verifying Checksum 22:05:22 5f621e34cdf4: Download complete 22:05:23 5f621e34cdf4: Pull complete 22:05:24 a4357932f1b6: Pull complete 22:05:24 18c013af1878: Pull complete 22:05:24 745a02a5169b: Verifying Checksum 22:05:24 745a02a5169b: Download complete 22:05:25 00ac8860ef70: Verifying Checksum 22:05:25 00ac8860ef70: Download complete 22:05:36 00ac8860ef70: Pull complete 22:05:36 63d7cb157983: Pull complete 22:05:36 b116817d02f9: Pull complete 22:05:40 745a02a5169b: Pull complete 22:05:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:05:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:05:40 ---> b7e6874047d6 22:05:40 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 22:05:44 ---> Running in 1f7d5251bb1c 22:05:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:05:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:05:46 (1/12) Installing libmagic (5.38-r0) 22:05:46 (2/12) Installing file (5.38-r0) 22:05:46 (3/12) Installing libc-dev (0.7.2-r3) 22:05:46 (4/12) Installing g++ (9.3.0-r2) 22:05:51 (5/12) Installing fortify-headers (1.1-r0) 22:05:51 (6/12) Installing patch (2.7.6-r6) 22:05:51 (7/12) Installing build-base (0.5-r2) 22:05:51 (8/12) Installing libsodium (1.0.18-r0) 22:05:51 (9/12) Installing pkgconf (1.7.2-r0) 22:05:51 (10/12) Installing libsodium-dev (1.0.18-r0) 22:05:51 (11/12) Installing libzmq (4.3.3-r0) 22:05:51 (12/12) Installing zeromq-dev (4.3.3-r0) 22:05:51 Executing busybox-1.31.1-r19.trigger 22:05:51 OK: 217 MiB in 51 packages 22:05:55 Removing intermediate container 1f7d5251bb1c 22:05:55 ---> 9d0aa0338251 22:05:55 Step 4/6 : WORKDIR /edgex-go 22:05:55 ---> Running in d930936ef04e 22:05:55 Removing intermediate container d930936ef04e 22:05:55 ---> 90a4b5d4add7 22:05:55 Step 5/6 : COPY go.mod . 22:05:56 ---> 4cda2aa902a5 22:05:56 Step 6/6 : RUN go mod download 22:05:56 ---> Running in 7ab6bb0f3f2d 22:05:58 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 22:06:17 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 22:06:17 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 22:06:17 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 22:06:22 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 22:06:22 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 22:06:22 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 22:06:23 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 22:06:23 Removing intermediate container 7ab6bb0f3f2d 22:06:23 ---> 7b3e7cb2fdfc 22:06:23 Successfully built 7b3e7cb2fdfc 22:06:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:06:23 + docker inspect -f . ci-base-image-arm64 22:06:23 . [Pipeline] withDockerContainer 22:06:24 prd-ubuntu18.04-docker-arm64-4c-16g-2092 does not seem to be running inside a container 22:06:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/45 -v /w/workspace/edgex-go/45:/w/workspace/edgex-go/45:rw,z -v /w/workspace/edgex-go/45@tmp:/w/workspace/edgex-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:06:24 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 22:06:25 $ docker top d23d1b85e494e974ec4d39fddcdf489b702e34e51266714fdea6c3bf02a67b18 -eo pid,comm [Pipeline] { [Pipeline] sh 22:06:26 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 22:06:26 + go version 22:06:26 go version go1.15.5 linux/arm64 [Pipeline] } 22:06:26 $ docker stop --time=1 d23d1b85e494e974ec4d39fddcdf489b702e34e51266714fdea6c3bf02a67b18 22:06:28 $ docker rm -f d23d1b85e494e974ec4d39fddcdf489b702e34e51266714fdea6c3bf02a67b18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:06:29 + docker inspect -f . ci-base-image-arm64 22:06:29 . [Pipeline] withDockerContainer 22:06:29 prd-ubuntu18.04-docker-arm64-4c-16g-2092 does not seem to be running inside a container 22:06:29 $ 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/45 -v /w/workspace/edgex-go/45:/w/workspace/edgex-go/45:rw,z -v /w/workspace/edgex-go/45@tmp:/w/workspace/edgex-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:06:31 $ docker top 51a0ff73055bcf52992f3224c6e69ee48db76abcb3f8bb6c7a8bfc0fc239d4ed -eo pid,comm [Pipeline] { [Pipeline] echo 22:06:31 ========================================================= 22:06:31 [edgeXBuildGoParallel] Running Tests and Build... 22:06:31 ========================================================= [Pipeline] sh 22:06:32 + make test 22:06:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:06:33 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 22:06:33 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 22:06:33 ? github.com/edgexfoundry/edgex-go/internal [no test files] 22:06:39 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.441s coverage: 45.9% of statements 22:06:39 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 22:06:39 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 22:06:39 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 22:06:39 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 22:06:39 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 22:06:39 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 22:06:39 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.096s coverage: 19.8% of statements 22:06:39 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.306s coverage: 100.0% of statements 22:06:47 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.766s coverage: 27.1% of statements 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 22:06:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.179s coverage: 100.0% of statements 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 22:06:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.130s coverage: 100.0% of statements 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 22:06:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 22:06:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.324s coverage: 71.3% of statements 22:06:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 22:06:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 22:06:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.830s coverage: 87.7% of statements 22:06:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 22:06:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 22:06:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.181s coverage: 78.9% of statements 22:06:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 22:06:54 ? github.com/edgexfoundry/edgex-go [no test files] 22:07:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.195s coverage: 28.6% of statements 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 22:07:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.251s coverage: 100.0% of statements 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 22:07:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.120s coverage: 100.0% of statements 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 22:07:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.556s coverage: 86.7% of statements 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 22:07:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.280s coverage: 97.5% of statements 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 22:07:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.179s coverage: 78.3% of statements 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 22:07:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 22:07:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 2.530s coverage: 95.1% of statements 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 22:07:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.239s coverage: 58.8% of statements 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 22:07:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 22:07:11 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.220s coverage: 0.9% of statements 22:07:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 22:07:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 22:07:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 22:07:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.460s coverage: 47.1% of statements 22:07:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.620s coverage: 79.5% of statements 22:07:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.384s coverage: 94.1% of statements 22:07:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.369s coverage: 96.3% of statements 22:07:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.249s coverage: 87.5% of statements 22:07:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.427s coverage: 94.4% of statements 22:07:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.112s coverage: 44.8% of statements 22:07:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.526s coverage: 81.8% of statements 22:07:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.366s coverage: 92.9% of statements 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.099s coverage: 65.1% of statements 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.384s coverage: 87.2% of statements 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.169s coverage: 100.0% of statements 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 22:07:43 flag provided but not defined: -badarg 22:07:43 Usage of adduser: 22:07:43 -algorithm string 22:07:43 Algorithm used for signing the JWT, RS256 or ES256 22:07:43 -client_id string 22:07:43 Optional manually-specified OAuth2 client_id. 22:07:43 -client_secret string 22:07:43 Optional manually-specified OAuth2 client_secret. 22:07:43 -confdir string 22:07:43 22:07:43 -group string 22:07:43 Group to which the user belongs, defaults to 'gateway' (default "gateway") 22:07:43 -id string 22:07:43 ID to use for linkage with JWT claim (usually the 'iss' field) 22:07:43 -jwt string 22:07:43 The file containing the JWT for use when accessing the Kong Admin API 22:07:43 -public_key string 22:07:43 Public key (in PEM format) used to validate the JWT. 22:07:43 -redirect_uris string 22:07:43 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 22:07:43 -token-type string 22:07:43 Type of token to create: jwt or oauth2 22:07:43 -user string 22:07:43 Username of the user to add 22:07:43 --- FAIL: TestAddUserJWT (0.04s) 22:07:43 command_test.go:121: 22:07:43 Error Trace: command_test.go:121 22:07:43 Error: Received unexpected error: 22:07:43 failed to read JWT file: open s0meJWT: no such file or directory 22:07:43 Test: TestAddUserJWT 22:07:43 --- FAIL: TestAddUserOAuth2 (0.01s) 22:07:43 command_test.go:193: 22:07:43 Error Trace: command_test.go:193 22:07:43 Error: Received unexpected error: 22:07:43 failed to read JWT file: open s0meJWT: no such file or directory 22:07:43 Test: TestAddUserOAuth2 22:07:43 FAIL 22:07:43 coverage: 29.5% of statements 22:07:43 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.306s 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.795s coverage: 80.0% of statements 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.277s coverage: 87.2% of statements 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.181s coverage: 85.4% of statements 22:07:43 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.248s coverage: 91.2% of statements 22:07:43 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 22:07:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.918s coverage: 64.4% of statements 22:07:45 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 22:07:45 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 22:07:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.134s coverage: 100.0% of statements 22:07:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.080s coverage: 91.3% of statements 22:07:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.120s coverage: 100.0% of statements 22:07:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.137s coverage: 73.7% of statements 22:07:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.162s coverage: 100.0% of statements 22:07:51 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.189s coverage: 62.9% of statements 22:07:51 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 22:07:51 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 22:07:51 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 22:07:51 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 22:07:51 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 22:07:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.501s coverage: 41.5% of statements 22:07:54 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 22:07:54 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 22:07:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.109s coverage: 89.5% of statements 22:07:54 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 22:07:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.167s coverage: 84.8% of statements 22:07:59 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.982s coverage: 47.0% of statements 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 22:07:59 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.231s coverage: 100.0% of statements 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 22:07:59 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.144s coverage: 100.0% of statements 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 22:07:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 22:07:59 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 22:07:59 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 22:08:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.144s coverage: 9.6% of statements 22:08:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 22:08:01 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 22:08:01 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 22:08:01 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 22:08:01 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 22:08:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.480s coverage: 92.6% of statements 22:08:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 22:08:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 22:08:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 22:08:04 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 22:08:05 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 22:08:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.467s coverage: 28.7% of statements 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 22:08:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.332s coverage: 99.0% of statements 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 22:08:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.444s coverage: 100.0% of statements 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 22:08:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.186s coverage: 64.6% of statements 22:08:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 22:08:13 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 22:08:13 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 22:08:13 ? github.com/edgexfoundry/edgex-go/internal [no test files] 22:08:14 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.755s coverage: 97.6% of statements 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 22:08:14 ok github.com/edgexfoundry/edgex-go/internal/system 0.034s coverage: 0.0% of statements 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 22:08:14 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.147s coverage: 100.0% of statements 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 22:08:14 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.254s coverage: 87.9% of statements 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 22:08:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 22:08:14 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.045s coverage: 100.0% of statements 22:08:15 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.155s coverage: 28.1% of statements 22:08:16 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.071s coverage: 100.0% of statements 22:08:16 FAIL 22:08:18 make: *** [Makefile:94: test] Error 1 [Pipeline] } 22:08:18 $ docker stop --time=1 8b7bd283188da4484ae50c7214b92f4b4fd91fe084f1ef5d189bbaf544381ca9 22:08:19 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.354s coverage: 45.9% of statements 22:08:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 22:08:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 22:08:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 22:08:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 22:08:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 22:08:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 22:08:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.149s coverage: 19.8% of statements 22:08:20 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.242s coverage: 100.0% of statements 22:08:22 $ docker rm -f 8b7bd283188da4484ae50c7214b92f4b4fd91fe084f1ef5d189bbaf544381ca9 [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] } 22:08:23 Failed in branch amd64 22:08:28 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.530s coverage: 27.1% of statements 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 22:08:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.182s coverage: 100.0% of statements 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 22:08:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.139s coverage: 100.0% of statements 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 22:08:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.230s coverage: 71.3% of statements 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 22:08:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 22:08:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.488s coverage: 87.7% of statements 22:08:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 22:08:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 22:08:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.158s coverage: 78.9% of statements 22:08:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 22:08:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.141s coverage: 28.6% of statements 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 22:08:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.265s coverage: 100.0% of statements 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 22:08:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.128s coverage: 100.0% of statements 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 22:08:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.349s coverage: 86.7% of statements 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 22:08:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.506s coverage: 97.5% of statements 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 22:08:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.216s coverage: 78.3% of statements 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 22:08:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.130s coverage: 95.1% of statements 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.124s coverage: 58.8% of statements 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.196s coverage: 0.9% of statements 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 22:08:48 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.202s coverage: 47.1% of statements 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.180s coverage: 79.5% of statements 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.144s coverage: 94.1% of statements 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.156s coverage: 96.3% of statements 22:08:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.145s coverage: 87.5% of statements 22:09:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.146s coverage: 94.4% of statements 22:09:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.147s coverage: 44.8% of statements 22:09:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.478s coverage: 81.8% of statements 22:09:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.190s coverage: 92.9% of statements 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.069s coverage: 87.2% of statements 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 22:09:18 flag provided but not defined: -badarg 22:09:18 Usage of adduser: 22:09:18 -algorithm string 22:09:18 Algorithm used for signing the JWT, RS256 or ES256 22:09:18 -client_id string 22:09:18 Optional manually-specified OAuth2 client_id. 22:09:18 -client_secret string 22:09:18 Optional manually-specified OAuth2 client_secret. 22:09:18 -confdir string 22:09:18 22:09:18 -group string 22:09:18 Group to which the user belongs, defaults to 'gateway' (default "gateway") 22:09:18 -id string 22:09:18 ID to use for linkage with JWT claim (usually the 'iss' field) 22:09:18 -jwt string 22:09:18 The file containing the JWT for use when accessing the Kong Admin API 22:09:18 -public_key string 22:09:18 Public key (in PEM format) used to validate the JWT. 22:09:18 -redirect_uris string 22:09:18 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 22:09:18 -token-type string 22:09:18 Type of token to create: jwt or oauth2 22:09:18 -user string 22:09:18 Username of the user to add 22:09:18 --- FAIL: TestAddUserJWT (0.00s) 22:09:18 command_test.go:121: 22:09:18 Error Trace: command_test.go:121 22:09:18 Error: Received unexpected error: 22:09:18 failed to read JWT file: open s0meJWT: no such file or directory 22:09:18 Test: TestAddUserJWT 22:09:18 --- FAIL: TestAddUserOAuth2 (0.00s) 22:09:18 command_test.go:193: 22:09:18 Error Trace: command_test.go:193 22:09:18 Error: Received unexpected error: 22:09:18 failed to read JWT file: open s0meJWT: no such file or directory 22:09:18 Test: TestAddUserOAuth2 22:09:18 FAIL 22:09:18 coverage: 29.5% of statements 22:09:18 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.111s 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.118s coverage: 80.0% of statements 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.205s coverage: 87.2% of statements 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.248s coverage: 85.4% of statements 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.261s coverage: 91.2% of statements 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.628s coverage: 64.4% of statements 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 22:09:18 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.123s coverage: 100.0% of statements 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.088s coverage: 91.3% of statements 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.059s coverage: 73.7% of statements 22:09:18 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements 22:09:22 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.896s coverage: 62.9% of statements 22:09:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 22:09:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 22:09:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 22:09:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.488s coverage: 41.5% of statements 22:09:25 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 22:09:25 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 22:09:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.117s coverage: 89.5% of statements 22:09:25 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 22:09:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.104s coverage: 84.8% of statements 22:09:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.449s coverage: 47.0% of statements 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 22:09:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.147s coverage: 100.0% of statements 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 22:09:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.101s coverage: 100.0% of statements 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 22:09:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.135s coverage: 9.6% of statements 22:09:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 22:09:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.465s coverage: 92.6% of statements 22:09:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 22:09:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 22:09:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.424s coverage: 28.7% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.183s coverage: 99.0% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.204s coverage: 100.0% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.161s coverage: 64.6% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.389s coverage: 97.6% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/system 0.064s coverage: 0.0% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.092s coverage: 100.0% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.090s coverage: 87.9% of statements 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 22:09:40 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 22:09:40 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.065s coverage: 100.0% of statements 22:09:42 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.121s coverage: 28.1% of statements 22:09:42 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.087s coverage: 100.0% of statements 22:09:42 FAIL 22:09:43 make: *** [Makefile:94: test] Error 1 [Pipeline] } 22:09:43 $ docker stop --time=1 51a0ff73055bcf52992f3224c6e69ee48db76abcb3f8bb6c7a8bfc0fc239d4ed 22:09:45 $ docker rm -f 51a0ff73055bcf52992f3224c6e69ee48db76abcb3f8bb6c7a8bfc0fc239d4ed [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 22:09:46 ---> job-cost.sh 22:09:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1Gw8 22:10:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:11:47 lf-activate-venv(): INFO: Adding /tmp/venv-1Gw8/bin to PATH 22:11:47 INFO: No Stack... 22:11:47 INFO: Retrieving Pricing Info for: lf-standard-4 22:11:47 INFO: Archiving Costs [Pipeline] sh 22:11:47 + + cut -d,cat -f6 22:11:47 /w/workspace/edgex-go/45/archives/cost.csv [Pipeline] lock 22:11:48 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-45-stack-cost] 22:11:48 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-45-stack-cost] did not exist. Created. 22:11:48 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:11:48 + echo total: 0.20999999344348907 [Pipeline] stash 22:11:49 Stashed 1 file(s) [Pipeline] } 22:11:49 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-45-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:11:49 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 22:11:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:11:52 ---> package-listing.sh 22:11:52 ++ facter osfamily 22:11:52 ++ tr '[:upper:]' '[:lower:]' 22:11:53 + OS_FAMILY=redhat 22:11:53 + workspace=/w/workspace/edgex-go/45 22:11:53 + START_PACKAGES=/tmp/packages_start.txt 22:11:53 + END_PACKAGES=/tmp/packages_end.txt 22:11:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:11:53 + PACKAGES=/tmp/packages_start.txt 22:11:53 + '[' /w/workspace/edgex-go/45 ']' 22:11:53 + PACKAGES=/tmp/packages_end.txt 22:11:53 + case "${OS_FAMILY}" in 22:11:53 + rpm -qa 22:11:53 + sort 22:12:12 + '[' -f /tmp/packages_start.txt ']' 22:12:12 + '[' -f /tmp/packages_end.txt ']' 22:12:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:12:12 + '[' /w/workspace/edgex-go/45 ']' 22:12:12 + mkdir -p /w/workspace/edgex-go/45/archives/ 22:12:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/45/archives/ [Pipeline] echo 22:12:12 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/45/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:12:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:12:16 22:12:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:12:18 alpine: Pulling from edgex-lftools-log-publisher 22:12:18 df20fa9351a1: Pulling fs layer 22:12:18 36b3adc4ff6f: Pulling fs layer 22:12:18 8ad3a11d3b57: Pulling fs layer 22:12:18 46f8f816bc3b: Pulling fs layer 22:12:18 93b61091891f: Pulling fs layer 22:12:18 93b9cdb0e59b: Pulling fs layer 22:12:18 5e14af77c1be: Pulling fs layer 22:12:18 01666e4c0597: Pulling fs layer 22:12:18 aa168da1d23b: Pulling fs layer 22:12:18 93b61091891f: Waiting 22:12:18 93b9cdb0e59b: Waiting 22:12:18 5e14af77c1be: Waiting 22:12:18 01666e4c0597: Waiting 22:12:18 aa168da1d23b: Waiting 22:12:18 46f8f816bc3b: Waiting 22:12:18 36b3adc4ff6f: Download complete 22:12:18 46f8f816bc3b: Verifying Checksum 22:12:18 46f8f816bc3b: Download complete 22:12:18 df20fa9351a1: Download complete 22:12:18 93b61091891f: Verifying Checksum 22:12:18 93b61091891f: Download complete 22:12:18 93b9cdb0e59b: Verifying Checksum 22:12:18 93b9cdb0e59b: Download complete 22:12:18 01666e4c0597: Verifying Checksum 22:12:18 01666e4c0597: Download complete 22:12:18 5e14af77c1be: Verifying Checksum 22:12:18 5e14af77c1be: Download complete 22:12:19 8ad3a11d3b57: Verifying Checksum 22:12:19 8ad3a11d3b57: Download complete 22:12:20 df20fa9351a1: Pull complete 22:12:22 36b3adc4ff6f: Pull complete 22:12:29 8ad3a11d3b57: Pull complete 22:12:29 46f8f816bc3b: Pull complete 22:12:33 93b61091891f: Pull complete 22:12:34 93b9cdb0e59b: Pull complete 22:12:35 5e14af77c1be: Pull complete 22:12:35 01666e4c0597: Pull complete 22:12:36 aa168da1d23b: Verifying Checksum 22:12:36 aa168da1d23b: Download complete 22:13:09 aa168da1d23b: Pull complete 22:13:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:13:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:13:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:13:10 prd-centos7-docker-4c-2g-2089 does not seem to be running inside a container 22:13:10 $ 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/45/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/45 -v /w/workspace/edgex-go/45:/w/workspace/edgex-go/45:rw,z -v /w/workspace/edgex-go/45@tmp:/w/workspace/edgex-go/45@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:13:14 $ docker top 91b1a96a9df8b8b3a9380b37f5891c0817a82343c6c346f30e9bb392f116ffd5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:15 + touch /tmp/pre-build-complete [Pipeline] sh 22:13:16 + mkdir -p /var/log/sa [Pipeline] sh 22:13:17 + ls /var/log/sa-host 22:13:17 + sadf -c /var/log/sa-host/sa23 22:13:17 file_magic: OK 22:13:17 HZ: Using current value: 100 22:13:17 file_header: OK 22:13:17 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 22:13:17 Statistics: 22:13:17 Hnuu...uuuununununu... 22:13:17 File successfully converted to sysstat format version 12.2.1 22:13:17 + sadf -c /var/log/sa-host/sa27 22:13:17 file_magic: OK 22:13:17 HZ: Using current value: 100 22:13:17 file_header: OK 22:13:17 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 22:13:17 Statistics: 22:13:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:13:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:17 provisioning config files... 22:13:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/45@tmp/config1195344004103813977tmp [Pipeline] { [Pipeline] echo 22:13:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:13:18 ---> create-netrc.sh [Pipeline] } 22:13:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:13:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:13:19 ---> python-tools-install.sh [Pipeline] echo 22:13:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:13:20 ---> sudo-logs.sh 22:13:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:13:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:13:21 ---> job-cost.sh 22:13:21 lf-activate-venv: SKIPPING 22:13:21 DEBUG: total: 0.20999999344348907 22:13:21 INFO: Retrieving Stack Cost... 22:13:22 INFO: Retrieving Pricing Info for: v1-standard-2 22:13:23 INFO: Archiving Costs [Pipeline] echo 22:13:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:13:23 ---> logs-deploy.sh 22:13:23 lf-activate-venv: SKIPPING 22:13:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/45 22:13:23 INFO: archiving workspace using pattern(s): 22:13:29 Archives upload complete. 22:13:29 INFO: archiving logs to Nexus