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 c796ab5118b64547de9a13c06ad4bb1386789b9b 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-2087 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/44 [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/44 # 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 c796ab5118b64547de9a13c06ad4bb1386789b9b Merge succeeded, producing 7e73357f8cb1fcdb6d91e2be9971f26d924da7e2 Checking out Revision 7e73357f8cb1fcdb6d91e2be9971f26d924da7e2 (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f c796ab5118b64547de9a13c06ad4bb1386789b9b # 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 7e73357f8cb1fcdb6d91e2be9971f26d924da7e2 # timeout=10 Commit message: "Merge commit 'd6c94b2bf9e03361c9a87fbe2ddec88137f69d04' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 10079b2b181f3fa4473867c4ea5f8bc429aed6f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:52:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:52:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:52:51 ========================================================= 21:52:51 EdgeX Global Pipelines Version Info 21:52:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:52:53 ------------------- 21:52:53 stable info: 21:52:53 ------------------- 21:52:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:52:53 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 21:52:53 Message: update stable to v1.0.186 21:52:54 ------------------- 21:52:54 experimental info: 21:52:54 ------------------- 21:52:54 Commited By: **** collab-it+edgex@linuxfoundation.org 21:52:54 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 21:52:54 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 21:52:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e73357f8cb1fcdb6d91e2be9971f26d924da7e2 [Pipeline] echo 21:52:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e73357 [Pipeline] echo 21:52:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:52:55 provisioning config files... 21:52:55 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/44@tmp/config2054907174091475057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:55 ---> docker-login.sh 21:52:55 nexus3.edgexfoundry.org:10001 21:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:56 Configure a credential helper to remove this warning. See 21:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:56 21:52:56 Login Succeeded 21:52:56 nexus3.edgexfoundry.org:10002 21:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:56 Configure a credential helper to remove this warning. See 21:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:56 21:52:56 Login Succeeded 21:52:56 nexus3.edgexfoundry.org:10003 21:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:56 Configure a credential helper to remove this warning. See 21:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:56 21:52:56 Login Succeeded 21:52:56 nexus3.edgexfoundry.org:10004 21:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:56 Configure a credential helper to remove this warning. See 21:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:56 21:52:56 Login Succeeded 21:52:56 docker.io 21:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:57 Configure a credential helper to remove this warning. See 21:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:57 21:52:57 Login Succeeded 21:52:57 ---> docker-login.sh ends [Pipeline] } 21:52:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:52:57 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/core-command/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo core-command,cmd/core-command/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/core-data/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo core-data,cmd/core-data/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/core-metadata/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo core-metadata,cmd/core-metadata/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/security-bootstrapper/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/security-proxy-setup/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/security-secretstore-setup/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/support-notifications/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo support-notifications,cmd/support-notifications/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/support-scheduler/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:52:57 + for file in '`ls cmd/**/Dockerfile`' 21:52:57 ++ dirname cmd/sys-mgmt-agent/Dockerfile 21:52:57 ++ cut -d/ -f2 21:52:57 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:52:57 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:52:58 21:52:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:52:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:52:58 latest: Pulling from edgex-devops/git-semver 21:52:58 31603596830f: Pulling fs layer 21:52:58 ed72481023dd: Pulling fs layer 21:52:58 c32a4479710f: Pulling fs layer 21:52:58 c2876331c4ee: Pulling fs layer 21:52:58 c2876331c4ee: Waiting 21:52:58 ed72481023dd: Verifying Checksum 21:52:58 ed72481023dd: Download complete 21:52:58 31603596830f: Verifying Checksum 21:52:58 31603596830f: Download complete 21:52:58 c2876331c4ee: Verifying Checksum 21:52:58 c2876331c4ee: Download complete 21:52:58 c32a4479710f: Verifying Checksum 21:52:58 c32a4479710f: Download complete 21:52:58 31603596830f: Pull complete 21:52:58 ed72481023dd: Pull complete 21:52:59 c32a4479710f: Pull complete 21:53:00 c2876331c4ee: Pull complete 21:53:00 Digest: sha256:847ffe7ce2e7ac62508696f65e6af8fb3845486e82f4c7d75a16a052f406db85 21:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:53:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:53:00 prd-centos7-docker-4c-2g-2087 does not seem to be running inside a container 21:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/44 -v /w/workspace/edgex-go/44:/w/workspace/edgex-go/44:rw,z -v /w/workspace/edgex-go/44@tmp:/w/workspace/edgex-go/44@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 21:53:03 $ docker top 6063fb0464013263b27b37f9377d7fa53f46d8ee038fb7d225a13f042737eba4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:03 [ssh-agent] Looking for ssh-agent implementation... 21:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:03 $ docker exec 6063fb0464013263b27b37f9377d7fa53f46d8ee038fb7d225a13f042737eba4 ssh-agent 21:53:03 SSH_AUTH_SOCK=/tmp/ssh-HTRSadS8ObKE/agent.11 21:53:03 SSH_AGENT_PID=16 21:53:03 Running ssh-add (command line suppressed) 21:53:03 Identity added: /w/workspace/edgex-go/44@tmp/private_key_1193649389136337114.key (/w/workspace/edgex-go/44@tmp/private_key_1193649389136337114.key) 21:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:04 + git tag --points-at HEAD [Pipeline] } 21:53:04 $ docker exec --env ******** --env ******** 6063fb0464013263b27b37f9377d7fa53f46d8ee038fb7d225a13f042737eba4 ssh-agent -k 21:53:04 unset SSH_AUTH_SOCK; 21:53:04 unset SSH_AGENT_PID; 21:53:04 echo Agent pid 16 killed; 21:53:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:04 [ssh-agent] Looking for ssh-agent implementation... 21:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:04 $ docker exec 6063fb0464013263b27b37f9377d7fa53f46d8ee038fb7d225a13f042737eba4 ssh-agent 21:53:04 SSH_AUTH_SOCK=/tmp/ssh-sNXCRi5A8V1w/agent.45 21:53:04 SSH_AGENT_PID=50 21:53:04 Running ssh-add (command line suppressed) 21:53:04 Identity added: /w/workspace/edgex-go/44@tmp/private_key_6840635124382551809.key (/w/workspace/edgex-go/44@tmp/private_key_6840635124382551809.key) 21:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:05 + git semver init 21:53:05 # -> Open(): unable to determine branch for HEAD 21:53:05 # $GIT_DIR = /w/workspace/edgex-go/44/.git 21:53:05 # $GIT_WORK_TREE = /w/workspace/edgex-go/44 21:53:05 # $SEMVER_REMOTE_NAME = origin 21:53:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:53:05 # $SEMVER_USER_NAME = edgex-jenkins 21:53:05 # $SEMVER_BRANCH = PR-3328 21:53:05 # $SEMVER_TEMP = /tmp/semver-214763110 21:53:05 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 21:53:23 # '/tmp/semver-214763110' -> '/w/workspace/edgex-go/44/.semver' 21:53:23 # -> Force: false 21:53:23 # $SEMVER_DIR = /w/workspace/edgex-go/44/.semver [Pipeline] } 21:53:23 $ docker exec --env ******** --env ******** 6063fb0464013263b27b37f9377d7fa53f46d8ee038fb7d225a13f042737eba4 ssh-agent -k 21:53:24 unset SSH_AUTH_SOCK; 21:53:24 unset SSH_AGENT_PID; 21:53:24 echo Agent pid 50 killed; 21:53:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:53:24 + git semver [Pipeline] } 21:53:24 $ docker stop --time=1 6063fb0464013263b27b37f9377d7fa53f46d8ee038fb7d225a13f042737eba4 21:53:26 $ docker rm -f 6063fb0464013263b27b37f9377d7fa53f46d8ee038fb7d225a13f042737eba4 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:53:27 Stashed 1 file(s) [Pipeline] echo 21:53:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:53:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:53:28 + sudo service docker restart 21:53:28 + true 21:53:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 21:53:29 ========================================================= 21:53:29 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:53:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:53:29 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 21:53:32 Sending build context to Docker daemon 329.8MB 21:53:32 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 21:53:32 Step 2/6 : FROM ${BASE} 21:53:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:53:32 188c0c94c7c5: Pulling fs layer 21:53:32 0ef7d3d256c8: Pulling fs layer 21:53:32 de9db76c5a1d: Pulling fs layer 21:53:32 bca2f99d35d6: Pulling fs layer 21:53:32 93359f2a8cfa: Pulling fs layer 21:53:32 7c6f9722023f: Pulling fs layer 21:53:32 a35cf1a2eb13: Pulling fs layer 21:53:32 bca2f99d35d6: Waiting 21:53:32 93359f2a8cfa: Waiting 21:53:32 a35cf1a2eb13: Waiting 21:53:32 7c6f9722023f: Waiting 21:53:32 de9db76c5a1d: Verifying Checksum 21:53:32 de9db76c5a1d: Download complete 21:53:32 0ef7d3d256c8: Download complete 21:53:32 93359f2a8cfa: Verifying Checksum 21:53:32 93359f2a8cfa: Download complete 21:53:32 188c0c94c7c5: Verifying Checksum 21:53:32 188c0c94c7c5: Download complete 21:53:32 7c6f9722023f: Verifying Checksum 21:53:32 7c6f9722023f: Download complete 21:53:33 188c0c94c7c5: Pull complete 21:53:33 0ef7d3d256c8: Pull complete 21:53:33 de9db76c5a1d: Pull complete 21:53:35 a35cf1a2eb13: Verifying Checksum 21:53:35 a35cf1a2eb13: Download complete 21:53:35 bca2f99d35d6: Verifying Checksum 21:53:35 bca2f99d35d6: Download complete 21:53:40 bca2f99d35d6: Pull complete 21:53:40 93359f2a8cfa: Pull complete 21:53:41 7c6f9722023f: Pull complete 21:53:42 Still waiting to schedule task 21:53:42 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2086’ is offline 21:53:46 a35cf1a2eb13: Pull complete 21:53:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:53:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:53:46 ---> a62c8e92a672 21:53:46 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 21:53:46 ---> Running in b7635300f121 21:53:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:53:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:53:47 (1/12) Installing libmagic (5.38-r0) 21:53:48 (2/12) Installing file (5.38-r0) 21:53:48 (3/12) Installing libc-dev (0.7.2-r3) 21:53:48 (4/12) Installing g++ (9.3.0-r2) 21:53:53 (5/12) Installing fortify-headers (1.1-r0) 21:53:53 (6/12) Installing patch (2.7.6-r6) 21:53:53 (7/12) Installing build-base (0.5-r2) 21:53:53 (8/12) Installing libsodium (1.0.18-r0) 21:53:53 (9/12) Installing pkgconf (1.7.2-r0) 21:53:53 (10/12) Installing libsodium-dev (1.0.18-r0) 21:53:53 (11/12) Installing libzmq (4.3.3-r0) 21:53:53 (12/12) Installing zeromq-dev (4.3.3-r0) 21:53:53 Executing busybox-1.31.1-r19.trigger 21:53:53 OK: 233 MiB in 51 packages 21:53:57 Removing intermediate container b7635300f121 21:53:57 ---> 84fe33ca6a86 21:53:57 Step 4/6 : WORKDIR /edgex-go 21:53:57 ---> Running in 319efab08312 21:53:57 Removing intermediate container 319efab08312 21:53:57 ---> 3a0eadb59e16 21:53:57 Step 5/6 : COPY go.mod . 21:53:57 ---> 9174cfbb0d6b 21:53:57 Step 6/6 : RUN go mod download 21:53:58 ---> Running in 276b3a56c09f 21:54:20 Removing intermediate container 276b3a56c09f 21:54:20 ---> dee70ae1d6cb 21:54:20 Successfully built dee70ae1d6cb 21:54:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:54:20 + docker inspect -f . ci-base-image-x86_64 21:54:20 . [Pipeline] withDockerContainer 21:54:20 prd-centos7-docker-4c-2g-2087 does not seem to be running inside a container 21:54:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/44 -v /w/workspace/edgex-go/44:/w/workspace/edgex-go/44:rw,z -v /w/workspace/edgex-go/44@tmp:/w/workspace/edgex-go/44@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 21:54:21 $ docker top 698a92c2a9b0332b2dd39fa1fbca0d91277dd396b747b03c189a9869b6a86e1b -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:22 + go version 21:54:22 go version go1.15.5 linux/amd64 [Pipeline] } 21:54:22 $ docker stop --time=1 698a92c2a9b0332b2dd39fa1fbca0d91277dd396b747b03c189a9869b6a86e1b 21:54:23 $ docker rm -f 698a92c2a9b0332b2dd39fa1fbca0d91277dd396b747b03c189a9869b6a86e1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:54:23 + docker inspect -f . ci-base-image-x86_64 21:54:23 . [Pipeline] withDockerContainer 21:54:24 prd-centos7-docker-4c-2g-2087 does not seem to be running inside a container 21:54:24 $ 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/44 -v /w/workspace/edgex-go/44:/w/workspace/edgex-go/44:rw,z -v /w/workspace/edgex-go/44@tmp:/w/workspace/edgex-go/44@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 21:54:24 $ docker top ade8b1f849a0b1a7982380c8943e1c6b697c860faae907a9b1a98e389e260869 -eo pid,comm [Pipeline] { [Pipeline] echo 21:54:25 ========================================================= 21:54:25 [edgeXBuildGoParallel] Running Tests and Build... 21:54:25 ========================================================= [Pipeline] sh 21:54:25 + make test 21:54:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:54:35 ? github.com/edgexfoundry/edgex-go [no test files] 21:54:53 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:54:58 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:54:58 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:54:58 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:55:02 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:55:02 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:55:02 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:55:02 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:55:02 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:55:03 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:55:05 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:55:05 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:55:05 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:55:09 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.115s coverage: 45.9% of statements 21:55:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:55:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:55:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:55:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:55:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:55:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 21:55:09 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.062s coverage: 19.8% of statements 21:55:09 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.103s coverage: 100.0% of statements 21:55:11 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.265s coverage: 27.1% of statements 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:55:11 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.063s coverage: 100.0% of statements 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:55:11 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.107s coverage: 100.0% of statements 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:55:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:55:12 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.093s coverage: 71.3% of statements 21:55:12 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:55:12 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:55:13 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.207s coverage: 87.7% of statements 21:55:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:55:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:55:13 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.085s coverage: 78.9% of statements 21:55:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:55:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.370s coverage: 28.6% of statements 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:55:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.085s coverage: 100.0% of statements 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:55:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.057s coverage: 100.0% of statements 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:55:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.165s coverage: 86.7% of statements 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:55:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.152s coverage: 97.5% of statements 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:55:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.083s coverage: 78.3% of statements 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:55:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:55:18 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.382s coverage: 95.1% of statements 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:55:18 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.055s coverage: 58.8% of statements 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:55:18 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.068s coverage: 0.9% of statements 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 21:55:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:55:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.073s coverage: 47.1% of statements 21:55:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.069s coverage: 79.5% of statements 21:55:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.064s coverage: 94.1% of statements 21:55:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.088s coverage: 96.3% of statements 21:55:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.059s coverage: 87.5% of statements 21:55:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2088 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 21:55:27 Running in /w/workspace/edgex-go/44 [Pipeline] { [Pipeline] checkout 21:55:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.063s coverage: 94.4% of statements 21:55:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.060s coverage: 44.8% of statements 21:55:32 using credential edgex-jenkins-ssh 21:55:32 Cloning the remote Git repository 21:55:32 Cloning repository git@github.com:edgexfoundry/edgex-go.git 21:55:32 > git init /w/workspace/edgex-go/44 # timeout=10 21:55:32 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:55:32 > git --version # timeout=10 21:55:33 > git --version # 'git version 2.17.1' 21:55:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.260s coverage: 81.8% of statements 21:55:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.092s coverage: 92.9% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.040s coverage: 87.2% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:55:44 flag provided but not defined: -badarg 21:55:44 Usage of adduser: 21:55:44 -algorithm string 21:55:44 Algorithm used for signing the JWT, RS256 or ES256 21:55:44 -client_id string 21:55:44 Optional manually-specified OAuth2 client_id. 21:55:44 -client_secret string 21:55:44 Optional manually-specified OAuth2 client_secret. 21:55:44 -confdir string 21:55:44 21:55:44 -group string 21:55:44 Group to which the user belongs, defaults to 'gateway' (default "gateway") 21:55:44 -id string 21:55:44 ID to use for linkage with JWT claim (usually the 'iss' field) 21:55:44 -jwt string 21:55:44 The file containing the JWT for use when accessing the Kong Admin API 21:55:44 -public_key string 21:55:44 Public key (in PEM format) used to validate the JWT. 21:55:44 -redirect_uris string 21:55:44 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 21:55:44 -token-type string 21:55:44 Type of token to create: jwt or oauth2 21:55:44 -user string 21:55:44 Username of the user to add 21:55:44 --- FAIL: TestAddUserJWT (0.00s) 21:55:44 command_test.go:121: 21:55:44 Error Trace: command_test.go:121 21:55:44 Error: Received unexpected error: 21:55:44 failed to read JWT file: open s0meJWT: no such file or directory 21:55:44 Test: TestAddUserJWT 21:55:44 --- FAIL: TestAddUserOAuth2 (0.00s) 21:55:44 command_test.go:193: 21:55:44 Error Trace: command_test.go:193 21:55:44 Error: Received unexpected error: 21:55:44 failed to read JWT file: open s0meJWT: no such file or directory 21:55:44 Test: TestAddUserOAuth2 21:55:44 FAIL 21:55:44 coverage: 29.5% of statements 21:55:44 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.048s 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.059s coverage: 80.0% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.095s coverage: 87.2% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.075s coverage: 85.4% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.106s coverage: 91.2% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.206s coverage: 64.4% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.059s coverage: 100.0% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.040s coverage: 91.3% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.045s coverage: 100.0% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.034s coverage: 73.7% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.031s coverage: 100.0% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.328s coverage: 62.9% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.184s coverage: 41.5% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.038s coverage: 84.8% of statements 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.146s coverage: 47.0% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.066s coverage: 100.0% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.057s coverage: 100.0% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.063s coverage: 9.6% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.136s coverage: 92.6% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.732s coverage: 28.7% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.067s coverage: 99.0% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.069s coverage: 100.0% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 21:55:44 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.063s coverage: 64.6% of statements 21:55:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 21:55:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.129s coverage: 97.6% of statements 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 21:55:45 ok github.com/edgexfoundry/edgex-go/internal/system 0.025s coverage: 0.0% of statements 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:55:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.035s coverage: 100.0% of statements 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 21:55:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.044s coverage: 87.9% of statements 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 21:55:45 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:55:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.044s coverage: 100.0% of statements 21:55:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.059s coverage: 28.1% of statements 21:55:45 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 21:55:45 FAIL 21:55:46 make: *** [Makefile:94: test] Error 1 [Pipeline] } 21:55:46 $ docker stop --time=1 ade8b1f849a0b1a7982380c8943e1c6b697c860faae907a9b1a98e389e260869 21:55:48 $ docker rm -f ade8b1f849a0b1a7982380c8943e1c6b697c860faae907a9b1a98e389e260869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:55:49 Failed in branch amd64 21:55:49 Merging remotes/origin/master commit d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 into PR head commit c796ab5118b64547de9a13c06ad4bb1386789b9b 21:55:48 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:55:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:48 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:55:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:55:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:55:49 > git config core.sparsecheckout # timeout=10 21:55:49 > git checkout -f c796ab5118b64547de9a13c06ad4bb1386789b9b # timeout=10 21:55:49 > git remote # timeout=10 21:55:49 > git config --get remote.origin.url # timeout=10 21:55:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:49 > git merge d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 # timeout=10 21:55:49 Merge succeeded, producing 5e46535dfbe33070c8e697486f97cad06366135c 21:55:49 Checking out Revision 5e46535dfbe33070c8e697486f97cad06366135c (PR-3328) 21:55:49 > git rev-parse HEAD^{commit} # timeout=10 21:55:49 > git config core.sparsecheckout # timeout=10 21:55:49 > git checkout -f 5e46535dfbe33070c8e697486f97cad06366135c # timeout=10 21:55:54 Commit message: "Merge commit 'd6c94b2bf9e03361c9a87fbe2ddec88137f69d04' into HEAD" 21:55:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:55:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:55:54 > git rev-list --no-walk 10079b2b181f3fa4473867c4ea5f8bc429aed6f7 # timeout=10 21:55:56 + sudo+ servicetrue 21:55:56 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:55:59 provisioning config files... 21:55:59 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/44@tmp/config1162037678334088929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:59 ---> docker-login.sh 21:55:59 nexus3.edgexfoundry.org:10001 21:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:00 Configure a credential helper to remove this warning. See 21:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:00 21:56:00 Login Succeeded 21:56:00 nexus3.edgexfoundry.org:10002 21:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:01 Configure a credential helper to remove this warning. See 21:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:01 21:56:01 Login Succeeded 21:56:01 nexus3.edgexfoundry.org:10003 21:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:02 Configure a credential helper to remove this warning. See 21:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:02 21:56:02 Login Succeeded 21:56:02 nexus3.edgexfoundry.org:10004 21:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:02 Configure a credential helper to remove this warning. See 21:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:02 21:56:02 Login Succeeded 21:56:02 docker.io 21:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:03 Configure a credential helper to remove this warning. See 21:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:03 21:56:03 Login Succeeded 21:56:03 ---> docker-login.sh ends [Pipeline] } 21:56:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:56:03 ========================================================= 21:56:03 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:56:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:56:03 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 21:56:06 Sending build context to Docker daemon 167.5MB 21:56:06 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 21:56:06 Step 2/6 : FROM ${BASE} 21:56:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:56:06 5f621e34cdf4: Pulling fs layer 21:56:06 a4357932f1b6: Pulling fs layer 21:56:06 18c013af1878: Pulling fs layer 21:56:06 00ac8860ef70: Pulling fs layer 21:56:06 63d7cb157983: Pulling fs layer 21:56:06 b116817d02f9: Pulling fs layer 21:56:06 745a02a5169b: Pulling fs layer 21:56:06 00ac8860ef70: Waiting 21:56:06 63d7cb157983: Waiting 21:56:06 b116817d02f9: Waiting 21:56:06 745a02a5169b: Waiting 21:56:06 18c013af1878: Verifying Checksum 21:56:06 18c013af1878: Download complete 21:56:06 a4357932f1b6: Verifying Checksum 21:56:06 a4357932f1b6: Download complete 21:56:06 63d7cb157983: Verifying Checksum 21:56:06 63d7cb157983: Download complete 21:56:06 b116817d02f9: Download complete 21:56:06 5f621e34cdf4: Verifying Checksum 21:56:06 5f621e34cdf4: Download complete 21:56:07 5f621e34cdf4: Pull complete 21:56:07 a4357932f1b6: Pull complete 21:56:07 18c013af1878: Pull complete 21:56:08 745a02a5169b: Download complete 21:56:09 00ac8860ef70: Verifying Checksum 21:56:09 00ac8860ef70: Download complete 21:56:22 00ac8860ef70: Pull complete 21:56:22 63d7cb157983: Pull complete 21:56:22 b116817d02f9: Pull complete 21:56:24 745a02a5169b: Pull complete 21:56:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:56:24 ---> b7e6874047d6 21:56:24 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 21:56:28 ---> Running in 0405b1270d02 21:56:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:56:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:56:30 (1/12) Installing libmagic (5.38-r0) 21:56:30 (2/12) Installing file (5.38-r0) 21:56:30 (3/12) Installing libc-dev (0.7.2-r3) 21:56:30 (4/12) Installing g++ (9.3.0-r2) 21:56:35 (5/12) Installing fortify-headers (1.1-r0) 21:56:35 (6/12) Installing patch (2.7.6-r6) 21:56:35 (7/12) Installing build-base (0.5-r2) 21:56:35 (8/12) Installing libsodium (1.0.18-r0) 21:56:35 (9/12) Installing pkgconf (1.7.2-r0) 21:56:35 (10/12) Installing libsodium-dev (1.0.18-r0) 21:56:35 (11/12) Installing libzmq (4.3.3-r0) 21:56:35 (12/12) Installing zeromq-dev (4.3.3-r0) 21:56:35 Executing busybox-1.31.1-r19.trigger 21:56:35 OK: 217 MiB in 51 packages 21:56:39 Removing intermediate container 0405b1270d02 21:56:39 ---> ade99ff4526c 21:56:39 Step 4/6 : WORKDIR /edgex-go 21:56:39 ---> Running in 0f680b67f858 21:56:40 Removing intermediate container 0f680b67f858 21:56:40 ---> 11ec762a99ea 21:56:40 Step 5/6 : COPY go.mod . 21:56:40 ---> a4ab4257c84c 21:56:40 Step 6/6 : RUN go mod download 21:56:40 ---> Running in 9fe5212342ef 21:57:07 Removing intermediate container 9fe5212342ef 21:57:07 ---> 06bf8c7d79ce 21:57:07 Successfully built 06bf8c7d79ce 21:57:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:57:08 + docker inspect -f . ci-base-image-arm64 21:57:08 . [Pipeline] withDockerContainer 21:57:08 prd-ubuntu18.04-docker-arm64-4c-16g-2088 does not seem to be running inside a container 21:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/44 -v /w/workspace/edgex-go/44:/w/workspace/edgex-go/44:rw,z -v /w/workspace/edgex-go/44@tmp:/w/workspace/edgex-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:57:09 $ docker top 19dfe85d47ca79a29d763f7c12fee4fedc8fff75930f164cc1b255050736fb32 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:10 + go version 21:57:10 go version go1.15.5 linux/arm64 [Pipeline] } 21:57:10 $ docker stop --time=1 19dfe85d47ca79a29d763f7c12fee4fedc8fff75930f164cc1b255050736fb32 21:57:12 $ docker rm -f 19dfe85d47ca79a29d763f7c12fee4fedc8fff75930f164cc1b255050736fb32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:57:13 + docker inspect -f . ci-base-image-arm64 21:57:13 . [Pipeline] withDockerContainer 21:57:13 prd-ubuntu18.04-docker-arm64-4c-16g-2088 does not seem to be running inside a container 21:57:13 $ 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/44 -v /w/workspace/edgex-go/44:/w/workspace/edgex-go/44:rw,z -v /w/workspace/edgex-go/44@tmp:/w/workspace/edgex-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:57:15 $ docker top aceb38dfff36b1abbed416652ed163966b7c8525412b0304ed21219e615514ca -eo pid,comm [Pipeline] { [Pipeline] echo 21:57:15 ========================================================= 21:57:15 [edgeXBuildGoParallel] Running Tests and Build... 21:57:15 ========================================================= [Pipeline] sh 21:57:16 + make test 21:57:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:57:38 ? github.com/edgexfoundry/edgex-go [no test files] 21:58:35 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:58:35 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:58:42 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:58:42 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:58:44 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:58:44 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:58:44 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:58:44 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:58:48 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:58:48 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:58:57 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:58:57 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:58:57 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:59:02 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.478s coverage: 45.9% of statements 21:59:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:59:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:59:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:59:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:59:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:59:02 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 21:59:02 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.153s coverage: 19.8% of statements 21:59:02 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.233s coverage: 100.0% of statements 21:59:10 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.562s coverage: 27.1% of statements 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:59:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.139s coverage: 100.0% of statements 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:59:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.147s coverage: 100.0% of statements 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:59:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.245s coverage: 71.3% of statements 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:59:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:59:12 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.570s coverage: 87.7% of statements 21:59:12 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:59:12 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:59:12 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.239s coverage: 78.9% of statements 21:59:12 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:59:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.153s coverage: 28.6% of statements 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:59:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.203s coverage: 100.0% of statements 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:59:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.145s coverage: 100.0% of statements 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:59:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.461s coverage: 86.7% of statements 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:59:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.455s coverage: 97.5% of statements 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:59:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.221s coverage: 78.3% of statements 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:59:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.181s coverage: 95.1% of statements 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.125s coverage: 58.8% of statements 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.198s coverage: 0.9% of statements 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 21:59:30 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.138s coverage: 47.1% of statements 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.158s coverage: 79.5% of statements 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.149s coverage: 94.1% of statements 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.151s coverage: 96.3% of statements 21:59:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.135s coverage: 87.5% of statements 21:59:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.147s coverage: 94.4% of statements 21:59:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.121s coverage: 44.8% of statements 21:59:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.462s coverage: 81.8% of statements 21:59:49 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.222s coverage: 92.9% of statements 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:59:59 flag provided but not defined: -badarg 21:59:59 Usage of adduser: 21:59:59 -algorithm string 21:59:59 Algorithm used for signing the JWT, RS256 or ES256 21:59:59 -client_id string 21:59:59 Optional manually-specified OAuth2 client_id. 21:59:59 -client_secret string 21:59:59 Optional manually-specified OAuth2 client_secret. 21:59:59 -confdir string 21:59:59 21:59:59 -group string 21:59:59 Group to which the user belongs, defaults to 'gateway' (default "gateway") 21:59:59 -id string 21:59:59 ID to use for linkage with JWT claim (usually the 'iss' field) 21:59:59 -jwt string 21:59:59 The file containing the JWT for use when accessing the Kong Admin API 21:59:59 -public_key string 21:59:59 Public key (in PEM format) used to validate the JWT. 21:59:59 -redirect_uris string 21:59:59 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 21:59:59 -token-type string 21:59:59 Type of token to create: jwt or oauth2 21:59:59 -user string 21:59:59 Username of the user to add 21:59:59 --- FAIL: TestAddUserJWT (0.00s) 21:59:59 command_test.go:121: 21:59:59 Error Trace: command_test.go:121 21:59:59 Error: Received unexpected error: 21:59:59 failed to read JWT file: open s0meJWT: no such file or directory 21:59:59 Test: TestAddUserJWT 21:59:59 --- FAIL: TestAddUserOAuth2 (0.00s) 21:59:59 command_test.go:193: 21:59:59 Error Trace: command_test.go:193 21:59:59 Error: Received unexpected error: 21:59:59 failed to read JWT file: open s0meJWT: no such file or directory 21:59:59 Test: TestAddUserOAuth2 21:59:59 FAIL 21:59:59 coverage: 29.5% of statements 21:59:59 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.116s 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.131s coverage: 80.0% of statements 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.185s coverage: 87.2% of statements 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.220s coverage: 85.4% of statements 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.245s coverage: 91.2% of statements 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.556s coverage: 64.4% of statements 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.122s coverage: 100.0% of statements 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.094s coverage: 91.3% of statements 21:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.106s coverage: 100.0% of statements 22:00:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.110s coverage: 73.7% of statements 22:00:01 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.063s coverage: 100.0% of statements 22:00:04 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.807s coverage: 62.9% of statements 22:00:04 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 22:00:04 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 22:00:04 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 22:00:06 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.617s coverage: 41.5% of statements 22:00:06 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 22:00:06 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 22:00:06 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.086s coverage: 89.5% of statements 22:00:06 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 22:00:06 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.102s coverage: 84.8% of statements 22:00:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.404s coverage: 47.0% of statements 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 22:00:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.143s coverage: 100.0% of statements 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 22:00:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.167s coverage: 100.0% of statements 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 22:00:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.112s coverage: 9.6% of statements 22:00:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 22:00:14 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.451s coverage: 92.6% of statements 22:00:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 22:00:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 22:00:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.205s coverage: 28.7% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.220s coverage: 99.0% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.190s coverage: 100.0% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.161s coverage: 64.6% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.408s coverage: 97.6% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.055s coverage: 100.0% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.121s coverage: 87.9% of statements 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 22:00:22 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.077s coverage: 100.0% of statements 22:00:25 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.109s coverage: 28.1% of statements 22:00:25 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.079s coverage: 100.0% of statements 22:00:25 FAIL 22:00:26 make: *** [Makefile:94: test] Error 1 [Pipeline] } 22:00:26 $ docker stop --time=1 aceb38dfff36b1abbed416652ed163966b7c8525412b0304ed21219e615514ca 22:00:28 $ docker rm -f aceb38dfff36b1abbed416652ed163966b7c8525412b0304ed21219e615514ca [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:00:30 ---> job-cost.sh 22:00:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PbtN 22:01:09 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:02:31 lf-activate-venv(): INFO: Adding /tmp/venv-PbtN/bin to PATH 22:02:31 INFO: No Stack... 22:02:31 INFO: Retrieving Pricing Info for: lf-standard-4 22:02:32 INFO: Archiving Costs [Pipeline] sh 22:02:32 + cut -d, -f6 22:02:32 + cat /w/workspace/edgex-go/44/archives/cost.csv [Pipeline] lock 22:02:32 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-44-stack-cost] 22:02:32 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-44-stack-cost] did not exist. Created. 22:02:32 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:33 + echo total: 0.20999999344348907 [Pipeline] stash 22:02:33 Stashed 1 file(s) [Pipeline] } 22:02:33 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-44-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:02:34 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:02:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:02:35 ---> package-listing.sh 22:02:35 ++ facter osfamily 22:02:35 ++ tr '[:upper:]' '[:lower:]' 22:02:35 + OS_FAMILY=redhat 22:02:35 + workspace=/w/workspace/edgex-go/44 22:02:35 + START_PACKAGES=/tmp/packages_start.txt 22:02:35 + END_PACKAGES=/tmp/packages_end.txt 22:02:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:02:35 + PACKAGES=/tmp/packages_start.txt 22:02:35 + '[' /w/workspace/edgex-go/44 ']' 22:02:35 + PACKAGES=/tmp/packages_end.txt 22:02:35 + case "${OS_FAMILY}" in 22:02:35 + rpm -qa 22:02:35 + sort 22:02:41 + '[' -f /tmp/packages_start.txt ']' 22:02:41 + '[' -f /tmp/packages_end.txt ']' 22:02:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:02:41 + '[' /w/workspace/edgex-go/44 ']' 22:02:41 + mkdir -p /w/workspace/edgex-go/44/archives/ 22:02:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/44/archives/ [Pipeline] echo 22:02:41 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/44/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:02:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:02:41 22:02:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:02:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:02:42 alpine: Pulling from edgex-lftools-log-publisher 22:02:42 df20fa9351a1: Pulling fs layer 22:02:42 36b3adc4ff6f: Pulling fs layer 22:02:42 8ad3a11d3b57: Pulling fs layer 22:02:42 46f8f816bc3b: Pulling fs layer 22:02:42 93b61091891f: Pulling fs layer 22:02:42 93b9cdb0e59b: Pulling fs layer 22:02:42 5e14af77c1be: Pulling fs layer 22:02:42 01666e4c0597: Pulling fs layer 22:02:42 aa168da1d23b: Pulling fs layer 22:02:42 93b9cdb0e59b: Waiting 22:02:42 5e14af77c1be: Waiting 22:02:42 46f8f816bc3b: Waiting 22:02:42 93b61091891f: Waiting 22:02:42 aa168da1d23b: Waiting 22:02:42 36b3adc4ff6f: Verifying Checksum 22:02:42 36b3adc4ff6f: Download complete 22:02:42 46f8f816bc3b: Verifying Checksum 22:02:42 46f8f816bc3b: Download complete 22:02:42 93b61091891f: Verifying Checksum 22:02:42 93b61091891f: Download complete 22:02:42 93b9cdb0e59b: Download complete 22:02:42 5e14af77c1be: Verifying Checksum 22:02:42 5e14af77c1be: Download complete 22:02:42 01666e4c0597: Verifying Checksum 22:02:42 01666e4c0597: Download complete 22:02:42 8ad3a11d3b57: Verifying Checksum 22:02:42 8ad3a11d3b57: Download complete 22:02:42 df20fa9351a1: Verifying Checksum 22:02:42 df20fa9351a1: Download complete 22:02:43 df20fa9351a1: Pull complete 22:02:43 36b3adc4ff6f: Pull complete 22:02:44 8ad3a11d3b57: Pull complete 22:02:44 46f8f816bc3b: Pull complete 22:02:44 aa168da1d23b: Verifying Checksum 22:02:44 aa168da1d23b: Download complete 22:02:44 93b61091891f: Pull complete 22:02:44 93b9cdb0e59b: Pull complete 22:02:44 5e14af77c1be: Pull complete 22:02:45 01666e4c0597: Pull complete 22:02:53 aa168da1d23b: Pull complete 22:02:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:02:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:02:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:02:53 prd-centos7-docker-4c-2g-2087 does not seem to be running inside a container 22:02:53 $ 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/44/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/44 -v /w/workspace/edgex-go/44:/w/workspace/edgex-go/44:rw,z -v /w/workspace/edgex-go/44@tmp:/w/workspace/edgex-go/44@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:02:57 $ docker top 557de944c8fda0af53130893b22ace864385a2521636e45340dbe9106a0a9887 -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:57 + touch /tmp/pre-build-complete [Pipeline] sh 22:02:57 + mkdir -p /var/log/sa [Pipeline] sh 22:02:58 + ls /var/log/sa-host 22:02:58 + sadf -c /var/log/sa-host/sa23 22:02:58 file_magic: OK 22:02:58 HZ: Using current value: 100 22:02:58 file_header: OK 22:02:58 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:02:58 Statistics: 22:02:58 Hnuu...uuuununununu... 22:02:58 File successfully converted to sysstat format version 12.2.1 22:02:58 + sadf -c /var/log/sa-host/sa27 22:02:58 file_magic: OK 22:02:58 HZ: Using current value: 100 22:02:58 file_header: OK 22:02:58 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:02:58 Statistics: 22:02:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:02:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:02:58 provisioning config files... 22:02:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/44@tmp/config227073900067338815tmp [Pipeline] { [Pipeline] echo 22:02:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:02:58 ---> create-netrc.sh [Pipeline] } 22:02:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:02:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:02:59 ---> python-tools-install.sh [Pipeline] echo 22:02:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:02:59 ---> sudo-logs.sh 22:02:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:03:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:00 ---> job-cost.sh 22:03:00 lf-activate-venv: SKIPPING 22:03:00 DEBUG: total: 0.20999999344348907 22:03:00 INFO: Retrieving Stack Cost... 22:03:00 INFO: Retrieving Pricing Info for: v1-standard-2 22:03:01 INFO: Archiving Costs [Pipeline] echo 22:03:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:01 ---> logs-deploy.sh 22:03:01 lf-activate-venv: SKIPPING 22:03:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/44 22:03:01 INFO: archiving workspace using pattern(s): 22:03:03 Archives upload complete. 22:03:03 INFO: archiving logs to Nexus 22:03:04 ---> uname -a: 22:03:04 Linux prd-centos7-docker-4c-2g-2087.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:03:04 22:03:04