Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of beaufrusetta for edgexfoundry/edgex-go Loading trusted files from base branch master at 5e8f0209b56f3309f9665c980cdfd66463b0e44b rather than ca3031ed79becafea960142ce03bf3c297bca30a Obtained Jenkinsfile from 5e8f0209b56f3309f9665c980cdfd66463b0e44b 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-33787 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/34 [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/34 # 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 5e8f0209b56f3309f9665c980cdfd66463b0e44b into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a Merge succeeded, producing dec43da8dc39d2aedc49735e6639cf57076be6bb Checking out Revision dec43da8dc39d2aedc49735e6639cf57076be6bb (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f ca3031ed79becafea960142ce03bf3c297bca30a # 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 5e8f0209b56f3309f9665c980cdfd66463b0e44b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dec43da8dc39d2aedc49735e6639cf57076be6bb # timeout=10 Commit message: "Merge commit '5e8f0209b56f3309f9665c980cdfd66463b0e44b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk a13fa1bd6e65bfd1a2a3e22ac33e79c63559e47b # timeout=10 [Pipeline] timeout 00:30:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:30:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:30:04 ========================================================= 00:30:04 EdgeX Global Pipelines Version Info 00:30:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:30:06 ------------------- 00:30:06 stable info: 00:30:06 ------------------- 00:30:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:06 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 00:30:06 Message: update stable to v1.0.186 00:30:07 ------------------- 00:30:07 experimental info: 00:30:07 ------------------- 00:30:07 Commited By: **** collab-it+edgex@linuxfoundation.org 00:30:07 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 00:30:07 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dec43da8dc39d2aedc49735e6639cf57076be6bb [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dec43da [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:30:10 provisioning config files... 00:30:10 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/34@tmp/config8662203803003227871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:10 ---> docker-login.sh 00:30:10 nexus3.edgexfoundry.org:10001 00:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:10 Configure a credential helper to remove this warning. See 00:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:10 00:30:10 Login Succeeded 00:30:10 nexus3.edgexfoundry.org:10002 00:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:10 Configure a credential helper to remove this warning. See 00:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:10 00:30:10 Login Succeeded 00:30:10 nexus3.edgexfoundry.org:10003 00:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:11 Configure a credential helper to remove this warning. See 00:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:11 00:30:11 Login Succeeded 00:30:11 nexus3.edgexfoundry.org:10004 00:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:11 Configure a credential helper to remove this warning. See 00:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:11 00:30:11 Login Succeeded 00:30:11 docker.io 00:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:11 Configure a credential helper to remove this warning. See 00:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:11 00:30:11 Login Succeeded 00:30:11 ---> docker-login.sh ends [Pipeline] } 00:30:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:12 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/core-command/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo core-command,cmd/core-command/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/core-data/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo core-data,cmd/core-data/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/core-metadata/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo core-metadata,cmd/core-metadata/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/security-bootstrapper/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/security-proxy-setup/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/support-notifications/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo support-notifications,cmd/support-notifications/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/support-scheduler/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:30:12 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 00:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:13 00:30:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:30:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:13 latest: Pulling from edgex-devops/git-semver 00:30:13 31603596830f: Pulling fs layer 00:30:13 2a8b12db71e7: Pulling fs layer 00:30:13 6ca5941a6612: Pulling fs layer 00:30:13 ecc8261a40a4: Pulling fs layer 00:30:13 ecc8261a40a4: Waiting 00:30:13 2a8b12db71e7: Verifying Checksum 00:30:13 2a8b12db71e7: Download complete 00:30:13 31603596830f: Download complete 00:30:13 6ca5941a6612: Verifying Checksum 00:30:13 6ca5941a6612: Download complete 00:30:13 ecc8261a40a4: Verifying Checksum 00:30:13 ecc8261a40a4: Download complete 00:30:14 31603596830f: Pull complete 00:30:14 2a8b12db71e7: Pull complete 00:30:15 6ca5941a6612: Pull complete 00:30:15 ecc8261a40a4: Pull complete 00:30:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:30:15 prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container 00:30:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:30:18 $ docker top 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:18 [ssh-agent] Looking for ssh-agent implementation... 00:30:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:19 $ docker exec 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent 00:30:19 SSH_AUTH_SOCK=/tmp/ssh-63HzsKA0SBaF/agent.12 00:30:19 SSH_AGENT_PID=17 00:30:19 Running ssh-add (command line suppressed) 00:30:19 Identity added: /w/workspace/edgex-go/34@tmp/private_key_1854711816592268754.key (/w/workspace/edgex-go/34@tmp/private_key_1854711816592268754.key) 00:30:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:19 + git tag --points-at HEAD [Pipeline] } 00:30:19 $ docker exec --env ******** --env ******** 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent -k 00:30:20 unset SSH_AUTH_SOCK; 00:30:20 unset SSH_AGENT_PID; 00:30:20 echo Agent pid 17 killed; 00:30:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:20 [ssh-agent] Looking for ssh-agent implementation... 00:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:20 $ docker exec 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent 00:30:20 SSH_AUTH_SOCK=/tmp/ssh-QC8c3E00mmJY/agent.46 00:30:20 SSH_AGENT_PID=51 00:30:20 Running ssh-add (command line suppressed) 00:30:20 Identity added: /w/workspace/edgex-go/34@tmp/private_key_8234627338940649658.key (/w/workspace/edgex-go/34@tmp/private_key_8234627338940649658.key) 00:30:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:21 + git semver init 00:30:21 # -> Open(): unable to determine branch for HEAD 00:30:21 # $GIT_DIR = /w/workspace/edgex-go/34/.git 00:30:21 # $GIT_WORK_TREE = /w/workspace/edgex-go/34 00:30:21 # $SEMVER_REMOTE_NAME = origin 00:30:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:30:21 # $SEMVER_USER_NAME = edgex-jenkins 00:30:21 # $SEMVER_BRANCH = PR-3328 00:30:21 # $SEMVER_TEMP = /tmp/semver-158606208 00:30:21 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:30:43 # '/tmp/semver-158606208' -> '/w/workspace/edgex-go/34/.semver' 00:30:43 # -> Force: false 00:30:43 # $SEMVER_DIR = /w/workspace/edgex-go/34/.semver [Pipeline] } 00:30:43 $ docker exec --env ******** --env ******** 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent -k 00:30:43 unset SSH_AUTH_SOCK; 00:30:43 unset SSH_AGENT_PID; 00:30:43 echo Agent pid 51 killed; 00:30:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:44 + git semver [Pipeline] } 00:30:44 $ docker stop --time=1 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 00:30:46 $ docker rm -f 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 [Pipeline] // withDockerContainer [Pipeline] sh 00:30:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:30:47 Stashed 1 file(s) [Pipeline] echo 00:30:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:48 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:30:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:30:48 + sudo service docker restart 00:30:48 + true 00:30:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:30:49 ========================================================= 00:30:49 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:30:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:30:49 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:30:54 Sending build context to Docker daemon 329.5MB 00:30:54 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:30:54 Step 2/6 : FROM ${BASE} 00:30:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:30:54 188c0c94c7c5: Pulling fs layer 00:30:54 0ef7d3d256c8: Pulling fs layer 00:30:54 de9db76c5a1d: Pulling fs layer 00:30:54 bca2f99d35d6: Pulling fs layer 00:30:54 93359f2a8cfa: Pulling fs layer 00:30:54 7c6f9722023f: Pulling fs layer 00:30:54 a35cf1a2eb13: Pulling fs layer 00:30:54 93359f2a8cfa: Waiting 00:30:54 7c6f9722023f: Waiting 00:30:54 a35cf1a2eb13: Waiting 00:30:54 bca2f99d35d6: Waiting 00:30:54 de9db76c5a1d: Verifying Checksum 00:30:54 de9db76c5a1d: Download complete 00:30:54 0ef7d3d256c8: Verifying Checksum 00:30:54 0ef7d3d256c8: Download complete 00:30:54 93359f2a8cfa: Verifying Checksum 00:30:54 93359f2a8cfa: Download complete 00:30:54 7c6f9722023f: Download complete 00:30:54 188c0c94c7c5: Verifying Checksum 00:30:54 188c0c94c7c5: Download complete 00:30:54 188c0c94c7c5: Pull complete 00:30:54 0ef7d3d256c8: Pull complete 00:30:55 de9db76c5a1d: Pull complete 00:30:56 a35cf1a2eb13: Verifying Checksum 00:30:56 a35cf1a2eb13: Download complete 00:30:57 bca2f99d35d6: Verifying Checksum 00:30:57 bca2f99d35d6: Download complete 00:31:02 Still waiting to schedule task 00:31:02 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:31:04 bca2f99d35d6: Pull complete 00:31:04 93359f2a8cfa: Pull complete 00:31:04 7c6f9722023f: Pull complete 00:31:08 a35cf1a2eb13: Pull complete 00:31:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:31:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:31:08 ---> a62c8e92a672 00:31:08 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:31:08 ---> Running in ceab4b8da89e 00:31:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:31:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:31:11 (1/12) Installing libmagic (5.38-r0) 00:31:11 (2/12) Installing file (5.38-r0) 00:31:11 (3/12) Installing libc-dev (0.7.2-r3) 00:31:11 (4/12) Installing g++ (9.3.0-r2) 00:31:15 (5/12) Installing fortify-headers (1.1-r0) 00:31:15 (6/12) Installing patch (2.7.6-r6) 00:31:16 (7/12) Installing build-base (0.5-r2) 00:31:16 (8/12) Installing libsodium (1.0.18-r0) 00:31:16 (9/12) Installing pkgconf (1.7.2-r0) 00:31:16 (10/12) Installing libsodium-dev (1.0.18-r0) 00:31:16 (11/12) Installing libzmq (4.3.3-r0) 00:31:16 (12/12) Installing zeromq-dev (4.3.3-r0) 00:31:16 Executing busybox-1.31.1-r19.trigger 00:31:16 OK: 233 MiB in 51 packages 00:31:20 Removing intermediate container ceab4b8da89e 00:31:20 ---> 6e48e93fdd29 00:31:20 Step 4/6 : WORKDIR /edgex-go 00:31:20 ---> Running in 4c5c6a7ba802 00:31:20 Removing intermediate container 4c5c6a7ba802 00:31:20 ---> 164a393bec90 00:31:20 Step 5/6 : COPY go.mod . 00:31:20 ---> 08e6b0643400 00:31:20 Step 6/6 : RUN go mod download 00:31:20 ---> Running in 1cd9ca422a3e 00:31:42 Removing intermediate container 1cd9ca422a3e 00:31:42 ---> 7002ef6e38c9 00:31:42 Successfully built 7002ef6e38c9 00:31:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:31:43 + docker inspect -f . ci-base-image-x86_64 00:31:43 . [Pipeline] withDockerContainer 00:31:43 prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container 00:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:31:44 $ docker top ed8acea67cf0ac5f941cd56db84c6a61dd1ba5b2c2398c170e65c4493023fe7f -eo pid,comm [Pipeline] { [Pipeline] sh 00:31:44 + go version 00:31:44 go version go1.15.5 linux/amd64 [Pipeline] } 00:31:45 $ docker stop --time=1 ed8acea67cf0ac5f941cd56db84c6a61dd1ba5b2c2398c170e65c4493023fe7f 00:31:46 $ docker rm -f ed8acea67cf0ac5f941cd56db84c6a61dd1ba5b2c2398c170e65c4493023fe7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:31:47 + docker inspect -f . ci-base-image-x86_64 00:31:47 . [Pipeline] withDockerContainer 00:31:47 prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container 00:31:47 $ 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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:31:48 $ docker top 118aedf2a7c90a6ca5cff7ac76074356c9a2e4b1d8308d2f965dd196717f6c1f -eo pid,comm [Pipeline] { [Pipeline] echo 00:31:48 ========================================================= 00:31:48 [edgeXBuildGoParallel] Running Tests and Build... 00:31:48 ========================================================= [Pipeline] sh 00:31:48 + make test 00:31:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:31:59 ? github.com/edgexfoundry/edgex-go [no test files] 00:32:17 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:32:24 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:32:24 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:32:24 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:32:27 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:32:27 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:32:27 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:32:27 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:32:27 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:32:28 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:32:31 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:32:31 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:32:31 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.121s coverage: 45.9% of statements 00:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 00:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.082s coverage: 19.8% of statements 00:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.124s coverage: 100.0% of statements 00:32:38 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.178s coverage: 27.1% of statements 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:32:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.075s coverage: 100.0% of statements 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:32:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.053s coverage: 100.0% of statements 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:32:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.097s coverage: 71.3% of statements 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:32:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.159s coverage: 82.9% of statements 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:32:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.056s coverage: 78.9% of statements 00:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.488s coverage: 28.6% of statements 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.082s coverage: 100.0% of statements 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.071s coverage: 100.0% of statements 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.196s coverage: 86.7% of statements 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.203s coverage: 97.5% of statements 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.103s coverage: 78.3% of statements 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.467s coverage: 92.8% of statements 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.062s coverage: 1.0% of statements 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.064s coverage: 47.1% of statements 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.125s coverage: 79.5% of statements 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.073s coverage: 94.1% of statements 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.175s coverage: 96.3% of statements 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.058s coverage: 87.5% of statements 00:32:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.072s coverage: 94.4% of statements 00:32:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.067s coverage: 44.8% of statements 00:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.259s coverage: 81.9% of statements 00:33:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.121s coverage: 92.9% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.047s coverage: 87.2% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.055s coverage: 100.0% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:33:08 flag provided but not defined: -badarg 00:33:08 Usage of adduser: 00:33:08 -algorithm string 00:33:08 Algorithm used for signing the JWT, RS256 or ES256 00:33:08 -client_id string 00:33:08 Optional manually-specified OAuth2 client_id. 00:33:08 -client_secret string 00:33:08 Optional manually-specified OAuth2 client_secret. 00:33:08 -confdir string 00:33:08 00:33:08 -group string 00:33:08 Group to which the user belongs, defaults to 'gateway' (default "gateway") 00:33:08 -id string 00:33:08 ID to use for linkage with JWT claim (usually the 'iss' field) 00:33:08 -jwt string 00:33:08 The file containing the JWT for use when accessing the Kong Admin API 00:33:08 -public_key string 00:33:08 Public key (in PEM format) used to validate the JWT. 00:33:08 -redirect_uris string 00:33:08 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 00:33:08 -token-type string 00:33:08 Type of token to create: jwt or oauth2 00:33:08 -user string 00:33:08 Username of the user to add 00:33:08 --- FAIL: TestAddUserJWT (0.00s) 00:33:08 command_test.go:121: 00:33:08 Error Trace: command_test.go:121 00:33:08 Error: Received unexpected error: 00:33:08 failed to read JWT file: open s0meJWT: no such file or directory 00:33:08 Test: TestAddUserJWT 00:33:08 --- FAIL: TestAddUserOAuth2 (0.00s) 00:33:08 command_test.go:193: 00:33:08 Error Trace: command_test.go:193 00:33:08 Error: Received unexpected error: 00:33:08 failed to read JWT file: open s0meJWT: no such file or directory 00:33:08 Test: TestAddUserOAuth2 00:33:08 FAIL 00:33:08 coverage: 40.0% of statements 00:33:08 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.063s 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.059s coverage: 80.0% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.090s coverage: 87.2% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.066s coverage: 85.4% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.131s coverage: 91.2% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.244s coverage: 64.4% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.056s coverage: 100.0% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.056s coverage: 91.3% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.039s coverage: 73.7% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.350s coverage: 62.9% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.177s coverage: 41.5% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.049s coverage: 89.5% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.045s coverage: 84.8% of statements 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.176s coverage: 47.0% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.059s coverage: 100.0% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.082s coverage: 100.0% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.060s coverage: 11.0% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 00:33:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.216s coverage: 87.1% of statements 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 00:33:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 00:33:10 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.825s coverage: 29.1% of statements 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:33:10 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.081s coverage: 99.0% of statements 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:33:10 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.075s coverage: 100.0% of statements 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 00:33:10 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.116s coverage: 95.6% of statements 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 00:33:10 ok github.com/edgexfoundry/edgex-go/internal/system 0.031s coverage: 0.0% of statements 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:33:10 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.041s coverage: 100.0% of statements 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:33:10 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:33:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.047s coverage: 87.9% of statements 00:33:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:33:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:33:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.044s coverage: 100.0% of statements 00:33:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.057s coverage: 28.1% of statements 00:33:11 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 00:33:11 FAIL 00:33:11 make: *** [Makefile:94: test] Error 1 [Pipeline] } 00:33:12 $ docker stop --time=1 118aedf2a7c90a6ca5cff7ac76074356c9a2e4b1d8308d2f965dd196717f6c1f 00:33:14 $ docker rm -f 118aedf2a7c90a6ca5cff7ac76074356c9a2e4b1d8308d2f965dd196717f6c1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:33:15 Failed in branch amd64 00:33:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33790 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 00:33:57 Running in /w/workspace/edgex-go/34 [Pipeline] { [Pipeline] checkout 00:34:02 using credential edgex-jenkins-ssh 00:34:02 Cloning the remote Git repository 00:34:02 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:34:02 > git init /w/workspace/edgex-go/34 # timeout=10 00:34:02 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:02 > git --version # timeout=10 00:34:02 > git --version # 'git version 2.17.1' 00:34:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:25 Merging remotes/origin/master commit 5e8f0209b56f3309f9665c980cdfd66463b0e44b into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a 00:34:24 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:24 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:24 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:34:25 > git config core.sparsecheckout # timeout=10 00:34:25 > git checkout -f ca3031ed79becafea960142ce03bf3c297bca30a # timeout=10 00:34:26 > git remote # timeout=10 00:34:26 > git config --get remote.origin.url # timeout=10 00:34:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:26 > git merge 5e8f0209b56f3309f9665c980cdfd66463b0e44b # timeout=10 00:34:26 Merge succeeded, producing 566f9cf148e9a286285e948280823e2e966a5b95 00:34:26 Checking out Revision 566f9cf148e9a286285e948280823e2e966a5b95 (PR-3328) 00:34:26 > git rev-parse HEAD^{commit} # timeout=10 00:34:26 > git config core.sparsecheckout # timeout=10 00:34:26 > git checkout -f 566f9cf148e9a286285e948280823e2e966a5b95 # timeout=10 00:34:30 Commit message: "Merge commit '5e8f0209b56f3309f9665c980cdfd66463b0e44b' into HEAD" 00:34:30 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:34:30 > git rev-list --no-walk a13fa1bd6e65bfd1a2a3e22ac33e79c63559e47b # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:34:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:34:33 + sudo service docker+ restart 00:34:33 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:34:35 provisioning config files... 00:34:35 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/34@tmp/config7509358936319789551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:35 ---> docker-login.sh 00:34:35 nexus3.edgexfoundry.org:10001 00:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:36 Configure a credential helper to remove this warning. See 00:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:36 00:34:36 Login Succeeded 00:34:36 nexus3.edgexfoundry.org:10002 00:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:37 Configure a credential helper to remove this warning. See 00:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:37 00:34:37 Login Succeeded 00:34:37 nexus3.edgexfoundry.org:10003 00:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:37 Configure a credential helper to remove this warning. See 00:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:37 00:34:37 Login Succeeded 00:34:37 nexus3.edgexfoundry.org:10004 00:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:38 Configure a credential helper to remove this warning. See 00:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:38 00:34:38 Login Succeeded 00:34:38 docker.io 00:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:39 Configure a credential helper to remove this warning. See 00:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:39 00:34:39 Login Succeeded 00:34:39 ---> docker-login.sh ends [Pipeline] } 00:34:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:34:39 ========================================================= 00:34:39 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:34:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:34:39 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:34:42 Sending build context to Docker daemon 167.3MB 00:34:42 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:34:42 Step 2/6 : FROM ${BASE} 00:34:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:42 5f621e34cdf4: Pulling fs layer 00:34:42 a4357932f1b6: Pulling fs layer 00:34:42 18c013af1878: Pulling fs layer 00:34:42 00ac8860ef70: Pulling fs layer 00:34:42 63d7cb157983: Pulling fs layer 00:34:42 b116817d02f9: Pulling fs layer 00:34:42 745a02a5169b: Pulling fs layer 00:34:42 00ac8860ef70: Waiting 00:34:42 63d7cb157983: Waiting 00:34:42 b116817d02f9: Waiting 00:34:42 745a02a5169b: Waiting 00:34:42 18c013af1878: Verifying Checksum 00:34:42 18c013af1878: Download complete 00:34:42 a4357932f1b6: Download complete 00:34:42 63d7cb157983: Download complete 00:34:42 b116817d02f9: Verifying Checksum 00:34:42 b116817d02f9: Download complete 00:34:43 5f621e34cdf4: Verifying Checksum 00:34:43 5f621e34cdf4: Download complete 00:34:43 5f621e34cdf4: Pull complete 00:34:44 a4357932f1b6: Pull complete 00:34:44 18c013af1878: Pull complete 00:34:45 745a02a5169b: Download complete 00:34:46 00ac8860ef70: Download complete 00:34:56 00ac8860ef70: Pull complete 00:34:56 63d7cb157983: Pull complete 00:34:56 b116817d02f9: Pull complete 00:34:59 745a02a5169b: Pull complete 00:34:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:34:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:34:59 ---> b7e6874047d6 00:34:59 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:35:03 ---> Running in c4852dff0853 00:35:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:35:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:35:05 (1/12) Installing libmagic (5.38-r0) 00:35:05 (2/12) Installing file (5.38-r0) 00:35:05 (3/12) Installing libc-dev (0.7.2-r3) 00:35:05 (4/12) Installing g++ (9.3.0-r2) 00:35:09 (5/12) Installing fortify-headers (1.1-r0) 00:35:09 (6/12) Installing patch (2.7.6-r6) 00:35:09 (7/12) Installing build-base (0.5-r2) 00:35:09 (8/12) Installing libsodium (1.0.18-r0) 00:35:09 (9/12) Installing pkgconf (1.7.2-r0) 00:35:09 (10/12) Installing libsodium-dev (1.0.18-r0) 00:35:10 (11/12) Installing libzmq (4.3.3-r0) 00:35:10 (12/12) Installing zeromq-dev (4.3.3-r0) 00:35:10 Executing busybox-1.31.1-r19.trigger 00:35:10 OK: 217 MiB in 51 packages 00:35:14 Removing intermediate container c4852dff0853 00:35:14 ---> d4d2d584b926 00:35:14 Step 4/6 : WORKDIR /edgex-go 00:35:14 ---> Running in e7709a1c6f90 00:35:14 Removing intermediate container e7709a1c6f90 00:35:14 ---> a183d7473dd6 00:35:14 Step 5/6 : COPY go.mod . 00:35:15 ---> f785ac65aa89 00:35:15 Step 6/6 : RUN go mod download 00:35:15 ---> Running in 61b18def289e 00:35:42 Removing intermediate container 61b18def289e 00:35:42 ---> efda2ed7d723 00:35:42 Successfully built efda2ed7d723 00:35:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:35:42 + docker inspect -f . ci-base-image-arm64 00:35:42 . [Pipeline] withDockerContainer 00:35:43 prd-ubuntu18.04-docker-arm64-4c-16g-33790 does not seem to be running inside a container 00:35:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:35:44 $ docker top e0f32a62991bf6d117a4a312453ad040d930d88780e14bb0f3b1e5ffdf20024f -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:45 + go version 00:35:45 go version go1.15.5 linux/arm64 [Pipeline] } 00:35:45 $ docker stop --time=1 e0f32a62991bf6d117a4a312453ad040d930d88780e14bb0f3b1e5ffdf20024f 00:35:47 $ docker rm -f e0f32a62991bf6d117a4a312453ad040d930d88780e14bb0f3b1e5ffdf20024f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:35:48 + docker inspect -f . ci-base-image-arm64 00:35:48 . [Pipeline] withDockerContainer 00:35:48 prd-ubuntu18.04-docker-arm64-4c-16g-33790 does not seem to be running inside a container 00:35:48 $ 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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:35:50 $ docker top b5520493451fe036e3193856e7a90111e902aa7dc0a5540127eb40b99c511729 -eo pid,comm [Pipeline] { [Pipeline] echo 00:35:50 ========================================================= 00:35:50 [edgeXBuildGoParallel] Running Tests and Build... 00:35:50 ========================================================= [Pipeline] sh 00:35:51 + make test 00:35:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:36:13 ? github.com/edgexfoundry/edgex-go [no test files] 00:37:10 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:37:10 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:37:20 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:37:20 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:37:20 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:37:20 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:37:24 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:37:25 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:37:33 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:37:33 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:37:33 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:37:40 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.306s coverage: 45.9% of statements 00:37:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:37:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:37:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:37:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:37:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:37:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 00:37:40 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.145s coverage: 19.8% of statements 00:37:40 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.297s coverage: 100.0% of statements 00:37:46 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.531s coverage: 27.1% of statements 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:37:46 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.139s coverage: 100.0% of statements 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:37:46 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.171s coverage: 100.0% of statements 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:37:46 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:37:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.260s coverage: 71.3% of statements 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:37:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.425s coverage: 82.9% of statements 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:37:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.132s coverage: 78.9% of statements 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.097s coverage: 28.6% of statements 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.205s coverage: 100.0% of statements 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.150s coverage: 100.0% of statements 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.466s coverage: 86.7% of statements 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.447s coverage: 97.5% of statements 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.212s coverage: 78.3% of statements 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:38:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.239s coverage: 92.8% of statements 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.132s coverage: 58.8% of statements 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.230s coverage: 1.0% of statements 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.163s coverage: 47.1% of statements 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.179s coverage: 79.5% of statements 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.148s coverage: 94.1% of statements 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.175s coverage: 96.3% of statements 00:38:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.162s coverage: 87.5% of statements 00:38:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.154s coverage: 94.4% of statements 00:38:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.167s coverage: 44.8% of statements 00:38:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.492s coverage: 81.9% of statements 00:38:27 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.224s coverage: 92.9% of statements 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.107s coverage: 100.0% of statements 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:38:37 flag provided but not defined: -badarg 00:38:37 Usage of adduser: 00:38:37 -algorithm string 00:38:37 Algorithm used for signing the JWT, RS256 or ES256 00:38:37 -client_id string 00:38:37 Optional manually-specified OAuth2 client_id. 00:38:37 -client_secret string 00:38:37 Optional manually-specified OAuth2 client_secret. 00:38:37 -confdir string 00:38:37 00:38:37 -group string 00:38:37 Group to which the user belongs, defaults to 'gateway' (default "gateway") 00:38:37 -id string 00:38:37 ID to use for linkage with JWT claim (usually the 'iss' field) 00:38:37 -jwt string 00:38:37 The file containing the JWT for use when accessing the Kong Admin API 00:38:37 -public_key string 00:38:37 Public key (in PEM format) used to validate the JWT. 00:38:37 -redirect_uris string 00:38:37 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 00:38:37 -token-type string 00:38:37 Type of token to create: jwt or oauth2 00:38:37 -user string 00:38:37 Username of the user to add 00:38:37 --- FAIL: TestAddUserJWT (0.00s) 00:38:37 command_test.go:121: 00:38:37 Error Trace: command_test.go:121 00:38:37 Error: Received unexpected error: 00:38:37 failed to read JWT file: open s0meJWT: no such file or directory 00:38:37 Test: TestAddUserJWT 00:38:37 --- FAIL: TestAddUserOAuth2 (0.00s) 00:38:37 command_test.go:193: 00:38:37 Error Trace: command_test.go:193 00:38:37 Error: Received unexpected error: 00:38:37 failed to read JWT file: open s0meJWT: no such file or directory 00:38:37 Test: TestAddUserOAuth2 00:38:37 FAIL 00:38:37 coverage: 40.0% of statements 00:38:37 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.112s 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.134s coverage: 80.0% of statements 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.221s coverage: 87.2% of statements 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.187s coverage: 85.4% of statements 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.238s coverage: 91.2% of statements 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.603s coverage: 64.4% of statements 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:38:37 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.116s coverage: 100.0% of statements 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.103s coverage: 91.3% of statements 00:38:37 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements 00:38:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.051s coverage: 73.7% of statements 00:38:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements 00:38:42 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.869s coverage: 62.9% of statements 00:38:42 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:38:42 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:38:42 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:38:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.596s coverage: 41.5% of statements 00:38:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:38:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:38:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.108s coverage: 89.5% of statements 00:38:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:38:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.490s coverage: 47.0% of statements 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.132s coverage: 100.0% of statements 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.110s coverage: 100.0% of statements 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.122s coverage: 11.0% of statements 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 00:38:52 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.427s coverage: 87.1% of statements 00:38:52 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 00:38:52 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 00:38:52 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.633s coverage: 29.1% of statements 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.220s coverage: 99.0% of statements 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.179s coverage: 100.0% of statements 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.344s coverage: 95.6% of statements 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/system 0.039s coverage: 0.0% of statements 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.087s coverage: 100.0% of statements 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.092s coverage: 87.9% of statements 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:39:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:39:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.089s coverage: 100.0% of statements 00:39:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.114s coverage: 28.1% of statements 00:39:02 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements 00:39:02 FAIL 00:39:03 make: *** [Makefile:94: test] Error 1 [Pipeline] } 00:39:03 $ docker stop --time=1 b5520493451fe036e3193856e7a90111e902aa7dc0a5540127eb40b99c511729 00:39:05 $ docker rm -f b5520493451fe036e3193856e7a90111e902aa7dc0a5540127eb40b99c511729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:39:07 ---> job-cost.sh 00:39:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wmkd 00:39:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:41:46 lf-activate-venv(): INFO: Adding /tmp/venv-Wmkd/bin to PATH 00:41:46 INFO: No Stack... 00:41:46 INFO: Retrieving Pricing Info for: lf-standard-4 00:41:47 INFO: Archiving Costs [Pipeline] sh 00:41:47 + cat /w/workspace/edgex-go/34/archives/cost.csv 00:41:47 + cut -d, -f6 [Pipeline] lock 00:41:47 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] 00:41:47 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] did not exist. Created. 00:41:47 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:41:48 + echo total: 0.20999999344348907 [Pipeline] stash 00:41:49 Stashed 1 file(s) [Pipeline] } 00:41:49 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:41:49 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:41:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:41:55 ---> package-listing.sh 00:41:55 ++ facter osfamily 00:41:55 ++ tr '[:upper:]' '[:lower:]' 00:41:55 + OS_FAMILY=redhat 00:41:55 + workspace=/w/workspace/edgex-go/34 00:41:55 + START_PACKAGES=/tmp/packages_start.txt 00:41:55 + END_PACKAGES=/tmp/packages_end.txt 00:41:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:41:55 + PACKAGES=/tmp/packages_start.txt 00:41:55 + '[' /w/workspace/edgex-go/34 ']' 00:41:55 + PACKAGES=/tmp/packages_end.txt 00:41:55 + case "${OS_FAMILY}" in 00:41:55 + rpm -qa 00:41:55 + sort 00:42:00 + '[' -f /tmp/packages_start.txt ']' 00:42:00 + '[' -f /tmp/packages_end.txt ']' 00:42:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:42:00 + '[' /w/workspace/edgex-go/34 ']' 00:42:00 + mkdir -p /w/workspace/edgex-go/34/archives/ 00:42:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/34/archives/ [Pipeline] echo 00:42:00 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/34/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:42:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:42:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:00 00:42:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:42:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:01 alpine: Pulling from edgex-lftools-log-publisher 00:42:01 df20fa9351a1: Pulling fs layer 00:42:01 36b3adc4ff6f: Pulling fs layer 00:42:01 8ad3a11d3b57: Pulling fs layer 00:42:01 46f8f816bc3b: Pulling fs layer 00:42:01 93b61091891f: Pulling fs layer 00:42:01 93b9cdb0e59b: Pulling fs layer 00:42:01 5e14af77c1be: Pulling fs layer 00:42:01 01666e4c0597: Pulling fs layer 00:42:01 aa168da1d23b: Pulling fs layer 00:42:01 93b9cdb0e59b: Waiting 00:42:01 5e14af77c1be: Waiting 00:42:01 01666e4c0597: Waiting 00:42:01 aa168da1d23b: Waiting 00:42:01 93b61091891f: Waiting 00:42:01 46f8f816bc3b: Waiting 00:42:01 36b3adc4ff6f: Verifying Checksum 00:42:01 36b3adc4ff6f: Download complete 00:42:01 46f8f816bc3b: Verifying Checksum 00:42:01 46f8f816bc3b: Download complete 00:42:01 df20fa9351a1: Download complete 00:42:01 93b9cdb0e59b: Verifying Checksum 00:42:01 93b9cdb0e59b: Download complete 00:42:01 5e14af77c1be: Download complete 00:42:01 01666e4c0597: Verifying Checksum 00:42:01 01666e4c0597: Download complete 00:42:01 93b61091891f: Download complete 00:42:01 df20fa9351a1: Pull complete 00:42:02 36b3adc4ff6f: Pull complete 00:42:02 8ad3a11d3b57: Verifying Checksum 00:42:02 8ad3a11d3b57: Download complete 00:42:03 8ad3a11d3b57: Pull complete 00:42:03 46f8f816bc3b: Pull complete 00:42:03 93b61091891f: Pull complete 00:42:03 93b9cdb0e59b: Pull complete 00:42:03 5e14af77c1be: Pull complete 00:42:04 01666e4c0597: Pull complete 00:42:06 aa168da1d23b: Verifying Checksum 00:42:06 aa168da1d23b: Download complete 00:42:14 aa168da1d23b: Pull complete 00:42:14 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:42:14 prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container 00:42:14 $ 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/34/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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:42:17 $ docker top 07795fbf1dbce5acdb03c27a6ad3348fc34f36086498879cb1678a4ed38a4fff -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:18 + touch /tmp/pre-build-complete [Pipeline] sh 00:42:18 + mkdir -p /var/log/sa [Pipeline] sh 00:42:18 + ls /var/log/sa-host 00:42:18 + sadf -c /var/log/sa-host/sa13 00:42:18 file_magic: OK 00:42:18 HZ: Using current value: 100 00:42:18 file_header: OK 00:42:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:42:18 Statistics: 00:42:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:42:18 File successfully converted to sysstat format version 12.2.1 00:42:18 + sadf -c /var/log/sa-host/sa23 00:42:18 file_magic: OK 00:42:18 HZ: Using current value: 100 00:42:18 file_header: OK 00:42:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:42:18 Statistics: 00:42:18 Hnuu...uuuununununu... 00:42:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:19 provisioning config files... 00:42:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/34@tmp/config746256603647553711tmp [Pipeline] { [Pipeline] echo 00:42:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:42:19 ---> create-netrc.sh [Pipeline] } 00:42:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:42:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:42:19 ---> python-tools-install.sh [Pipeline] echo 00:42:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:42:20 ---> sudo-logs.sh 00:42:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:42:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:42:20 ---> job-cost.sh 00:42:20 lf-activate-venv: SKIPPING 00:42:20 DEBUG: total: 0.20999999344348907 00:42:20 INFO: Retrieving Stack Cost... 00:42:21 INFO: Retrieving Pricing Info for: v1-standard-2 00:42:22 INFO: Archiving Costs [Pipeline] echo 00:42:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:42:22 ---> logs-deploy.sh 00:42:22 lf-activate-venv: SKIPPING 00:42:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/34 00:42:22 INFO: archiving workspace using pattern(s): 00:42:23 Archives upload complete. 00:42:24 INFO: archiving logs to Nexus