Pull request #3328 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 beaufrusetta for edgexfoundry/edgex-go Loading trusted files from base branch master at 576eddb6d79f77bc7b799d46a5f981c8da166ab0 rather than 6e61076f7099dc24c96809c3427047333b336659 Obtained Jenkinsfile from 576eddb6d79f77bc7b799d46a5f981c8da166ab0 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2785 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/51 [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/51 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 576eddb6d79f77bc7b799d46a5f981c8da166ab0 into PR head commit 6e61076f7099dc24c96809c3427047333b336659 Merge succeeded, producing 6e61076f7099dc24c96809c3427047333b336659 Checking out Revision 6e61076f7099dc24c96809c3427047333b336659 (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e61076f7099dc24c96809c3427047333b336659 # 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 576eddb6d79f77bc7b799d46a5f981c8da166ab0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e61076f7099dc24c96809c3427047333b336659 # timeout=10 Commit message: "feat(security): Secure Kong Admin API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:11:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:11:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:11:49 ========================================================= 20:11:49 EdgeX Global Pipelines Version Info 20:11:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b8366cacafa9bce4d3be2d863d1891921dc6e76d # timeout=10 20:11:50 ------------------- 20:11:50 stable info: 20:11:50 ------------------- 20:11:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:11:50 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:11:50 Message: update stable to v1.0.191 20:11:51 ------------------- 20:11:51 experimental info: 20:11:51 ------------------- 20:11:51 Commited By: **** collab-it+edgex@linuxfoundation.org 20:11:51 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:11:51 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:11:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e61076f7099dc24c96809c3427047333b336659 [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e61076 [Pipeline] echo 20:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:11:52 provisioning config files... 20:11:52 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/51@tmp/config6011027725589584499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:52 ---> docker-login.sh 20:11:52 nexus3.edgexfoundry.org:10001 20:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:53 Configure a credential helper to remove this warning. See 20:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:53 20:11:53 Login Succeeded 20:11:53 nexus3.edgexfoundry.org:10002 20:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:53 Configure a credential helper to remove this warning. See 20:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:53 20:11:53 Login Succeeded 20:11:53 nexus3.edgexfoundry.org:10003 20:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:53 Configure a credential helper to remove this warning. See 20:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:53 20:11:53 Login Succeeded 20:11:53 nexus3.edgexfoundry.org:10004 20:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:53 Configure a credential helper to remove this warning. See 20:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:53 20:11:53 Login Succeeded 20:11:53 docker.io 20:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:54 Configure a credential helper to remove this warning. See 20:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:54 20:11:54 Login Succeeded 20:11:54 ---> docker-login.sh ends [Pipeline] } 20:11:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:11:54 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/core-command/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo core-command,cmd/core-command/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/core-data/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo core-data,cmd/core-data/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/core-metadata/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo core-metadata,cmd/core-metadata/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/security-bootstrapper/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/security-proxy-setup/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/security-secretstore-setup/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/support-notifications/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo support-notifications,cmd/support-notifications/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/support-scheduler/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:11:54 + for file in '`ls cmd/**/Dockerfile`' 20:11:54 ++ dirname cmd/sys-mgmt-agent/Dockerfile 20:11:54 ++ cut -d/ -f2 20:11:54 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:11:54 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 20:11:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:11:55 20:11:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:11:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:11:56 latest: Pulling from edgex-devops/git-semver 20:11:56 31603596830f: Pulling fs layer 20:11:56 54011a49482f: Pulling fs layer 20:11:56 a6820b24f6d8: Pulling fs layer 20:11:56 f581987b2513: Pulling fs layer 20:11:56 54011a49482f: Verifying Checksum 20:11:56 54011a49482f: Download complete 20:11:56 31603596830f: Verifying Checksum 20:11:56 31603596830f: Download complete 20:11:56 a6820b24f6d8: Verifying Checksum 20:11:56 a6820b24f6d8: Download complete 20:11:56 f581987b2513: Verifying Checksum 20:11:56 f581987b2513: Download complete 20:11:56 31603596830f: Pull complete 20:11:56 54011a49482f: Pull complete 20:11:57 a6820b24f6d8: Pull complete 20:11:57 f581987b2513: Pull complete 20:11:57 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:11:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:11:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:11:57 prd-centos7-docker-4c-2g-2785 does not seem to be running inside a container 20:11:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/51 -v /w/workspace/edgex-go/51:/w/workspace/edgex-go/51:rw,z -v /w/workspace/edgex-go/51@tmp:/w/workspace/edgex-go/51@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:12:00 $ docker top e5bd13f729b2f75eaa78be85444de324cd4664708a206b9ddea1814ec93c4ee4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:12:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:00 [ssh-agent] Looking for ssh-agent implementation... 20:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:00 $ docker exec e5bd13f729b2f75eaa78be85444de324cd4664708a206b9ddea1814ec93c4ee4 ssh-agent 20:12:00 SSH_AUTH_SOCK=/tmp/ssh-JpJUz9SCN8io/agent.12 20:12:00 SSH_AGENT_PID=17 20:12:00 Running ssh-add (command line suppressed) 20:12:01 Identity added: /w/workspace/edgex-go/51@tmp/private_key_8506054098075835362.key (/w/workspace/edgex-go/51@tmp/private_key_8506054098075835362.key) 20:12:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:01 + git tag --points-at HEAD [Pipeline] } 20:12:01 $ docker exec --env ******** --env ******** e5bd13f729b2f75eaa78be85444de324cd4664708a206b9ddea1814ec93c4ee4 ssh-agent -k 20:12:01 unset SSH_AUTH_SOCK; 20:12:01 unset SSH_AGENT_PID; 20:12:01 echo Agent pid 17 killed; 20:12:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:12:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:01 [ssh-agent] Looking for ssh-agent implementation... 20:12:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:01 $ docker exec e5bd13f729b2f75eaa78be85444de324cd4664708a206b9ddea1814ec93c4ee4 ssh-agent 20:12:02 SSH_AUTH_SOCK=/tmp/ssh-42LxqroQfnNG/agent.47 20:12:02 SSH_AGENT_PID=53 20:12:02 Running ssh-add (command line suppressed) 20:12:02 Identity added: /w/workspace/edgex-go/51@tmp/private_key_5802796630829434539.key (/w/workspace/edgex-go/51@tmp/private_key_5802796630829434539.key) 20:12:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:02 + git semver init 20:12:02 # -> Open(): unable to determine branch for HEAD 20:12:02 # $GIT_DIR = /w/workspace/edgex-go/51/.git 20:12:02 # $GIT_WORK_TREE = /w/workspace/edgex-go/51 20:12:02 # $SEMVER_REMOTE_NAME = origin 20:12:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:12:02 # $SEMVER_USER_NAME = edgex-jenkins 20:12:02 # $SEMVER_BRANCH = PR-3328 20:12:02 # $SEMVER_TEMP = /tmp/semver-845180659 20:12:02 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 20:12:20 # '/tmp/semver-845180659' -> '/w/workspace/edgex-go/51/.semver' 20:12:21 # -> Force: false 20:12:21 # $SEMVER_DIR = /w/workspace/edgex-go/51/.semver [Pipeline] } 20:12:22 $ docker exec --env ******** --env ******** e5bd13f729b2f75eaa78be85444de324cd4664708a206b9ddea1814ec93c4ee4 ssh-agent -k 20:12:22 unset SSH_AUTH_SOCK; 20:12:22 unset SSH_AGENT_PID; 20:12:22 echo Agent pid 53 killed; 20:12:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:12:22 + git semver [Pipeline] } 20:12:22 $ docker stop --time=1 e5bd13f729b2f75eaa78be85444de324cd4664708a206b9ddea1814ec93c4ee4 20:12:24 $ docker rm -f e5bd13f729b2f75eaa78be85444de324cd4664708a206b9ddea1814ec93c4ee4 [Pipeline] // withDockerContainer [Pipeline] sh 20:12:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:12:25 Stashed 1 file(s) [Pipeline] echo 20:12:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:12:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:12:26 + sudo service docker restart 20:12:26 + true 20:12:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 20:12:27 ========================================================= 20:12:27 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:12:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:12:27 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 20:12:30 Sending build context to Docker daemon 329.9MB 20:12:30 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 20:12:30 Step 2/6 : FROM ${BASE} 20:12:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:12:30 540db60ca938: Pulling fs layer 20:12:30 adcc1eea9eea: Pulling fs layer 20:12:30 4c4ab2625f07: Pulling fs layer 20:12:30 0510c868ecb4: Pulling fs layer 20:12:30 afea3b2eda06: Pulling fs layer 20:12:30 7809a108b3ef: Pulling fs layer 20:12:30 f706445af74f: Pulling fs layer 20:12:30 afea3b2eda06: Waiting 20:12:30 7809a108b3ef: Waiting 20:12:30 f706445af74f: Waiting 20:12:30 0510c868ecb4: Waiting 20:12:30 4c4ab2625f07: Verifying Checksum 20:12:30 4c4ab2625f07: Download complete 20:12:30 adcc1eea9eea: Verifying Checksum 20:12:30 adcc1eea9eea: Download complete 20:12:30 afea3b2eda06: Verifying Checksum 20:12:30 afea3b2eda06: Download complete 20:12:30 540db60ca938: Verifying Checksum 20:12:30 7809a108b3ef: Verifying Checksum 20:12:30 7809a108b3ef: Download complete 20:12:31 540db60ca938: Pull complete 20:12:31 adcc1eea9eea: Pull complete 20:12:31 4c4ab2625f07: Pull complete 20:12:32 f706445af74f: Verifying Checksum 20:12:32 f706445af74f: Download complete 20:12:33 0510c868ecb4: Verifying Checksum 20:12:33 0510c868ecb4: Download complete 20:12:38 0510c868ecb4: Pull complete 20:12:38 afea3b2eda06: Pull complete 20:12:38 7809a108b3ef: Pull complete 20:12:40 Still waiting to schedule task 20:12:40 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 20:12:42 f706445af74f: Pull complete 20:12:42 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:12:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:12:42 ---> b068be0155e3 20:12:42 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 20:12:43 ---> Running in 787622120de5 20:12:43 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:12:44 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:12:45 (1/12) Installing libmagic (5.39-r0) 20:12:45 (2/12) Installing file (5.39-r0) 20:12:45 (3/12) Installing libc-dev (0.7.2-r3) 20:12:45 (4/12) Installing g++ (10.2.1_pre1-r3) 20:12:51 (5/12) Installing fortify-headers (1.1-r0) 20:12:51 (6/12) Installing patch (2.7.6-r6) 20:12:51 (7/12) Installing build-base (0.5-r2) 20:12:51 (8/12) Installing libsodium (1.0.18-r0) 20:12:51 (9/12) Installing pkgconf (1.7.3-r0) 20:12:51 (10/12) Installing libsodium-dev (1.0.18-r0) 20:12:51 (11/12) Installing libzmq (4.3.3-r1) 20:12:51 (12/12) Installing zeromq-dev (4.3.3-r1) 20:12:51 Executing busybox-1.32.1-r6.trigger 20:12:51 OK: 219 MiB in 52 packages 20:12:55 Removing intermediate container 787622120de5 20:12:55 ---> 9b2665d7e9df 20:12:55 Step 4/6 : WORKDIR /edgex-go 20:12:55 ---> Running in db6779aadde3 20:12:55 Removing intermediate container db6779aadde3 20:12:55 ---> d7d2cb2c463b 20:12:55 Step 5/6 : COPY go.mod . 20:12:55 ---> bcc168e51e00 20:12:55 Step 6/6 : RUN go mod download 20:12:55 ---> Running in 23b00553d2ad 20:13:17 Removing intermediate container 23b00553d2ad 20:13:17 ---> 69b225dc76da 20:13:17 Successfully built 69b225dc76da 20:13:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:13:17 + docker inspect -f . ci-base-image-x86_64 20:13:17 . [Pipeline] withDockerContainer 20:13:17 prd-centos7-docker-4c-2g-2785 does not seem to be running inside a container 20:13:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/51 -v /w/workspace/edgex-go/51:/w/workspace/edgex-go/51:rw,z -v /w/workspace/edgex-go/51@tmp:/w/workspace/edgex-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:13:19 $ docker top 39a1f51ce3eeccf8eb2fa71cb6959a5c904458f190a2cc6d8cf39cd8f6964910 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:19 + go version 20:13:19 go version go1.16.3 linux/amd64 [Pipeline] } 20:13:19 $ docker stop --time=1 39a1f51ce3eeccf8eb2fa71cb6959a5c904458f190a2cc6d8cf39cd8f6964910 20:13:20 $ docker rm -f 39a1f51ce3eeccf8eb2fa71cb6959a5c904458f190a2cc6d8cf39cd8f6964910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:13:21 + docker inspect -f . ci-base-image-x86_64 20:13:21 . [Pipeline] withDockerContainer 20:13:21 prd-centos7-docker-4c-2g-2785 does not seem to be running inside a container 20:13:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/51 -v /w/workspace/edgex-go/51:/w/workspace/edgex-go/51:rw,z -v /w/workspace/edgex-go/51@tmp:/w/workspace/edgex-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:13:22 $ docker top 5fa725417d95e602b7403e7825a5ca810016ad96423fd0de27ff7834f59271f4 -eo pid,comm [Pipeline] { [Pipeline] echo 20:13:22 ========================================================= 20:13:22 [edgeXBuildGoParallel] Running Tests and Build... 20:13:22 ========================================================= [Pipeline] sh 20:13:22 + go mod tidy [Pipeline] sh 20:13:23 + make test 20:13:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:13:32 ? github.com/edgexfoundry/edgex-go [no test files] 20:13:50 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:13:54 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 20:13:54 internal/security/config/command/proxy/adduser/command.go:153:17: undefined: AuthHeaderTitle 20:13:54 internal/security/config/command/proxy/adduser/command.go:153:34: undefined: BearerLabel 20:13:54 internal/security/config/command/proxy/adduser/command.go:200:17: undefined: AuthHeaderTitle 20:13:54 internal/security/config/command/proxy/adduser/command.go:200:34: undefined: BearerLabel 20:13:54 internal/security/config/command/proxy/adduser/command.go:272:17: undefined: AuthHeaderTitle 20:13:54 internal/security/config/command/proxy/adduser/command.go:272:34: undefined: BearerLabel 20:13:54 internal/security/config/command/proxy/adduser/command.go:338:17: undefined: AuthHeaderTitle 20:13:54 internal/security/config/command/proxy/adduser/command.go:338:34: undefined: BearerLabel 20:13:54 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 20:13:54 internal/security/config/command/proxy/deluser/command.go:81:17: undefined: AuthHeaderTitle 20:13:54 internal/security/config/command/proxy/deluser/command.go:81:34: undefined: BearerLabel 20:13:54 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 20:13:54 internal/security/config/command/proxy/oauth2/command.go:105:17: undefined: AuthHeaderTitle 20:13:54 internal/security/config/command/proxy/oauth2/command.go:105:34: undefined: BearerLabel 20:13:56 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:13:56 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:13:58 # github.com/edgexfoundry/edgex-go/internal/security/proxy 20:13:58 internal/security/proxy/service.go:330:17: undefined: AuthHeaderTitle 20:13:58 internal/security/proxy/service.go:330:34: undefined: BearerLabel 20:14:06 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.134s coverage: 45.9% of statements 20:14:06 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.052s coverage: 19.8% of statements 20:14:06 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.076s coverage: 100.0% of statements 20:14:09 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.182s coverage: 27.1% of statements 20:14:09 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.068s coverage: 100.0% of statements 20:14:09 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.060s coverage: 100.0% of statements 20:14:09 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.090s coverage: 71.3% of statements 20:14:09 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.174s coverage: 87.7% of statements 20:14:09 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.057s coverage: 78.9% of statements 20:14:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.321s coverage: 28.6% of statements 20:14:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.104s coverage: 100.0% of statements 20:14:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.079s coverage: 100.0% of statements 20:14:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.147s coverage: 86.7% of statements 20:14:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.117s coverage: 97.5% of statements 20:14:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.077s coverage: 78.3% of statements 20:14:14 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.431s coverage: 95.1% of statements 20:14:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.054s coverage: 58.8% of statements 20:14:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.093s coverage: 0.9% of statements 20:14:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.049s coverage: 22.6% of statements 20:14:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.059s coverage: 47.1% of statements 20:14:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.056s coverage: 79.5% of statements 20:14:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.056s coverage: 94.1% of statements 20:14:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.076s coverage: 96.3% of statements 20:14:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.044s coverage: 87.5% of statements 20:14:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements 20:14:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.045s coverage: 44.8% of statements 20:14:28 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser.test] 20:14:28 internal/security/config/command/proxy/adduser/command.go:153: undefined: AuthHeaderTitle 20:14:28 internal/security/config/command/proxy/adduser/command.go:153: undefined: BearerLabel 20:14:28 internal/security/config/command/proxy/adduser/command.go:200: undefined: AuthHeaderTitle 20:14:28 internal/security/config/command/proxy/adduser/command.go:200: undefined: BearerLabel 20:14:28 internal/security/config/command/proxy/adduser/command.go:272: undefined: AuthHeaderTitle 20:14:28 internal/security/config/command/proxy/adduser/command.go:272: undefined: BearerLabel 20:14:28 internal/security/config/command/proxy/adduser/command.go:338: undefined: AuthHeaderTitle 20:14:28 internal/security/config/command/proxy/adduser/command.go:338: undefined: BearerLabel 20:14:28 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser.test] 20:14:28 internal/security/config/command/proxy/deluser/command.go:81: undefined: AuthHeaderTitle 20:14:28 internal/security/config/command/proxy/deluser/command.go:81: undefined: BearerLabel 20:14:29 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2.test] 20:14:29 internal/security/config/command/proxy/oauth2/command.go:105: undefined: AuthHeaderTitle 20:14:29 internal/security/config/command/proxy/oauth2/command.go:105: undefined: BearerLabel 20:14:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.242s coverage: 81.8% of statements 20:14:31 # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] 20:14:31 internal/security/proxy/service.go:330: undefined: AuthHeaderTitle 20:14:31 internal/security/proxy/service.go:330: undefined: BearerLabel 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.086s coverage: 92.9% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.046s coverage: 87.2% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.044s coverage: 100.0% of statements 20:14:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] 20:14:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.086s coverage: 87.2% of statements 20:14:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [build failed] 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.102s coverage: 91.2% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.191s coverage: 64.4% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.055s coverage: 100.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.043s coverage: 91.3% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.036s coverage: 73.7% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements 20:14:39 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.181s coverage: 43.2% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.038s coverage: 89.5% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.040s coverage: 84.8% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.136s coverage: 47.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.047s coverage: 100.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.061s coverage: 100.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.054s coverage: 9.6% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.163s coverage: 92.6% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.734s coverage: 28.7% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.065s coverage: 99.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.073s coverage: 100.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.055s coverage: 64.6% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.114s coverage: 97.6% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/system 0.025s coverage: 0.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.036s coverage: 100.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.042s coverage: 87.9% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.033s coverage: 100.0% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.054s coverage: 28.1% of statements 20:14:39 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 20:14:40 make: *** [Makefile:94: test] Error 2 [Pipeline] } 20:14:40 $ docker stop --time=1 5fa725417d95e602b7403e7825a5ca810016ad96423fd0de27ff7834f59271f4 20:14:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2786 in /w/workspace/edgexfoundry_edgex-go_PR-3328 20:14:41 $ docker rm -f 5fa725417d95e602b7403e7825a5ca810016ad96423fd0de27ff7834f59271f4 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 20:14:42 Running in /w/workspace/edgex-go/51 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] checkout 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] } 20:14:42 Failed in branch amd64 20:14:47 using credential edgex-jenkins-ssh 20:14:47 Cloning the remote Git repository 20:14:47 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:14:47 > git init /w/workspace/edgex-go/51 # timeout=10 20:14:47 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:14:47 > git --version # timeout=10 20:14:47 > git --version # 'git version 2.17.1' 20:14:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:14:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:04 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:15:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:04 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:15:04 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:15:06 Merging remotes/origin/master commit 576eddb6d79f77bc7b799d46a5f981c8da166ab0 into PR head commit 6e61076f7099dc24c96809c3427047333b336659 20:15:07 Merge succeeded, producing 6e61076f7099dc24c96809c3427047333b336659 20:15:07 Checking out Revision 6e61076f7099dc24c96809c3427047333b336659 (PR-3328) 20:15:06 > git config core.sparsecheckout # timeout=10 20:15:06 > git checkout -f 6e61076f7099dc24c96809c3427047333b336659 # timeout=10 20:15:07 > git remote # timeout=10 20:15:07 > git config --get remote.origin.url # timeout=10 20:15:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:07 > git merge 576eddb6d79f77bc7b799d46a5f981c8da166ab0 # timeout=10 20:15:07 > git rev-parse HEAD^{commit} # timeout=10 20:15:07 > git config core.sparsecheckout # timeout=10 20:15:07 > git checkout -f 6e61076f7099dc24c96809c3427047333b336659 # timeout=10 20:15:11 Commit message: "feat(security): Secure Kong Admin API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:15:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:15:13 + sudo service docker restart 20:15:13 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:15:15 provisioning config files... 20:15:15 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/51@tmp/config6201548919404066916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:16 ---> docker-login.sh 20:15:16 nexus3.edgexfoundry.org:10001 20:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:17 Configure a credential helper to remove this warning. See 20:15:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:17 20:15:17 Login Succeeded 20:15:17 nexus3.edgexfoundry.org:10002 20:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:18 Configure a credential helper to remove this warning. See 20:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:18 20:15:18 Login Succeeded 20:15:18 nexus3.edgexfoundry.org:10003 20:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:18 Configure a credential helper to remove this warning. See 20:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:18 20:15:18 Login Succeeded 20:15:18 nexus3.edgexfoundry.org:10004 20:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:19 Configure a credential helper to remove this warning. See 20:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:19 20:15:19 Login Succeeded 20:15:19 docker.io 20:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:19 Configure a credential helper to remove this warning. See 20:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:19 20:15:19 Login Succeeded 20:15:19 ---> docker-login.sh ends [Pipeline] } 20:15:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:15:19 ========================================================= 20:15:19 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:15:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:15:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 20:15:22 Sending build context to Docker daemon 167.6MB 20:15:22 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 20:15:22 Step 2/6 : FROM ${BASE} 20:15:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:15:22 595b0fe564bb: Pulling fs layer 20:15:22 7186ed65a4f7: Pulling fs layer 20:15:22 316046926c0a: Pulling fs layer 20:15:22 4ebd0625c992: Pulling fs layer 20:15:22 207e8628e3a3: Pulling fs layer 20:15:22 c791037a9be2: Pulling fs layer 20:15:22 ffd874e62e21: Pulling fs layer 20:15:22 207e8628e3a3: Waiting 20:15:22 c791037a9be2: Waiting 20:15:22 ffd874e62e21: Waiting 20:15:22 4ebd0625c992: Waiting 20:15:22 316046926c0a: Verifying Checksum 20:15:22 316046926c0a: Download complete 20:15:22 7186ed65a4f7: Verifying Checksum 20:15:22 7186ed65a4f7: Download complete 20:15:22 207e8628e3a3: Verifying Checksum 20:15:22 207e8628e3a3: Download complete 20:15:22 c791037a9be2: Verifying Checksum 20:15:22 c791037a9be2: Download complete 20:15:22 595b0fe564bb: Verifying Checksum 20:15:22 595b0fe564bb: Download complete 20:15:23 595b0fe564bb: Pull complete 20:15:24 7186ed65a4f7: Pull complete 20:15:24 316046926c0a: Pull complete 20:15:25 ffd874e62e21: Verifying Checksum 20:15:25 ffd874e62e21: Download complete 20:15:26 4ebd0625c992: Verifying Checksum 20:15:26 4ebd0625c992: Download complete 20:15:36 4ebd0625c992: Pull complete 20:15:36 207e8628e3a3: Pull complete 20:15:37 c791037a9be2: Pull complete 20:15:41 ffd874e62e21: Pull complete 20:15:41 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:15:41 ---> cfc18b08335c 20:15:41 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 20:15:44 ---> Running in f368e4e3c52e 20:15:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:15:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:15:47 (1/12) Installing libmagic (5.39-r0) 20:15:47 (2/12) Installing file (5.39-r0) 20:15:48 (3/12) Installing libc-dev (0.7.2-r3) 20:15:48 (4/12) Installing g++ (10.2.1_pre1-r3) 20:15:53 (5/12) Installing fortify-headers (1.1-r0) 20:15:53 (6/12) Installing patch (2.7.6-r6) 20:15:53 (7/12) Installing build-base (0.5-r2) 20:15:53 (8/12) Installing libsodium (1.0.18-r0) 20:15:53 (9/12) Installing pkgconf (1.7.3-r0) 20:15:53 (10/12) Installing libsodium-dev (1.0.18-r0) 20:15:53 (11/12) Installing libzmq (4.3.3-r1) 20:15:53 (12/12) Installing zeromq-dev (4.3.3-r1) 20:15:53 Executing busybox-1.32.1-r6.trigger 20:15:53 OK: 218 MiB in 52 packages 20:15:58 Removing intermediate container f368e4e3c52e 20:15:58 ---> 6d66544a0b52 20:15:58 Step 4/6 : WORKDIR /edgex-go 20:15:58 ---> Running in e966a329561c 20:15:58 Removing intermediate container e966a329561c 20:15:58 ---> f4aa1d2cc3c0 20:15:58 Step 5/6 : COPY go.mod . 20:15:59 ---> 236096c5e213 20:15:59 Step 6/6 : RUN go mod download 20:15:59 ---> Running in 8b644a2bbc3b 20:16:26 Removing intermediate container 8b644a2bbc3b 20:16:26 ---> f6ab45dbbb82 20:16:26 Successfully built f6ab45dbbb82 20:16:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:16:26 + docker inspect -f . ci-base-image-arm64 20:16:26 . [Pipeline] withDockerContainer 20:16:26 prd-ubuntu18.04-docker-arm64-4c-16g-2786 does not seem to be running inside a container 20:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/51 -v /w/workspace/edgex-go/51:/w/workspace/edgex-go/51:rw,z -v /w/workspace/edgex-go/51@tmp:/w/workspace/edgex-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:16:28 $ docker top 0442aa73dbde4898203ff32d0c331e0ec745880ae1047db2677297b7b680df4e -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:28 + go version 20:16:28 go version go1.16.3 linux/arm64 [Pipeline] } 20:16:28 $ docker stop --time=1 0442aa73dbde4898203ff32d0c331e0ec745880ae1047db2677297b7b680df4e 20:16:30 $ docker rm -f 0442aa73dbde4898203ff32d0c331e0ec745880ae1047db2677297b7b680df4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:16:31 + docker inspect -f . ci-base-image-arm64 20:16:31 . [Pipeline] withDockerContainer 20:16:31 prd-ubuntu18.04-docker-arm64-4c-16g-2786 does not seem to be running inside a container 20:16:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/51 -v /w/workspace/edgex-go/51:/w/workspace/edgex-go/51:rw,z -v /w/workspace/edgex-go/51@tmp:/w/workspace/edgex-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:16:33 $ docker top 72f02186f4bdce07c36307a59454d9e4dbdbe062bc8b41e472a67971af06d38d -eo pid,comm [Pipeline] { [Pipeline] echo 20:16:33 ========================================================= 20:16:33 [edgeXBuildGoParallel] Running Tests and Build... 20:16:33 ========================================================= [Pipeline] sh 20:16:34 + go mod tidy [Pipeline] sh 20:16:36 + make test 20:16:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:17:02 ? github.com/edgexfoundry/edgex-go [no test files] 20:17:59 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:18:04 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 20:18:04 internal/security/config/command/proxy/adduser/command.go:153:17: undefined: AuthHeaderTitle 20:18:04 internal/security/config/command/proxy/adduser/command.go:153:34: undefined: BearerLabel 20:18:04 internal/security/config/command/proxy/adduser/command.go:200:17: undefined: AuthHeaderTitle 20:18:04 internal/security/config/command/proxy/adduser/command.go:200:34: undefined: BearerLabel 20:18:04 internal/security/config/command/proxy/adduser/command.go:272:17: undefined: AuthHeaderTitle 20:18:04 internal/security/config/command/proxy/adduser/command.go:272:34: undefined: BearerLabel 20:18:04 internal/security/config/command/proxy/adduser/command.go:338:17: undefined: AuthHeaderTitle 20:18:04 internal/security/config/command/proxy/adduser/command.go:338:34: undefined: BearerLabel 20:18:04 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:18:04 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 20:18:04 internal/security/config/command/proxy/deluser/command.go:81:17: undefined: AuthHeaderTitle 20:18:04 internal/security/config/command/proxy/deluser/command.go:81:34: undefined: BearerLabel 20:18:05 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 20:18:05 internal/security/config/command/proxy/oauth2/command.go:105:17: undefined: AuthHeaderTitle 20:18:05 internal/security/config/command/proxy/oauth2/command.go:105:34: undefined: BearerLabel 20:18:15 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:18:16 # github.com/edgexfoundry/edgex-go/internal/security/proxy 20:18:16 internal/security/proxy/service.go:330:17: undefined: AuthHeaderTitle 20:18:16 internal/security/proxy/service.go:330:34: undefined: BearerLabel 20:18:39 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.316s coverage: 45.9% of statements 20:18:39 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.117s coverage: 19.8% of statements 20:18:39 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.253s coverage: 100.0% of statements 20:18:45 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.601s coverage: 27.1% of statements 20:18:45 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.126s coverage: 100.0% of statements 20:18:45 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.140s coverage: 100.0% of statements 20:18:45 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.227s coverage: 71.3% of statements 20:18:46 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.499s coverage: 87.7% of statements 20:18:46 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.148s coverage: 78.9% of statements 20:18:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.149s coverage: 28.6% of statements 20:18:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.234s coverage: 100.0% of statements 20:18:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.144s coverage: 100.0% of statements 20:18:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.398s coverage: 86.7% of statements 20:18:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.396s coverage: 97.5% of statements 20:18:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.222s coverage: 78.3% of statements 20:19:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.257s coverage: 95.1% of statements 20:19:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.109s coverage: 58.8% of statements 20:19:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.199s coverage: 0.9% of statements 20:19:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.128s coverage: 22.6% of statements 20:19:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.230s coverage: 47.1% of statements 20:19:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.153s coverage: 79.5% of statements 20:19:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.125s coverage: 94.1% of statements 20:19:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.146s coverage: 96.3% of statements 20:19:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.158s coverage: 87.5% of statements 20:19:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.149s coverage: 94.4% of statements 20:19:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.134s coverage: 44.8% of statements 20:19:19 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser.test] 20:19:19 internal/security/config/command/proxy/adduser/command.go:153: undefined: AuthHeaderTitle 20:19:19 internal/security/config/command/proxy/adduser/command.go:153: undefined: BearerLabel 20:19:19 internal/security/config/command/proxy/adduser/command.go:200: undefined: AuthHeaderTitle 20:19:19 internal/security/config/command/proxy/adduser/command.go:200: undefined: BearerLabel 20:19:19 internal/security/config/command/proxy/adduser/command.go:272: undefined: AuthHeaderTitle 20:19:19 internal/security/config/command/proxy/adduser/command.go:272: undefined: BearerLabel 20:19:19 internal/security/config/command/proxy/adduser/command.go:338: undefined: AuthHeaderTitle 20:19:19 internal/security/config/command/proxy/adduser/command.go:338: undefined: BearerLabel 20:19:19 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser.test] 20:19:19 internal/security/config/command/proxy/deluser/command.go:81: undefined: AuthHeaderTitle 20:19:19 internal/security/config/command/proxy/deluser/command.go:81: undefined: BearerLabel 20:19:21 # github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2.test] 20:19:21 internal/security/config/command/proxy/oauth2/command.go:105: undefined: AuthHeaderTitle 20:19:21 internal/security/config/command/proxy/oauth2/command.go:105: undefined: BearerLabel 20:19:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.573s coverage: 81.8% of statements 20:19:27 # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] 20:19:27 internal/security/proxy/service.go:330: undefined: AuthHeaderTitle 20:19:27 internal/security/proxy/service.go:330: undefined: BearerLabel 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.267s coverage: 92.9% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.053s coverage: 65.1% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.075s coverage: 87.2% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements 20:19:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] 20:19:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.170s coverage: 87.2% of statements 20:19:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 [build failed] 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.264s coverage: 91.2% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.592s coverage: 64.4% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.130s coverage: 100.0% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.075s coverage: 91.3% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.062s coverage: 73.7% of statements 20:19:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.058s coverage: 100.0% of statements 20:19:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] 20:19:34 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.692s coverage: 43.2% of statements 20:19:34 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.080s coverage: 89.5% of statements 20:19:34 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.095s coverage: 84.8% of statements 20:19:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.456s coverage: 47.0% of statements 20:19:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.126s coverage: 100.0% of statements 20:19:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.150s coverage: 100.0% of statements 20:19:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.141s coverage: 9.6% of statements 20:19:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.532s coverage: 92.6% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.518s coverage: 28.7% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.173s coverage: 99.0% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.166s coverage: 100.0% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.194s coverage: 64.6% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.320s coverage: 97.6% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/system 0.065s coverage: 0.0% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.090s coverage: 100.0% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.085s coverage: 87.9% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.117s coverage: 28.1% of statements 20:19:49 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 20:19:49 make: *** [Makefile:94: test] Error 2 [Pipeline] } 20:19:49 $ docker stop --time=1 72f02186f4bdce07c36307a59454d9e4dbdbe062bc8b41e472a67971af06d38d 20:19:51 $ docker rm -f 72f02186f4bdce07c36307a59454d9e4dbdbe062bc8b41e472a67971af06d38d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:19:53 ---> job-cost.sh 20:19:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Bnf5 20:20:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:21:53 lf-activate-venv(): INFO: Adding /tmp/venv-Bnf5/bin to PATH 20:21:53 INFO: No Stack... 20:21:53 INFO: Retrieving Pricing Info for: lf-standard-4 20:21:53 INFO: Archiving Costs [Pipeline] sh 20:21:54 + cut -d, -f6 20:21:54 + cat /w/workspace/edgex-go/51/archives/cost.csv [Pipeline] lock 20:21:54 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-51-stack-cost] 20:21:54 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-51-stack-cost] did not exist. Created. 20:21:54 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:21:55 + echo total: 0.20999999344348907 [Pipeline] stash 20:21:55 Stashed 1 file(s) [Pipeline] } 20:21:55 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:21:55 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:21:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:21:57 ---> package-listing.sh 20:21:57 ++ facter osfamily 20:21:57 ++ tr '[:upper:]' '[:lower:]' 20:21:57 + OS_FAMILY=redhat 20:21:57 + workspace=/w/workspace/edgex-go/51 20:21:57 + START_PACKAGES=/tmp/packages_start.txt 20:21:57 + END_PACKAGES=/tmp/packages_end.txt 20:21:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:21:57 + PACKAGES=/tmp/packages_start.txt 20:21:57 + '[' /w/workspace/edgex-go/51 ']' 20:21:57 + PACKAGES=/tmp/packages_end.txt 20:21:57 + case "${OS_FAMILY}" in 20:21:57 + rpm -qa 20:21:57 + sort 20:22:03 + '[' -f /tmp/packages_start.txt ']' 20:22:03 + '[' -f /tmp/packages_end.txt ']' 20:22:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:22:03 + '[' /w/workspace/edgex-go/51 ']' 20:22:03 + mkdir -p /w/workspace/edgex-go/51/archives/ 20:22:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/51/archives/ [Pipeline] echo 20:22:03 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/51/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:22:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:22:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:22:03 20:22:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:22:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:22:04 alpine: Pulling from edgex-lftools-log-publisher 20:22:04 df20fa9351a1: Pulling fs layer 20:22:04 36b3adc4ff6f: Pulling fs layer 20:22:04 8ad3a11d3b57: Pulling fs layer 20:22:04 46f8f816bc3b: Pulling fs layer 20:22:04 93b61091891f: Pulling fs layer 20:22:04 93b9cdb0e59b: Pulling fs layer 20:22:04 5e14af77c1be: Pulling fs layer 20:22:04 01666e4c0597: Pulling fs layer 20:22:04 aa168da1d23b: Pulling fs layer 20:22:04 46f8f816bc3b: Waiting 20:22:04 93b9cdb0e59b: Waiting 20:22:04 5e14af77c1be: Waiting 20:22:04 01666e4c0597: Waiting 20:22:04 aa168da1d23b: Waiting 20:22:04 93b61091891f: Waiting 20:22:04 36b3adc4ff6f: Verifying Checksum 20:22:04 36b3adc4ff6f: Download complete 20:22:04 46f8f816bc3b: Verifying Checksum 20:22:04 46f8f816bc3b: Download complete 20:22:04 df20fa9351a1: Download complete 20:22:04 93b9cdb0e59b: Verifying Checksum 20:22:04 93b9cdb0e59b: Download complete 20:22:04 5e14af77c1be: Verifying Checksum 20:22:04 5e14af77c1be: Download complete 20:22:04 93b61091891f: Verifying Checksum 20:22:04 93b61091891f: Download complete 20:22:04 01666e4c0597: Verifying Checksum 20:22:04 01666e4c0597: Download complete 20:22:04 8ad3a11d3b57: Verifying Checksum 20:22:04 8ad3a11d3b57: Download complete 20:22:04 df20fa9351a1: Pull complete 20:22:05 36b3adc4ff6f: Pull complete 20:22:05 8ad3a11d3b57: Pull complete 20:22:05 46f8f816bc3b: Pull complete 20:22:06 93b61091891f: Pull complete 20:22:06 93b9cdb0e59b: Pull complete 20:22:06 aa168da1d23b: Verifying Checksum 20:22:06 aa168da1d23b: Download complete 20:22:07 5e14af77c1be: Pull complete 20:22:07 01666e4c0597: Pull complete 20:22:13 aa168da1d23b: Pull complete 20:22:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:22:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:22:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:22:13 prd-centos7-docker-4c-2g-2785 does not seem to be running inside a container 20:22:13 $ 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/51/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/51 -v /w/workspace/edgex-go/51:/w/workspace/edgex-go/51:rw,z -v /w/workspace/edgex-go/51@tmp:/w/workspace/edgex-go/51@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:22:17 $ docker top ed94e093e229dea17df9152fa83ffb1b69c94af914fefd25e04c632873ad6a9b -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:18 + touch /tmp/pre-build-complete [Pipeline] sh 20:22:18 + mkdir -p /var/log/sa [Pipeline] sh 20:22:18 + ls /var/log/sa-host 20:22:18 + sadf -c /var/log/sa-host/sa03 20:22:18 file_magic: OK 20:22:18 HZ: Using current value: 100 20:22:18 file_header: OK 20:22:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:22:18 Statistics: 20:22:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:22:18 File successfully converted to sysstat format version 12.2.1 20:22:18 + sadf -c /var/log/sa-host/sa23 20:22:18 file_magic: OK 20:22:18 HZ: Using current value: 100 20:22:18 file_header: OK 20:22:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:22:18 Statistics: 20:22:18 Hnuu...uuuununununu... 20:22:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:22:19 provisioning config files... 20:22:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/51@tmp/config6583895791508740039tmp [Pipeline] { [Pipeline] echo 20:22:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:22:19 ---> create-netrc.sh [Pipeline] } 20:22:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:22:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:22:20 ---> python-tools-install.sh [Pipeline] echo 20:22:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:22:20 ---> sudo-logs.sh 20:22:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:22:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:22:20 ---> job-cost.sh 20:22:20 lf-activate-venv: SKIPPING 20:22:20 DEBUG: total: 0.20999999344348907 20:22:20 INFO: Retrieving Stack Cost... 20:22:21 INFO: Retrieving Pricing Info for: v1-standard-2 20:22:22 INFO: Archiving Costs [Pipeline] echo 20:22:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:22:22 ---> logs-deploy.sh 20:22:22 lf-activate-venv: SKIPPING 20:22:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/51 20:22:22 INFO: archiving workspace using pattern(s): 20:22:24 Archives upload complete. 20:22:24 INFO: archiving logs to Nexus