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 f544a07a6e9c3347f72d55a18412c5290c941e4e+e24f5199b8df60a8194d43c8100204b18b70afd7 (546767e2820c5a5fe5f00b44527411a8d7cfb1e8) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8329 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/6 [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/6 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --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 e24f5199b8df60a8194d43c8100204b18b70afd7 into PR head commit f544a07a6e9c3347f72d55a18412c5290c941e4e Merge succeeded, producing 766437726b70bae0cc1e0dae8bf607b64ab0e529 Checking out Revision 766437726b70bae0cc1e0dae8bf607b64ab0e529 (PR-2808) > git config core.sparsecheckout # timeout=10 > git checkout -f f544a07a6e9c3347f72d55a18412c5290c941e4e # 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 e24f5199b8df60a8194d43c8100204b18b70afd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 766437726b70bae0cc1e0dae8bf607b64ab0e529 # timeout=10 Commit message: "Merge commit 'e24f5199b8df60a8194d43c8100204b18b70afd7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 65ef7156bd308912a995661ba05822a9f0b7c6be # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:30:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:30:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:30:10 ========================================================= 01:30:10 EdgeX Global Pipelines Version Info 01:30:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:30:12 ------------------- 01:30:12 stable info: 01:30:12 ------------------- 01:30:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:30:12 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 01:30:12 Message: update stable to v1.0.148 01:30:13 ------------------- 01:30:13 experimental info: 01:30:13 ------------------- 01:30:13 Commited By: **** collab-it+edgex@linuxfoundation.org 01:30:13 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 01:30:13 Message: update experimental to v1.0.148 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:30:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 01:30:13 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 01:30:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:30:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:30:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:30:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:30:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2808 [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2808 [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2808 [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 766437726b70bae0cc1e0dae8bf607b64ab0e529 [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7664377 [Pipeline] echo 01:30:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 01:30:16 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/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:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/core-command/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo core-command,cmd/core-command/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/core-data/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo core-data,cmd/core-data/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/core-metadata/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo core-metadata,cmd/core-metadata/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/security-proxy-setup/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/security-secrets-setup/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/security-secretstore-setup/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/support-logging/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo support-logging,cmd/support-logging/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/support-notifications/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo support-notifications,cmd/support-notifications/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/support-scheduler/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo support-scheduler,cmd/support-scheduler/Dockerfile 01:30:16 + for file in '`ls cmd/**/Dockerfile`' 01:30:16 ++ dirname cmd/sys-mgmt-agent/Dockerfile 01:30:16 ++ cut -d/ -f2 01:30:16 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 01:30:16 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-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:30:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:30:17 01:30:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:30:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:30:18 latest: Pulling from edgex-devops/git-semver 01:30:18 31603596830f: Pulling fs layer 01:30:18 2a8b12db71e7: Pulling fs layer 01:30:18 6ca5941a6612: Pulling fs layer 01:30:18 ecc8261a40a4: Pulling fs layer 01:30:18 ecc8261a40a4: Waiting 01:30:18 2a8b12db71e7: Download complete 01:30:18 31603596830f: Verifying Checksum 01:30:18 31603596830f: Download complete 01:30:18 ecc8261a40a4: Verifying Checksum 01:30:18 ecc8261a40a4: Download complete 01:30:18 6ca5941a6612: Verifying Checksum 01:30:18 6ca5941a6612: Download complete 01:30:18 31603596830f: Pull complete 01:30:18 2a8b12db71e7: Pull complete 01:30:19 6ca5941a6612: Pull complete 01:30:19 ecc8261a40a4: Pull complete 01:30:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:30:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:30:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:30:19 prd-centos7-docker-4c-2g-8329 does not seem to be running inside a container 01:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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:30:22 $ docker top fed551b0191431b956fa1fdcff26b845e10c3e94c86b7803ea3360500de9ba48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:30:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:22 [ssh-agent] Looking for ssh-agent implementation... 01:30:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:23 $ docker exec fed551b0191431b956fa1fdcff26b845e10c3e94c86b7803ea3360500de9ba48 ssh-agent 01:30:23 SSH_AUTH_SOCK=/tmp/ssh-10E9hHqpFN8w/agent.11 01:30:23 SSH_AGENT_PID=16 01:30:23 Running ssh-add (command line suppressed) 01:30:23 Identity added: /w/workspace/edgex-go/6@tmp/private_key_5193459920751279835.key (/w/workspace/edgex-go/6@tmp/private_key_5193459920751279835.key) 01:30:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:23 + git tag --points-at HEAD [Pipeline] } 01:30:23 $ docker exec --env ******** --env ******** fed551b0191431b956fa1fdcff26b845e10c3e94c86b7803ea3360500de9ba48 ssh-agent -k 01:30:24 unset SSH_AUTH_SOCK; 01:30:24 unset SSH_AGENT_PID; 01:30:24 echo Agent pid 16 killed; 01:30:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:30:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:24 [ssh-agent] Looking for ssh-agent implementation... 01:30:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:24 $ docker exec fed551b0191431b956fa1fdcff26b845e10c3e94c86b7803ea3360500de9ba48 ssh-agent 01:30:24 SSH_AUTH_SOCK=/tmp/ssh-zVq0JcwUvQlQ/agent.47 01:30:24 SSH_AGENT_PID=52 01:30:24 Running ssh-add (command line suppressed) 01:30:24 Identity added: /w/workspace/edgex-go/6@tmp/private_key_3358551581369791290.key (/w/workspace/edgex-go/6@tmp/private_key_3358551581369791290.key) 01:30:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:25 + git semver init 01:30:25 # -> Open(): unable to determine branch for HEAD 01:30:25 # $GIT_DIR = /w/workspace/edgex-go/6/.git 01:30:25 # $GIT_WORK_TREE = /w/workspace/edgex-go/6 01:30:25 # $SEMVER_REMOTE_NAME = origin 01:30:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:30:25 # $SEMVER_USER_NAME = edgex-jenkins 01:30:25 # $SEMVER_BRANCH = PR-2808 01:30:25 # $SEMVER_TEMP = /tmp/semver-098264374 01:30:25 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 01:30:47 # '/tmp/semver-098264374' -> '/w/workspace/edgex-go/6/.semver' 01:30:47 # -> Force: false 01:30:47 # $SEMVER_DIR = /w/workspace/edgex-go/6/.semver [Pipeline] } 01:30:47 $ docker exec --env ******** --env ******** fed551b0191431b956fa1fdcff26b845e10c3e94c86b7803ea3360500de9ba48 ssh-agent -k 01:30:47 unset SSH_AUTH_SOCK; 01:30:47 unset SSH_AGENT_PID; 01:30:47 echo Agent pid 52 killed; 01:30:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:48 + git semver [Pipeline] } 01:30:48 $ docker stop --time=1 fed551b0191431b956fa1fdcff26b845e10c3e94c86b7803ea3360500de9ba48 01:30:49 $ docker rm -f fed551b0191431b956fa1fdcff26b845e10c3e94c86b7803ea3360500de9ba48 [Pipeline] // withDockerContainer [Pipeline] sh 01:30:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:50 Stashed 1 file(s) [Pipeline] echo 01:30:50 [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] echo 01:30:51 ========================================================= 01:30:51 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:30:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:30:51 + 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:30:56 Sending build context to Docker daemon 325.8MB 01:30:56 Step 1/7 : ARG BASE=golang:1.15-alpine 01:30:56 Step 2/7 : FROM ${BASE} 01:30:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:30:56 df20fa9351a1: Pulling fs layer 01:30:56 ed8968b2872e: Pulling fs layer 01:30:56 a92cc7c5fd73: Pulling fs layer 01:30:56 e871e8e8d7a9: Pulling fs layer 01:30:56 e73272ec9a57: Pulling fs layer 01:30:56 1e910a182e73: Pulling fs layer 01:30:56 4e634b169226: Pulling fs layer 01:30:56 e73272ec9a57: Waiting 01:30:56 1e910a182e73: Waiting 01:30:56 e871e8e8d7a9: Waiting 01:30:56 4e634b169226: Waiting 01:30:56 a92cc7c5fd73: Download complete 01:30:56 ed8968b2872e: Verifying Checksum 01:30:56 ed8968b2872e: Download complete 01:30:56 e73272ec9a57: Download complete 01:30:56 1e910a182e73: Verifying Checksum 01:30:56 1e910a182e73: Download complete 01:30:56 df20fa9351a1: Verifying Checksum 01:30:56 df20fa9351a1: Download complete 01:30:56 df20fa9351a1: Pull complete 01:30:56 ed8968b2872e: Pull complete 01:30:56 a92cc7c5fd73: Pull complete 01:30:57 4e634b169226: Verifying Checksum 01:30:57 4e634b169226: Download complete 01:30:58 e871e8e8d7a9: Verifying Checksum 01:30:58 e871e8e8d7a9: Download complete 01:31:04 e871e8e8d7a9: Pull complete 01:31:04 e73272ec9a57: Pull complete 01:31:04 1e910a182e73: Pull complete 01:31:06 Still waiting to schedule task 01:31:06 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:31:09 4e634b169226: Pull complete 01:31:09 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:31:09 ---> f7629b54cfaa 01:31:09 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:31:09 ---> Running in a0a292e00aae 01:31:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:31:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:31:12 (1/12) Installing libmagic (5.38-r0) 01:31:12 (2/12) Installing file (5.38-r0) 01:31:13 (3/12) Installing libc-dev (0.7.2-r3) 01:31:13 (4/12) Installing g++ (9.3.0-r2) 01:31:31 (5/12) Installing fortify-headers (1.1-r0) 01:31:31 (6/12) Installing patch (2.7.6-r6) 01:31:31 (7/12) Installing build-base (0.5-r2) 01:31:31 (8/12) Installing libsodium (1.0.18-r0) 01:31:31 (9/12) Installing pkgconf (1.7.2-r0) 01:31:32 (10/12) Installing libsodium-dev (1.0.18-r0) 01:31:32 (11/12) Installing libzmq (4.3.3-r0) 01:31:32 (12/12) Installing zeromq-dev (4.3.3-r0) 01:31:32 Executing busybox-1.31.1-r16.trigger 01:31:32 OK: 233 MiB in 51 packages 01:31:36 Removing intermediate container a0a292e00aae 01:31:36 ---> 4b5c2e53cc5f 01:31:36 Step 4/7 : WORKDIR /edgex-go 01:31:36 ---> Running in f6b61d0fcf8d 01:31:36 Removing intermediate container f6b61d0fcf8d 01:31:36 ---> 8837ad1105d9 01:31:36 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 01:31:37 latest: Pulling from library/docker 01:31:37 188c0c94c7c5: Pulling fs layer 01:31:37 0c7c675703d6: Pulling fs layer 01:31:37 cc8c12a437cb: Pulling fs layer 01:31:37 c5dafad2182a: Pulling fs layer 01:31:37 5aa711733414: Pulling fs layer 01:31:37 058f73b55e4b: Pulling fs layer 01:31:37 8c9c664faf12: Pulling fs layer 01:31:37 5aa711733414: Waiting 01:31:37 058f73b55e4b: Waiting 01:31:37 8c9c664faf12: Waiting 01:31:37 c5dafad2182a: Waiting 01:31:37 cc8c12a437cb: Verifying Checksum 01:31:37 cc8c12a437cb: Download complete 01:31:37 0c7c675703d6: Verifying Checksum 01:31:37 0c7c675703d6: Download complete 01:31:37 188c0c94c7c5: Verifying Checksum 01:31:37 188c0c94c7c5: Download complete 01:31:37 5aa711733414: Verifying Checksum 01:31:37 5aa711733414: Download complete 01:31:37 058f73b55e4b: Verifying Checksum 01:31:37 058f73b55e4b: Download complete 01:31:37 8c9c664faf12: Verifying Checksum 01:31:37 8c9c664faf12: Download complete 01:31:37 188c0c94c7c5: Pull complete 01:31:38 0c7c675703d6: Pull complete 01:31:38 cc8c12a437cb: Pull complete 01:31:38 c5dafad2182a: Download complete 01:31:41 c5dafad2182a: Pull complete 01:31:41 5aa711733414: Pull complete 01:31:41 058f73b55e4b: Pull complete 01:31:41 8c9c664faf12: Pull complete 01:31:41 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 01:31:41 Status: Downloaded newer image for docker:latest 01:31:43 ---> c61e9399c5d6 01:31:43 Step 6/7 : COPY go.mod . 01:31:43 ---> 668068538d5b 01:31:43 Step 7/7 : RUN go mod download 01:31:43 ---> Running in 7e32340ece21 01:32:05 Removing intermediate container 7e32340ece21 01:32:05 ---> 4fc9e7675bac 01:32:05 Successfully built 4fc9e7675bac 01:32:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:32:06 + docker inspect -f . ci-base-image-x86_64 01:32:06 . [Pipeline] withDockerContainer 01:32:06 prd-centos7-docker-4c-2g-8329 does not seem to be running inside a container 01:32:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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:32:07 $ docker top 4e039530358b1a7a0d29bcab86b580543307bd3a000afe7b08de46c4477679d3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:07 + go version 01:32:07 go version go1.15.2 linux/amd64 [Pipeline] } 01:32:07 $ docker stop --time=1 4e039530358b1a7a0d29bcab86b580543307bd3a000afe7b08de46c4477679d3 01:32:09 $ docker rm -f 4e039530358b1a7a0d29bcab86b580543307bd3a000afe7b08de46c4477679d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:32:10 + docker inspect -f . ci-base-image-x86_64 01:32:10 . [Pipeline] withDockerContainer 01:32:10 prd-centos7-docker-4c-2g-8329 does not seem to be running inside a container 01:32:10 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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:32:10 $ docker top f5d1232cfa45c16a0a653d7d8dbc38ddfb2d9dddacb20f01318332c639758845 -eo pid,comm [Pipeline] { [Pipeline] echo 01:32:10 ========================================================= 01:32:10 [edgeXBuildGoParallel] Running Tests and Build... 01:32:10 ========================================================= [Pipeline] sh 01:32:11 + make test 01:32:11 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:32:13 ? github.com/edgexfoundry/edgex-go [no test files] 01:32:24 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 01:32:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 01:32:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 01:32:31 ? github.com/edgexfoundry/edgex-go/cmd/edgex-secrets-config [no test files] 01:32:31 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 01:32:31 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 01:32:33 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.006s 01:32:33 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 01:32:33 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 01:32:33 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 01:32:33 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 01:32:34 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 01:32:34 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 01:32:34 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 01:32:34 ? github.com/edgexfoundry/edgex-go/internal [no test files] 01:32:38 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.019s coverage: 46.6% of statements 01:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 01:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 01:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 01:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 01:32:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 01:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.099s coverage: 27.1% of statements 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 01:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.036s coverage: 100.0% of statements 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 01:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.007s coverage: 100.0% of statements 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 01:32:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.050s coverage: 77.3% of statements 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 01:32:41 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 01:32:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.358s coverage: 83.5% of statements 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 01:32:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.137s coverage: 28.6% of statements 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 01:32:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.022s coverage: 100.0% of statements 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 01:32:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.042s coverage: 100.0% of statements 01:32:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 01:32:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.059s coverage: 86.7% of statements 01:32:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 01:32:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.071s coverage: 97.5% of statements 01:32:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 01:32:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.035s coverage: 100.0% of statements 01:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 01:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 01:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 01:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 01:32:45 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.089s coverage: 96.2% of statements 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 01:32:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.009s coverage: 58.8% of statements 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 01:32:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.011s coverage: 0.0% of statements [no tests to run] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 01:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.007s coverage: 100.0% of statements 01:32:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 01:32:45 flag provided but not defined: -badarg 01:32:45 Usage of adduser: 01:32:45 -algorithm string 01:32:45 Algorithm used for signing the JWT, RS256 or ES256 01:32:45 -client_id string 01:32:45 Optional manually-specified OAuth2 client_id. 01:32:45 -client_secret string 01:32:45 Optional manually-specified OAuth2 client_secret. 01:32:45 -confdir string 01:32:45 01:32:45 -group string 01:32:45 Group to which the user belongs, defaults to 'admin' (default "admin") 01:32:45 -id string 01:32:45 ID to use for linkage with JWT claim (usually the 'iss' field) 01:32:45 -public_key string 01:32:45 Public key (in PEM format) used to validate the JWT. 01:32:45 -redirect_uris string 01:32:45 OAuth2 redirect URL for browser-based users (required) 01:32:45 -token-type string 01:32:45 Type of token to create: jwt or oauth2 01:32:45 -user string 01:32:45 Username of the user to add 01:32:45 flag provided but not defined: -output-key 01:32:45 Usage of adduser: 01:32:45 -algorithm string 01:32:45 Algorithm used for signing the JWT, RS256 or ES256 01:32:45 -client_id string 01:32:45 Optional manually-specified OAuth2 client_id. 01:32:45 -client_secret string 01:32:45 Optional manually-specified OAuth2 client_secret. 01:32:45 -confdir string 01:32:45 01:32:45 -group string 01:32:45 Group to which the user belongs, defaults to 'admin' (default "admin") 01:32:45 -id string 01:32:45 ID to use for linkage with JWT claim (usually the 'iss' field) 01:32:45 -public_key string 01:32:45 Public key (in PEM format) used to validate the JWT. 01:32:45 -redirect_uris string 01:32:45 OAuth2 redirect URL for browser-based users (required) 01:32:45 -token-type string 01:32:45 Type of token to create: jwt or oauth2 01:32:45 -user string 01:32:45 Username of the user to add 01:32:45 --- FAIL: TestAddUserJWT (0.00s) 01:32:45 command_test.go:93: 01:32:45 Error Trace: command_test.go:93 01:32:45 Error: Received unexpected error: 01:32:45 Unable to parse command: --token-type jwt --user someuser --algorithm RS256 --public_key testdata/rsa.pub --output-key testdata/secret.out: flag provided but not defined: -output-key 01:32:45 Test: TestAddUserJWT 01:32:45 flag provided but not defined: -output-secrets 01:32:45 Usage of adduser: 01:32:45 -algorithm string 01:32:45 Algorithm used for signing the JWT, RS256 or ES256 01:32:45 -client_id string 01:32:45 Optional manually-specified OAuth2 client_id. 01:32:45 -client_secret string 01:32:45 Optional manually-specified OAuth2 client_secret. 01:32:45 -confdir string 01:32:45 01:32:45 -group string 01:32:45 Group to which the user belongs, defaults to 'admin' (default "admin") 01:32:45 -id string 01:32:45 ID to use for linkage with JWT claim (usually the 'iss' field) 01:32:45 -public_key string 01:32:45 Public key (in PEM format) used to validate the JWT. 01:32:45 -redirect_uris string 01:32:45 OAuth2 redirect URL for browser-based users (required) 01:32:45 -token-type string 01:32:45 Type of token to create: jwt or oauth2 01:32:45 -user string 01:32:45 Username of the user to add 01:32:45 --- FAIL: TestAddUserOAuth2 (0.00s) 01:32:45 command_test.go:142: 01:32:45 Error Trace: command_test.go:142 01:32:45 Error: Received unexpected error: 01:32:45 Unable to parse command: --token-type oauth2 --user someuser --redirect_uris https://placeholder --output-secrets testdata/secret.out: flag provided but not defined: -output-secrets 01:32:45 Test: TestAddUserOAuth2 01:32:45 FAIL 01:32:45 coverage: 20.1% of statements 01:32:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.007s 01:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.017s coverage: 83.9% of statements 01:32:45 flag provided but not defined: -badarg 01:32:45 Usage of jwt: 01:32:45 -algorithm string 01:32:45 Algorithm used for signing the JWT, RS256 or ES256 01:32:45 -confdir string 01:32:45 01:32:45 -expiration string 01:32:45 Duration of generated jwt expressed as a golang-parseable duration value (default: 1h) (default "1h") 01:32:45 -id string 01:32:45 The 'key' field (ID) from the 'adduser' command 01:32:45 -private_key string 01:32:45 Private key used to sign the JWT (PEM-encoded) 01:32:45 flag provided but not defined: -output 01:32:45 Usage of jwt: 01:32:45 -algorithm string 01:32:45 Algorithm used for signing the JWT, RS256 or ES256 01:32:45 -confdir string 01:32:45 01:32:45 -expiration string 01:32:45 Duration of generated jwt expressed as a golang-parseable duration value (default: 1h) (default "1h") 01:32:45 -id string 01:32:45 The 'key' field (ID) from the 'adduser' command 01:32:45 -private_key string 01:32:45 Private key used to sign the JWT (PEM-encoded) 01:32:45 --- FAIL: TestJWTGenerateRSA (0.00s) 01:32:45 command_test.go:51: 01:32:45 Error Trace: command_test.go:51 01:32:45 command_test.go:61 01:32:45 Error: Received unexpected error: 01:32:45 Unable to parse command: --algorithm RS256 --private_key testdata/rsa.key --id 7f3ab74c-3bc2-4635-bc28-161f7f7ef246 --expiration 24h --output testdata/jwt.out: flag provided but not defined: -output 01:32:45 Test: TestJWTGenerateRSA 01:32:45 flag provided but not defined: -output 01:32:45 Usage of jwt: 01:32:45 -algorithm string 01:32:45 Algorithm used for signing the JWT, RS256 or ES256 01:32:45 -confdir string 01:32:45 01:32:45 -expiration string 01:32:45 Duration of generated jwt expressed as a golang-parseable duration value (default: 1h) (default "1h") 01:32:45 -id string 01:32:45 The 'key' field (ID) from the 'adduser' command 01:32:45 -private_key string 01:32:45 Private key used to sign the JWT (PEM-encoded) 01:32:45 --- FAIL: TestJWTGenerateECDSA (0.00s) 01:32:45 command_test.go:51: 01:32:45 Error Trace: command_test.go:51 01:32:45 command_test.go:72 01:32:45 Error: Received unexpected error: 01:32:45 Unable to parse command: --algorithm ES256 --private_key testdata/ecdsa.key --id 7f3ab74c-3bc2-4635-bc28-161f7f7ef246 --expiration 24h --output testdata/jwt.out: flag provided but not defined: -output 01:32:45 Test: TestJWTGenerateECDSA 01:32:45 FAIL 01:32:45 coverage: 36.2% of statements 01:32:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.007s 01:32:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.014s coverage: 84.2% of statements 01:32:46 flag provided but not defined: -badarg 01:32:46 Usage of tls: 01:32:46 -confdir string 01:32:46 01:32:46 -incert string 01:32:46 Path to PEM-encoded leaf certificate 01:32:46 -inkey string 01:32:46 Path to PEM-encoded private key 01:32:46 flag provided but not defined: -in 01:32:46 Usage of tls: 01:32:46 -confdir string 01:32:46 01:32:46 -incert string 01:32:46 Path to PEM-encoded leaf certificate 01:32:46 -inkey string 01:32:46 Path to PEM-encoded private key 01:32:46 flag provided but not defined: -in 01:32:46 Usage of tls: 01:32:46 -confdir string 01:32:46 01:32:46 -incert string 01:32:46 Path to PEM-encoded leaf certificate 01:32:46 -inkey string 01:32:46 Path to PEM-encoded private key 01:32:46 --- FAIL: TestTLSErrorStub (0.00s) 01:32:46 command_test.go:54: 01:32:46 Error Trace: command_test.go:54 01:32:46 Error: Received unexpected error: 01:32:46 Unable to parse command: --in somecertificate --inkey someprivatekey: flag provided but not defined: -in 01:32:46 Test: TestTLSErrorStub 01:32:46 FAIL 01:32:46 coverage: 57.9% of statements 01:32:46 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.025s 01:32:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/container [no test files] 01:32:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 01:32:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.056s coverage: 63.5% of statements 01:32:46 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 01:32:46 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 01:32:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.029s coverage: 100.0% of statements 01:32:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.019s coverage: 91.3% of statements 01:32:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.011s coverage: 100.0% of statements 01:32:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.049s coverage: 73.7% of statements 01:32:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.016s coverage: 100.0% of statements 01:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.147s coverage: 55.9% of statements 01:32:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 01:32:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 01:32:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretread [no test files] 01:32:48 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 01:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 2.303s coverage: 86.3% of statements 01:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 01:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.355s coverage: 72.2% of statements 01:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.153s coverage: 72.1% of statements 01:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.014s coverage: 82.4% of statements 01:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.034s coverage: 48.4% of statements 01:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 01:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 01:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 01:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.014s coverage: 28.8% of statements 01:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 01:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.006s coverage: 96.8% of statements 01:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 01:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.035s coverage: 36.5% of statements 01:32:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 01:32:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 01:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.131s coverage: 84.1% of statements 01:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.015s coverage: 100.0% of statements 01:32:51 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.011s coverage: 42.9% of statements 01:32:51 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 01:32:51 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 01:32:51 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.023s coverage: 100.0% of statements 01:32:51 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 01:32:52 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.007s coverage: 83.8% of statements 01:32:52 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 01:32:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.027s coverage: 47.1% of statements 01:32:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 01:32:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 01:32:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.004s coverage: 100.0% of statements 01:32:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 01:32:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 01:32:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 01:32:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.025s coverage: 100.0% of statements 01:32:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 01:32:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.010s coverage: 100.0% of statements 01:32:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.067s coverage: 29.1% of statements 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.036s coverage: 99.0% of statements 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.010s coverage: 100.0% of statements 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/system 0.010s coverage: 0.0% of statements 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.008s coverage: 100.0% of statements 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.006s coverage: 87.9% of statements 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 01:32:56 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.011s coverage: 100.0% of statements 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.005s coverage: 32.1% of statements 01:32:56 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.007s coverage: 100.0% of statements 01:32:56 FAIL 01:32:56 make: *** [Makefile:86: test] Error 1 [Pipeline] } 01:32:56 $ docker stop --time=1 f5d1232cfa45c16a0a653d7d8dbc38ddfb2d9dddacb20f01318332c639758845 01:32:59 $ docker rm -f f5d1232cfa45c16a0a653d7d8dbc38ddfb2d9dddacb20f01318332c639758845 [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:33:00 Failed in branch amd64 01:33:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8335 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [Pipeline] { [Pipeline] ws 01:33:49 Running in /w/workspace/edgex-go/6 [Pipeline] { [Pipeline] checkout 01:33:55 using credential edgex-jenkins-ssh 01:33:55 Cloning the remote Git repository 01:33:55 Cloning repository git@github.com:edgexfoundry/edgex-go.git 01:33:55 > git init /w/workspace/edgex-go/6 # timeout=10 01:33:55 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 01:33:55 > git --version # timeout=10 01:33:55 > git --version # 'git version 2.17.1' 01:33:55 using GIT_SSH to set credentials SSH Credentials for GitHub 01:33:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:18 Merging remotes/origin/master commit e24f5199b8df60a8194d43c8100204b18b70afd7 into PR head commit f544a07a6e9c3347f72d55a18412c5290c941e4e 01:34:17 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 01:34:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:17 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 01:34:17 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 01:34:17 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34: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:34:18 > git config core.sparsecheckout # timeout=10 01:34:18 > git checkout -f f544a07a6e9c3347f72d55a18412c5290c941e4e # timeout=10 01:34:19 Merge succeeded, producing 005b8ef583497e2c08077166c47605069ecaa93f 01:34:19 Checking out Revision 005b8ef583497e2c08077166c47605069ecaa93f (PR-2808) 01:34:18 > git remote # timeout=10 01:34:18 > git config --get remote.origin.url # timeout=10 01:34:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:19 > git merge e24f5199b8df60a8194d43c8100204b18b70afd7 # timeout=10 01:34:19 > git rev-parse HEAD^{commit} # timeout=10 01:34:19 > git config core.sparsecheckout # timeout=10 01:34:19 > git checkout -f 005b8ef583497e2c08077166c47605069ecaa93f # timeout=10 01:34:23 Commit message: "Merge commit 'e24f5199b8df60a8194d43c8100204b18b70afd7' into HEAD" 01:34:23 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:34:24 ========================================================= 01:34:24 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:34:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:34:25 + 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:34:23 > git rev-list --no-walk 65ef7156bd308912a995661ba05822a9f0b7c6be # timeout=10 01:34:28 Sending build context to Docker daemon 165.4MB 01:34:28 Step 1/7 : ARG BASE=golang:1.15-alpine 01:34:28 Step 2/7 : FROM ${BASE} 01:34:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:34:29 b538f80385f9: Pulling fs layer 01:34:29 74f711af9a0d: Pulling fs layer 01:34:29 99f96fe45779: Pulling fs layer 01:34:29 8529a6b9a6be: Pulling fs layer 01:34:29 45590311c82a: Pulling fs layer 01:34:29 69ca0ff8b7b3: Pulling fs layer 01:34:29 209524e5b208: Pulling fs layer 01:34:29 8529a6b9a6be: Waiting 01:34:29 45590311c82a: Waiting 01:34:29 69ca0ff8b7b3: Waiting 01:34:29 209524e5b208: Waiting 01:34:29 99f96fe45779: Verifying Checksum 01:34:29 99f96fe45779: Download complete 01:34:29 74f711af9a0d: Verifying Checksum 01:34:29 74f711af9a0d: Download complete 01:34:29 45590311c82a: Download complete 01:34:29 69ca0ff8b7b3: Verifying Checksum 01:34:29 69ca0ff8b7b3: Download complete 01:34:29 b538f80385f9: Verifying Checksum 01:34:29 b538f80385f9: Download complete 01:34:29 b538f80385f9: Pull complete 01:34:30 74f711af9a0d: Pull complete 01:34:30 99f96fe45779: Pull complete 01:34:32 209524e5b208: Download complete 01:34:33 8529a6b9a6be: Verifying Checksum 01:34:33 8529a6b9a6be: Download complete 01:34:44 8529a6b9a6be: Pull complete 01:34:44 45590311c82a: Pull complete 01:34:44 69ca0ff8b7b3: Pull complete 01:34:47 209524e5b208: Pull complete 01:34:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:34:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:34:47 ---> 5bddaf1c2fca 01:34:47 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:34:51 ---> Running in 1d8d0512caa2 01:34:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:34:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:34:54 (1/12) Installing libmagic (5.38-r0) 01:34:55 (2/12) Installing file (5.38-r0) 01:34:55 (3/12) Installing libc-dev (0.7.2-r3) 01:34:55 (4/12) Installing g++ (9.3.0-r2) 01:35:02 (5/12) Installing fortify-headers (1.1-r0) 01:35:02 (6/12) Installing patch (2.7.6-r6) 01:35:02 (7/12) Installing build-base (0.5-r2) 01:35:02 (8/12) Installing libsodium (1.0.18-r0) 01:35:02 (9/12) Installing pkgconf (1.7.2-r0) 01:35:02 (10/12) Installing libsodium-dev (1.0.18-r0) 01:35:02 (11/12) Installing libzmq (4.3.3-r0) 01:35:02 (12/12) Installing zeromq-dev (4.3.3-r0) 01:35:02 Executing busybox-1.31.1-r16.trigger 01:35:02 OK: 217 MiB in 51 packages 01:35:06 Removing intermediate container 1d8d0512caa2 01:35:06 ---> f60b0e243b34 01:35:06 Step 4/7 : WORKDIR /edgex-go 01:35:06 ---> Running in 2a3890589473 01:35:07 Removing intermediate container 2a3890589473 01:35:07 ---> 431fd48a8380 01:35:07 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 01:35:07 latest: Pulling from library/docker 01:35:07 5f621e34cdf4: Pulling fs layer 01:35:07 85db56a05063: Pulling fs layer 01:35:07 ccb67d6aeaaa: Pulling fs layer 01:35:07 a0b19fc83503: Pulling fs layer 01:35:07 8eb508b41278: Pulling fs layer 01:35:07 37236713561e: Pulling fs layer 01:35:07 07c93f2b1b56: Pulling fs layer 01:35:07 a0b19fc83503: Waiting 01:35:07 37236713561e: Waiting 01:35:07 8eb508b41278: Waiting 01:35:07 07c93f2b1b56: Waiting 01:35:07 ccb67d6aeaaa: Verifying Checksum 01:35:07 ccb67d6aeaaa: Download complete 01:35:07 5f621e34cdf4: Verifying Checksum 01:35:07 5f621e34cdf4: Download complete 01:35:07 85db56a05063: Verifying Checksum 01:35:07 85db56a05063: Download complete 01:35:07 8eb508b41278: Download complete 01:35:07 37236713561e: Verifying Checksum 01:35:07 37236713561e: Download complete 01:35:07 07c93f2b1b56: Verifying Checksum 01:35:07 07c93f2b1b56: Download complete 01:35:08 5f621e34cdf4: Pull complete 01:35:09 85db56a05063: Pull complete 01:35:09 a0b19fc83503: Download complete 01:35:09 ccb67d6aeaaa: Pull complete 01:35:13 a0b19fc83503: Pull complete 01:35:13 8eb508b41278: Pull complete 01:35:13 37236713561e: Pull complete 01:35:13 07c93f2b1b56: Pull complete 01:35:13 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 01:35:13 Status: Downloaded newer image for docker:latest 01:35:17 ---> 6d5c5b8bac75 01:35:17 Step 6/7 : COPY go.mod . 01:35:18 ---> 30c9729d0e3d 01:35:18 Step 7/7 : RUN go mod download 01:35:18 ---> Running in f749d987dad6 01:35:44 Removing intermediate container f749d987dad6 01:35:44 ---> 88d84276626c 01:35:44 Successfully built 88d84276626c 01:35:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:35:45 + docker inspect -f . ci-base-image-arm64 01:35:45 . [Pipeline] withDockerContainer 01:35:45 prd-ubuntu18.04-docker-arm64-4c-16g-8335 does not seem to be running inside a container 01:35:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** ci-base-image-arm64 cat 01:35:47 $ docker top 35a1683249aa3bbc66a2e8c73b06ca47017c17fd5689775e8e267d4c2279c224 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:48 + go version 01:35:48 go version go1.15.2 linux/arm64 [Pipeline] } 01:35:48 $ docker stop --time=1 35a1683249aa3bbc66a2e8c73b06ca47017c17fd5689775e8e267d4c2279c224 01:35:51 $ docker rm -f 35a1683249aa3bbc66a2e8c73b06ca47017c17fd5689775e8e267d4c2279c224 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:35:52 + docker inspect -f . ci-base-image-arm64 01:35:52 . [Pipeline] withDockerContainer 01:35:52 prd-ubuntu18.04-docker-arm64-4c-16g-8335 does not seem to be running inside a container 01:35:52 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** ci-base-image-arm64 cat 01:35:53 $ docker top 32b08728b539fb7f3e4e7be1e4300d5f35037e63aadcbc6b04d80501b02a6615 -eo pid,comm [Pipeline] { [Pipeline] echo 01:35:54 ========================================================= 01:35:54 [edgeXBuildGoParallel] Running Tests and Build... 01:35:54 ========================================================= [Pipeline] sh 01:35:54 + make test 01:35:54 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:35:57 ? github.com/edgexfoundry/edgex-go [no test files] 01:36:29 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 01:36:44 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 01:36:44 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 01:36:44 ? github.com/edgexfoundry/edgex-go/cmd/edgex-secrets-config [no test files] 01:36:44 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 01:36:44 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 01:36:48 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.050s 01:36:48 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 01:36:48 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 01:36:48 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 01:36:51 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 01:36:52 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 01:36:52 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 01:36:52 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 01:36:52 ? github.com/edgexfoundry/edgex-go/internal [no test files] 01:37:01 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.107s coverage: 46.6% of statements 01:37:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 01:37:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 01:37:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 01:37:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 01:37:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 01:37:06 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.157s coverage: 27.1% of statements 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 01:37:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.018s coverage: 100.0% of statements 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 01:37:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.016s coverage: 100.0% of statements 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 01:37:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.363s coverage: 78.8% of statements 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 01:37:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 01:37:08 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.375s coverage: 83.5% of statements 01:37:08 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 01:37:08 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 01:37:08 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 01:37:08 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 01:37:12 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.412s coverage: 28.6% of statements 01:37:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 01:37:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 01:37:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 01:37:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 01:37:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 01:37:12 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.049s coverage: 100.0% of statements 01:37:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 01:37:12 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.050s coverage: 100.0% of statements 01:37:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 01:37:14 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.158s coverage: 86.7% of statements 01:37:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 01:37:14 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.116s coverage: 97.5% of statements 01:37:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 01:37:14 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.029s coverage: 100.0% of statements 01:37:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 01:37:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 01:37:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 01:37:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 01:37:17 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.166s coverage: 96.2% of statements 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 01:37:17 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.018s coverage: 58.8% of statements 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 01:37:17 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.034s coverage: 0.0% of statements [no tests to run] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 01:37:17 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.036s coverage: 100.0% of statements 01:37:17 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 01:37:18 flag provided but not defined: -badarg 01:37:18 Usage of adduser: 01:37:18 -algorithm string 01:37:18 Algorithm used for signing the JWT, RS256 or ES256 01:37:18 -client_id string 01:37:18 Optional manually-specified OAuth2 client_id. 01:37:18 -client_secret string 01:37:18 Optional manually-specified OAuth2 client_secret. 01:37:18 -confdir string 01:37:18 01:37:18 -group string 01:37:18 Group to which the user belongs, defaults to 'admin' (default "admin") 01:37:18 -id string 01:37:18 ID to use for linkage with JWT claim (usually the 'iss' field) 01:37:18 -public_key string 01:37:18 Public key (in PEM format) used to validate the JWT. 01:37:18 -redirect_uris string 01:37:18 OAuth2 redirect URL for browser-based users (required) 01:37:18 -token-type string 01:37:18 Type of token to create: jwt or oauth2 01:37:18 -user string 01:37:18 Username of the user to add 01:37:18 flag provided but not defined: -output-key 01:37:18 Usage of adduser: 01:37:18 -algorithm string 01:37:18 Algorithm used for signing the JWT, RS256 or ES256 01:37:18 -client_id string 01:37:18 Optional manually-specified OAuth2 client_id. 01:37:18 -client_secret string 01:37:18 Optional manually-specified OAuth2 client_secret. 01:37:18 -confdir string 01:37:18 01:37:18 -group string 01:37:18 Group to which the user belongs, defaults to 'admin' (default "admin") 01:37:18 -id string 01:37:18 ID to use for linkage with JWT claim (usually the 'iss' field) 01:37:18 -public_key string 01:37:18 Public key (in PEM format) used to validate the JWT. 01:37:18 -redirect_uris string 01:37:18 OAuth2 redirect URL for browser-based users (required) 01:37:18 -token-type string 01:37:18 Type of token to create: jwt or oauth2 01:37:18 -user string 01:37:18 Username of the user to add 01:37:18 --- FAIL: TestAddUserJWT (0.01s) 01:37:18 command_test.go:93: 01:37:18 Error Trace: command_test.go:93 01:37:18 Error: Received unexpected error: 01:37:18 Unable to parse command: --token-type jwt --user someuser --algorithm RS256 --public_key testdata/rsa.pub --output-key testdata/secret.out: flag provided but not defined: -output-key 01:37:18 Test: TestAddUserJWT 01:37:18 flag provided but not defined: -output-secrets 01:37:18 Usage of adduser: 01:37:18 -algorithm string 01:37:18 Algorithm used for signing the JWT, RS256 or ES256 01:37:18 -client_id string 01:37:18 Optional manually-specified OAuth2 client_id. 01:37:18 -client_secret string 01:37:18 Optional manually-specified OAuth2 client_secret. 01:37:18 -confdir string 01:37:18 01:37:18 -group string 01:37:18 Group to which the user belongs, defaults to 'admin' (default "admin") 01:37:18 -id string 01:37:18 ID to use for linkage with JWT claim (usually the 'iss' field) 01:37:18 -public_key string 01:37:18 Public key (in PEM format) used to validate the JWT. 01:37:18 -redirect_uris string 01:37:18 OAuth2 redirect URL for browser-based users (required) 01:37:18 -token-type string 01:37:18 Type of token to create: jwt or oauth2 01:37:18 -user string 01:37:18 Username of the user to add 01:37:18 --- FAIL: TestAddUserOAuth2 (0.00s) 01:37:18 command_test.go:142: 01:37:18 Error Trace: command_test.go:142 01:37:18 Error: Received unexpected error: 01:37:18 Unable to parse command: --token-type oauth2 --user someuser --redirect_uris https://placeholder --output-secrets testdata/secret.out: flag provided but not defined: -output-secrets 01:37:18 Test: TestAddUserOAuth2 01:37:18 FAIL 01:37:18 coverage: 20.1% of statements 01:37:18 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.054s 01:37:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.034s coverage: 83.9% of statements 01:37:19 flag provided but not defined: -badarg 01:37:19 Usage of jwt: 01:37:19 -algorithm string 01:37:19 Algorithm used for signing the JWT, RS256 or ES256 01:37:19 -confdir string 01:37:19 01:37:19 -expiration string 01:37:19 Duration of generated jwt expressed as a golang-parseable duration value (default: 1h) (default "1h") 01:37:19 -id string 01:37:19 The 'key' field (ID) from the 'adduser' command 01:37:19 -private_key string 01:37:19 Private key used to sign the JWT (PEM-encoded) 01:37:19 flag provided but not defined: -output 01:37:19 Usage of jwt: 01:37:19 -algorithm string 01:37:19 Algorithm used for signing the JWT, RS256 or ES256 01:37:19 -confdir string 01:37:19 01:37:19 -expiration string 01:37:19 Duration of generated jwt expressed as a golang-parseable duration value (default: 1h) (default "1h") 01:37:19 -id string 01:37:19 The 'key' field (ID) from the 'adduser' command 01:37:19 -private_key string 01:37:19 Private key used to sign the JWT (PEM-encoded) 01:37:19 --- FAIL: TestJWTGenerateRSA (0.00s) 01:37:19 command_test.go:51: 01:37:19 Error Trace: command_test.go:51 01:37:19 command_test.go:61 01:37:19 Error: Received unexpected error: 01:37:19 Unable to parse command: --algorithm RS256 --private_key testdata/rsa.key --id 7f3ab74c-3bc2-4635-bc28-161f7f7ef246 --expiration 24h --output testdata/jwt.out: flag provided but not defined: -output 01:37:19 Test: TestJWTGenerateRSA 01:37:19 flag provided but not defined: -output 01:37:19 Usage of jwt: 01:37:19 -algorithm string 01:37:19 Algorithm used for signing the JWT, RS256 or ES256 01:37:19 -confdir string 01:37:19 01:37:19 -expiration string 01:37:19 Duration of generated jwt expressed as a golang-parseable duration value (default: 1h) (default "1h") 01:37:19 -id string 01:37:19 The 'key' field (ID) from the 'adduser' command 01:37:19 -private_key string 01:37:19 Private key used to sign the JWT (PEM-encoded) 01:37:19 --- FAIL: TestJWTGenerateECDSA (0.00s) 01:37:19 command_test.go:51: 01:37:19 Error Trace: command_test.go:51 01:37:19 command_test.go:72 01:37:19 Error: Received unexpected error: 01:37:19 Unable to parse command: --algorithm ES256 --private_key testdata/ecdsa.key --id 7f3ab74c-3bc2-4635-bc28-161f7f7ef246 --expiration 24h --output testdata/jwt.out: flag provided but not defined: -output 01:37:19 Test: TestJWTGenerateECDSA 01:37:19 FAIL 01:37:19 coverage: 36.2% of statements 01:37:19 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.039s 01:37:20 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.070s coverage: 84.2% of statements 01:37:21 flag provided but not defined: -badarg 01:37:21 Usage of tls: 01:37:21 -confdir string 01:37:21 01:37:21 -incert string 01:37:21 Path to PEM-encoded leaf certificate 01:37:21 -inkey string 01:37:21 Path to PEM-encoded private key 01:37:21 flag provided but not defined: -in 01:37:21 Usage of tls: 01:37:21 -confdir string 01:37:21 01:37:21 -incert string 01:37:21 Path to PEM-encoded leaf certificate 01:37:21 -inkey string 01:37:21 Path to PEM-encoded private key 01:37:21 flag provided but not defined: -in 01:37:21 Usage of tls: 01:37:21 -confdir string 01:37:21 01:37:21 -incert string 01:37:21 Path to PEM-encoded leaf certificate 01:37:21 -inkey string 01:37:21 Path to PEM-encoded private key 01:37:21 --- FAIL: TestTLSErrorStub (0.00s) 01:37:21 command_test.go:54: 01:37:21 Error Trace: command_test.go:54 01:37:21 Error: Received unexpected error: 01:37:21 Unable to parse command: --in somecertificate --inkey someprivatekey: flag provided but not defined: -in 01:37:21 Test: TestTLSErrorStub 01:37:21 FAIL 01:37:21 coverage: 57.9% of statements 01:37:21 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.029s 01:37:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/container [no test files] 01:37:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 01:37:24 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.151s coverage: 63.5% of statements 01:37:24 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 01:37:24 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 01:37:24 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.019s coverage: 100.0% of statements 01:37:24 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.023s coverage: 91.3% of statements 01:37:24 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.011s coverage: 100.0% of statements 01:37:25 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements 01:37:26 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.039s coverage: 100.0% of statements 01:37:28 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.316s coverage: 55.9% of statements 01:37:28 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 01:37:28 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 01:37:28 ? github.com/edgexfoundry/edgex-go/internal/security/secretread [no test files] 01:37:28 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 15.403s coverage: 86.3% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.159s coverage: 72.2% of statements 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.416s coverage: 72.1% of statements 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.028s coverage: 82.4% of statements 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.014s coverage: 48.4% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.017s coverage: 28.8% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.039s coverage: 96.8% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.121s coverage: 36.5% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.302s coverage: 84.1% of statements 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.017s coverage: 100.0% of statements 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.032s coverage: 42.9% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.014s coverage: 100.0% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 01:37:43 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.023s coverage: 83.8% of statements 01:37:43 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 01:37:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.127s coverage: 47.1% of statements 01:37:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 01:37:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 01:37:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.008s coverage: 100.0% of statements 01:37:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 01:37:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 01:37:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 01:37:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.032s coverage: 100.0% of statements 01:37:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 01:37:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.023s coverage: 100.0% of statements 01:37:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 01:37:50 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.223s coverage: 29.1% of statements 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 01:37:50 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.058s coverage: 99.0% of statements 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 01:37:50 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.038s coverage: 100.0% of statements 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 01:37:50 ok github.com/edgexfoundry/edgex-go/internal/system 0.025s coverage: 0.0% of statements 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 01:37:50 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 01:37:50 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 01:37:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.017s coverage: 87.9% of statements 01:37:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 01:37:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 01:37:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.011s coverage: 100.0% of statements 01:37:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.013s coverage: 32.1% of statements 01:37:52 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.018s coverage: 100.0% of statements 01:37:52 FAIL 01:37:53 make: *** [Makefile:86: test] Error 1 [Pipeline] } 01:37:53 $ docker stop --time=1 32b08728b539fb7f3e4e7be1e4300d5f35037e63aadcbc6b04d80501b02a6615 01:37:55 $ docker rm -f 32b08728b539fb7f3e4e7be1e4300d5f35037e63aadcbc6b04d80501b02a6615 [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:37:57 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] { (Clair Scan) Stage "Clair 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:37:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:38:00 ---> package-listing.sh 01:38:00 ++ facter osfamily 01:38:00 ++ tr '[:upper:]' '[:lower:]' 01:38:00 + OS_FAMILY=redhat 01:38:00 + workspace=/w/workspace/edgex-go/6 01:38:00 + START_PACKAGES=/tmp/packages_start.txt 01:38:00 + END_PACKAGES=/tmp/packages_end.txt 01:38:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:38:00 + PACKAGES=/tmp/packages_start.txt 01:38:00 + '[' /w/workspace/edgex-go/6 ']' 01:38:00 + PACKAGES=/tmp/packages_end.txt 01:38:00 + case "${OS_FAMILY}" in 01:38:00 + rpm -qa 01:38:00 + sort 01:38:04 + '[' -f /tmp/packages_start.txt ']' 01:38:04 + '[' -f /tmp/packages_end.txt ']' 01:38:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:38:04 + '[' /w/workspace/edgex-go/6 ']' 01:38:04 + mkdir -p /w/workspace/edgex-go/6/archives/ 01:38:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/6/archives/ [Pipeline] echo 01:38:04 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/6/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:38:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:38:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:38:05 01:38:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:38:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:38:05 alpine: Pulling from edgex-lftools-log-publisher 01:38:05 df20fa9351a1: Already exists 01:38:05 36b3adc4ff6f: Pulling fs layer 01:38:05 8ad3a11d3b57: Pulling fs layer 01:38:05 46f8f816bc3b: Pulling fs layer 01:38:05 93b61091891f: Pulling fs layer 01:38:05 93b9cdb0e59b: Pulling fs layer 01:38:05 5e14af77c1be: Pulling fs layer 01:38:05 01666e4c0597: Pulling fs layer 01:38:05 aa168da1d23b: Pulling fs layer 01:38:05 93b9cdb0e59b: Waiting 01:38:05 5e14af77c1be: Waiting 01:38:05 01666e4c0597: Waiting 01:38:05 aa168da1d23b: Waiting 01:38:05 93b61091891f: Waiting 01:38:05 46f8f816bc3b: Verifying Checksum 01:38:05 46f8f816bc3b: Download complete 01:38:05 36b3adc4ff6f: Verifying Checksum 01:38:05 93b9cdb0e59b: Verifying Checksum 01:38:05 93b9cdb0e59b: Download complete 01:38:06 5e14af77c1be: Download complete 01:38:06 01666e4c0597: Verifying Checksum 01:38:06 01666e4c0597: Download complete 01:38:06 93b61091891f: Verifying Checksum 01:38:06 93b61091891f: Download complete 01:38:06 36b3adc4ff6f: Pull complete 01:38:06 8ad3a11d3b57: Verifying Checksum 01:38:06 8ad3a11d3b57: Download complete 01:38:07 8ad3a11d3b57: Pull complete 01:38:07 46f8f816bc3b: Pull complete 01:38:08 93b61091891f: Pull complete 01:38:08 aa168da1d23b: Verifying Checksum 01:38:08 93b9cdb0e59b: Pull complete 01:38:08 5e14af77c1be: Pull complete 01:38:08 01666e4c0597: Pull complete 01:38:17 aa168da1d23b: Pull complete 01:38:17 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:38:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:38:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:38:17 prd-centos7-docker-4c-2g-8329 does not seem to be running inside a container 01:38:17 $ 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/6/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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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:38:20 $ docker top d430e8195e8caede066b536c27aed951a4e1a16fc0c3b7f99daf2519df5062cb -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:21 + touch /tmp/pre-build-complete [Pipeline] sh 01:38:21 + mkdir -p /var/log/sa [Pipeline] sh 01:38:22 + ls /var/log/sa-host 01:38:22 + sadf -c /var/log/sa-host/sa05 01:38:22 file_magic: OK 01:38:22 HZ: Using current value: 100 01:38:22 file_header: OK 01:38:22 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:38:22 Statistics: 01:38:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:38:22 File successfully converted to sysstat format version 12.2.1 01:38:22 + sadf -c /var/log/sa-host/sa23 01:38:22 file_magic: OK 01:38:22 HZ: Using current value: 100 01:38:22 file_header: OK 01:38:22 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:38:22 Statistics: 01:38:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:38:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:22 provisioning config files... 01:38:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/6@tmp/config1821668298930937138tmp [Pipeline] { [Pipeline] echo 01:38:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:38:23 ---> create-netrc.sh [Pipeline] } 01:38:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:38:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:38:23 ---> python-tools-install.sh [Pipeline] echo 01:38:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:38:23 ---> sudo-logs.sh 01:38:23 Archiving 'sudo' log.. [Pipeline] echo 01:38:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:38:24 ---> job-cost.sh 01:38:24 lf-activate-venv: SKIPPING 01:38:24 INFO: No Stack... 01:38:25 INFO: Retrieving Pricing Info for: v1-standard-2 01:38:26 INFO: Archiving Costs [Pipeline] echo 01:38:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:38:26 ---> logs-deploy.sh 01:38:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2808/6 01:38:26 INFO: archiving workspace using pattern(s): 01:38:28 Archives upload complete. 01:38:28 INFO: archiving logs to Nexus