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 82dc2af8e393ece57256f5227bdd9e69583def6f+0d0448aa1bb13b12920e2a3260a06e62bf327a94 (4f1d10d4a1b0c719b60b86164807587334cb92d5) 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-14242 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/36 [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/36 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2808/head:refs/remotes/origin/PR-2808 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0d0448aa1bb13b12920e2a3260a06e62bf327a94 into PR head commit 82dc2af8e393ece57256f5227bdd9e69583def6f Merge succeeded, producing 82dc2af8e393ece57256f5227bdd9e69583def6f Checking out Revision 82dc2af8e393ece57256f5227bdd9e69583def6f (PR-2808) > git config core.sparsecheckout # timeout=10 > git checkout -f 82dc2af8e393ece57256f5227bdd9e69583def6f # 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82dc2af8e393ece57256f5227bdd9e69583def6f # timeout=10 Commit message: "feat(security): Replace security-proxy-setup for adding users" First time build. Skipping changelog. > git rev-list --no-walk 9825ca04921c36a11a70be5172c0de6faba2deb2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:25:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:25:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:25:14 ========================================================= 01:25:14 EdgeX Global Pipelines Version Info 01:25:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:25:16 ------------------- 01:25:16 stable info: 01:25:16 ------------------- 01:25:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:25:16 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 01:25:16 Message: update stable to v1.0.169 01:25:16 ------------------- 01:25:16 experimental info: 01:25:16 ------------------- 01:25:16 Commited By: **** collab-it+edgex@linuxfoundation.org 01:25:16 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 01:25:16 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 01:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:25:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2808 [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2808 [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2808 [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82dc2af8e393ece57256f5227bdd9e69583def6f [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82dc2af [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:25:19 provisioning config files... 01:25:19 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/36@tmp/config4448913282527228198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:20 ---> docker-login.sh 01:25:20 nexus3.edgexfoundry.org:10001 01:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:20 Configure a credential helper to remove this warning. See 01:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:20 01:25:20 Login Succeeded 01:25:20 nexus3.edgexfoundry.org:10002 01:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:21 Configure a credential helper to remove this warning. See 01:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:21 01:25:21 Login Succeeded 01:25:21 nexus3.edgexfoundry.org:10003 01:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:21 Configure a credential helper to remove this warning. See 01:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:21 01:25:21 Login Succeeded 01:25:21 nexus3.edgexfoundry.org:10004 01:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:21 Configure a credential helper to remove this warning. See 01:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:21 01:25:21 Login Succeeded 01:25:21 docker.io 01:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:21 Configure a credential helper to remove this warning. See 01:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:21 01:25:21 Login Succeeded 01:25:21 ---> docker-login.sh ends [Pipeline] } 01:25:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:22 ++ 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 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/core-command/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo core-command,cmd/core-command/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/core-data/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo core-data,cmd/core-data/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/core-metadata/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo core-metadata,cmd/core-metadata/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/security-bootstrap-redis/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/security-proxy-setup/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/security-secrets-setup/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/security-secretstore-setup/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/support-logging/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo support-logging,cmd/support-logging/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/support-notifications/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo support-notifications,cmd/support-notifications/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/support-scheduler/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo support-scheduler,cmd/support-scheduler/Dockerfile 01:25:22 + for file in '`ls cmd/**/Dockerfile`' 01:25:22 ++ dirname cmd/sys-mgmt-agent/Dockerfile 01:25:22 ++ cut -d/ -f2 01:25:22 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 01:25:22 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 01:25:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:25:23 01:25:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:25:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:25:24 latest: Pulling from edgex-devops/git-semver 01:25:24 31603596830f: Pulling fs layer 01:25:24 2a8b12db71e7: Pulling fs layer 01:25:24 6ca5941a6612: Pulling fs layer 01:25:24 ecc8261a40a4: Pulling fs layer 01:25:24 ecc8261a40a4: Waiting 01:25:24 2a8b12db71e7: Verifying Checksum 01:25:24 2a8b12db71e7: Download complete 01:25:24 31603596830f: Verifying Checksum 01:25:24 31603596830f: Download complete 01:25:24 ecc8261a40a4: Verifying Checksum 01:25:24 ecc8261a40a4: Download complete 01:25:24 6ca5941a6612: Verifying Checksum 01:25:24 6ca5941a6612: Download complete 01:25:24 31603596830f: Pull complete 01:25:24 2a8b12db71e7: Pull complete 01:25:25 6ca5941a6612: Pull complete 01:25:26 ecc8261a40a4: Pull complete 01:25:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:25:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:25:26 prd-centos7-docker-4c-2g-14242 does not seem to be running inside a container 01:25:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@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 01:25:28 $ docker top 622d2aeae04f1ecc694788087e8ef176ee96f59c1d41807ce6f15d3fc4a4bc64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:25:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:28 [ssh-agent] Looking for ssh-agent implementation... 01:25:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:28 $ docker exec 622d2aeae04f1ecc694788087e8ef176ee96f59c1d41807ce6f15d3fc4a4bc64 ssh-agent 01:25:29 SSH_AUTH_SOCK=/tmp/ssh-uN9eaitpBxFg/agent.11 01:25:29 SSH_AGENT_PID=17 01:25:29 Running ssh-add (command line suppressed) 01:25:29 Identity added: /w/workspace/edgex-go/36@tmp/private_key_5345219202108069482.key (/w/workspace/edgex-go/36@tmp/private_key_5345219202108069482.key) 01:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:29 + git tag --points-at HEAD [Pipeline] } 01:25:29 $ docker exec --env ******** --env ******** 622d2aeae04f1ecc694788087e8ef176ee96f59c1d41807ce6f15d3fc4a4bc64 ssh-agent -k 01:25:29 unset SSH_AUTH_SOCK; 01:25:29 unset SSH_AGENT_PID; 01:25:29 echo Agent pid 17 killed; 01:25:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:25:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:29 [ssh-agent] Looking for ssh-agent implementation... 01:25:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:30 $ docker exec 622d2aeae04f1ecc694788087e8ef176ee96f59c1d41807ce6f15d3fc4a4bc64 ssh-agent 01:25:30 SSH_AUTH_SOCK=/tmp/ssh-uPnJVK3oehVI/agent.47 01:25:30 SSH_AGENT_PID=53 01:25:30 Running ssh-add (command line suppressed) 01:25:30 Identity added: /w/workspace/edgex-go/36@tmp/private_key_5865286330860560237.key (/w/workspace/edgex-go/36@tmp/private_key_5865286330860560237.key) 01:25:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:30 + git semver init 01:25:30 # -> Open(): unable to determine branch for HEAD 01:25:30 # $GIT_DIR = /w/workspace/edgex-go/36/.git 01:25:30 # $GIT_WORK_TREE = /w/workspace/edgex-go/36 01:25:30 # $SEMVER_REMOTE_NAME = origin 01:25:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:25:30 # $SEMVER_USER_NAME = edgex-jenkins 01:25:30 # $SEMVER_BRANCH = PR-2808 01:25:30 # $SEMVER_TEMP = /tmp/semver-446874156 01:25:30 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 01:25:49 # '/tmp/semver-446874156' -> '/w/workspace/edgex-go/36/.semver' 01:25:49 # -> Force: false 01:25:49 # $SEMVER_DIR = /w/workspace/edgex-go/36/.semver [Pipeline] } 01:25:49 $ docker exec --env ******** --env ******** 622d2aeae04f1ecc694788087e8ef176ee96f59c1d41807ce6f15d3fc4a4bc64 ssh-agent -k 01:25:49 unset SSH_AUTH_SOCK; 01:25:49 unset SSH_AGENT_PID; 01:25:49 echo Agent pid 53 killed; 01:25:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:50 + git semver [Pipeline] } 01:25:50 $ docker stop --time=1 622d2aeae04f1ecc694788087e8ef176ee96f59c1d41807ce6f15d3fc4a4bc64 01:25:51 $ docker rm -f 622d2aeae04f1ecc694788087e8ef176ee96f59c1d41807ce6f15d3fc4a4bc64 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:25:52 Stashed 1 file(s) [Pipeline] echo 01:25:52 [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 01:25:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14231 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [Pipeline] { [Pipeline] ws 01:25:53 Running in /w/workspace/edgex-go/36 [Pipeline] { [Pipeline] checkout 01:25:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:25:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:25:54 + sudo service docker restart 01:25:54 + true 01:25:54 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 01:25:55 ========================================================= 01:25:55 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:25:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:25:55 + 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 . 01:25:58 using credential edgex-jenkins-ssh 01:25:58 Cloning the remote Git repository 01:25:58 Cloning repository git@github.com:edgexfoundry/edgex-go.git 01:25:58 > git init /w/workspace/edgex-go/36 # timeout=10 01:25:58 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 01:25:58 > git --version # timeout=10 01:25:58 > git --version # 'git version 2.17.1' 01:25:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:59 Sending build context to Docker daemon 326.2MB 01:25:59 Step 1/7 : ARG BASE=golang:1.15-alpine 01:25:59 Step 2/7 : FROM ${BASE} 01:25:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:25:59 188c0c94c7c5: Pulling fs layer 01:25:59 0ef7d3d256c8: Pulling fs layer 01:25:59 de9db76c5a1d: Pulling fs layer 01:25:59 bca2f99d35d6: Pulling fs layer 01:25:59 93359f2a8cfa: Pulling fs layer 01:25:59 7c6f9722023f: Pulling fs layer 01:25:59 a35cf1a2eb13: Pulling fs layer 01:25:59 bca2f99d35d6: Waiting 01:25:59 93359f2a8cfa: Waiting 01:25:59 7c6f9722023f: Waiting 01:25:59 a35cf1a2eb13: Waiting 01:25:59 de9db76c5a1d: Download complete 01:25:59 0ef7d3d256c8: Download complete 01:25:59 93359f2a8cfa: Download complete 01:25:59 188c0c94c7c5: Verifying Checksum 01:25:59 188c0c94c7c5: Download complete 01:25:59 7c6f9722023f: Verifying Checksum 01:25:59 7c6f9722023f: Download complete 01:25:59 188c0c94c7c5: Pull complete 01:25:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:26:00 0ef7d3d256c8: Pull complete 01:26:00 de9db76c5a1d: Pull complete 01:26:02 a35cf1a2eb13: Verifying Checksum 01:26:02 a35cf1a2eb13: Download complete 01:26:02 bca2f99d35d6: Verifying Checksum 01:26:02 bca2f99d35d6: Download complete 01:26:08 bca2f99d35d6: Pull complete 01:26:08 93359f2a8cfa: Pull complete 01:26:08 7c6f9722023f: Pull complete 01:26:14 a35cf1a2eb13: Pull complete 01:26:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 01:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:26:14 ---> a62c8e92a672 01:26:14 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 01:26:14 ---> Running in a64fc2bd9afc 01:26:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:26:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:26:16 (1/12) Installing libmagic (5.38-r0) 01:26:16 (2/12) Installing file (5.38-r0) 01:26:17 (3/12) Installing libc-dev (0.7.2-r3) 01:26:17 (4/12) Installing g++ (9.3.0-r2) 01:26:17 Merging remotes/origin/master commit 0d0448aa1bb13b12920e2a3260a06e62bf327a94 into PR head commit 82dc2af8e393ece57256f5227bdd9e69583def6f 01:26:18 Merge succeeded, producing 82dc2af8e393ece57256f5227bdd9e69583def6f 01:26:18 Checking out Revision 82dc2af8e393ece57256f5227bdd9e69583def6f (PR-2808) 01:26:16 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 01:26:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:26:16 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 01:26:17 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 01:26:17 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:17 > 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 01:26:17 > git config core.sparsecheckout # timeout=10 01:26:17 > git checkout -f 82dc2af8e393ece57256f5227bdd9e69583def6f # timeout=10 01:26:18 > git remote # timeout=10 01:26:18 > git config --get remote.origin.url # timeout=10 01:26:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:18 > git merge 0d0448aa1bb13b12920e2a3260a06e62bf327a94 # timeout=10 01:26:18 > git rev-parse HEAD^{commit} # timeout=10 01:26:18 > git config core.sparsecheckout # timeout=10 01:26:18 > git checkout -f 82dc2af8e393ece57256f5227bdd9e69583def6f # timeout=10 01:26:21 (5/12) Installing fortify-headers (1.1-r0) 01:26:21 (6/12) Installing patch (2.7.6-r6) 01:26:21 (7/12) Installing build-base (0.5-r2) 01:26:21 (8/12) Installing libsodium (1.0.18-r0) 01:26:21 (9/12) Installing pkgconf (1.7.2-r0) 01:26:21 (10/12) Installing libsodium-dev (1.0.18-r0) 01:26:21 (11/12) Installing libzmq (4.3.3-r0) 01:26:21 (12/12) Installing zeromq-dev (4.3.3-r0) 01:26:22 Executing busybox-1.31.1-r19.trigger 01:26:22 OK: 233 MiB in 51 packages 01:26:22 Commit message: "feat(security): Replace security-proxy-setup for adding users" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:26:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:26:24 + sudo service docker restart 01:26:24 + true 01:26:26 Removing intermediate container a64fc2bd9afc 01:26:26 ---> 8aeffb1c9e6d 01:26:26 Step 4/7 : WORKDIR /edgex-go 01:26:26 ---> Running in 6475024a3a90 01:26:26 Removing intermediate container 6475024a3a90 01:26:26 ---> fa8cb70e0758 01:26:26 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 01:26:26 latest: Pulling from library/docker 01:26:26 188c0c94c7c5: Already exists 01:26:26 0c7c675703d6: Pulling fs layer 01:26:26 cc8c12a437cb: Pulling fs layer 01:26:26 f092543453df: Pulling fs layer 01:26:26 65b6bc45957d: Pulling fs layer 01:26:26 4de832df471b: Pulling fs layer 01:26:26 79aa7fa92271: Pulling fs layer 01:26:26 65b6bc45957d: Waiting 01:26:26 4de832df471b: Waiting 01:26:26 79aa7fa92271: Waiting 01:26:26 cc8c12a437cb: Download complete 01:26:26 0c7c675703d6: Download complete 01:26:26 65b6bc45957d: Verifying Checksum 01:26:26 65b6bc45957d: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:26:27 provisioning config files... 01:26:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/36@tmp/config7014732157511522581tmp [Pipeline] { 01:26:27 4de832df471b: Verifying Checksum 01:26:27 4de832df471b: Download complete 01:26:27 79aa7fa92271: Verifying Checksum 01:26:27 79aa7fa92271: Download complete 01:26:27 0c7c675703d6: Pull complete [Pipeline] libraryResource [Pipeline] sh 01:26:27 cc8c12a437cb: Pull complete 01:26:27 ---> docker-login.sh 01:26:27 nexus3.edgexfoundry.org:10001 01:26:27 f092543453df: Verifying Checksum 01:26:27 f092543453df: Download complete 01:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:28 Configure a credential helper to remove this warning. See 01:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:28 01:26:28 Login Succeeded 01:26:28 nexus3.edgexfoundry.org:10002 01:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:29 Configure a credential helper to remove this warning. See 01:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:29 01:26:29 Login Succeeded 01:26:29 nexus3.edgexfoundry.org:10003 01:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:29 Configure a credential helper to remove this warning. See 01:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:29 01:26:29 Login Succeeded 01:26:29 nexus3.edgexfoundry.org:10004 01:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:30 Configure a credential helper to remove this warning. See 01:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:30 01:26:30 Login Succeeded 01:26:30 docker.io 01:26:30 f092543453df: Pull complete 01:26:30 65b6bc45957d: Pull complete 01:26:30 4de832df471b: Pull complete 01:26:30 79aa7fa92271: Pull complete 01:26:30 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 01:26:30 Status: Downloaded newer image for docker:latest 01:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:30 Configure a credential helper to remove this warning. See 01:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:30 01:26:30 Login Succeeded 01:26:31 ---> docker-login.sh ends [Pipeline] } 01:26:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:31 ========================================================= 01:26:31 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:26:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:26:32 + 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 . 01:26:32 ---> 29608ca0803b 01:26:32 Step 6/7 : COPY go.mod . 01:26:32 ---> 0ba90366e239 01:26:32 Step 7/7 : RUN go mod download 01:26:32 ---> Running in 6de15d7a380d 01:26:34 Sending build context to Docker daemon 165.6MB 01:26:34 Step 1/7 : ARG BASE=golang:1.15-alpine 01:26:34 Step 2/7 : FROM ${BASE} 01:26:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:26:34 5f621e34cdf4: Pulling fs layer 01:26:34 a4357932f1b6: Pulling fs layer 01:26:34 18c013af1878: Pulling fs layer 01:26:34 00ac8860ef70: Pulling fs layer 01:26:34 63d7cb157983: Pulling fs layer 01:26:34 b116817d02f9: Pulling fs layer 01:26:34 745a02a5169b: Pulling fs layer 01:26:34 00ac8860ef70: Waiting 01:26:34 63d7cb157983: Waiting 01:26:34 b116817d02f9: Waiting 01:26:34 745a02a5169b: Waiting 01:26:34 18c013af1878: Verifying Checksum 01:26:34 18c013af1878: Download complete 01:26:34 a4357932f1b6: Download complete 01:26:34 63d7cb157983: Verifying Checksum 01:26:34 63d7cb157983: Download complete 01:26:34 b116817d02f9: Verifying Checksum 01:26:34 b116817d02f9: Download complete 01:26:34 5f621e34cdf4: Verifying Checksum 01:26:34 5f621e34cdf4: Download complete 01:26:35 5f621e34cdf4: Pull complete 01:26:35 a4357932f1b6: Pull complete 01:26:36 18c013af1878: Pull complete 01:26:37 745a02a5169b: Download complete 01:26:38 00ac8860ef70: Verifying Checksum 01:26:38 00ac8860ef70: Download complete 01:26:48 00ac8860ef70: Pull complete 01:26:48 63d7cb157983: Pull complete 01:26:48 b116817d02f9: Pull complete 01:26:52 745a02a5169b: Pull complete 01:26:52 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 01:26:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:26:52 ---> b7e6874047d6 01:26:52 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 01:26:54 Removing intermediate container 6de15d7a380d 01:26:54 ---> b803818ccc20 01:26:54 Successfully built b803818ccc20 01:26:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:26:54 + docker inspect -f . ci-base-image-x86_64 01:26:54 . [Pipeline] withDockerContainer 01:26:54 prd-centos7-docker-4c-2g-14242 does not seem to be running inside a container 01:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@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 01:26:55 $ docker top e0d3fd79ead5367368410cf8d7f29de37097d14f55e244d4e42207a1385164d2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:56 + go version 01:26:56 go version go1.15.5 linux/amd64 [Pipeline] } 01:26:56 $ docker stop --time=1 e0d3fd79ead5367368410cf8d7f29de37097d14f55e244d4e42207a1385164d2 01:26:56 ---> Running in cd8f5d79aa6f 01:26:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:26:57 $ docker rm -f e0d3fd79ead5367368410cf8d7f29de37097d14f55e244d4e42207a1385164d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 01:26:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:26:58 + docker inspect -f . ci-base-image-x86_64 01:26:58 . [Pipeline] withDockerContainer 01:26:58 prd-centos7-docker-4c-2g-14242 does not seem to be running inside a container 01:26:58 $ 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/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@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 01:26:58 (1/12) Installing libmagic (5.38-r0) 01:26:58 (2/12) Installing file (5.38-r0) 01:26:58 (3/12) Installing libc-dev (0.7.2-r3) 01:26:59 (4/12) Installing g++ (9.3.0-r2) 01:26:59 $ docker top 7d13614899f5d119e2577ef9ff0f02ce99fa41ffe924df90d45c1f6b4c696cfb -eo pid,comm [Pipeline] { [Pipeline] echo 01:26:59 ========================================================= 01:26:59 [edgeXBuildGoParallel] Running Tests and Build... 01:26:59 ========================================================= [Pipeline] sh 01:26:59 + make test 01:26:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:27:03 (5/12) Installing fortify-headers (1.1-r0) 01:27:03 (6/12) Installing patch (2.7.6-r6) 01:27:03 (7/12) Installing build-base (0.5-r2) 01:27:03 (8/12) Installing libsodium (1.0.18-r0) 01:27:03 (9/12) Installing pkgconf (1.7.2-r0) 01:27:03 (10/12) Installing libsodium-dev (1.0.18-r0) 01:27:03 (11/12) Installing libzmq (4.3.3-r0) 01:27:04 (12/12) Installing zeromq-dev (4.3.3-r0) 01:27:04 Executing busybox-1.31.1-r19.trigger 01:27:04 OK: 217 MiB in 51 packages 01:27:08 Removing intermediate container cd8f5d79aa6f 01:27:08 ---> 5f948bd6eff6 01:27:08 Step 4/7 : WORKDIR /edgex-go 01:27:08 ---> Running in 872c5941e4ae 01:27:08 Removing intermediate container 872c5941e4ae 01:27:08 ---> bf0323f2194e 01:27:08 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 01:27:09 latest: Pulling from library/docker 01:27:09 5f621e34cdf4: Already exists 01:27:09 85db56a05063: Pulling fs layer 01:27:09 ccb67d6aeaaa: Pulling fs layer 01:27:09 de930078acea: Pulling fs layer 01:27:09 d5a9d88a4785: Pulling fs layer 01:27:09 e7f15c1544d5: Pulling fs layer 01:27:09 877c515997d3: Pulling fs layer 01:27:09 e7f15c1544d5: Waiting 01:27:09 d5a9d88a4785: Waiting 01:27:09 877c515997d3: Waiting 01:27:09 ? github.com/edgexfoundry/edgex-go [no test files] 01:27:09 ccb67d6aeaaa: Verifying Checksum 01:27:09 ccb67d6aeaaa: Download complete 01:27:09 85db56a05063: Verifying Checksum 01:27:09 85db56a05063: Download complete 01:27:09 d5a9d88a4785: Verifying Checksum 01:27:09 d5a9d88a4785: Download complete 01:27:09 e7f15c1544d5: Verifying Checksum 01:27:09 e7f15c1544d5: Download complete 01:27:10 877c515997d3: Verifying Checksum 01:27:10 877c515997d3: Download complete 01:27:10 85db56a05063: Pull complete 01:27:10 ccb67d6aeaaa: Pull complete 01:27:11 de930078acea: Verifying Checksum 01:27:11 de930078acea: Download complete 01:27:14 de930078acea: Pull complete 01:27:15 d5a9d88a4785: Pull complete 01:27:15 e7f15c1544d5: Pull complete 01:27:15 877c515997d3: Pull complete 01:27:15 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 01:27:15 Status: Downloaded newer image for docker:latest 01:27:19 ---> 1fc97c41be2c 01:27:19 Step 6/7 : COPY go.mod . 01:27:19 ---> 9e9234275a05 01:27:19 Step 7/7 : RUN go mod download 01:27:19 ---> Running in 2d32a09e3a2d 01:27:24 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 01:27:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 01:27:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 01:27:30 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 01:27:30 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 01:27:31 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 01:27:31 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 01:27:33 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.056s 01:27:33 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 01:27:33 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 01:27:34 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 01:27:34 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 01:27:34 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 01:27:34 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 01:27:34 ? github.com/edgexfoundry/edgex-go/internal [no test files] 01:27:38 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.788s coverage: 46.6% of statements 01:27:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 01:27:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 01:27:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 01:27:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 01:27:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.218s coverage: 27.1% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.058s coverage: 100.0% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.039s coverage: 100.0% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.123s coverage: 65.5% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.115s coverage: 82.7% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.336s coverage: 28.6% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.061s coverage: 100.0% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 01:27:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.044s coverage: 100.0% of statements 01:27:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 01:27:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.115s coverage: 86.7% of statements 01:27:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 01:27:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.121s coverage: 97.5% of statements 01:27:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 01:27:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.061s coverage: 78.3% of statements 01:27:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 01:27:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 01:27:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 01:27:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 01:27:45 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.323s coverage: 95.2% of statements 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 01:27:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.032s coverage: 58.8% of statements 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 01:27:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.062s coverage: 0.0% of statements [no tests to run] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 01:27:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.035s coverage: 100.0% of statements 01:27:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 01:27:45 flag provided but not defined: -badarg 01:27:45 Usage of adduser: 01:27:45 -algorithm string 01:27:45 Algorithm used for signing the JWT, RS256 or ES256 01:27:45 -client_id string 01:27:45 Optional manually-specified OAuth2 client_id. 01:27:45 -client_secret string 01:27:45 Optional manually-specified OAuth2 client_secret. 01:27:45 -confdir string 01:27:45 01:27:45 -group string 01:27:45 Group to which the user belongs, defaults to 'admin' (default "admin") 01:27:45 -id string 01:27:45 ID to use for linkage with JWT claim (usually the 'iss' field) 01:27:45 -public_key string 01:27:45 Public key (in PEM format) used to validate the JWT. 01:27:45 -redirect_uris string 01:27:45 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 01:27:45 -token-type string 01:27:45 Type of token to create: jwt or oauth2 01:27:45 -user string 01:27:45 Username of the user to add 01:27:45 --- FAIL: TestAddUserBadArg (0.00s) 01:27:45 command_test.go:49: 01:27:45 Error Trace: command_test.go:49 01:27:45 Error: An error is expected but got nil. 01:27:45 Test: TestAddUserBadArg 01:27:45 command_test.go:50: 01:27:45 Error Trace: command_test.go:50 01:27:45 Error: Expected nil, but got: &adduser.cmd{loggingClient:logger.MockLogger{}, client:(*http.Client)(0xc0000137d0), configuration:(*config.ConfigurationStruct)(0xc000158200), tokenType:"oauth2", username:"someuser", group:"admin", algorithm:"", publicKeyPath:"", jwtID:"", clientID:"", clientSecret:"", redirectUris:"https://localhost"} 01:27:45 Test: TestAddUserBadArg 01:27:45 bad060a9-0e2b-47ba-98d5-9d622e2322b5 01:27:45 {"client_id":"7240fdd9-1665-419b-a8c5-5691ca03af7c","client_secret":"d3191db3-8468-4a3c-87fb-df4fccfee983"} 01:27:45 FAIL 01:27:45 coverage: 75.5% of statements 01:27:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.057s 01:27:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.046s coverage: 80.8% of statements 01:27:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.070s coverage: 87.2% of statements 01:27:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.052s coverage: 84.2% of statements 01:27:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.036s coverage: 100.0% of statements 01:27:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 01:27:46 Removing intermediate container 2d32a09e3a2d 01:27:46 ---> 3e5e82b07df9 01:27:46 Successfully built 3e5e82b07df9 01:27:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:27:47 + docker inspect -f . ci-base-image-arm64 01:27:47 . [Pipeline] withDockerContainer 01:27:47 prd-ubuntu18.04-docker-arm64-4c-16g-14231 does not seem to be running inside a container 01:27:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@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-arm64 cat 01:27:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.175s coverage: 63.5% of statements 01:27:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 01:27:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 01:27:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.046s coverage: 100.0% of statements 01:27:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.052s coverage: 91.3% of statements 01:27:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 01:27:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.039s coverage: 73.7% of statements 01:27:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.049s coverage: 100.0% of statements 01:27:49 $ docker top 65692af21de4a26a2240bdede68f3b66b781a2cfa6f757c73c07f88d60f9b802 -eo pid,comm 01:27:49 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.376s coverage: 55.9% of statements 01:27:49 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 01:27:49 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 01:27:49 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 01:27:49 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 01:27:49 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 01:27:49 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [Pipeline] { [Pipeline] sh 01:27:50 + go version 01:27:50 go version go1.15.5 linux/arm64 [Pipeline] } 01:27:50 $ docker stop --time=1 65692af21de4a26a2240bdede68f3b66b781a2cfa6f757c73c07f88d60f9b802 01:27:52 $ docker rm -f 65692af21de4a26a2240bdede68f3b66b781a2cfa6f757c73c07f88d60f9b802 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:53 + docker inspect -f . ci-base-image-arm64 01:27:53 . [Pipeline] withDockerContainer 01:27:53 prd-ubuntu18.04-docker-arm64-4c-16g-14231 does not seem to be running inside a container 01:27:53 $ 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/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@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-arm64 cat 01:27:54 $ docker top 45baecadaadea276207bd0ff2c194a9250618cf2c207f093502bd76eb608451c -eo pid,comm [Pipeline] { [Pipeline] echo 01:27:55 ========================================================= 01:27:55 [edgeXBuildGoParallel] Running Tests and Build... 01:27:55 ========================================================= [Pipeline] sh 01:27:56 + make test 01:27:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 17.054s coverage: 86.3% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.098s coverage: 72.2% of statements 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.398s coverage: 72.1% of statements 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.051s coverage: 82.4% of statements 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.051s coverage: 48.4% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.035s coverage: 28.8% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.055s coverage: 96.8% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.095s coverage: 37.2% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.355s coverage: 84.1% of statements 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.036s coverage: 100.0% of statements 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.046s coverage: 42.9% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.046s coverage: 100.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.035s coverage: 83.8% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.106s coverage: 47.1% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.032s coverage: 100.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.062s coverage: 100.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.045s coverage: 100.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.674s coverage: 29.1% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.058s coverage: 99.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.049s coverage: 100.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/system 0.030s coverage: 0.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.061s coverage: 100.0% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.041s coverage: 87.9% of statements 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 01:28:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.029s coverage: 100.0% of statements 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.029s coverage: 32.1% of statements 01:28:07 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 01:28:07 FAIL 01:28:07 make: *** [Makefile:89: test] Error 1 [Pipeline] } 01:28:07 $ docker stop --time=1 7d13614899f5d119e2577ef9ff0f02ce99fa41ffe924df90d45c1f6b4c696cfb 01:28:09 $ docker rm -f 7d13614899f5d119e2577ef9ff0f02ce99fa41ffe924df90d45c1f6b4c696cfb [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] } 01:28:11 Failed in branch amd64 01:28:18 ? github.com/edgexfoundry/edgex-go [no test files] 01:29:05 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 01:29:15 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 01:29:17 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 01:29:17 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 01:29:17 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 01:29:17 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 01:29:17 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 01:29:24 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.068s 01:29:24 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 01:29:24 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 01:29:24 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 01:29:26 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 01:29:26 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 01:29:26 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 01:29:26 ? github.com/edgexfoundry/edgex-go/internal [no test files] 01:29:34 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.270s coverage: 46.6% of statements 01:29:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 01:29:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 01:29:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 01:29:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 01:29:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 01:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.528s coverage: 27.1% of statements 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 01:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.100s coverage: 100.0% of statements 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 01:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.068s coverage: 100.0% of statements 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 01:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.540s coverage: 66.4% of statements 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 01:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.279s coverage: 82.7% of statements 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 01:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 01:29:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.155s coverage: 28.6% of statements 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 01:29:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.141s coverage: 100.0% of statements 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 01:29:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.084s coverage: 100.0% of statements 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 01:29:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.288s coverage: 86.7% of statements 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 01:29:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.373s coverage: 97.5% of statements 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 01:29:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.150s coverage: 78.3% of statements 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 01:29:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 01:29:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.038s coverage: 95.2% of statements 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 01:29:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.068s coverage: 58.8% of statements 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 01:29:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.186s coverage: 0.0% of statements [no tests to run] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 01:29:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.051s coverage: 100.0% of statements 01:29:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 01:29:57 flag provided but not defined: -badarg 01:29:57 Usage of adduser: 01:29:57 -algorithm string 01:29:57 Algorithm used for signing the JWT, RS256 or ES256 01:29:57 -client_id string 01:29:57 Optional manually-specified OAuth2 client_id. 01:29:57 -client_secret string 01:29:57 Optional manually-specified OAuth2 client_secret. 01:29:57 -confdir string 01:29:57 01:29:57 -group string 01:29:57 Group to which the user belongs, defaults to 'admin' (default "admin") 01:29:57 -id string 01:29:57 ID to use for linkage with JWT claim (usually the 'iss' field) 01:29:57 -public_key string 01:29:57 Public key (in PEM format) used to validate the JWT. 01:29:57 -redirect_uris string 01:29:57 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 01:29:57 -token-type string 01:29:57 Type of token to create: jwt or oauth2 01:29:57 -user string 01:29:57 Username of the user to add 01:29:57 --- FAIL: TestAddUserBadArg (0.00s) 01:29:57 command_test.go:49: 01:29:57 Error Trace: command_test.go:49 01:29:57 Error: An error is expected but got nil. 01:29:57 Test: TestAddUserBadArg 01:29:57 command_test.go:50: 01:29:57 Error Trace: command_test.go:50 01:29:57 Error: Expected nil, but got: &adduser.cmd{loggingClient:logger.MockLogger{}, client:(*http.Client)(0x40000137d0), configuration:(*config.ConfigurationStruct)(0x40000e8200), tokenType:"oauth2", username:"someuser", group:"admin", algorithm:"", publicKeyPath:"", jwtID:"", clientID:"", clientSecret:"", redirectUris:"https://localhost"} 01:29:57 Test: TestAddUserBadArg 01:29:57 bad060a9-0e2b-47ba-98d5-9d622e2322b5 01:29:57 {"client_id":"7240fdd9-1665-419b-a8c5-5691ca03af7c","client_secret":"d3191db3-8468-4a3c-87fb-df4fccfee983"} 01:29:57 FAIL 01:29:57 coverage: 75.5% of statements 01:29:57 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.115s 01:29:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.089s coverage: 80.8% of statements 01:29:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.148s coverage: 87.2% of statements 01:29:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.152s coverage: 84.2% of statements 01:29:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 100.0% of statements 01:29:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 01:30:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.657s coverage: 63.5% of statements 01:30:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 01:30:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 01:30:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.114s coverage: 100.0% of statements 01:30:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.091s coverage: 91.3% of statements 01:30:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.082s coverage: 100.0% of statements 01:30:03 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.060s coverage: 73.7% of statements 01:30:04 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.052s coverage: 100.0% of statements 01:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.890s coverage: 55.9% of statements 01:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 01:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 01:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 01:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 01:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 01:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 15.378s coverage: 86.3% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.091s coverage: 72.2% of statements 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.463s coverage: 72.1% of statements 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.084s coverage: 82.4% of statements 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.066s coverage: 48.4% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.131s coverage: 28.8% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.090s coverage: 96.8% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.375s coverage: 37.2% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.537s coverage: 84.1% of statements 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.085s coverage: 100.0% of statements 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.097s coverage: 42.9% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.070s coverage: 100.0% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 01:30:23 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.087s coverage: 83.8% of statements 01:30:23 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 01:30:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.405s coverage: 47.1% of statements 01:30:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 01:30:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 01:30:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.082s coverage: 100.0% of statements 01:30:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 01:30:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 01:30:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 01:30:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.111s coverage: 100.0% of statements 01:30:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 01:30:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.105s coverage: 100.0% of statements 01:30:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 01:30:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.906s coverage: 29.1% of statements 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 01:30:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.269s coverage: 99.0% of statements 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 01:30:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.096s coverage: 100.0% of statements 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 01:30:33 ok github.com/edgexfoundry/edgex-go/internal/system 0.051s coverage: 0.0% of statements 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 01:30:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.058s coverage: 100.0% of statements 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 01:30:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.136s coverage: 87.9% of statements 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 01:30:33 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 01:30:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.058s coverage: 100.0% of statements 01:30:35 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.057s coverage: 32.1% of statements 01:30:35 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 01:30:35 FAIL 01:30:36 make: *** [Makefile:89: test] Error 1 [Pipeline] } 01:30:36 $ docker stop --time=1 45baecadaadea276207bd0ff2c194a9250618cf2c207f093502bd76eb608451c 01:30:39 $ docker rm -f 45baecadaadea276207bd0ff2c194a9250618cf2c207f093502bd76eb608451c [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] } 01:30:41 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 01:30:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:30:44 ---> package-listing.sh 01:30:44 ++ facter osfamily 01:30:44 ++ tr '[:upper:]' '[:lower:]' 01:30:44 + OS_FAMILY=redhat 01:30:44 + workspace=/w/workspace/edgex-go/36 01:30:44 + START_PACKAGES=/tmp/packages_start.txt 01:30:44 + END_PACKAGES=/tmp/packages_end.txt 01:30:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:30:44 + PACKAGES=/tmp/packages_start.txt 01:30:44 + '[' /w/workspace/edgex-go/36 ']' 01:30:44 + PACKAGES=/tmp/packages_end.txt 01:30:44 + case "${OS_FAMILY}" in 01:30:44 + rpm -qa 01:30:44 + sort 01:30:50 + '[' -f /tmp/packages_start.txt ']' 01:30:50 + '[' -f /tmp/packages_end.txt ']' 01:30:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:30:50 + '[' /w/workspace/edgex-go/36 ']' 01:30:50 + mkdir -p /w/workspace/edgex-go/36/archives/ 01:30:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/36/archives/ [Pipeline] echo 01:30:50 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/36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:30:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:30:51 01:30:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:30:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:30:51 alpine: Pulling from edgex-lftools-log-publisher 01:30:51 df20fa9351a1: Pulling fs layer 01:30:51 36b3adc4ff6f: Pulling fs layer 01:30:51 8ad3a11d3b57: Pulling fs layer 01:30:51 46f8f816bc3b: Pulling fs layer 01:30:51 93b61091891f: Pulling fs layer 01:30:51 93b9cdb0e59b: Pulling fs layer 01:30:51 5e14af77c1be: Pulling fs layer 01:30:51 01666e4c0597: Pulling fs layer 01:30:51 aa168da1d23b: Pulling fs layer 01:30:51 93b61091891f: Waiting 01:30:51 93b9cdb0e59b: Waiting 01:30:51 5e14af77c1be: Waiting 01:30:51 01666e4c0597: Waiting 01:30:51 aa168da1d23b: Waiting 01:30:51 46f8f816bc3b: Waiting 01:30:51 36b3adc4ff6f: Verifying Checksum 01:30:51 36b3adc4ff6f: Download complete 01:30:51 46f8f816bc3b: Verifying Checksum 01:30:51 46f8f816bc3b: Download complete 01:30:51 df20fa9351a1: Verifying Checksum 01:30:51 df20fa9351a1: Download complete 01:30:51 93b9cdb0e59b: Verifying Checksum 01:30:51 93b9cdb0e59b: Download complete 01:30:51 5e14af77c1be: Download complete 01:30:51 01666e4c0597: Verifying Checksum 01:30:51 01666e4c0597: Download complete 01:30:51 93b61091891f: Verifying Checksum 01:30:51 93b61091891f: Download complete 01:30:52 df20fa9351a1: Pull complete 01:30:52 8ad3a11d3b57: Verifying Checksum 01:30:52 8ad3a11d3b57: Download complete 01:30:52 36b3adc4ff6f: Pull complete 01:30:52 8ad3a11d3b57: Pull complete 01:30:52 46f8f816bc3b: Pull complete 01:30:53 93b61091891f: Pull complete 01:30:53 93b9cdb0e59b: Pull complete 01:30:53 5e14af77c1be: Pull complete 01:30:54 01666e4c0597: Pull complete 01:30:54 aa168da1d23b: Verifying Checksum 01:30:54 aa168da1d23b: Download complete 01:31:01 aa168da1d23b: Pull complete 01:31:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:31:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:31:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:31:01 prd-centos7-docker-4c-2g-14242 does not seem to be running inside a container 01:31:01 $ 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/36/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/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@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 01:31:05 $ docker top 15999dc11146850a904493c81006695d45181ff80223865f74dbc971cc430cb7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:06 + touch /tmp/pre-build-complete [Pipeline] sh 01:31:06 + mkdir -p /var/log/sa [Pipeline] sh 01:31:06 + ls /var/log/sa-host 01:31:06 + sadf -c /var/log/sa-host/sa03 01:31:06 file_magic: OK 01:31:06 HZ: Using current value: 100 01:31:06 file_header: OK 01:31:06 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 01:31:06 Statistics: 01:31:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:31:06 File successfully converted to sysstat format version 12.2.1 01:31:06 + sadf -c /var/log/sa-host/sa23 01:31:06 file_magic: OK 01:31:06 HZ: Using current value: 100 01:31:06 file_header: OK 01:31:06 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 01:31:06 Statistics: 01:31:06 Hnuu...uuuununununu... 01:31:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:07 provisioning config files... 01:31:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/36@tmp/config8693584640296780248tmp [Pipeline] { [Pipeline] echo 01:31:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:31:07 ---> create-netrc.sh [Pipeline] } 01:31:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:31:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:31:08 ---> python-tools-install.sh [Pipeline] echo 01:31:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:31:08 ---> sudo-logs.sh 01:31:08 Archiving 'sudo' log.. [Pipeline] echo 01:31:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:31:08 ---> job-cost.sh 01:31:08 lf-activate-venv: SKIPPING 01:31:08 INFO: No Stack... 01:31:10 INFO: Retrieving Pricing Info for: v1-standard-2 01:31:10 INFO: Archiving Costs [Pipeline] echo 01:31:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:31:10 ---> logs-deploy.sh 01:31:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2808/36 01:31:10 INFO: archiving workspace using pattern(s): 01:31:12 Archives upload complete. 01:31:12 INFO: archiving logs to Nexus