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 2594bee74045017d0c698aa8ada218c377016b7d 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-2788 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/52 [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/52 # 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 2594bee74045017d0c698aa8ada218c377016b7d Merge succeeded, producing 2594bee74045017d0c698aa8ada218c377016b7d Checking out Revision 2594bee74045017d0c698aa8ada218c377016b7d (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f 2594bee74045017d0c698aa8ada218c377016b7d # 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 2594bee74045017d0c698aa8ada218c377016b7d # 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 21:30:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:30:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:30:35 ========================================================= 21:30:35 EdgeX Global Pipelines Version Info 21:30:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6e61076f7099dc24c96809c3427047333b336659 # timeout=10 21:30:36 ------------------- 21:30:36 stable info: 21:30:36 ------------------- 21:30:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:30:36 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 21:30:36 Message: update stable to v1.0.191 21:30:37 ------------------- 21:30:37 experimental info: 21:30:37 ------------------- 21:30:37 Commited By: **** collab-it+edgex@linuxfoundation.org 21:30:37 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 21:30:37 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 21:30:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:30:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 21:30:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 21:30:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 21:30:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2594bee74045017d0c698aa8ada218c377016b7d [Pipeline] echo 21:30:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2594bee [Pipeline] echo 21:30:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:30:39 provisioning config files... 21:30:39 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/52@tmp/config3749665313322920952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:40 ---> docker-login.sh 21:30:40 nexus3.edgexfoundry.org:10001 21:30:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:40 Configure a credential helper to remove this warning. See 21:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:40 21:30:40 Login Succeeded 21:30:40 nexus3.edgexfoundry.org:10002 21:30:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:40 Configure a credential helper to remove this warning. See 21:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:40 21:30:40 Login Succeeded 21:30:40 nexus3.edgexfoundry.org:10003 21:30:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:40 Configure a credential helper to remove this warning. See 21:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:40 21:30:40 Login Succeeded 21:30:40 nexus3.edgexfoundry.org:10004 21:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:41 Configure a credential helper to remove this warning. See 21:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:41 21:30:41 Login Succeeded 21:30:41 docker.io 21:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:41 Configure a credential helper to remove this warning. See 21:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:41 21:30:41 Login Succeeded 21:30:41 ---> docker-login.sh ends [Pipeline] } 21:30:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:30:41 ++ 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 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/core-command/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo core-command,cmd/core-command/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/core-data/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo core-data,cmd/core-data/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/core-metadata/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo core-metadata,cmd/core-metadata/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/security-bootstrapper/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/security-proxy-setup/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/security-secretstore-setup/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/support-notifications/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo support-notifications,cmd/support-notifications/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/support-scheduler/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:30:41 + for file in '`ls cmd/**/Dockerfile`' 21:30:41 ++ dirname cmd/sys-mgmt-agent/Dockerfile 21:30:41 ++ cut -d/ -f2 21:30:41 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:30:41 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 21:30:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:30:43 21:30:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:30:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:30:43 latest: Pulling from edgex-devops/git-semver 21:30:43 31603596830f: Pulling fs layer 21:30:43 54011a49482f: Pulling fs layer 21:30:43 a6820b24f6d8: Pulling fs layer 21:30:43 f581987b2513: Pulling fs layer 21:30:43 f581987b2513: Waiting 21:30:43 54011a49482f: Verifying Checksum 21:30:43 54011a49482f: Download complete 21:30:43 31603596830f: Verifying Checksum 21:30:43 31603596830f: Download complete 21:30:43 f581987b2513: Verifying Checksum 21:30:43 f581987b2513: Download complete 21:30:43 a6820b24f6d8: Verifying Checksum 21:30:43 a6820b24f6d8: Download complete 21:30:44 31603596830f: Pull complete 21:30:44 54011a49482f: Pull complete 21:30:44 a6820b24f6d8: Pull complete 21:30:44 f581987b2513: Pull complete 21:30:44 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 21:30:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:30:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:30:45 prd-centos7-docker-4c-2g-2788 does not seem to be running inside a container 21:30:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:30:47 $ docker top 2810eafe8c497fb355caa11f808b3755cb419153756a004f768c4b661b9a6ebb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:30:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:47 [ssh-agent] Looking for ssh-agent implementation... 21:30:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:48 $ docker exec 2810eafe8c497fb355caa11f808b3755cb419153756a004f768c4b661b9a6ebb ssh-agent 21:30:48 SSH_AUTH_SOCK=/tmp/ssh-SPqusCUt1w5F/agent.11 21:30:48 SSH_AGENT_PID=16 21:30:48 Running ssh-add (command line suppressed) 21:30:48 Identity added: /w/workspace/edgex-go/52@tmp/private_key_3149702251649484787.key (/w/workspace/edgex-go/52@tmp/private_key_3149702251649484787.key) 21:30:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:48 + git tag --points-at HEAD [Pipeline] } 21:30:48 $ docker exec --env ******** --env ******** 2810eafe8c497fb355caa11f808b3755cb419153756a004f768c4b661b9a6ebb ssh-agent -k 21:30:48 unset SSH_AUTH_SOCK; 21:30:48 unset SSH_AGENT_PID; 21:30:48 echo Agent pid 16 killed; 21:30:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:30:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:49 [ssh-agent] Looking for ssh-agent implementation... 21:30:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:49 $ docker exec 2810eafe8c497fb355caa11f808b3755cb419153756a004f768c4b661b9a6ebb ssh-agent 21:30:49 SSH_AUTH_SOCK=/tmp/ssh-iSqd5RK1a49q/agent.44 21:30:49 SSH_AGENT_PID=49 21:30:49 Running ssh-add (command line suppressed) 21:30:49 Identity added: /w/workspace/edgex-go/52@tmp/private_key_6141546570509465880.key (/w/workspace/edgex-go/52@tmp/private_key_6141546570509465880.key) 21:30:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:49 + git semver init 21:30:49 # -> Open(): unable to determine branch for HEAD 21:30:49 # $GIT_DIR = /w/workspace/edgex-go/52/.git 21:30:49 # $GIT_WORK_TREE = /w/workspace/edgex-go/52 21:30:49 # $SEMVER_REMOTE_NAME = origin 21:30:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:30:49 # $SEMVER_USER_NAME = edgex-jenkins 21:30:49 # $SEMVER_BRANCH = PR-3328 21:30:49 # $SEMVER_TEMP = /tmp/semver-118900323 21:30:49 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 21:31:07 # '/tmp/semver-118900323' -> '/w/workspace/edgex-go/52/.semver' 21:31:07 # -> Force: false 21:31:07 # $SEMVER_DIR = /w/workspace/edgex-go/52/.semver [Pipeline] } 21:31:07 $ docker exec --env ******** --env ******** 2810eafe8c497fb355caa11f808b3755cb419153756a004f768c4b661b9a6ebb ssh-agent -k 21:31:08 unset SSH_AUTH_SOCK; 21:31:08 unset SSH_AGENT_PID; 21:31:08 echo Agent pid 49 killed; 21:31:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:31:08 + git semver [Pipeline] } 21:31:08 $ docker stop --time=1 2810eafe8c497fb355caa11f808b3755cb419153756a004f768c4b661b9a6ebb 21:31:10 $ docker rm -f 2810eafe8c497fb355caa11f808b3755cb419153756a004f768c4b661b9a6ebb [Pipeline] // withDockerContainer [Pipeline] sh 21:31:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:31:11 Stashed 1 file(s) [Pipeline] echo 21:31:11 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:31:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:31:12 + sudo service docker restart 21:31:12 + true 21:31:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 21:31:12 ========================================================= 21:31:12 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:31:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:31:13 + 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 . 21:31:16 Sending build context to Docker daemon 329.9MB 21:31:16 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 21:31:16 Step 2/6 : FROM ${BASE} 21:31:16 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:31:16 540db60ca938: Pulling fs layer 21:31:16 adcc1eea9eea: Pulling fs layer 21:31:16 4c4ab2625f07: Pulling fs layer 21:31:16 0510c868ecb4: Pulling fs layer 21:31:16 afea3b2eda06: Pulling fs layer 21:31:16 7809a108b3ef: Pulling fs layer 21:31:16 f706445af74f: Pulling fs layer 21:31:16 0510c868ecb4: Waiting 21:31:16 afea3b2eda06: Waiting 21:31:16 7809a108b3ef: Waiting 21:31:16 f706445af74f: Waiting 21:31:16 4c4ab2625f07: Verifying Checksum 21:31:16 4c4ab2625f07: Download complete 21:31:16 adcc1eea9eea: Verifying Checksum 21:31:16 adcc1eea9eea: Download complete 21:31:16 afea3b2eda06: Verifying Checksum 21:31:16 afea3b2eda06: Download complete 21:31:16 7809a108b3ef: Verifying Checksum 21:31:16 7809a108b3ef: Download complete 21:31:16 540db60ca938: Verifying Checksum 21:31:16 540db60ca938: Download complete 21:31:17 540db60ca938: Pull complete 21:31:17 adcc1eea9eea: Pull complete 21:31:17 4c4ab2625f07: Pull complete 21:31:18 f706445af74f: Verifying Checksum 21:31:18 f706445af74f: Download complete 21:31:19 0510c868ecb4: Verifying Checksum 21:31:19 0510c868ecb4: Download complete 21:31:24 0510c868ecb4: Pull complete 21:31:24 afea3b2eda06: Pull complete 21:31:24 7809a108b3ef: Pull complete 21:31:26 Still waiting to schedule task 21:31:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 21:31:27 f706445af74f: Pull complete 21:31:27 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 21:31:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:31:27 ---> b068be0155e3 21:31:27 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 21:31:28 ---> Running in 77ffad5bf834 21:31:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:31:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:31:30 (1/12) Installing libmagic (5.39-r0) 21:31:31 (2/12) Installing file (5.39-r0) 21:31:31 (3/12) Installing libc-dev (0.7.2-r3) 21:31:31 (4/12) Installing g++ (10.2.1_pre1-r3) 21:31:35 (5/12) Installing fortify-headers (1.1-r0) 21:31:35 (6/12) Installing patch (2.7.6-r6) 21:31:35 (7/12) Installing build-base (0.5-r2) 21:31:35 (8/12) Installing libsodium (1.0.18-r0) 21:31:35 (9/12) Installing pkgconf (1.7.3-r0) 21:31:35 (10/12) Installing libsodium-dev (1.0.18-r0) 21:31:35 (11/12) Installing libzmq (4.3.3-r1) 21:31:35 (12/12) Installing zeromq-dev (4.3.3-r1) 21:31:35 Executing busybox-1.32.1-r6.trigger 21:31:35 OK: 219 MiB in 52 packages 21:31:39 Removing intermediate container 77ffad5bf834 21:31:39 ---> ffc2db8a7cb1 21:31:39 Step 4/6 : WORKDIR /edgex-go 21:31:39 ---> Running in 97f2bf05e124 21:31:39 Removing intermediate container 97f2bf05e124 21:31:39 ---> 4e6d8d8c4860 21:31:39 Step 5/6 : COPY go.mod . 21:31:39 ---> 88de0d70c873 21:31:39 Step 6/6 : RUN go mod download 21:31:39 ---> Running in 045e99101841 21:32:01 Removing intermediate container 045e99101841 21:32:01 ---> 2d714e00e266 21:32:01 Successfully built 2d714e00e266 21:32:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:32:01 + docker inspect -f . ci-base-image-x86_64 21:32:01 . [Pipeline] withDockerContainer 21:32:01 prd-centos7-docker-4c-2g-2788 does not seem to be running inside a container 21:32:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:32:02 $ docker top 27553ec7228d2d93276770fe8cf6590ee2227a735ef02ec7ac3b0292d4222c38 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:03 + go version 21:32:03 go version go1.16.3 linux/amd64 [Pipeline] } 21:32:03 $ docker stop --time=1 27553ec7228d2d93276770fe8cf6590ee2227a735ef02ec7ac3b0292d4222c38 21:32:04 $ docker rm -f 27553ec7228d2d93276770fe8cf6590ee2227a735ef02ec7ac3b0292d4222c38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:32:04 + docker inspect -f . ci-base-image-x86_64 21:32:04 . [Pipeline] withDockerContainer 21:32:05 prd-centos7-docker-4c-2g-2788 does not seem to be running inside a container 21:32:05 $ 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/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:32:06 $ docker top a12cd984fd74072fc33143b47c04acf2b41cbc1c81950e78d32b619908a8d62c -eo pid,comm [Pipeline] { [Pipeline] echo 21:32:06 ========================================================= 21:32:06 [edgeXBuildGoParallel] Running Tests and Build... 21:32:06 ========================================================= [Pipeline] sh 21:32:06 + go mod tidy [Pipeline] sh 21:32:08 + make test 21:32:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:32:16 ? github.com/edgexfoundry/edgex-go [no test files] 21:32:34 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:32:41 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:32:41 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:32:41 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:32:44 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:32:44 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:32:44 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:32:44 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:32:45 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:32:45 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:32:49 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:32:49 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:32:49 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:32:50 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.127s coverage: 45.9% of statements 21:32:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:32:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:32:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:32:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:32:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:32:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 21:32:50 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.056s coverage: 19.8% of statements 21:32:50 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.082s coverage: 100.0% of statements 21:32:53 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.156s coverage: 27.1% of statements 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:32:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.063s coverage: 100.0% of statements 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:32:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.072s coverage: 100.0% of statements 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:32:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.074s coverage: 71.3% of statements 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:32:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.154s coverage: 87.7% of statements 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:32:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.076s coverage: 78.9% of statements 21:32:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.331s coverage: 28.6% of statements 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.089s coverage: 100.0% of statements 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.062s coverage: 100.0% of statements 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.156s coverage: 86.7% of statements 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.145s coverage: 97.5% of statements 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.089s coverage: 78.3% of statements 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.379s coverage: 95.1% of statements 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.048s coverage: 58.8% of statements 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.058s coverage: 0.9% of statements 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.094s coverage: 22.6% of statements 21:32:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.080s coverage: 47.1% of statements 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.072s coverage: 79.5% of statements 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.043s coverage: 94.1% of statements 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.071s coverage: 96.3% of statements 21:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.064s coverage: 87.5% of statements 21:33:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements 21:33:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements 21:33:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.255s coverage: 81.8% of statements 21:33:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:33:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2789 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 21:33:16 Running in /w/workspace/edgex-go/52 [Pipeline] { [Pipeline] checkout 21:33:21 using credential edgex-jenkins-ssh 21:33:21 Cloning the remote Git repository 21:33:21 Cloning repository git@github.com:edgexfoundry/edgex-go.git 21:33:21 > git init /w/workspace/edgex-go/52 # timeout=10 21:33:22 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:33:22 > git --version # timeout=10 21:33:22 > git --version # 'git version 2.17.1' 21:33:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.083s coverage: 92.9% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.044s coverage: 87.2% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.042s coverage: 100.0% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 76.7% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.0% of statements 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.084s coverage: 87.2% of statements 21:33:22 flag provided but not defined: -badarg 21:33:22 Usage of oauth2: 21:33:22 -client_id string 21:33:22 Optional manually-specified OAuth2 client_id. Will be generated if not present. Equivalent to a username. 21:33:22 -client_secret string 21:33:22 Optional manually-specified OAuth2 client_secret. Will be generated if not present. Equivalent to a password. 21:33:22 -confdir string 21:33:22 21:33:22 -jwt string 21:33:22 The JWT for use when accessing the Kong Admin API 21:33:22 flag provided but not defined: -admin_api_jwt 21:33:22 Usage of oauth2: 21:33:22 -client_id string 21:33:22 Optional manually-specified OAuth2 client_id. Will be generated if not present. Equivalent to a username. 21:33:22 -client_secret string 21:33:22 Optional manually-specified OAuth2 client_secret. Will be generated if not present. Equivalent to a password. 21:33:22 -confdir string 21:33:22 21:33:22 -jwt string 21:33:22 The JWT for use when accessing the Kong Admin API 21:33:22 --- FAIL: TestOauth2Generate (0.00s) 21:33:22 command_test.go:85: 21:33:22 Error Trace: command_test.go:85 21:33:22 Error: Received unexpected error: 21:33:22 unable to parse command: --client_id myid --client_secret mysecret --admin_api_jwt randomJWT: flag provided but not defined: -admin_api_jwt 21:33:22 Test: TestOauth2Generate 21:33:22 FAIL 21:33:22 coverage: 39.0% of statements 21:33:22 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.036s 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.091s coverage: 91.2% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.179s coverage: 64.4% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.045s coverage: 100.0% of statements 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.043s coverage: 91.3% of statements 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.034s coverage: 100.0% of statements 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.038s coverage: 73.7% of statements 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.265s coverage: 62.9% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.156s coverage: 43.4% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.040s coverage: 89.5% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.041s coverage: 84.8% of statements 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.130s coverage: 47.0% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.057s coverage: 100.0% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.045s coverage: 100.0% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.056s coverage: 9.6% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 21:33:22 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.142s coverage: 92.6% of statements 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 21:33:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 21:33:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.770s coverage: 28.7% of statements 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 21:33:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.061s coverage: 99.0% of statements 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 21:33:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.062s coverage: 100.0% of statements 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 21:33:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.080s coverage: 64.6% of statements 21:33:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 21:33:24 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.141s coverage: 97.6% of statements 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 21:33:24 ok github.com/edgexfoundry/edgex-go/internal/system 0.022s coverage: 0.0% of statements 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:33:24 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.025s coverage: 100.0% of statements 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 21:33:24 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.038s coverage: 87.9% of statements 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:33:24 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.025s coverage: 100.0% of statements 21:33:24 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.044s coverage: 28.1% of statements 21:33:24 ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2 [no test files] 21:33:24 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.042s coverage: 100.0% of statements 21:33:24 FAIL 21:33:25 make: *** [Makefile:94: test] Error 1 [Pipeline] } 21:33:25 $ docker stop --time=1 a12cd984fd74072fc33143b47c04acf2b41cbc1c81950e78d32b619908a8d62c 21:33:27 $ docker rm -f a12cd984fd74072fc33143b47c04acf2b41cbc1c81950e78d32b619908a8d62c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:33:27 Failed in branch amd64 21:33:38 Merging remotes/origin/master commit 576eddb6d79f77bc7b799d46a5f981c8da166ab0 into PR head commit 2594bee74045017d0c698aa8ada218c377016b7d 21:33:37 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:33:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:37 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:33:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:33:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:37 > 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 21:33:39 Merge succeeded, producing 2594bee74045017d0c698aa8ada218c377016b7d 21:33:39 Checking out Revision 2594bee74045017d0c698aa8ada218c377016b7d (PR-3328) 21:33:38 > git config core.sparsecheckout # timeout=10 21:33:38 > git checkout -f 2594bee74045017d0c698aa8ada218c377016b7d # timeout=10 21:33:39 > git remote # timeout=10 21:33:39 > git config --get remote.origin.url # timeout=10 21:33:39 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:39 > git merge 576eddb6d79f77bc7b799d46a5f981c8da166ab0 # timeout=10 21:33:39 > git rev-parse HEAD^{commit} # timeout=10 21:33:39 > git config core.sparsecheckout # timeout=10 21:33:39 > git checkout -f 2594bee74045017d0c698aa8ada218c377016b7d # timeout=10 21:33:43 Commit message: "feat(security): Secure Kong Admin API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:33:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:33:45 + sudo service docker restart 21:33:45 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:33:47 provisioning config files... 21:33:47 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/52@tmp/config7647620113329141352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:48 ---> docker-login.sh 21:33:48 nexus3.edgexfoundry.org:10001 21:33:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:49 Configure a credential helper to remove this warning. See 21:33:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:49 21:33:49 Login Succeeded 21:33:49 nexus3.edgexfoundry.org:10002 21:33:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:50 Configure a credential helper to remove this warning. See 21:33:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:50 21:33:50 Login Succeeded 21:33:50 nexus3.edgexfoundry.org:10003 21:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:50 Configure a credential helper to remove this warning. See 21:33:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:50 21:33:50 Login Succeeded 21:33:50 nexus3.edgexfoundry.org:10004 21:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:51 Configure a credential helper to remove this warning. See 21:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:51 21:33:51 Login Succeeded 21:33:51 docker.io 21:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:51 Configure a credential helper to remove this warning. See 21:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:51 21:33:51 Login Succeeded 21:33:51 ---> docker-login.sh ends [Pipeline] } 21:33:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:33:51 ========================================================= 21:33:51 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:33:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:33:52 + 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 . 21:33:54 Sending build context to Docker daemon 167.6MB 21:33:54 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 21:33:54 Step 2/6 : FROM ${BASE} 21:33:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:33:54 595b0fe564bb: Pulling fs layer 21:33:54 7186ed65a4f7: Pulling fs layer 21:33:54 316046926c0a: Pulling fs layer 21:33:54 4ebd0625c992: Pulling fs layer 21:33:54 207e8628e3a3: Pulling fs layer 21:33:54 c791037a9be2: Pulling fs layer 21:33:54 ffd874e62e21: Pulling fs layer 21:33:54 c791037a9be2: Waiting 21:33:54 ffd874e62e21: Waiting 21:33:54 4ebd0625c992: Waiting 21:33:54 207e8628e3a3: Waiting 21:33:54 316046926c0a: Verifying Checksum 21:33:54 316046926c0a: Download complete 21:33:54 7186ed65a4f7: Download complete 21:33:54 207e8628e3a3: Verifying Checksum 21:33:54 207e8628e3a3: Download complete 21:33:54 c791037a9be2: Verifying Checksum 21:33:54 595b0fe564bb: Verifying Checksum 21:33:54 595b0fe564bb: Download complete 21:33:54 c791037a9be2: Download complete 21:33:55 595b0fe564bb: Pull complete 21:33:56 7186ed65a4f7: Pull complete 21:33:56 316046926c0a: Pull complete 21:33:56 ffd874e62e21: Verifying Checksum 21:33:56 ffd874e62e21: Download complete 21:33:58 4ebd0625c992: Verifying Checksum 21:33:58 4ebd0625c992: Download complete 21:34:08 4ebd0625c992: Pull complete 21:34:09 207e8628e3a3: Pull complete 21:34:09 c791037a9be2: Pull complete 21:34:13 ffd874e62e21: Pull complete 21:34:13 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 21:34:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:34:13 ---> cfc18b08335c 21:34:13 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 21:34:16 ---> Running in c811086823e7 21:34:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 21:34:18 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 21:34:19 (1/12) Installing libmagic (5.39-r0) 21:34:19 (2/12) Installing file (5.39-r0) 21:34:20 (3/12) Installing libc-dev (0.7.2-r3) 21:34:20 (4/12) Installing g++ (10.2.1_pre1-r3) 21:34:25 (5/12) Installing fortify-headers (1.1-r0) 21:34:25 (6/12) Installing patch (2.7.6-r6) 21:34:25 (7/12) Installing build-base (0.5-r2) 21:34:25 (8/12) Installing libsodium (1.0.18-r0) 21:34:25 (9/12) Installing pkgconf (1.7.3-r0) 21:34:25 (10/12) Installing libsodium-dev (1.0.18-r0) 21:34:25 (11/12) Installing libzmq (4.3.3-r1) 21:34:26 (12/12) Installing zeromq-dev (4.3.3-r1) 21:34:26 Executing busybox-1.32.1-r6.trigger 21:34:26 OK: 218 MiB in 52 packages 21:34:30 Removing intermediate container c811086823e7 21:34:30 ---> 9d8cd235825d 21:34:30 Step 4/6 : WORKDIR /edgex-go 21:34:30 ---> Running in a603cdac5581 21:34:30 Removing intermediate container a603cdac5581 21:34:30 ---> 2c9b592b9bc9 21:34:30 Step 5/6 : COPY go.mod . 21:34:31 ---> 4cc2e3ba21fc 21:34:31 Step 6/6 : RUN go mod download 21:34:31 ---> Running in 0764a460e8b4 21:34:58 Removing intermediate container 0764a460e8b4 21:34:58 ---> d311cc5525d8 21:34:58 Successfully built d311cc5525d8 21:34:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:34:58 + docker inspect -f . ci-base-image-arm64 21:34:58 . [Pipeline] withDockerContainer 21:34:58 prd-ubuntu18.04-docker-arm64-4c-16g-2789 does not seem to be running inside a container 21:34:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:35:00 $ docker top 112815677e9157954e4522e52e5f77f4c74a071e8fba5869ee37affb6872ae9f -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:01 + go version 21:35:01 go version go1.16.3 linux/arm64 [Pipeline] } 21:35:01 $ docker stop --time=1 112815677e9157954e4522e52e5f77f4c74a071e8fba5869ee37affb6872ae9f 21:35:03 $ docker rm -f 112815677e9157954e4522e52e5f77f4c74a071e8fba5869ee37affb6872ae9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:35:04 + docker inspect -f . ci-base-image-arm64 21:35:04 . [Pipeline] withDockerContainer 21:35:04 prd-ubuntu18.04-docker-arm64-4c-16g-2789 does not seem to be running inside a container 21:35:04 $ 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/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:35:05 $ docker top 26e129e506bc39c9bb5902c03280323b167e7120b058e6bcfaa0fe97042f4948 -eo pid,comm [Pipeline] { [Pipeline] echo 21:35:06 ========================================================= 21:35:06 [edgeXBuildGoParallel] Running Tests and Build... 21:35:06 ========================================================= [Pipeline] sh 21:35:06 + go mod tidy [Pipeline] sh 21:35:08 + make test 21:35:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:35:35 ? github.com/edgexfoundry/edgex-go [no test files] 21:36:31 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:36:38 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:36:48 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:36:48 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:36:51 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:36:52 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:36:52 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:36:52 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:36:56 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:36:57 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:37:07 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:37:07 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:37:07 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:37:10 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.325s coverage: 45.9% of statements 21:37:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:37:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:37:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 21:37:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 21:37:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 21:37:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 21:37:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.118s coverage: 19.8% of statements 21:37:11 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.264s coverage: 100.0% of statements 21:37:19 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.671s coverage: 27.1% of statements 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:37:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.116s coverage: 100.0% of statements 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 21:37:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.263s coverage: 100.0% of statements 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 21:37:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.244s coverage: 71.3% of statements 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 21:37:19 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 21:37:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.546s coverage: 87.7% of statements 21:37:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 21:37:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 21:37:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.193s coverage: 78.9% of statements 21:37:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 21:37:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.144s coverage: 28.6% of statements 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 21:37:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.296s coverage: 100.0% of statements 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 21:37:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.127s coverage: 100.0% of statements 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 21:37:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.381s coverage: 86.7% of statements 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 21:37:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.449s coverage: 97.5% of statements 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 21:37:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.255s coverage: 78.3% of statements 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 21:37:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.235s coverage: 95.1% of statements 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.107s coverage: 58.8% of statements 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.226s coverage: 0.9% of statements 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.191s coverage: 22.6% of statements 21:37:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.187s coverage: 47.1% of statements 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.157s coverage: 79.5% of statements 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.186s coverage: 94.1% of statements 21:37:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.193s coverage: 96.3% of statements 21:37:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.143s coverage: 87.5% of statements 21:37:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.161s coverage: 94.4% of statements 21:37:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.128s coverage: 44.8% of statements 21:37:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.598s coverage: 81.8% of statements 21:37:56 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.189s coverage: 92.9% of statements 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.081s coverage: 87.2% of statements 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.108s coverage: 100.0% of statements 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.141s coverage: 76.7% of statements 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.158s coverage: 80.0% of statements 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.189s coverage: 87.2% of statements 21:38:03 flag provided but not defined: -badarg 21:38:03 Usage of oauth2: 21:38:03 -client_id string 21:38:03 Optional manually-specified OAuth2 client_id. Will be generated if not present. Equivalent to a username. 21:38:03 -client_secret string 21:38:03 Optional manually-specified OAuth2 client_secret. Will be generated if not present. Equivalent to a password. 21:38:03 -confdir string 21:38:03 21:38:03 -jwt string 21:38:03 The JWT for use when accessing the Kong Admin API 21:38:03 flag provided but not defined: -admin_api_jwt 21:38:03 Usage of oauth2: 21:38:03 -client_id string 21:38:03 Optional manually-specified OAuth2 client_id. Will be generated if not present. Equivalent to a username. 21:38:03 -client_secret string 21:38:03 Optional manually-specified OAuth2 client_secret. Will be generated if not present. Equivalent to a password. 21:38:03 -confdir string 21:38:03 21:38:03 -jwt string 21:38:03 The JWT for use when accessing the Kong Admin API 21:38:03 --- FAIL: TestOauth2Generate (0.01s) 21:38:03 command_test.go:85: 21:38:03 Error Trace: command_test.go:85 21:38:03 Error: Received unexpected error: 21:38:03 unable to parse command: --client_id myid --client_secret mysecret --admin_api_jwt randomJWT: flag provided but not defined: -admin_api_jwt 21:38:03 Test: TestOauth2Generate 21:38:03 FAIL 21:38:03 coverage: 39.0% of statements 21:38:03 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.129s 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.240s coverage: 91.2% of statements 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.589s coverage: 64.4% of statements 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:38:03 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.122s coverage: 100.0% of statements 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.085s coverage: 91.3% of statements 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.094s coverage: 100.0% of statements 21:38:03 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.111s coverage: 73.7% of statements 21:38:05 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.065s coverage: 100.0% of statements 21:38:07 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.868s coverage: 62.9% of statements 21:38:07 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:38:07 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:38:07 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.637s coverage: 43.4% of statements 21:38:09 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:38:09 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.121s coverage: 89.5% of statements 21:38:09 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.102s coverage: 84.8% of statements 21:38:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.487s coverage: 47.0% of statements 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 21:38:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.183s coverage: 100.0% of statements 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 21:38:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.115s coverage: 100.0% of statements 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 21:38:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.182s coverage: 9.6% of statements 21:38:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 21:38:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.489s coverage: 92.6% of statements 21:38:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 21:38:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 21:38:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.390s coverage: 28.7% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.185s coverage: 99.0% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.167s coverage: 100.0% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.220s coverage: 64.6% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.406s coverage: 97.6% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/system 0.046s coverage: 0.0% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.058s coverage: 100.0% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.088s coverage: 87.9% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.122s coverage: 28.1% of statements 21:38:26 ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2 [no test files] 21:38:26 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements 21:38:26 FAIL 21:38:26 make: *** [Makefile:94: test] Error 1 [Pipeline] } 21:38:26 $ docker stop --time=1 26e129e506bc39c9bb5902c03280323b167e7120b058e6bcfaa0fe97042f4948 21:38:29 $ docker rm -f 26e129e506bc39c9bb5902c03280323b167e7120b058e6bcfaa0fe97042f4948 [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 21:38:30 ---> job-cost.sh 21:38:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yk8w 21:39:09 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 21:40:31 lf-activate-venv(): INFO: Adding /tmp/venv-yk8w/bin to PATH 21:40:31 INFO: No Stack... 21:40:31 INFO: Retrieving Pricing Info for: lf-standard-4 21:40:31 INFO: Archiving Costs [Pipeline] sh 21:40:32 + cat /w/workspace/edgex-go/52/archives/cost.csv 21:40:32 + cut -d, -f6 [Pipeline] lock 21:40:32 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-52-stack-cost] 21:40:32 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-52-stack-cost] did not exist. Created. 21:40:32 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:32 + echo total: 0.20999999344348907 [Pipeline] stash 21:40:33 Stashed 1 file(s) [Pipeline] } 21:40:33 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-52-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:40:33 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 21:40:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:40:35 ---> package-listing.sh 21:40:35 ++ facter osfamily 21:40:35 ++ tr '[:upper:]' '[:lower:]' 21:40:35 + OS_FAMILY=redhat 21:40:35 + workspace=/w/workspace/edgex-go/52 21:40:35 + START_PACKAGES=/tmp/packages_start.txt 21:40:35 + END_PACKAGES=/tmp/packages_end.txt 21:40:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:40:35 + PACKAGES=/tmp/packages_start.txt 21:40:35 + '[' /w/workspace/edgex-go/52 ']' 21:40:35 + PACKAGES=/tmp/packages_end.txt 21:40:35 + case "${OS_FAMILY}" in 21:40:35 + rpm -qa 21:40:35 + sort 21:40:41 + '[' -f /tmp/packages_start.txt ']' 21:40:41 + '[' -f /tmp/packages_end.txt ']' 21:40:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:40:41 + '[' /w/workspace/edgex-go/52 ']' 21:40:41 + mkdir -p /w/workspace/edgex-go/52/archives/ 21:40:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/52/archives/ [Pipeline] echo 21:40:41 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/52/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:40:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:40:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:40:41 21:40:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:40:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:40:42 alpine: Pulling from edgex-lftools-log-publisher 21:40:42 df20fa9351a1: Pulling fs layer 21:40:42 36b3adc4ff6f: Pulling fs layer 21:40:42 8ad3a11d3b57: Pulling fs layer 21:40:42 46f8f816bc3b: Pulling fs layer 21:40:42 93b61091891f: Pulling fs layer 21:40:42 93b9cdb0e59b: Pulling fs layer 21:40:42 5e14af77c1be: Pulling fs layer 21:40:42 01666e4c0597: Pulling fs layer 21:40:42 aa168da1d23b: Pulling fs layer 21:40:42 46f8f816bc3b: Waiting 21:40:42 01666e4c0597: Waiting 21:40:42 aa168da1d23b: Waiting 21:40:42 93b61091891f: Waiting 21:40:42 93b9cdb0e59b: Waiting 21:40:42 5e14af77c1be: Waiting 21:40:42 36b3adc4ff6f: Verifying Checksum 21:40:42 36b3adc4ff6f: Download complete 21:40:42 46f8f816bc3b: Verifying Checksum 21:40:42 df20fa9351a1: Verifying Checksum 21:40:42 df20fa9351a1: Download complete 21:40:42 93b9cdb0e59b: Verifying Checksum 21:40:42 93b9cdb0e59b: Download complete 21:40:42 5e14af77c1be: Verifying Checksum 21:40:42 5e14af77c1be: Download complete 21:40:42 93b61091891f: Verifying Checksum 21:40:42 93b61091891f: Download complete 21:40:42 01666e4c0597: Verifying Checksum 21:40:42 01666e4c0597: Download complete 21:40:42 8ad3a11d3b57: Verifying Checksum 21:40:42 8ad3a11d3b57: Download complete 21:40:42 df20fa9351a1: Pull complete 21:40:42 36b3adc4ff6f: Pull complete 21:40:43 8ad3a11d3b57: Pull complete 21:40:43 46f8f816bc3b: Pull complete 21:40:44 93b61091891f: Pull complete 21:40:44 93b9cdb0e59b: Pull complete 21:40:44 aa168da1d23b: Verifying Checksum 21:40:44 aa168da1d23b: Download complete 21:40:44 5e14af77c1be: Pull complete 21:40:44 01666e4c0597: Pull complete 21:40:51 aa168da1d23b: Pull complete 21:40:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:40:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:40:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:40:51 prd-centos7-docker-4c-2g-2788 does not seem to be running inside a container 21:40:51 $ 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/52/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/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:40:54 $ docker top a9dd534e748fa8648a54e5afc8ea90c7e499cfc30cb8609332565b0e6b45b4f3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:55 + touch /tmp/pre-build-complete [Pipeline] sh 21:40:55 + mkdir -p /var/log/sa [Pipeline] sh 21:40:55 + ls /var/log/sa-host 21:40:55 + sadf -c /var/log/sa-host/sa03 21:40:55 file_magic: OK 21:40:55 HZ: Using current value: 100 21:40:55 file_header: OK 21:40:55 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:40:55 Statistics: 21:40:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:40:55 File successfully converted to sysstat format version 12.2.1 21:40:55 + sadf -c /var/log/sa-host/sa23 21:40:55 file_magic: OK 21:40:55 HZ: Using current value: 100 21:40:55 file_header: OK 21:40:55 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:40:55 Statistics: 21:40:55 Hnuu...uuuununununu... 21:40:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:56 provisioning config files... 21:40:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/52@tmp/config1537391928733540433tmp [Pipeline] { [Pipeline] echo 21:40:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:40:56 ---> create-netrc.sh [Pipeline] } 21:40:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:40:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:40:57 ---> python-tools-install.sh [Pipeline] echo 21:40:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:40:57 ---> sudo-logs.sh 21:40:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:40:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:40:57 ---> job-cost.sh 21:40:57 lf-activate-venv: SKIPPING 21:40:57 DEBUG: total: 0.20999999344348907 21:40:57 INFO: Retrieving Stack Cost... 21:40:58 INFO: Retrieving Pricing Info for: v1-standard-2 21:40:58 INFO: Archiving Costs [Pipeline] echo 21:40:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:40:59 ---> logs-deploy.sh 21:40:59 lf-activate-venv: SKIPPING 21:40:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/52 21:40:59 INFO: archiving workspace using pattern(s): 21:41:00 Archives upload complete. 21:41:00 INFO: archiving logs to Nexus