Pull request #2808 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/edgex-go Obtained Jenkinsfile from 81dadbc6c6bf82ecb116fbaa2078d8391f81cb53+0d0448aa1bb13b12920e2a3260a06e62bf327a94 (e19714e5d955e27b9db261ee60fc4dd9da6a3ba3) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@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-14194 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/33 [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/33 # 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 0d0448aa1bb13b12920e2a3260a06e62bf327a94 into PR head commit 81dadbc6c6bf82ecb116fbaa2078d8391f81cb53 > 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/2808/head:refs/remotes/origin/PR-2808 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81dadbc6c6bf82ecb116fbaa2078d8391f81cb53 # 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 0d0448aa1bb13b12920e2a3260a06e62bf327a94 # timeout=10 Merge succeeded, producing 7cb0c8ef3d19556a47e7864e36f880e005887df2 Checking out Revision 7cb0c8ef3d19556a47e7864e36f880e005887df2 (PR-2808) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cb0c8ef3d19556a47e7864e36f880e005887df2 # timeout=10 Commit message: "Merge commit '0d0448aa1bb13b12920e2a3260a06e62bf327a94' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:23:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 5ea68a7e47e0f9bf5231722021227810df29ff4e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:23:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:23:45 ========================================================= 21:23:45 EdgeX Global Pipelines Version Info 21:23:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:23:47 ------------------- 21:23:47 stable info: 21:23:47 ------------------- 21:23:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:23:47 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 21:23:47 Message: update stable to v1.0.169 21:23:48 ------------------- 21:23:48 experimental info: 21:23:48 ------------------- 21:23:48 Commited By: **** collab-it+edgex@linuxfoundation.org 21:23:48 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 21:23:48 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:23:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:23:48 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:23:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:23:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:23:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:23:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:23:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:23:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:23:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:23:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:23:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:23:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:23:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:23:51 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:23:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2808 [Pipeline] echo 21:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2808 [Pipeline] echo 21:23:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2808 [Pipeline] echo 21:23:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cb0c8ef3d19556a47e7864e36f880e005887df2 [Pipeline] echo 21:23:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cb0c8e [Pipeline] echo 21:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:23:51 provisioning config files... 21:23:52 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/33@tmp/config1044029074265390182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:52 ---> docker-login.sh 21:23:52 nexus3.edgexfoundry.org:10001 21:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:52 Configure a credential helper to remove this warning. See 21:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:52 21:23:52 Login Succeeded 21:23:52 nexus3.edgexfoundry.org:10002 21:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:53 Configure a credential helper to remove this warning. See 21:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:53 21:23:53 Login Succeeded 21:23:53 nexus3.edgexfoundry.org:10003 21:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:53 Configure a credential helper to remove this warning. See 21:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:53 21:23:53 Login Succeeded 21:23:53 nexus3.edgexfoundry.org:10004 21:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:53 Configure a credential helper to remove this warning. See 21:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:53 21:23:53 Login Succeeded 21:23:53 docker.io 21:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:53 Configure a credential helper to remove this warning. See 21:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:53 21:23:53 Login Succeeded 21:23:53 ---> docker-login.sh ends [Pipeline] } 21:23:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:54 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/core-command/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo core-command,cmd/core-command/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/core-data/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo core-data,cmd/core-data/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/core-metadata/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo core-metadata,cmd/core-metadata/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/security-bootstrap-redis/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/security-proxy-setup/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/security-secrets-setup/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/security-secretstore-setup/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/support-logging/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo support-logging,cmd/support-logging/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/support-notifications/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo support-notifications,cmd/support-notifications/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/support-scheduler/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:23:54 + for file in '`ls cmd/**/Dockerfile`' 21:23:54 ++ dirname cmd/sys-mgmt-agent/Dockerfile 21:23:54 ++ cut -d/ -f2 21:23:54 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:23:54 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-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:23:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:23:55 21:23:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:23:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:23:56 latest: Pulling from edgex-devops/git-semver 21:23:56 31603596830f: Pulling fs layer 21:23:56 2a8b12db71e7: Pulling fs layer 21:23:56 6ca5941a6612: Pulling fs layer 21:23:56 ecc8261a40a4: Pulling fs layer 21:23:56 ecc8261a40a4: Waiting 21:23:56 2a8b12db71e7: Verifying Checksum 21:23:56 2a8b12db71e7: Download complete 21:23:56 31603596830f: Verifying Checksum 21:23:56 31603596830f: Download complete 21:23:56 ecc8261a40a4: Verifying Checksum 21:23:56 ecc8261a40a4: Download complete 21:23:56 6ca5941a6612: Verifying Checksum 21:23:56 6ca5941a6612: Download complete 21:23:56 31603596830f: Pull complete 21:23:57 2a8b12db71e7: Pull complete 21:23:57 6ca5941a6612: Pull complete 21:23:57 ecc8261a40a4: Pull complete 21:23:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:23:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:23:58 prd-centos7-docker-4c-2g-14194 does not seem to be running inside a container 21:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:24:00 $ docker top fd0e721bc7459f7e6c3d98ec8ba4cab69b9eca99723d00974e6f6fc32d6b12f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:24:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:01 [ssh-agent] Looking for ssh-agent implementation... 21:24:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:01 $ docker exec fd0e721bc7459f7e6c3d98ec8ba4cab69b9eca99723d00974e6f6fc32d6b12f8 ssh-agent 21:24:01 SSH_AUTH_SOCK=/tmp/ssh-IGT9LwSYvgh8/agent.11 21:24:01 SSH_AGENT_PID=16 21:24:01 Running ssh-add (command line suppressed) 21:24:01 Identity added: /w/workspace/edgex-go/33@tmp/private_key_2259892818082933471.key (/w/workspace/edgex-go/33@tmp/private_key_2259892818082933471.key) 21:24:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:02 + git tag --points-at HEAD [Pipeline] } 21:24:02 $ docker exec --env ******** --env ******** fd0e721bc7459f7e6c3d98ec8ba4cab69b9eca99723d00974e6f6fc32d6b12f8 ssh-agent -k 21:24:02 unset SSH_AUTH_SOCK; 21:24:02 unset SSH_AGENT_PID; 21:24:02 echo Agent pid 16 killed; 21:24:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:24:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:02 [ssh-agent] Looking for ssh-agent implementation... 21:24:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:02 $ docker exec fd0e721bc7459f7e6c3d98ec8ba4cab69b9eca99723d00974e6f6fc32d6b12f8 ssh-agent 21:24:02 SSH_AUTH_SOCK=/tmp/ssh-tCFbo2PHwehM/agent.46 21:24:02 SSH_AGENT_PID=51 21:24:02 Running ssh-add (command line suppressed) 21:24:02 Identity added: /w/workspace/edgex-go/33@tmp/private_key_3249983397852960912.key (/w/workspace/edgex-go/33@tmp/private_key_3249983397852960912.key) 21:24:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:03 + git semver init 21:24:03 # -> Open(): unable to determine branch for HEAD 21:24:03 # $GIT_DIR = /w/workspace/edgex-go/33/.git 21:24:03 # $GIT_WORK_TREE = /w/workspace/edgex-go/33 21:24:03 # $SEMVER_REMOTE_NAME = origin 21:24:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:24:03 # $SEMVER_USER_NAME = edgex-jenkins 21:24:03 # $SEMVER_BRANCH = PR-2808 21:24:03 # $SEMVER_TEMP = /tmp/semver-989357234 21:24:03 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 21:24:21 # '/tmp/semver-989357234' -> '/w/workspace/edgex-go/33/.semver' 21:24:21 # -> Force: false 21:24:21 # $SEMVER_DIR = /w/workspace/edgex-go/33/.semver [Pipeline] } 21:24:21 $ docker exec --env ******** --env ******** fd0e721bc7459f7e6c3d98ec8ba4cab69b9eca99723d00974e6f6fc32d6b12f8 ssh-agent -k 21:24:21 unset SSH_AUTH_SOCK; 21:24:21 unset SSH_AGENT_PID; 21:24:21 echo Agent pid 51 killed; 21:24:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:24:22 + git semver [Pipeline] } 21:24:22 $ docker stop --time=1 fd0e721bc7459f7e6c3d98ec8ba4cab69b9eca99723d00974e6f6fc32d6b12f8 21:24:23 $ docker rm -f fd0e721bc7459f7e6c3d98ec8ba4cab69b9eca99723d00974e6f6fc32d6b12f8 [Pipeline] // withDockerContainer [Pipeline] sh 21:24:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:24:24 Stashed 1 file(s) [Pipeline] echo 21:24:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:24:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:24:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:24:26 + sudo service docker restart 21:24:26 + true 21:24:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 21:24:27 ========================================================= 21:24:27 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:24:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:24:27 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 21:24:31 Sending build context to Docker daemon 326.3MB 21:24:31 Step 1/7 : ARG BASE=golang:1.15-alpine 21:24:31 Step 2/7 : FROM ${BASE} 21:24:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:24:31 188c0c94c7c5: Pulling fs layer 21:24:31 0ef7d3d256c8: Pulling fs layer 21:24:31 de9db76c5a1d: Pulling fs layer 21:24:31 bca2f99d35d6: Pulling fs layer 21:24:31 93359f2a8cfa: Pulling fs layer 21:24:31 7c6f9722023f: Pulling fs layer 21:24:31 a35cf1a2eb13: Pulling fs layer 21:24:31 93359f2a8cfa: Waiting 21:24:31 7c6f9722023f: Waiting 21:24:31 a35cf1a2eb13: Waiting 21:24:31 bca2f99d35d6: Waiting 21:24:31 de9db76c5a1d: Verifying Checksum 21:24:31 de9db76c5a1d: Download complete 21:24:31 0ef7d3d256c8: Verifying Checksum 21:24:31 0ef7d3d256c8: Download complete 21:24:31 93359f2a8cfa: Verifying Checksum 21:24:31 93359f2a8cfa: Download complete 21:24:31 7c6f9722023f: Verifying Checksum 21:24:31 7c6f9722023f: Download complete 21:24:31 188c0c94c7c5: Verifying Checksum 21:24:31 188c0c94c7c5: Download complete 21:24:31 188c0c94c7c5: Pull complete 21:24:31 0ef7d3d256c8: Pull complete 21:24:32 de9db76c5a1d: Pull complete 21:24:33 a35cf1a2eb13: Verifying Checksum 21:24:33 a35cf1a2eb13: Download complete 21:24:34 bca2f99d35d6: Verifying Checksum 21:24:34 bca2f99d35d6: Download complete 21:24:39 bca2f99d35d6: Pull complete 21:24:39 93359f2a8cfa: Pull complete 21:24:39 7c6f9722023f: Pull complete 21:24:40 Still waiting to schedule task 21:24:40 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 21:24:45 a35cf1a2eb13: Pull complete 21:24:45 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:24:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:24:45 ---> a62c8e92a672 21:24:45 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 21:24:45 ---> Running in 47f7552a8d66 21:24:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:24:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:24:47 (1/12) Installing libmagic (5.38-r0) 21:24:48 (2/12) Installing file (5.38-r0) 21:24:48 (3/12) Installing libc-dev (0.7.2-r3) 21:24:48 (4/12) Installing g++ (9.3.0-r2) 21:25:00 (5/12) Installing fortify-headers (1.1-r0) 21:25:00 (6/12) Installing patch (2.7.6-r6) 21:25:00 (7/12) Installing build-base (0.5-r2) 21:25:00 (8/12) Installing libsodium (1.0.18-r0) 21:25:00 (9/12) Installing pkgconf (1.7.2-r0) 21:25:00 (10/12) Installing libsodium-dev (1.0.18-r0) 21:25:00 (11/12) Installing libzmq (4.3.3-r0) 21:25:00 (12/12) Installing zeromq-dev (4.3.3-r0) 21:25:00 Executing busybox-1.31.1-r19.trigger 21:25:00 OK: 233 MiB in 51 packages 21:25:03 Removing intermediate container 47f7552a8d66 21:25:03 ---> 1f143f2a5136 21:25:03 Step 4/7 : WORKDIR /edgex-go 21:25:03 ---> Running in 325c9dd42d42 21:25:03 Removing intermediate container 325c9dd42d42 21:25:03 ---> 2a31fc1ba1d9 21:25:03 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 21:25:04 latest: Pulling from library/docker 21:25:04 188c0c94c7c5: Already exists 21:25:04 0c7c675703d6: Pulling fs layer 21:25:04 cc8c12a437cb: Pulling fs layer 21:25:04 f092543453df: Pulling fs layer 21:25:04 65b6bc45957d: Pulling fs layer 21:25:04 4de832df471b: Pulling fs layer 21:25:04 79aa7fa92271: Pulling fs layer 21:25:04 65b6bc45957d: Waiting 21:25:04 4de832df471b: Waiting 21:25:04 cc8c12a437cb: Verifying Checksum 21:25:04 cc8c12a437cb: Download complete 21:25:05 0c7c675703d6: Verifying Checksum 21:25:05 0c7c675703d6: Download complete 21:25:05 0c7c675703d6: Pull complete 21:25:05 4de832df471b: Verifying Checksum 21:25:05 4de832df471b: Download complete 21:25:05 65b6bc45957d: Verifying Checksum 21:25:05 65b6bc45957d: Download complete 21:25:05 cc8c12a437cb: Pull complete 21:25:05 79aa7fa92271: Verifying Checksum 21:25:05 79aa7fa92271: Download complete 21:25:06 f092543453df: Verifying Checksum 21:25:06 f092543453df: Download complete 21:25:08 f092543453df: Pull complete 21:25:08 65b6bc45957d: Pull complete 21:25:08 4de832df471b: Pull complete 21:25:08 79aa7fa92271: Pull complete 21:25:08 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 21:25:08 Status: Downloaded newer image for docker:latest 21:25:10 ---> dd0e38dcf8f0 21:25:10 Step 6/7 : COPY go.mod . 21:25:10 ---> b9480d927223 21:25:10 Step 7/7 : RUN go mod download 21:25:10 ---> Running in 5553c2136a3c 21:25:32 Removing intermediate container 5553c2136a3c 21:25:32 ---> b3e4ca61e40e 21:25:32 Successfully built b3e4ca61e40e 21:25:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:25:33 + docker inspect -f . ci-base-image-x86_64 21:25:33 . [Pipeline] withDockerContainer 21:25:33 prd-centos7-docker-4c-2g-14194 does not seem to be running inside a container 21:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:25:34 $ docker top 25e06b92fc32f0219e67f13e63d335ce6f7725f3edc37508d1290962029291b6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:34 + go version 21:25:34 go version go1.15.5 linux/amd64 [Pipeline] } 21:25:34 $ docker stop --time=1 25e06b92fc32f0219e67f13e63d335ce6f7725f3edc37508d1290962029291b6 21:25:36 $ docker rm -f 25e06b92fc32f0219e67f13e63d335ce6f7725f3edc37508d1290962029291b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:25:37 + docker inspect -f . ci-base-image-x86_64 21:25:37 . [Pipeline] withDockerContainer 21:25:37 prd-centos7-docker-4c-2g-14194 does not seem to be running inside a container 21:25:37 $ 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/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:25:37 $ docker top e148959ba3b2de675252bfc112522dec6fba856b4ff3fd12100e21940aac0dff -eo pid,comm [Pipeline] { [Pipeline] echo 21:25:38 ========================================================= 21:25:38 [edgeXBuildGoParallel] Running Tests and Build... 21:25:38 ========================================================= [Pipeline] sh 21:25:38 + make test 21:25:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:25:46 ? github.com/edgexfoundry/edgex-go [no test files] 21:26:01 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:26:08 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:26:08 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:26:08 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:26:08 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 21:26:08 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:26:08 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:26:10 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.039s 21:26:10 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:26:10 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 21:26:11 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:26:11 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:26:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:26:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:26:11 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:26:14 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.117s coverage: 46.6% of statements 21:26:14 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:26:14 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:26:14 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:26:14 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:26:14 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:26:19 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.153s coverage: 27.0% of statements 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:26:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.050s coverage: 100.0% of statements 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:26:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.034s coverage: 100.0% of statements 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:26:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.411s coverage: 66.4% of statements 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:26:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.407s coverage: 82.7% of statements 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 21:26:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:26:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.359s coverage: 28.6% of statements 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:26:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.067s coverage: 100.0% of statements 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:26:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.039s coverage: 100.0% of statements 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:26:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.104s coverage: 86.7% of statements 21:26:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:26:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.147s coverage: 97.5% of statements 21:26:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:26:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.052s coverage: 78.3% of statements 21:26:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:26:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:26:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:26:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:26:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.288s coverage: 95.2% of statements 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:26:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.062s coverage: 58.8% of statements 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:26:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.066s coverage: 0.0% of statements [no tests to run] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:26:22 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements 21:26:22 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:26:22 flag provided but not defined: -badarg 21:26:22 Usage of adduser: 21:26:22 -algorithm string 21:26:22 Algorithm used for signing the JWT, RS256 or ES256 21:26:22 -client_id string 21:26:22 Optional manually-specified OAuth2 client_id. 21:26:22 -client_secret string 21:26:22 Optional manually-specified OAuth2 client_secret. 21:26:22 -confdir string 21:26:22 21:26:22 -group string 21:26:22 Group to which the user belongs, defaults to 'admin' (default "admin") 21:26:22 -id string 21:26:22 ID to use for linkage with JWT claim (usually the 'iss' field) 21:26:22 -public_key string 21:26:22 Public key (in PEM format) used to validate the JWT. 21:26:22 -redirect_uris string 21:26:22 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 21:26:22 -token-type string 21:26:22 Type of token to create: jwt or oauth2 21:26:22 -user string 21:26:22 Username of the user to add 21:26:22 --- FAIL: TestAddUserBadArg (0.00s) 21:26:22 command_test.go:49: 21:26:22 Error Trace: command_test.go:49 21:26:22 Error: An error is expected but got nil. 21:26:22 Test: TestAddUserBadArg 21:26:22 command_test.go:50: 21:26:22 Error Trace: command_test.go:50 21:26:22 Error: Expected nil, but got: &adduser.cmd{loggingClient:logger.MockLogger{}, client:(*http.Client)(0xc0000137d0), configuration:(*config.ConfigurationStruct)(0xc0000e0200), tokenType:"oauth2", username:"someuser", group:"admin", algorithm:"", publicKeyPath:"", jwtID:"", clientID:"", clientSecret:"", redirectUris:"https://localhost"} 21:26:22 Test: TestAddUserBadArg 21:26:22 bad060a9-0e2b-47ba-98d5-9d622e2322b5 21:26:22 {"client_id":"7240fdd9-1665-419b-a8c5-5691ca03af7c","client_secret":"d3191db3-8468-4a3c-87fb-df4fccfee983"} 21:26:22 FAIL 21:26:22 coverage: 75.5% of statements 21:26:22 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.038s 21:26:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.042s coverage: 80.8% of statements 21:26:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.080s coverage: 87.2% of statements 21:26:24 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.061s coverage: 84.2% of statements 21:26:24 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.033s coverage: 100.0% of statements 21:26:24 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:26:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14195 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [Pipeline] { 21:26:24 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.185s coverage: 63.5% of statements 21:26:24 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:26:24 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:26:24 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.027s coverage: 100.0% of statements 21:26:24 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.066s coverage: 91.3% of statements [Pipeline] ws 21:26:24 Running in /w/workspace/edgex-go/33 [Pipeline] { [Pipeline] checkout 21:26:24 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.026s coverage: 100.0% of statements 21:26:24 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.034s coverage: 73.7% of statements 21:26:25 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements 21:26:26 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.366s coverage: 55.9% of statements 21:26:26 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:26:26 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:26:26 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 21:26:26 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 21:26:26 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 21:26:26 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 21:26:29 using credential edgex-jenkins-ssh 21:26:29 Cloning the remote Git repository 21:26:29 Cloning repository git@github.com:edgexfoundry/edgex-go.git 21:26:29 > git init /w/workspace/edgex-go/33 # timeout=10 21:26:29 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:26:29 > git --version # timeout=10 21:26:29 > git --version # 'git version 2.17.1' 21:26:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 10.216s coverage: 86.3% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.054s coverage: 72.2% of statements 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.399s coverage: 72.1% of statements 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.043s coverage: 82.4% of statements 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.058s coverage: 48.4% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.065s coverage: 28.8% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.048s coverage: 96.8% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.101s coverage: 37.2% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.358s coverage: 84.1% of statements 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.052s coverage: 100.0% of statements 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.044s coverage: 42.9% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.048s coverage: 100.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.054s coverage: 83.8% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.103s coverage: 47.1% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.037s coverage: 100.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.074s coverage: 100.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.646s coverage: 29.1% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.075s coverage: 99.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.062s coverage: 100.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.043s coverage: 100.0% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.052s coverage: 87.9% of statements 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 21:26:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.035s coverage: 100.0% of statements 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.033s coverage: 32.1% of statements 21:26:36 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 21:26:36 FAIL 21:26:36 make: *** [Makefile:89: test] Error 1 [Pipeline] } 21:26:36 $ docker stop --time=1 e148959ba3b2de675252bfc112522dec6fba856b4ff3fd12100e21940aac0dff 21:26:39 $ docker rm -f e148959ba3b2de675252bfc112522dec6fba856b4ff3fd12100e21940aac0dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:26:41 Failed in branch amd64 21:26:49 Merging remotes/origin/master commit 0d0448aa1bb13b12920e2a3260a06e62bf327a94 into PR head commit 81dadbc6c6bf82ecb116fbaa2078d8391f81cb53 21:26:50 Merge succeeded, producing acbbea2893712d71e5abec28d9476649431bc602 21:26:50 Checking out Revision acbbea2893712d71e5abec28d9476649431bc602 (PR-2808) 21:26:49 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:26:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:49 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:26:49 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:26:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2808/head:refs/remotes/origin/PR-2808 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:26:49 > git config core.sparsecheckout # timeout=10 21:26:49 > git checkout -f 81dadbc6c6bf82ecb116fbaa2078d8391f81cb53 # timeout=10 21:26:50 > git remote # timeout=10 21:26:50 > git config --get remote.origin.url # timeout=10 21:26:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:50 > git merge 0d0448aa1bb13b12920e2a3260a06e62bf327a94 # timeout=10 21:26:50 > git rev-parse HEAD^{commit} # timeout=10 21:26:50 > git config core.sparsecheckout # timeout=10 21:26:50 > git checkout -f acbbea2893712d71e5abec28d9476649431bc602 # timeout=10 21:26:54 Commit message: "Merge commit '0d0448aa1bb13b12920e2a3260a06e62bf327a94' into HEAD" 21:26:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:54 > git rev-list --no-walk 5ea68a7e47e0f9bf5231722021227810df29ff4e # timeout=10 21:26:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:26:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:26:57 + + sudotrue service 21:26:57 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:26:59 provisioning config files... 21:27:00 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/33@tmp/config6629124370849113717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:00 ---> docker-login.sh 21:27:00 nexus3.edgexfoundry.org:10001 21:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:01 Configure a credential helper to remove this warning. See 21:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:01 21:27:01 Login Succeeded 21:27:01 nexus3.edgexfoundry.org:10002 21:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:02 Configure a credential helper to remove this warning. See 21:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:02 21:27:02 Login Succeeded 21:27:02 nexus3.edgexfoundry.org:10003 21:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:02 Configure a credential helper to remove this warning. See 21:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:02 21:27:02 Login Succeeded 21:27:02 nexus3.edgexfoundry.org:10004 21:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:03 Configure a credential helper to remove this warning. See 21:27:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:03 21:27:03 Login Succeeded 21:27:03 docker.io 21:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:04 Configure a credential helper to remove this warning. See 21:27:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:04 21:27:04 Login Succeeded 21:27:04 ---> docker-login.sh ends [Pipeline] } 21:27:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:27:04 ========================================================= 21:27:04 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:27:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:27:05 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 21:27:07 Sending build context to Docker daemon 165.7MB 21:27:07 Step 1/7 : ARG BASE=golang:1.15-alpine 21:27:07 Step 2/7 : FROM ${BASE} 21:27:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:27:07 5f621e34cdf4: Pulling fs layer 21:27:07 a4357932f1b6: Pulling fs layer 21:27:07 18c013af1878: Pulling fs layer 21:27:07 00ac8860ef70: Pulling fs layer 21:27:07 63d7cb157983: Pulling fs layer 21:27:07 b116817d02f9: Pulling fs layer 21:27:07 745a02a5169b: Pulling fs layer 21:27:07 00ac8860ef70: Waiting 21:27:07 63d7cb157983: Waiting 21:27:07 b116817d02f9: Waiting 21:27:07 745a02a5169b: Waiting 21:27:07 18c013af1878: Verifying Checksum 21:27:07 18c013af1878: Download complete 21:27:07 a4357932f1b6: Verifying Checksum 21:27:07 a4357932f1b6: Download complete 21:27:07 63d7cb157983: Verifying Checksum 21:27:07 63d7cb157983: Download complete 21:27:07 b116817d02f9: Verifying Checksum 21:27:07 b116817d02f9: Download complete 21:27:07 5f621e34cdf4: Verifying Checksum 21:27:07 5f621e34cdf4: Download complete 21:27:08 5f621e34cdf4: Pull complete 21:27:09 a4357932f1b6: Pull complete 21:27:09 18c013af1878: Pull complete 21:27:10 745a02a5169b: Verifying Checksum 21:27:10 745a02a5169b: Download complete 21:27:11 00ac8860ef70: Download complete 21:27:21 00ac8860ef70: Pull complete 21:27:21 63d7cb157983: Pull complete 21:27:21 b116817d02f9: Pull complete 21:27:25 745a02a5169b: Pull complete 21:27:25 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:27:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:27:25 ---> b7e6874047d6 21:27:25 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 21:27:28 ---> Running in b411afed594d 21:27:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:27:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:27:31 (1/12) Installing libmagic (5.38-r0) 21:27:31 (2/12) Installing file (5.38-r0) 21:27:31 (3/12) Installing libc-dev (0.7.2-r3) 21:27:31 (4/12) Installing g++ (9.3.0-r2) 21:27:35 (5/12) Installing fortify-headers (1.1-r0) 21:27:35 (6/12) Installing patch (2.7.6-r6) 21:27:35 (7/12) Installing build-base (0.5-r2) 21:27:35 (8/12) Installing libsodium (1.0.18-r0) 21:27:35 (9/12) Installing pkgconf (1.7.2-r0) 21:27:35 (10/12) Installing libsodium-dev (1.0.18-r0) 21:27:35 (11/12) Installing libzmq (4.3.3-r0) 21:27:35 (12/12) Installing zeromq-dev (4.3.3-r0) 21:27:35 Executing busybox-1.31.1-r19.trigger 21:27:35 OK: 217 MiB in 51 packages 21:27:40 Removing intermediate container b411afed594d 21:27:40 ---> 6da78cfaade2 21:27:40 Step 4/7 : WORKDIR /edgex-go 21:27:40 ---> Running in aff6c42d792e 21:27:40 Removing intermediate container aff6c42d792e 21:27:40 ---> 812bd01c266d 21:27:40 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 21:27:41 latest: Pulling from library/docker 21:27:41 5f621e34cdf4: Already exists 21:27:41 85db56a05063: Pulling fs layer 21:27:41 ccb67d6aeaaa: Pulling fs layer 21:27:41 de930078acea: Pulling fs layer 21:27:41 d5a9d88a4785: Pulling fs layer 21:27:41 e7f15c1544d5: Pulling fs layer 21:27:41 877c515997d3: Pulling fs layer 21:27:41 e7f15c1544d5: Waiting 21:27:41 d5a9d88a4785: Waiting 21:27:41 877c515997d3: Waiting 21:27:41 ccb67d6aeaaa: Verifying Checksum 21:27:41 ccb67d6aeaaa: Download complete 21:27:41 85db56a05063: Verifying Checksum 21:27:41 85db56a05063: Download complete 21:27:41 d5a9d88a4785: Verifying Checksum 21:27:41 d5a9d88a4785: Download complete 21:27:41 e7f15c1544d5: Verifying Checksum 21:27:41 e7f15c1544d5: Download complete 21:27:41 877c515997d3: Verifying Checksum 21:27:41 877c515997d3: Download complete 21:27:42 85db56a05063: Pull complete 21:27:42 ccb67d6aeaaa: Pull complete 21:27:43 de930078acea: Download complete 21:27:46 de930078acea: Pull complete 21:27:47 d5a9d88a4785: Pull complete 21:27:47 e7f15c1544d5: Pull complete 21:27:47 877c515997d3: Pull complete 21:27:47 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 21:27:47 Status: Downloaded newer image for docker:latest 21:27:51 ---> 20af1d0953b8 21:27:51 Step 6/7 : COPY go.mod . 21:27:51 ---> c4c2f2e05838 21:27:51 Step 7/7 : RUN go mod download 21:27:51 ---> Running in 82a513c07abc 21:28:18 Removing intermediate container 82a513c07abc 21:28:18 ---> 9e91e262ca6c 21:28:18 Successfully built 9e91e262ca6c 21:28:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:28:18 + docker inspect -f . ci-base-image-arm64 21:28:18 . [Pipeline] withDockerContainer 21:28:19 prd-ubuntu18.04-docker-arm64-4c-16g-14195 does not seem to be running inside a container 21:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:20 $ docker top 0b570713ed1bc185db2d9fdc4358d57573d0ac36cc67e3d087a38c72308bb1e6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:21 + go version 21:28:21 go version go1.15.5 linux/arm64 [Pipeline] } 21:28:21 $ docker stop --time=1 0b570713ed1bc185db2d9fdc4358d57573d0ac36cc67e3d087a38c72308bb1e6 21:28:23 $ docker rm -f 0b570713ed1bc185db2d9fdc4358d57573d0ac36cc67e3d087a38c72308bb1e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:28:25 + docker inspect -f . ci-base-image-arm64 21:28:25 . [Pipeline] withDockerContainer 21:28:25 prd-ubuntu18.04-docker-arm64-4c-16g-14195 does not seem to be running inside a container 21:28:25 $ 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/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:26 $ docker top e32f878397aa5ffecc94d0b2a8cde96d6db739be72eeef1fffb01de4047d85b3 -eo pid,comm [Pipeline] { [Pipeline] echo 21:28:27 ========================================================= 21:28:27 [edgeXBuildGoParallel] Running Tests and Build... 21:28:27 ========================================================= [Pipeline] sh 21:28:27 + make test 21:28:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:28:50 ? github.com/edgexfoundry/edgex-go [no test files] 21:29:37 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:29:47 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:29:50 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:29:50 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:29:50 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 21:29:50 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:29:50 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:29:56 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.085s 21:29:56 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:29:56 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 21:29:56 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:29:58 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:29:58 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:29:58 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:29:58 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:30:06 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.253s coverage: 46.6% of statements 21:30:06 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:30:06 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:30:06 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:30:06 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:30:06 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:30:15 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.651s coverage: 27.1% of statements 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:30:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.066s coverage: 100.0% of statements 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:30:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.073s coverage: 100.0% of statements 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:30:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.522s coverage: 66.4% of statements 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:30:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.322s coverage: 82.7% of statements 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 21:30:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:30:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.157s coverage: 28.6% of statements 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:30:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.170s coverage: 100.0% of statements 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:30:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.072s coverage: 100.0% of statements 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:30:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.341s coverage: 86.7% of statements 21:30:21 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:30:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.325s coverage: 97.5% of statements 21:30:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:30:23 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.125s coverage: 78.3% of statements 21:30:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:30:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:30:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:30:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:30:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.988s coverage: 95.2% of statements 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:30:28 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.060s coverage: 58.8% of statements 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:30:28 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.168s coverage: 0.0% of statements [no tests to run] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:30:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements 21:30:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:30:28 flag provided but not defined: -badarg 21:30:28 Usage of adduser: 21:30:28 -algorithm string 21:30:28 Algorithm used for signing the JWT, RS256 or ES256 21:30:28 -client_id string 21:30:28 Optional manually-specified OAuth2 client_id. 21:30:28 -client_secret string 21:30:28 Optional manually-specified OAuth2 client_secret. 21:30:28 -confdir string 21:30:28 21:30:28 -group string 21:30:28 Group to which the user belongs, defaults to 'admin' (default "admin") 21:30:28 -id string 21:30:28 ID to use for linkage with JWT claim (usually the 'iss' field) 21:30:28 -public_key string 21:30:28 Public key (in PEM format) used to validate the JWT. 21:30:28 -redirect_uris string 21:30:28 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 21:30:28 -token-type string 21:30:28 Type of token to create: jwt or oauth2 21:30:28 -user string 21:30:28 Username of the user to add 21:30:28 --- FAIL: TestAddUserBadArg (0.01s) 21:30:28 command_test.go:49: 21:30:28 Error Trace: command_test.go:49 21:30:28 Error: An error is expected but got nil. 21:30:28 Test: TestAddUserBadArg 21:30:28 command_test.go:50: 21:30:28 Error Trace: command_test.go:50 21:30:28 Error: Expected nil, but got: &adduser.cmd{loggingClient:logger.MockLogger{}, client:(*http.Client)(0x40000137d0), configuration:(*config.ConfigurationStruct)(0x4000160200), tokenType:"oauth2", username:"someuser", group:"admin", algorithm:"", publicKeyPath:"", jwtID:"", clientID:"", clientSecret:"", redirectUris:"https://localhost"} 21:30:28 Test: TestAddUserBadArg 21:30:28 bad060a9-0e2b-47ba-98d5-9d622e2322b5 21:30:28 {"client_id":"7240fdd9-1665-419b-a8c5-5691ca03af7c","client_secret":"d3191db3-8468-4a3c-87fb-df4fccfee983"} 21:30:28 FAIL 21:30:28 coverage: 75.5% of statements 21:30:28 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.089s 21:30:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.080s coverage: 80.8% of statements 21:30:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.165s coverage: 87.2% of statements 21:30:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.175s coverage: 84.2% of statements 21:30:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.089s coverage: 100.0% of statements 21:30:31 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:30:34 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.583s coverage: 63.5% of statements 21:30:34 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:30:34 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:30:34 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.068s coverage: 100.0% of statements 21:30:34 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.122s coverage: 91.3% of statements 21:30:34 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.072s coverage: 100.0% of statements 21:30:34 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.079s coverage: 73.7% of statements 21:30:36 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.079s coverage: 100.0% of statements 21:30:39 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.891s coverage: 55.9% of statements 21:30:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:30:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:30:39 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 21:30:39 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 21:30:39 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 21:30:39 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 23.842s coverage: 86.3% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.295s coverage: 72.2% of statements 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.435s coverage: 72.1% of statements 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.096s coverage: 82.4% of statements 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.096s coverage: 48.4% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.076s coverage: 28.8% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.078s coverage: 96.8% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.387s coverage: 37.2% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.527s coverage: 84.1% of statements 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.077s coverage: 100.0% of statements 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.080s coverage: 42.9% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.106s coverage: 100.0% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.092s coverage: 83.8% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.348s coverage: 47.1% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.055s coverage: 100.0% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.124s coverage: 100.0% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 21:31:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.096s coverage: 100.0% of statements 21:31:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.839s coverage: 29.1% of statements 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.311s coverage: 99.0% of statements 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.099s coverage: 100.0% of statements 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/system 0.073s coverage: 0.0% of statements 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.060s coverage: 100.0% of statements 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.075s coverage: 87.9% of statements 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 21:31:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.065s coverage: 100.0% of statements 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.056s coverage: 32.1% of statements 21:31:08 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements 21:31:08 FAIL 21:31:09 make: *** [Makefile:89: test] Error 1 [Pipeline] } 21:31:09 $ docker stop --time=1 e32f878397aa5ffecc94d0b2a8cde96d6db739be72eeef1fffb01de4047d85b3 21:31:12 $ docker rm -f e32f878397aa5ffecc94d0b2a8cde96d6db739be72eeef1fffb01de4047d85b3 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:31:14 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 21:31:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:31:18 ---> package-listing.sh 21:31:18 ++ facter osfamily 21:31:18 ++ tr '[:upper:]' '[:lower:]' 21:31:18 + OS_FAMILY=redhat 21:31:18 + workspace=/w/workspace/edgex-go/33 21:31:18 + START_PACKAGES=/tmp/packages_start.txt 21:31:18 + END_PACKAGES=/tmp/packages_end.txt 21:31:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:31:18 + PACKAGES=/tmp/packages_start.txt 21:31:18 + '[' /w/workspace/edgex-go/33 ']' 21:31:18 + PACKAGES=/tmp/packages_end.txt 21:31:18 + case "${OS_FAMILY}" in 21:31:18 + rpm -qa 21:31:18 + sort 21:31:23 + '[' -f /tmp/packages_start.txt ']' 21:31:23 + '[' -f /tmp/packages_end.txt ']' 21:31:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:31:23 + '[' /w/workspace/edgex-go/33 ']' 21:31:23 + mkdir -p /w/workspace/edgex-go/33/archives/ 21:31:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/33/archives/ [Pipeline] echo 21:31:23 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/33/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:31:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:31:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:31:23 21:31:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:31:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:31:24 alpine: Pulling from edgex-lftools-log-publisher 21:31:24 df20fa9351a1: Pulling fs layer 21:31:24 36b3adc4ff6f: Pulling fs layer 21:31:24 8ad3a11d3b57: Pulling fs layer 21:31:24 46f8f816bc3b: Pulling fs layer 21:31:24 93b61091891f: Pulling fs layer 21:31:24 93b9cdb0e59b: Pulling fs layer 21:31:24 5e14af77c1be: Pulling fs layer 21:31:24 01666e4c0597: Pulling fs layer 21:31:24 aa168da1d23b: Pulling fs layer 21:31:24 93b9cdb0e59b: Waiting 21:31:24 01666e4c0597: Waiting 21:31:24 aa168da1d23b: Waiting 21:31:24 5e14af77c1be: Waiting 21:31:24 46f8f816bc3b: Waiting 21:31:24 93b61091891f: Waiting 21:31:24 36b3adc4ff6f: Verifying Checksum 21:31:24 36b3adc4ff6f: Download complete 21:31:24 46f8f816bc3b: Verifying Checksum 21:31:24 46f8f816bc3b: Download complete 21:31:24 df20fa9351a1: Verifying Checksum 21:31:24 df20fa9351a1: Download complete 21:31:24 93b9cdb0e59b: Verifying Checksum 21:31:24 93b9cdb0e59b: Download complete 21:31:24 93b61091891f: Verifying Checksum 21:31:24 93b61091891f: Download complete 21:31:24 5e14af77c1be: Verifying Checksum 21:31:24 5e14af77c1be: Download complete 21:31:24 01666e4c0597: Verifying Checksum 21:31:24 01666e4c0597: Download complete 21:31:24 df20fa9351a1: Pull complete 21:31:25 36b3adc4ff6f: Pull complete 21:31:25 8ad3a11d3b57: Verifying Checksum 21:31:25 8ad3a11d3b57: Download complete 21:31:26 8ad3a11d3b57: Pull complete 21:31:26 46f8f816bc3b: Pull complete 21:31:27 aa168da1d23b: Verifying Checksum 21:31:27 aa168da1d23b: Download complete 21:31:27 93b61091891f: Pull complete 21:31:27 93b9cdb0e59b: Pull complete 21:31:27 5e14af77c1be: Pull complete 21:31:27 01666e4c0597: Pull complete 21:31:34 aa168da1d23b: Pull complete 21:31:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:31:34 prd-centos7-docker-4c-2g-14194 does not seem to be running inside a container 21:31:34 $ 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/33/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/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:31:39 $ docker top a9de1a769c4a11ea3cc2d6a075cc07a51562177d811f3eaa5bfae84c20bac6e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:40 + touch /tmp/pre-build-complete [Pipeline] sh 21:31:40 + mkdir -p /var/log/sa [Pipeline] sh 21:31:40 + ls /var/log/sa-host 21:31:40 + sadf -c /var/log/sa-host/sa02 21:31:40 file_magic: OK 21:31:40 HZ: Using current value: 100 21:31:40 file_header: OK 21:31:40 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 21:31:40 Statistics: 21:31:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:31:40 File successfully converted to sysstat format version 12.2.1 21:31:40 + sadf -c /var/log/sa-host/sa23 21:31:40 file_magic: OK 21:31:40 HZ: Using current value: 100 21:31:40 file_header: OK 21:31:40 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 21:31:40 Statistics: 21:31:40 Hnuu...uuuununununu... 21:31:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:41 provisioning config files... 21:31:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/33@tmp/config5774420784530402859tmp [Pipeline] { [Pipeline] echo 21:31:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:31:41 ---> create-netrc.sh [Pipeline] } 21:31:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:31:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:31:42 ---> python-tools-install.sh [Pipeline] echo 21:31:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:31:42 ---> sudo-logs.sh 21:31:42 Archiving 'sudo' log.. [Pipeline] echo 21:31:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:31:42 ---> job-cost.sh 21:31:42 lf-activate-venv: SKIPPING 21:31:42 INFO: No Stack... 21:31:43 INFO: Retrieving Pricing Info for: v1-standard-2 21:31:44 INFO: Archiving Costs [Pipeline] echo 21:31:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:31:44 ---> logs-deploy.sh 21:31:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2808/33 21:31:44 INFO: archiving workspace using pattern(s): 21:31:45 Archives upload complete. 21:31:45 INFO: archiving logs to Nexus