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 db7925e05468a348a54e2ee7c85b6c50909b0e0e rather than ca3031ed79becafea960142ce03bf3c297bca30a Obtained Jenkinsfile from db7925e05468a348a54e2ee7c85b6c50909b0e0e Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1420 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/40 [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/40 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit db7925e05468a348a54e2ee7c85b6c50909b0e0e into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a Merge succeeded, producing 155d05b9b3c042e7df84041584a5bf687c8a8c67 Checking out Revision 155d05b9b3c042e7df84041584a5bf687c8a8c67 (PR-3328) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 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 db7925e05468a348a54e2ee7c85b6c50909b0e0e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 155d05b9b3c042e7df84041584a5bf687c8a8c67 # timeout=10 Commit message: "Merge commit 'db7925e05468a348a54e2ee7c85b6c50909b0e0e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:31:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:31:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:31:30 ========================================================= 08:31:30 EdgeX Global Pipelines Version Info 08:31:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 932d904008a4e613d6b9ff53d7326e4baa94340f # timeout=10 08:31:32 ------------------- 08:31:32 stable info: 08:31:32 ------------------- 08:31:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:31:32 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:31:32 Message: update stable to v1.0.186 08:31:33 ------------------- 08:31:33 experimental info: 08:31:33 ------------------- 08:31:33 Commited By: **** collab-it+edgex@linuxfoundation.org 08:31:33 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 08:31:33 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 155d05b9b3c042e7df84041584a5bf687c8a8c67 [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 155d05b [Pipeline] echo 08:31:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:31:34 provisioning config files... 08:31:34 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/40@tmp/config7100092553155525581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:34 ---> docker-login.sh 08:31:34 nexus3.edgexfoundry.org:10001 08:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:34 Configure a credential helper to remove this warning. See 08:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:34 08:31:34 Login Succeeded 08:31:34 nexus3.edgexfoundry.org:10002 08:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:34 Configure a credential helper to remove this warning. See 08:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:34 08:31:34 Login Succeeded 08:31:34 nexus3.edgexfoundry.org:10003 08:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:35 Configure a credential helper to remove this warning. See 08:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:35 08:31:35 Login Succeeded 08:31:35 nexus3.edgexfoundry.org:10004 08:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:35 Configure a credential helper to remove this warning. See 08:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:35 08:31:35 Login Succeeded 08:31:35 docker.io 08:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:35 Configure a credential helper to remove this warning. See 08:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:35 08:31:35 Login Succeeded 08:31:35 ---> docker-login.sh ends [Pipeline] } 08:31:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:36 ++ 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 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/core-command/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo core-command,cmd/core-command/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/core-data/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo core-data,cmd/core-data/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/core-metadata/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo core-metadata,cmd/core-metadata/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/security-bootstrapper/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/security-proxy-setup/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/security-secretstore-setup/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/support-notifications/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo support-notifications,cmd/support-notifications/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/support-scheduler/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo support-scheduler,cmd/support-scheduler/Dockerfile 08:31:36 + for file in '`ls cmd/**/Dockerfile`' 08:31:36 ++ dirname cmd/sys-mgmt-agent/Dockerfile 08:31:36 ++ cut -d/ -f2 08:31:36 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 08:31:36 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 08:31:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:31:36 08:31:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:31:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:31:37 latest: Pulling from edgex-devops/git-semver 08:31:37 31603596830f: Pulling fs layer 08:31:37 2a8b12db71e7: Pulling fs layer 08:31:37 6ca5941a6612: Pulling fs layer 08:31:37 ecc8261a40a4: Pulling fs layer 08:31:37 ecc8261a40a4: Waiting 08:31:37 2a8b12db71e7: Verifying Checksum 08:31:37 2a8b12db71e7: Download complete 08:31:37 31603596830f: Verifying Checksum 08:31:37 31603596830f: Download complete 08:31:37 ecc8261a40a4: Verifying Checksum 08:31:37 ecc8261a40a4: Download complete 08:31:37 6ca5941a6612: Verifying Checksum 08:31:37 6ca5941a6612: Download complete 08:31:37 31603596830f: Pull complete 08:31:37 2a8b12db71e7: Pull complete 08:31:38 6ca5941a6612: Pull complete 08:31:38 ecc8261a40a4: Pull complete 08:31:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:31:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:31:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:31:38 prd-centos7-docker-4c-2g-1420 does not seem to be running inside a container 08:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/40 -v /w/workspace/edgex-go/40:/w/workspace/edgex-go/40:rw,z -v /w/workspace/edgex-go/40@tmp:/w/workspace/edgex-go/40@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 08:31:41 $ docker top a28f4273e818a1f08f3af58b26e78872b3c0616b43cd16acb7d59bbaa1a8b61d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:31:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:41 [ssh-agent] Looking for ssh-agent implementation... 08:31:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:41 $ docker exec a28f4273e818a1f08f3af58b26e78872b3c0616b43cd16acb7d59bbaa1a8b61d ssh-agent 08:31:42 SSH_AUTH_SOCK=/tmp/ssh-WZQRtKCXwphC/agent.11 08:31:42 SSH_AGENT_PID=16 08:31:42 Running ssh-add (command line suppressed) 08:31:42 Identity added: /w/workspace/edgex-go/40@tmp/private_key_2128287879038807975.key (/w/workspace/edgex-go/40@tmp/private_key_2128287879038807975.key) 08:31:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:42 + git tag --points-at HEAD [Pipeline] } 08:31:42 $ docker exec --env ******** --env ******** a28f4273e818a1f08f3af58b26e78872b3c0616b43cd16acb7d59bbaa1a8b61d ssh-agent -k 08:31:42 unset SSH_AUTH_SOCK; 08:31:42 unset SSH_AGENT_PID; 08:31:42 echo Agent pid 16 killed; 08:31:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:31:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:42 [ssh-agent] Looking for ssh-agent implementation... 08:31:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:43 $ docker exec a28f4273e818a1f08f3af58b26e78872b3c0616b43cd16acb7d59bbaa1a8b61d ssh-agent 08:31:43 SSH_AUTH_SOCK=/tmp/ssh-FwkO4tfy0xJ2/agent.47 08:31:43 SSH_AGENT_PID=53 08:31:43 Running ssh-add (command line suppressed) 08:31:43 Identity added: /w/workspace/edgex-go/40@tmp/private_key_8192292785706361292.key (/w/workspace/edgex-go/40@tmp/private_key_8192292785706361292.key) 08:31:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:43 + git semver init 08:31:43 # -> Open(): unable to determine branch for HEAD 08:31:43 # $GIT_DIR = /w/workspace/edgex-go/40/.git 08:31:43 # $GIT_WORK_TREE = /w/workspace/edgex-go/40 08:31:43 # $SEMVER_REMOTE_NAME = origin 08:31:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:31:43 # $SEMVER_USER_NAME = edgex-jenkins 08:31:43 # $SEMVER_BRANCH = PR-3328 08:31:43 # $SEMVER_TEMP = /tmp/semver-822842633 08:31:43 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 08:32:15 # '/tmp/semver-822842633' -> '/w/workspace/edgex-go/40/.semver' 08:32:15 # -> Force: false 08:32:15 # $SEMVER_DIR = /w/workspace/edgex-go/40/.semver [Pipeline] } 08:32:15 $ docker exec --env ******** --env ******** a28f4273e818a1f08f3af58b26e78872b3c0616b43cd16acb7d59bbaa1a8b61d ssh-agent -k 08:32:16 unset SSH_AUTH_SOCK; 08:32:16 unset SSH_AGENT_PID; 08:32:16 echo Agent pid 53 killed; 08:32:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:16 + git semver [Pipeline] } 08:32:16 $ docker stop --time=1 a28f4273e818a1f08f3af58b26e78872b3c0616b43cd16acb7d59bbaa1a8b61d 08:32:18 $ docker rm -f a28f4273e818a1f08f3af58b26e78872b3c0616b43cd16acb7d59bbaa1a8b61d [Pipeline] // withDockerContainer [Pipeline] sh 08:32:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:32:19 Stashed 1 file(s) [Pipeline] echo 08:32:19 [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 08:32:19 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:32:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:32:20 + sudo service docker restart 08:32:20 + true 08:32:20 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 08:32:21 ========================================================= 08:32:21 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:32:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:32:21 + 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 . 08:32:25 Sending build context to Docker daemon 329.8MB 08:32:25 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 08:32:25 Step 2/6 : FROM ${BASE} 08:32:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:32:26 188c0c94c7c5: Pulling fs layer 08:32:26 0ef7d3d256c8: Pulling fs layer 08:32:26 de9db76c5a1d: Pulling fs layer 08:32:26 bca2f99d35d6: Pulling fs layer 08:32:26 93359f2a8cfa: Pulling fs layer 08:32:26 7c6f9722023f: Pulling fs layer 08:32:26 a35cf1a2eb13: Pulling fs layer 08:32:26 bca2f99d35d6: Waiting 08:32:26 7c6f9722023f: Waiting 08:32:26 a35cf1a2eb13: Waiting 08:32:26 93359f2a8cfa: Waiting 08:32:26 de9db76c5a1d: Verifying Checksum 08:32:26 de9db76c5a1d: Download complete 08:32:26 0ef7d3d256c8: Download complete 08:32:26 93359f2a8cfa: Verifying Checksum 08:32:26 93359f2a8cfa: Download complete 08:32:26 7c6f9722023f: Download complete 08:32:26 188c0c94c7c5: Verifying Checksum 08:32:26 188c0c94c7c5: Download complete 08:32:26 188c0c94c7c5: Pull complete 08:32:26 0ef7d3d256c8: Pull complete 08:32:26 de9db76c5a1d: Pull complete 08:32:28 a35cf1a2eb13: Verifying Checksum 08:32:28 a35cf1a2eb13: Download complete 08:32:28 bca2f99d35d6: Verifying Checksum 08:32:28 bca2f99d35d6: Download complete 08:32:34 bca2f99d35d6: Pull complete 08:32:34 93359f2a8cfa: Pull complete 08:32:34 7c6f9722023f: Pull complete 08:32:34 Still waiting to schedule task 08:32:34 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1422’ 08:32:39 a35cf1a2eb13: Pull complete 08:32:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:32:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:32:39 ---> a62c8e92a672 08:32:39 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 08:32:39 ---> Running in 6ee4f484d4c4 08:32:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:32:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:32:40 (1/12) Installing libmagic (5.38-r0) 08:32:41 (2/12) Installing file (5.38-r0) 08:32:41 (3/12) Installing libc-dev (0.7.2-r3) 08:32:41 (4/12) Installing g++ (9.3.0-r2) 08:32:49 (5/12) Installing fortify-headers (1.1-r0) 08:32:49 (6/12) Installing patch (2.7.6-r6) 08:32:49 (7/12) Installing build-base (0.5-r2) 08:32:49 (8/12) Installing libsodium (1.0.18-r0) 08:32:49 (9/12) Installing pkgconf (1.7.2-r0) 08:32:49 (10/12) Installing libsodium-dev (1.0.18-r0) 08:32:49 (11/12) Installing libzmq (4.3.3-r0) 08:32:49 (12/12) Installing zeromq-dev (4.3.3-r0) 08:32:49 Executing busybox-1.31.1-r19.trigger 08:32:50 OK: 233 MiB in 51 packages 08:32:54 Removing intermediate container 6ee4f484d4c4 08:32:54 ---> a5c1f7ee3f34 08:32:54 Step 4/6 : WORKDIR /edgex-go 08:32:54 ---> Running in 5383179a3400 08:32:54 Removing intermediate container 5383179a3400 08:32:54 ---> 49e70e998541 08:32:54 Step 5/6 : COPY go.mod . 08:32:54 ---> 6ea684bc4206 08:32:54 Step 6/6 : RUN go mod download 08:32:54 ---> Running in a857736344c6 08:33:16 Removing intermediate container a857736344c6 08:33:16 ---> dcbecc8acb80 08:33:16 Successfully built dcbecc8acb80 08:33:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:33:16 + docker inspect -f . ci-base-image-x86_64 08:33:16 . [Pipeline] withDockerContainer 08:33:16 prd-centos7-docker-4c-2g-1420 does not seem to be running inside a container 08:33:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/40 -v /w/workspace/edgex-go/40:/w/workspace/edgex-go/40:rw,z -v /w/workspace/edgex-go/40@tmp:/w/workspace/edgex-go/40@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 08:33:17 $ docker top de2cc50f54ef0780ba13048d7b52846d8c4b41468b825f9ffd3bcc1fcdd683f9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:33:18 + go version 08:33:18 go version go1.15.5 linux/amd64 [Pipeline] } 08:33:18 $ docker stop --time=1 de2cc50f54ef0780ba13048d7b52846d8c4b41468b825f9ffd3bcc1fcdd683f9 08:33:19 $ docker rm -f de2cc50f54ef0780ba13048d7b52846d8c4b41468b825f9ffd3bcc1fcdd683f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:33:20 + docker inspect -f . ci-base-image-x86_64 08:33:20 . [Pipeline] withDockerContainer 08:33:20 prd-centos7-docker-4c-2g-1420 does not seem to be running inside a container 08:33:20 $ 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/40 -v /w/workspace/edgex-go/40:/w/workspace/edgex-go/40:rw,z -v /w/workspace/edgex-go/40@tmp:/w/workspace/edgex-go/40@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 08:33:21 $ docker top 32e0261a0c0aa1bcfd6e3cc68780bdeb177c38e0b3e0ee32cb7c7081c2f45586 -eo pid,comm [Pipeline] { [Pipeline] echo 08:33:21 ========================================================= 08:33:21 [edgeXBuildGoParallel] Running Tests and Build... 08:33:21 ========================================================= [Pipeline] sh 08:33:21 + make test 08:33:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:33:32 ? github.com/edgexfoundry/edgex-go [no test files] 08:33:47 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:33:52 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:33:53 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:33:53 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:33:55 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:33:55 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:33:55 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:33:55 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:33:55 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:33:56 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:33:59 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 08:33:59 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 08:33:59 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:34:01 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.096s coverage: 45.9% of statements 08:34:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:34:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:34:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 08:34:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 08:34:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 08:34:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 08:34:01 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.053s coverage: 19.8% of statements 08:34:01 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.112s coverage: 100.0% of statements 08:34:05 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.189s coverage: 27.1% of statements 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:34:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.103s coverage: 100.0% of statements 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 08:34:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.080s coverage: 100.0% of statements 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 08:34:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.122s coverage: 71.3% of statements 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 08:34:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.179s coverage: 82.9% of statements 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 08:34:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.058s coverage: 78.9% of statements 08:34:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 08:34:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.351s coverage: 28.6% of statements 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 08:34:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.081s coverage: 100.0% of statements 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 08:34:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.059s coverage: 100.0% of statements 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 08:34:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.175s coverage: 86.7% of statements 08:34:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 08:34:08 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.142s coverage: 97.5% of statements 08:34:08 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 08:34:08 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.085s coverage: 78.3% of statements 08:34:08 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 08:34:08 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 08:34:08 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 08:34:08 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 08:34:10 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.379s coverage: 93.0% of statements 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 08:34:10 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.055s coverage: 58.8% of statements 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 08:34:10 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.069s coverage: 0.9% of statements 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 08:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.059s coverage: 47.1% of statements 08:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.085s coverage: 79.5% of statements 08:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.065s coverage: 94.1% of statements 08:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.078s coverage: 96.3% of statements 08:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.060s coverage: 87.5% of statements 08:34:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.068s coverage: 94.4% of statements 08:34:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.052s coverage: 44.8% of statements 08:34:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.229s coverage: 81.9% of statements 08:34:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.092s coverage: 92.9% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.037s coverage: 87.2% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:34:34 flag provided but not defined: -badarg 08:34:34 Usage of adduser: 08:34:34 -algorithm string 08:34:34 Algorithm used for signing the JWT, RS256 or ES256 08:34:34 -client_id string 08:34:34 Optional manually-specified OAuth2 client_id. 08:34:34 -client_secret string 08:34:34 Optional manually-specified OAuth2 client_secret. 08:34:34 -confdir string 08:34:34 08:34:34 -group string 08:34:34 Group to which the user belongs, defaults to 'gateway' (default "gateway") 08:34:34 -id string 08:34:34 ID to use for linkage with JWT claim (usually the 'iss' field) 08:34:34 -jwt string 08:34:34 The file containing the JWT for use when accessing the Kong Admin API 08:34:34 -public_key string 08:34:34 Public key (in PEM format) used to validate the JWT. 08:34:34 -redirect_uris string 08:34:34 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 08:34:34 -token-type string 08:34:34 Type of token to create: jwt or oauth2 08:34:34 -user string 08:34:34 Username of the user to add 08:34:34 --- FAIL: TestAddUserJWT (0.00s) 08:34:34 command_test.go:121: 08:34:34 Error Trace: command_test.go:121 08:34:34 Error: Received unexpected error: 08:34:34 failed to read JWT file: open s0meJWT: no such file or directory 08:34:34 Test: TestAddUserJWT 08:34:34 --- FAIL: TestAddUserOAuth2 (0.00s) 08:34:34 command_test.go:193: 08:34:34 Error Trace: command_test.go:193 08:34:34 Error: Received unexpected error: 08:34:34 failed to read JWT file: open s0meJWT: no such file or directory 08:34:34 Test: TestAddUserOAuth2 08:34:34 FAIL 08:34:34 coverage: 40.0% of statements 08:34:34 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.043s 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.053s coverage: 80.0% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.086s coverage: 87.2% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.066s coverage: 85.4% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.102s coverage: 91.2% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.213s coverage: 64.4% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.050s coverage: 100.0% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.036s coverage: 91.3% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.038s coverage: 100.0% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.038s coverage: 100.0% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.314s coverage: 62.9% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.147s coverage: 41.5% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.047s coverage: 89.5% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.034s coverage: 84.8% of statements 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.128s coverage: 47.0% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.053s coverage: 100.0% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.054s coverage: 100.0% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.059s coverage: 9.6% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.147s coverage: 88.6% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.741s coverage: 28.7% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.067s coverage: 99.0% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.058s coverage: 100.0% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 08:34:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.062s coverage: 64.6% of statements 08:34:34 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 08:34:35 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.125s coverage: 95.6% of statements 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 08:34:35 ok github.com/edgexfoundry/edgex-go/internal/system 0.032s coverage: 0.0% of statements 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 08:34:35 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.037s coverage: 100.0% of statements 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 08:34:35 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.069s coverage: 87.9% of statements 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 08:34:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 08:34:35 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.030s coverage: 100.0% of statements 08:34:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.047s coverage: 28.1% of statements 08:34:36 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 08:34:36 FAIL 08:34:36 make: *** [Makefile:94: test] Error 1 [Pipeline] } 08:34:36 $ docker stop --time=1 32e0261a0c0aa1bcfd6e3cc68780bdeb177c38e0b3e0ee32cb7c7081c2f45586 08:34:39 $ docker rm -f 32e0261a0c0aa1bcfd6e3cc68780bdeb177c38e0b3e0ee32cb7c7081c2f45586 [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] } 08:34:39 Failed in branch amd64 08:35:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1424 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 08:35:05 Running in /w/workspace/edgex-go/40 [Pipeline] { [Pipeline] checkout 08:35:11 using credential edgex-jenkins-ssh 08:35:11 Cloning the remote Git repository 08:35:11 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:35:11 > git init /w/workspace/edgex-go/40 # timeout=10 08:35:11 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:35:11 > git --version # timeout=10 08:35:11 > git --version # 'git version 2.17.1' 08:35:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:29 Merging remotes/origin/master commit db7925e05468a348a54e2ee7c85b6c50909b0e0e into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a 08:35:28 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:35:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:28 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:35:28 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:35:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:28 > 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 08:35:29 > git config core.sparsecheckout # timeout=10 08:35:29 > git checkout -f ca3031ed79becafea960142ce03bf3c297bca30a # timeout=10 08:35:30 Merge succeeded, producing a1286a94898aedc3ecf4c54b7b8e23ab4fb28133 08:35:30 Checking out Revision a1286a94898aedc3ecf4c54b7b8e23ab4fb28133 (PR-3328) 08:35:29 > git remote # timeout=10 08:35:30 > git config --get remote.origin.url # timeout=10 08:35:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:30 > git merge db7925e05468a348a54e2ee7c85b6c50909b0e0e # timeout=10 08:35:30 > git rev-parse HEAD^{commit} # timeout=10 08:35:30 > git config core.sparsecheckout # timeout=10 08:35:30 > git checkout -f a1286a94898aedc3ecf4c54b7b8e23ab4fb28133 # timeout=10 08:35:34 Commit message: "Merge commit 'db7925e05468a348a54e2ee7c85b6c50909b0e0e' into HEAD" 08:35:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:36 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:35:35 > git rev-list --no-walk 932d904008a4e613d6b9ff53d7326e4baa94340f # timeout=10 08:35:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:35:37 + true 08:35:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:35:39 provisioning config files... 08:35:39 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/40@tmp/config4633191324953810207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:35:40 ---> docker-login.sh 08:35:40 nexus3.edgexfoundry.org:10001 08:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:41 Configure a credential helper to remove this warning. See 08:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:41 08:35:41 Login Succeeded 08:35:41 nexus3.edgexfoundry.org:10002 08:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:42 Configure a credential helper to remove this warning. See 08:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:42 08:35:42 Login Succeeded 08:35:42 nexus3.edgexfoundry.org:10003 08:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:42 Configure a credential helper to remove this warning. See 08:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:42 08:35:42 Login Succeeded 08:35:42 nexus3.edgexfoundry.org:10004 08:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:43 Configure a credential helper to remove this warning. See 08:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:43 08:35:43 Login Succeeded 08:35:43 docker.io 08:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:44 Configure a credential helper to remove this warning. See 08:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:44 08:35:44 Login Succeeded 08:35:44 ---> docker-login.sh ends [Pipeline] } 08:35:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:35:44 ========================================================= 08:35:44 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:35:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:35:44 + 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 . 08:35:47 Sending build context to Docker daemon 167.5MB 08:35:47 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 08:35:47 Step 2/6 : FROM ${BASE} 08:35:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:35:47 5f621e34cdf4: Pulling fs layer 08:35:47 a4357932f1b6: Pulling fs layer 08:35:47 18c013af1878: Pulling fs layer 08:35:47 00ac8860ef70: Pulling fs layer 08:35:47 63d7cb157983: Pulling fs layer 08:35:47 b116817d02f9: Pulling fs layer 08:35:47 745a02a5169b: Pulling fs layer 08:35:47 00ac8860ef70: Waiting 08:35:47 63d7cb157983: Waiting 08:35:47 b116817d02f9: Waiting 08:35:47 745a02a5169b: Waiting 08:35:47 18c013af1878: Verifying Checksum 08:35:47 18c013af1878: Download complete 08:35:47 a4357932f1b6: Verifying Checksum 08:35:47 a4357932f1b6: Download complete 08:35:47 63d7cb157983: Download complete 08:35:47 b116817d02f9: Verifying Checksum 08:35:47 b116817d02f9: Download complete 08:35:47 5f621e34cdf4: Verifying Checksum 08:35:47 5f621e34cdf4: Download complete 08:35:48 5f621e34cdf4: Pull complete 08:35:48 a4357932f1b6: Pull complete 08:35:49 18c013af1878: Pull complete 08:35:50 745a02a5169b: Download complete 08:35:51 00ac8860ef70: Verifying Checksum 08:35:51 00ac8860ef70: Download complete 08:36:01 00ac8860ef70: Pull complete 08:36:02 63d7cb157983: Pull complete 08:36:02 b116817d02f9: Pull complete 08:36:06 745a02a5169b: Pull complete 08:36:06 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:36:06 ---> b7e6874047d6 08:36:06 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 08:36:10 ---> Running in 19ba6a2b6c0a 08:36:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:36:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:36:12 (1/12) Installing libmagic (5.38-r0) 08:36:12 (2/12) Installing file (5.38-r0) 08:36:12 (3/12) Installing libc-dev (0.7.2-r3) 08:36:12 (4/12) Installing g++ (9.3.0-r2) 08:36:18 (5/12) Installing fortify-headers (1.1-r0) 08:36:18 (6/12) Installing patch (2.7.6-r6) 08:36:18 (7/12) Installing build-base (0.5-r2) 08:36:18 (8/12) Installing libsodium (1.0.18-r0) 08:36:18 (9/12) Installing pkgconf (1.7.2-r0) 08:36:18 (10/12) Installing libsodium-dev (1.0.18-r0) 08:36:18 (11/12) Installing libzmq (4.3.3-r0) 08:36:18 (12/12) Installing zeromq-dev (4.3.3-r0) 08:36:18 Executing busybox-1.31.1-r19.trigger 08:36:18 OK: 217 MiB in 51 packages 08:36:22 Removing intermediate container 19ba6a2b6c0a 08:36:22 ---> 0ca9d459f0e5 08:36:22 Step 4/6 : WORKDIR /edgex-go 08:36:22 ---> Running in 5038f725c101 08:36:23 Removing intermediate container 5038f725c101 08:36:23 ---> b29a53c95a24 08:36:23 Step 5/6 : COPY go.mod . 08:36:24 ---> 808bfe08d802 08:36:24 Step 6/6 : RUN go mod download 08:36:24 ---> Running in 71ce460d7355 08:36:56 Removing intermediate container 71ce460d7355 08:36:56 ---> c44c0f54530f 08:36:56 Successfully built c44c0f54530f 08:36:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:36:56 + docker inspect -f . ci-base-image-arm64 08:36:56 . [Pipeline] withDockerContainer 08:36:57 prd-ubuntu18.04-docker-arm64-4c-16g-1424 does not seem to be running inside a container 08:36:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/40 -v /w/workspace/edgex-go/40:/w/workspace/edgex-go/40:rw,z -v /w/workspace/edgex-go/40@tmp:/w/workspace/edgex-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:36:58 $ docker top 55c5d7b283a2c02365801ac77592baa3ed00d0dece3a97da910b9eb1e6911aec -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:59 + go version 08:36:59 go version go1.15.5 linux/arm64 [Pipeline] } 08:36:59 $ docker stop --time=1 55c5d7b283a2c02365801ac77592baa3ed00d0dece3a97da910b9eb1e6911aec 08:37:02 $ docker rm -f 55c5d7b283a2c02365801ac77592baa3ed00d0dece3a97da910b9eb1e6911aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:37:02 + docker inspect -f . ci-base-image-arm64 08:37:02 . [Pipeline] withDockerContainer 08:37:03 prd-ubuntu18.04-docker-arm64-4c-16g-1424 does not seem to be running inside a container 08:37:03 $ 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/40 -v /w/workspace/edgex-go/40:/w/workspace/edgex-go/40:rw,z -v /w/workspace/edgex-go/40@tmp:/w/workspace/edgex-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:37:04 $ docker top b34b1b27eaf2f08bbc8600f09b2ba886958bbeddba603539d7374931eb3083cb -eo pid,comm [Pipeline] { [Pipeline] echo 08:37:05 ========================================================= 08:37:05 [edgeXBuildGoParallel] Running Tests and Build... 08:37:05 ========================================================= [Pipeline] sh 08:37:05 + make test 08:37:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:37:32 ? github.com/edgexfoundry/edgex-go [no test files] 08:38:29 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:38:36 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:38:44 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:38:44 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:38:47 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:38:47 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:38:47 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:38:47 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:38:52 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:38:52 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:39:02 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 08:39:02 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 08:39:02 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:39:09 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.340s coverage: 45.9% of statements 08:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 08:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 08:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 08:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 08:39:09 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.156s coverage: 19.8% of statements 08:39:09 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.239s coverage: 100.0% of statements 08:39:18 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.660s coverage: 27.1% of statements 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:39:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.153s coverage: 100.0% of statements 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 08:39:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.136s coverage: 100.0% of statements 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 08:39:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 08:39:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.345s coverage: 71.3% of statements 08:39:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 08:39:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.489s coverage: 82.9% of statements 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.174s coverage: 78.9% of statements 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 08:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.360s coverage: 28.6% of statements 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 08:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.225s coverage: 100.0% of statements 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 08:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.168s coverage: 100.0% of statements 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 08:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.531s coverage: 86.7% of statements 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 08:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.545s coverage: 97.5% of statements 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 08:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.328s coverage: 78.3% of statements 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 08:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 08:39:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.373s coverage: 93.0% of statements 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 08:39:44 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.132s coverage: 58.8% of statements 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 08:39:44 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.248s coverage: 0.9% of statements 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 08:39:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:39:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.149s coverage: 47.1% of statements 08:39:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.253s coverage: 79.5% of statements 08:39:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.138s coverage: 94.1% of statements 08:39:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.190s coverage: 96.3% of statements 08:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.137s coverage: 87.5% of statements 08:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.161s coverage: 94.4% of statements 08:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.132s coverage: 44.8% of statements 08:40:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.507s coverage: 81.9% of statements 08:40:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.217s coverage: 92.9% of statements 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 65.1% of statements 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.070s coverage: 87.2% of statements 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.117s coverage: 100.0% of statements 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:40:15 flag provided but not defined: -badarg 08:40:15 Usage of adduser: 08:40:15 -algorithm string 08:40:15 Algorithm used for signing the JWT, RS256 or ES256 08:40:15 -client_id string 08:40:15 Optional manually-specified OAuth2 client_id. 08:40:15 -client_secret string 08:40:15 Optional manually-specified OAuth2 client_secret. 08:40:15 -confdir string 08:40:15 08:40:15 -group string 08:40:15 Group to which the user belongs, defaults to 'gateway' (default "gateway") 08:40:15 -id string 08:40:15 ID to use for linkage with JWT claim (usually the 'iss' field) 08:40:15 -jwt string 08:40:15 The file containing the JWT for use when accessing the Kong Admin API 08:40:15 -public_key string 08:40:15 Public key (in PEM format) used to validate the JWT. 08:40:15 -redirect_uris string 08:40:15 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 08:40:15 -token-type string 08:40:15 Type of token to create: jwt or oauth2 08:40:15 -user string 08:40:15 Username of the user to add 08:40:15 --- FAIL: TestAddUserJWT (0.00s) 08:40:15 command_test.go:121: 08:40:15 Error Trace: command_test.go:121 08:40:15 Error: Received unexpected error: 08:40:15 failed to read JWT file: open s0meJWT: no such file or directory 08:40:15 Test: TestAddUserJWT 08:40:15 --- FAIL: TestAddUserOAuth2 (0.00s) 08:40:15 command_test.go:193: 08:40:15 Error Trace: command_test.go:193 08:40:15 Error: Received unexpected error: 08:40:15 failed to read JWT file: open s0meJWT: no such file or directory 08:40:15 Test: TestAddUserOAuth2 08:40:15 FAIL 08:40:15 coverage: 40.0% of statements 08:40:15 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.120s 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.136s coverage: 80.0% of statements 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.197s coverage: 87.2% of statements 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.199s coverage: 85.4% of statements 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.257s coverage: 91.2% of statements 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.658s coverage: 64.4% of statements 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.159s coverage: 100.0% of statements 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.108s coverage: 91.3% of statements 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.065s coverage: 100.0% of statements 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.098s coverage: 73.7% of statements 08:40:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.088s coverage: 100.0% of statements 08:40:21 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.964s coverage: 62.9% of statements 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:40:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.521s coverage: 41.5% of statements 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:40:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.101s coverage: 89.5% of statements 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:40:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.136s coverage: 84.8% of statements 08:40:28 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.516s coverage: 47.0% of statements 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 08:40:28 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.144s coverage: 100.0% of statements 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 08:40:28 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.132s coverage: 100.0% of statements 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 08:40:28 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.167s coverage: 9.6% of statements 08:40:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 08:40:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.592s coverage: 88.6% of statements 08:40:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 08:40:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 08:40:33 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 08:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 4.113s coverage: 28.7% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 08:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.245s coverage: 99.0% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 08:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.236s coverage: 100.0% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 08:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.186s coverage: 64.6% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 08:40:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.322s coverage: 95.6% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 08:40:39 ok github.com/edgexfoundry/edgex-go/internal/system 0.048s coverage: 0.0% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 08:40:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.064s coverage: 100.0% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 08:40:41 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.079s coverage: 87.9% of statements 08:40:41 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 08:40:41 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 08:40:41 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements 08:40:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.127s coverage: 28.1% of statements 08:40:43 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.087s coverage: 100.0% of statements 08:40:43 FAIL 08:40:43 make: *** [Makefile:94: test] Error 1 [Pipeline] } 08:40:43 $ docker stop --time=1 b34b1b27eaf2f08bbc8600f09b2ba886958bbeddba603539d7374931eb3083cb 08:40:46 $ docker rm -f b34b1b27eaf2f08bbc8600f09b2ba886958bbeddba603539d7374931eb3083cb [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 08:40:47 ---> job-cost.sh 08:40:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xwQr 08:41:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:44:06 lf-activate-venv(): INFO: Adding /tmp/venv-xwQr/bin to PATH 08:44:06 INFO: No Stack... 08:44:06 INFO: Retrieving Pricing Info for: lf-standard-4 08:44:06 INFO: Archiving Costs [Pipeline] sh 08:44:06 + cut -d, -f6 08:44:06 + cat /w/workspace/edgex-go/40/archives/cost.csv [Pipeline] lock 08:44:06 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-40-stack-cost] 08:44:06 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-40-stack-cost] did not exist. Created. 08:44:06 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:44:07 + echo total: 0.20999999344348907 [Pipeline] stash 08:44:08 Stashed 1 file(s) [Pipeline] } 08:44:08 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-40-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:44:08 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 08:44:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:44:10 ---> package-listing.sh 08:44:10 ++ facter osfamily 08:44:10 ++ tr '[:upper:]' '[:lower:]' 08:44:10 + OS_FAMILY=redhat 08:44:10 + workspace=/w/workspace/edgex-go/40 08:44:10 + START_PACKAGES=/tmp/packages_start.txt 08:44:10 + END_PACKAGES=/tmp/packages_end.txt 08:44:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:44:10 + PACKAGES=/tmp/packages_start.txt 08:44:10 + '[' /w/workspace/edgex-go/40 ']' 08:44:10 + PACKAGES=/tmp/packages_end.txt 08:44:10 + case "${OS_FAMILY}" in 08:44:10 + rpm -qa 08:44:10 + sort 08:44:15 + '[' -f /tmp/packages_start.txt ']' 08:44:15 + '[' -f /tmp/packages_end.txt ']' 08:44:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:44:15 + '[' /w/workspace/edgex-go/40 ']' 08:44:15 + mkdir -p /w/workspace/edgex-go/40/archives/ 08:44:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/40/archives/ [Pipeline] echo 08:44:15 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/40/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:44:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:44:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:44:16 08:44:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:44:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:44:16 alpine: Pulling from edgex-lftools-log-publisher 08:44:16 df20fa9351a1: Pulling fs layer 08:44:16 36b3adc4ff6f: Pulling fs layer 08:44:16 8ad3a11d3b57: Pulling fs layer 08:44:16 46f8f816bc3b: Pulling fs layer 08:44:16 93b61091891f: Pulling fs layer 08:44:16 93b9cdb0e59b: Pulling fs layer 08:44:16 5e14af77c1be: Pulling fs layer 08:44:16 01666e4c0597: Pulling fs layer 08:44:16 aa168da1d23b: Pulling fs layer 08:44:16 93b9cdb0e59b: Waiting 08:44:16 5e14af77c1be: Waiting 08:44:16 01666e4c0597: Waiting 08:44:16 aa168da1d23b: Waiting 08:44:16 46f8f816bc3b: Waiting 08:44:16 93b61091891f: Waiting 08:44:16 36b3adc4ff6f: Verifying Checksum 08:44:16 36b3adc4ff6f: Download complete 08:44:16 46f8f816bc3b: Verifying Checksum 08:44:16 46f8f816bc3b: Download complete 08:44:16 df20fa9351a1: Verifying Checksum 08:44:16 93b9cdb0e59b: Verifying Checksum 08:44:16 93b9cdb0e59b: Download complete 08:44:16 93b61091891f: Verifying Checksum 08:44:16 93b61091891f: Download complete 08:44:16 5e14af77c1be: Verifying Checksum 08:44:16 5e14af77c1be: Download complete 08:44:16 01666e4c0597: Verifying Checksum 08:44:16 01666e4c0597: Download complete 08:44:16 8ad3a11d3b57: Verifying Checksum 08:44:16 8ad3a11d3b57: Download complete 08:44:17 df20fa9351a1: Pull complete 08:44:17 36b3adc4ff6f: Pull complete 08:44:18 8ad3a11d3b57: Pull complete 08:44:19 46f8f816bc3b: Pull complete 08:44:19 aa168da1d23b: Verifying Checksum 08:44:19 aa168da1d23b: Download complete 08:44:19 93b61091891f: Pull complete 08:44:19 93b9cdb0e59b: Pull complete 08:44:19 5e14af77c1be: Pull complete 08:44:19 01666e4c0597: Pull complete 08:44:28 aa168da1d23b: Pull complete 08:44:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:44:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:44:28 prd-centos7-docker-4c-2g-1420 does not seem to be running inside a container 08:44:28 $ 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/40/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/40 -v /w/workspace/edgex-go/40:/w/workspace/edgex-go/40:rw,z -v /w/workspace/edgex-go/40@tmp:/w/workspace/edgex-go/40@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 08:44:31 $ docker top fb74ab8a041a262d574826cad22e5bb29d0eab057c642666e47bbef9bd46c0f1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:32 + touch /tmp/pre-build-complete [Pipeline] sh 08:44:32 + mkdir -p /var/log/sa [Pipeline] sh 08:44:32 + ls /var/log/sa-host 08:44:32 + sadf -c /var/log/sa-host/sa22 08:44:32 file_magic: OK 08:44:32 HZ: Using current value: 100 08:44:32 file_header: OK 08:44:32 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 08:44:32 Statistics: 08:44:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:44:32 File successfully converted to sysstat format version 12.2.1 08:44:32 + sadf -c /var/log/sa-host/sa23 08:44:32 file_magic: OK 08:44:32 HZ: Using current value: 100 08:44:32 file_header: OK 08:44:32 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 08:44:32 Statistics: 08:44:32 Hnuu...uuuununununu... 08:44:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:32 provisioning config files... 08:44:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/40@tmp/config3885409086055603558tmp [Pipeline] { [Pipeline] echo 08:44:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:44:33 ---> create-netrc.sh [Pipeline] } 08:44:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:44:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:44:33 ---> python-tools-install.sh [Pipeline] echo 08:44:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:44:33 ---> sudo-logs.sh 08:44:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:44:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:44:34 ---> job-cost.sh 08:44:34 lf-activate-venv: SKIPPING 08:44:34 DEBUG: total: 0.20999999344348907 08:44:34 INFO: Retrieving Stack Cost... 08:44:34 INFO: Retrieving Pricing Info for: v1-standard-2 08:44:35 INFO: Archiving Costs [Pipeline] echo 08:44:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:44:35 ---> logs-deploy.sh 08:44:35 lf-activate-venv: SKIPPING 08:44:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/40 08:44:35 INFO: archiving workspace using pattern(s): 08:44:37 Archives upload complete. 08:44:37 INFO: archiving logs to Nexus