Branch indexing 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 65a1ad8836fac6fe6d7e576d1f355fc517d369bc rather than 0d185f246ac2f257619a2d6a5df204d504169ab1 Obtained Jenkinsfile from 65a1ad8836fac6fe6d7e576d1f355fc517d369bc 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cf598ef4eee878cf4fd68936879ff849bf9f782f # timeout=10 Commit message: "Merge pull request #334 from ernestojeda/archives-permissions" > 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.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-2304’ is offline Running on prd-centos7-docker-4c-2g-2309 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/46 [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/46 # 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 65a1ad8836fac6fe6d7e576d1f355fc517d369bc into PR head commit 0d185f246ac2f257619a2d6a5df204d504169ab1 Merge succeeded, producing beec88f6d3ad019a4937279f463a23b901ca5b9c Checking out Revision beec88f6d3ad019a4937279f463a23b901ca5b9c (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d185f246ac2f257619a2d6a5df204d504169ab1 # 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 65a1ad8836fac6fe6d7e576d1f355fc517d369bc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f beec88f6d3ad019a4937279f463a23b901ca5b9c # timeout=10 Commit message: "Merge commit '65a1ad8836fac6fe6d7e576d1f355fc517d369bc' into HEAD" > git rev-list --no-walk 0d185f246ac2f257619a2d6a5df204d504169ab1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:31:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:31:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:31:51 ========================================================= 08:31:51 EdgeX Global Pipelines Version Info 08:31:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:31:54 ------------------- 08:31:54 stable info: 08:31:54 ------------------- 08:31:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:31:54 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 08:31:54 Message: update stable to v1.0.190 08:31:54 ------------------- 08:31:54 experimental info: 08:31:54 ------------------- 08:31:54 Commited By: **** collab-it+edgex@linuxfoundation.org 08:31:54 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 08:31:54 Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:31:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:31:54 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = beec88f6d3ad019a4937279f463a23b901ca5b9c [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = beec88f [Pipeline] echo 08:31:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:31:55 provisioning config files... 08:31:55 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/46@tmp/config8564364825114489124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:56 ---> docker-login.sh 08:31:56 nexus3.edgexfoundry.org:10001 08:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:57 Configure a credential helper to remove this warning. See 08:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:57 08:31:57 Login Succeeded 08:31:57 nexus3.edgexfoundry.org:10002 08:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:57 Configure a credential helper to remove this warning. See 08:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:57 08:31:57 Login Succeeded 08:31:57 nexus3.edgexfoundry.org:10003 08:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:58 Configure a credential helper to remove this warning. See 08:31:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:58 08:31:58 Login Succeeded 08:31:58 nexus3.edgexfoundry.org:10004 08:31:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:58 Configure a credential helper to remove this warning. See 08:31:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:58 08:31:58 Login Succeeded 08:31:58 docker.io 08:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:59 Configure a credential helper to remove this warning. See 08:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:59 08:31:59 Login Succeeded 08:31:59 ---> docker-login.sh ends [Pipeline] } 08:31:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:00 ++ 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 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ dirname cmd/core-command/Dockerfile 08:32:00 ++ cut -d/ -f2 08:32:00 + echo core-command,cmd/core-command/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ dirname cmd/core-data/Dockerfile 08:32:00 ++ cut -d/ -f2 08:32:00 + echo core-data,cmd/core-data/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ cut -d/ -f2 08:32:00 ++ dirname cmd/core-metadata/Dockerfile 08:32:00 + echo core-metadata,cmd/core-metadata/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ dirname cmd/security-bootstrapper/Dockerfile 08:32:00 ++ cut -d/ -f2 08:32:00 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ dirname cmd/security-proxy-setup/Dockerfile 08:32:00 ++ cut -d/ -f2 08:32:00 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ dirname cmd/security-secretstore-setup/Dockerfile 08:32:00 ++ cut -d/ -f2 08:32:00 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ cut -d/ -f2 08:32:00 ++ dirname cmd/support-notifications/Dockerfile 08:32:00 + echo support-notifications,cmd/support-notifications/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ dirname cmd/support-scheduler/Dockerfile 08:32:00 ++ cut -d/ -f2 08:32:00 + echo support-scheduler,cmd/support-scheduler/Dockerfile 08:32:00 + for file in '`ls cmd/**/Dockerfile`' 08:32:00 ++ dirname cmd/sys-mgmt-agent/Dockerfile 08:32:00 ++ cut -d/ -f2 08:32:00 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 08:32:00 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 08:32:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:00 08:32:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:32:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:01 latest: Pulling from edgex-devops/git-semver 08:32:01 31603596830f: Pulling fs layer 08:32:01 54011a49482f: Pulling fs layer 08:32:01 a6820b24f6d8: Pulling fs layer 08:32:01 f581987b2513: Pulling fs layer 08:32:01 f581987b2513: Waiting 08:32:01 54011a49482f: Verifying Checksum 08:32:01 54011a49482f: Download complete 08:32:01 31603596830f: Verifying Checksum 08:32:01 31603596830f: Download complete 08:32:01 f581987b2513: Verifying Checksum 08:32:01 f581987b2513: Download complete 08:32:02 a6820b24f6d8: Verifying Checksum 08:32:02 a6820b24f6d8: Download complete 08:32:02 31603596830f: Pull complete 08:32:03 54011a49482f: Pull complete 08:32:06 a6820b24f6d8: Pull complete 08:32:06 f581987b2513: Pull complete 08:32:06 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:32:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:32:07 prd-centos7-docker-4c-2g-2309 does not seem to be running inside a container 08:32:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/46 -v /w/workspace/edgex-go/46:/w/workspace/edgex-go/46:rw,z -v /w/workspace/edgex-go/46@tmp:/w/workspace/edgex-go/46@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 08:32:11 $ docker top c8b0df3703ec33e9e9e0be40ab01acf129a236540c8dd9823886b33511fa4393 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:11 [ssh-agent] Looking for ssh-agent implementation... 08:32:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:11 $ docker exec c8b0df3703ec33e9e9e0be40ab01acf129a236540c8dd9823886b33511fa4393 ssh-agent 08:32:11 SSH_AUTH_SOCK=/tmp/ssh-kTz5NqZA7amN/agent.12 08:32:11 SSH_AGENT_PID=17 08:32:11 Running ssh-add (command line suppressed) 08:32:12 Identity added: /w/workspace/edgex-go/46@tmp/private_key_1308831284914047216.key (/w/workspace/edgex-go/46@tmp/private_key_1308831284914047216.key) 08:32:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:12 + git tag --points-at HEAD [Pipeline] } 08:32:12 $ docker exec --env ******** --env ******** c8b0df3703ec33e9e9e0be40ab01acf129a236540c8dd9823886b33511fa4393 ssh-agent -k 08:32:13 unset SSH_AUTH_SOCK; 08:32:13 unset SSH_AGENT_PID; 08:32:13 echo Agent pid 17 killed; 08:32:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:32:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:13 [ssh-agent] Looking for ssh-agent implementation... 08:32:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:13 $ docker exec c8b0df3703ec33e9e9e0be40ab01acf129a236540c8dd9823886b33511fa4393 ssh-agent 08:32:14 SSH_AUTH_SOCK=/tmp/ssh-t4gAIWwm0eUs/agent.45 08:32:14 SSH_AGENT_PID=50 08:32:14 Running ssh-add (command line suppressed) 08:32:14 Identity added: /w/workspace/edgex-go/46@tmp/private_key_1689093034580535722.key (/w/workspace/edgex-go/46@tmp/private_key_1689093034580535722.key) 08:32:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:14 + git semver init 08:32:14 # -> Open(): unable to determine branch for HEAD 08:32:14 # $GIT_DIR = /w/workspace/edgex-go/46/.git 08:32:14 # $GIT_WORK_TREE = /w/workspace/edgex-go/46 08:32:14 # $SEMVER_REMOTE_NAME = origin 08:32:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:32:14 # $SEMVER_USER_NAME = edgex-jenkins 08:32:14 # $SEMVER_BRANCH = PR-3328 08:32:14 # $SEMVER_TEMP = /tmp/semver-011808085 08:32:14 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 08:32:54 # '/tmp/semver-011808085' -> '/w/workspace/edgex-go/46/.semver' 08:32:55 # -> Force: false 08:32:55 # $SEMVER_DIR = /w/workspace/edgex-go/46/.semver [Pipeline] } 08:32:55 $ docker exec --env ******** --env ******** c8b0df3703ec33e9e9e0be40ab01acf129a236540c8dd9823886b33511fa4393 ssh-agent -k 08:32:56 unset SSH_AUTH_SOCK; 08:32:56 unset SSH_AGENT_PID; 08:32:56 echo Agent pid 50 killed; 08:32:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:57 + git semver [Pipeline] } 08:32:57 $ docker stop --time=1 c8b0df3703ec33e9e9e0be40ab01acf129a236540c8dd9823886b33511fa4393 08:32:59 $ docker rm -f c8b0df3703ec33e9e9e0be40ab01acf129a236540c8dd9823886b33511fa4393 [Pipeline] // withDockerContainer [Pipeline] sh 08:33:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:33:02 Stashed 1 file(s) [Pipeline] echo 08:33:02 [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 08:33:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:33:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:33:03 + sudo service docker restart 08:33:03 + true 08:33:03 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 08:33:04 ========================================================= 08:33:04 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:33:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:33:05 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:33:14 Sending build context to Docker daemon 329.8MB 08:33:14 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 08:33:14 Step 2/6 : FROM ${BASE} 08:33:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:33:14 188c0c94c7c5: Pulling fs layer 08:33:14 0ef7d3d256c8: Pulling fs layer 08:33:14 de9db76c5a1d: Pulling fs layer 08:33:14 bca2f99d35d6: Pulling fs layer 08:33:14 93359f2a8cfa: Pulling fs layer 08:33:14 7c6f9722023f: Pulling fs layer 08:33:14 a35cf1a2eb13: Pulling fs layer 08:33:14 bca2f99d35d6: Waiting 08:33:14 93359f2a8cfa: Waiting 08:33:14 7c6f9722023f: Waiting 08:33:14 a35cf1a2eb13: Waiting 08:33:14 de9db76c5a1d: Verifying Checksum 08:33:14 de9db76c5a1d: Download complete 08:33:14 0ef7d3d256c8: Download complete 08:33:14 93359f2a8cfa: Download complete 08:33:14 7c6f9722023f: Verifying Checksum 08:33:14 7c6f9722023f: Download complete 08:33:14 188c0c94c7c5: Verifying Checksum 08:33:14 188c0c94c7c5: Download complete 08:33:15 188c0c94c7c5: Pull complete 08:33:16 0ef7d3d256c8: Pull complete 08:33:16 de9db76c5a1d: Pull complete 08:33:17 Still waiting to schedule task 08:33:17 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:33:20 a35cf1a2eb13: Verifying Checksum 08:33:20 a35cf1a2eb13: Download complete 08:33:21 bca2f99d35d6: Verifying Checksum 08:33:21 bca2f99d35d6: Download complete 08:33:37 bca2f99d35d6: Pull complete 08:33:37 93359f2a8cfa: Pull complete 08:33:37 7c6f9722023f: Pull complete 08:33:44 a35cf1a2eb13: Pull complete 08:33:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:33:44 ---> a62c8e92a672 08:33:44 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 08:33:44 ---> Running in 25ed952da169 08:33:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:33:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:33:46 (1/12) Installing libmagic (5.38-r0) 08:33:46 (2/12) Installing file (5.38-r0) 08:33:46 (3/12) Installing libc-dev (0.7.2-r3) 08:33:46 (4/12) Installing g++ (9.3.0-r2) 08:33:53 (5/12) Installing fortify-headers (1.1-r0) 08:33:53 (6/12) Installing patch (2.7.6-r6) 08:33:53 (7/12) Installing build-base (0.5-r2) 08:33:53 (8/12) Installing libsodium (1.0.18-r0) 08:33:53 (9/12) Installing pkgconf (1.7.2-r0) 08:33:53 (10/12) Installing libsodium-dev (1.0.18-r0) 08:33:53 (11/12) Installing libzmq (4.3.3-r0) 08:33:53 (12/12) Installing zeromq-dev (4.3.3-r0) 08:33:53 Executing busybox-1.31.1-r19.trigger 08:33:53 OK: 233 MiB in 51 packages 08:33:59 Removing intermediate container 25ed952da169 08:33:59 ---> a31c144397d6 08:33:59 Step 4/6 : WORKDIR /edgex-go 08:33:59 ---> Running in 6e5241911ea5 08:33:59 Removing intermediate container 6e5241911ea5 08:33:59 ---> 41b70b3dc375 08:33:59 Step 5/6 : COPY go.mod . 08:33:59 ---> 39ce3d6410cb 08:33:59 Step 6/6 : RUN go mod download 08:33:59 ---> Running in 0c16d44aa398 08:34:32 Removing intermediate container 0c16d44aa398 08:34:32 ---> d801e493963c 08:34:32 Successfully built d801e493963c 08:34:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:34:33 + docker inspect -f . ci-base-image-x86_64 08:34:33 . [Pipeline] withDockerContainer 08:34:33 prd-centos7-docker-4c-2g-2309 does not seem to be running inside a container 08:34:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/46 -v /w/workspace/edgex-go/46:/w/workspace/edgex-go/46:rw,z -v /w/workspace/edgex-go/46@tmp:/w/workspace/edgex-go/46@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 08:34:36 $ docker top 1fa088c82fca0b01a747a813a0263e377e7cf7b5176a3c4fc79ad8794bdbc70a -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:36 + go version 08:34:36 go version go1.15.5 linux/amd64 [Pipeline] } 08:34:36 $ docker stop --time=1 1fa088c82fca0b01a747a813a0263e377e7cf7b5176a3c4fc79ad8794bdbc70a 08:34:38 $ docker rm -f 1fa088c82fca0b01a747a813a0263e377e7cf7b5176a3c4fc79ad8794bdbc70a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:34:39 + docker inspect -f . ci-base-image-x86_64 08:34:39 . [Pipeline] withDockerContainer 08:34:40 prd-centos7-docker-4c-2g-2309 does not seem to be running inside a container 08:34:40 $ 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/46 -v /w/workspace/edgex-go/46:/w/workspace/edgex-go/46:rw,z -v /w/workspace/edgex-go/46@tmp:/w/workspace/edgex-go/46@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 08:34:42 $ docker top 6e571b1b72f69028a0f0f104e38dc475bb2668a0c4875d95f678d4b618585f07 -eo pid,comm [Pipeline] { [Pipeline] echo 08:34:42 ========================================================= 08:34:42 [edgeXBuildGoParallel] Running Tests and Build... 08:34:42 ========================================================= [Pipeline] sh 08:34:42 + make test 08:34:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:35:06 ? github.com/edgexfoundry/edgex-go [no test files] 08:35:54 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:35:54 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:35:58 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:35:58 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:36:01 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:36:03 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:36:03 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:36:03 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:36:05 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:36:06 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:36:13 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 08:36:13 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 08:36:13 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:36:18 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.282s coverage: 45.9% of statements 08:36:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:36:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:36:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 08:36:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 08:36:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 08:36:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 08:36:18 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.089s coverage: 19.8% of statements 08:36:18 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.178s coverage: 100.0% of statements 08:36:22 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.483s coverage: 27.1% of statements 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:36:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.155s coverage: 100.0% of statements 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 08:36:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.217s coverage: 100.0% of statements 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 08:36:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 08:36:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.209s coverage: 71.3% of statements 08:36:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 08:36:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 08:36:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.293s coverage: 87.7% of statements 08:36:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 08:36:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 08:36:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.234s coverage: 78.9% of statements 08:36:25 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 08:36:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.959s coverage: 28.6% of statements 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 08:36:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.257s coverage: 100.0% of statements 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 08:36:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.154s coverage: 100.0% of statements 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 08:36:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.420s coverage: 86.7% of statements 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 08:36:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.409s coverage: 97.5% of statements 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 08:36:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.420s coverage: 78.3% of statements 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 08:36:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.930s coverage: 95.1% of statements 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.119s coverage: 58.8% of statements 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.199s coverage: 0.9% of statements 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 08:36:41 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.096s coverage: 47.1% of statements 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.200s coverage: 79.5% of statements 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.235s coverage: 94.1% of statements 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.239s coverage: 96.3% of statements 08:36:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.231s coverage: 87.5% of statements 08:36:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2320 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws 08:36:54 Running in /w/workspace/edgex-go/46 [Pipeline] { [Pipeline] checkout 08:36:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.343s coverage: 94.4% of statements 08:36:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.193s coverage: 44.8% of statements 08:36:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.824s coverage: 81.8% of statements 08:36:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:37:00 using credential edgex-jenkins-ssh 08:37:00 Cloning the remote Git repository 08:37:00 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:37:00 > git init /w/workspace/edgex-go/46 # timeout=10 08:37:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:37:00 > git --version # timeout=10 08:37:00 > git --version # 'git version 2.17.1' 08:37:00 using GIT_SSH to set credentials SSH Credentials for GitHub 08:37:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.406s coverage: 92.9% of statements 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.077s coverage: 65.1% of statements 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.262s coverage: 87.2% of statements 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.107s coverage: 100.0% of statements 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:37:07 flag provided but not defined: -badarg 08:37:07 Usage of adduser: 08:37:07 -algorithm string 08:37:07 Algorithm used for signing the JWT, RS256 or ES256 08:37:07 -client_id string 08:37:07 Optional manually-specified OAuth2 client_id. 08:37:07 -client_secret string 08:37:07 Optional manually-specified OAuth2 client_secret. 08:37:07 -confdir string 08:37:07 08:37:07 -group string 08:37:07 Group to which the user belongs, defaults to 'gateway' (default "gateway") 08:37:07 -id string 08:37:07 ID to use for linkage with JWT claim (usually the 'iss' field) 08:37:07 -jwt string 08:37:07 The file containing the JWT for use when accessing the Kong Admin API 08:37:07 -public_key string 08:37:07 Public key (in PEM format) used to validate the JWT. 08:37:07 -redirect_uris string 08:37:07 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 08:37:07 -token-type string 08:37:07 Type of token to create: jwt or oauth2 08:37:07 -user string 08:37:07 Username of the user to add 08:37:07 --- FAIL: TestAddUserJWT (0.03s) 08:37:07 command_test.go:121: 08:37:07 Error Trace: command_test.go:121 08:37:07 Error: Received unexpected error: 08:37:07 failed to read JWT file: open s0meJWT: no such file or directory 08:37:07 Test: TestAddUserJWT 08:37:07 --- FAIL: TestAddUserOAuth2 (0.01s) 08:37:07 command_test.go:193: 08:37:07 Error Trace: command_test.go:193 08:37:07 Error: Received unexpected error: 08:37:07 failed to read JWT file: open s0meJWT: no such file or directory 08:37:07 Test: TestAddUserOAuth2 08:37:07 FAIL 08:37:07 coverage: 29.5% of statements 08:37:07 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.112s 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.137s coverage: 80.0% of statements 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.179s coverage: 87.2% of statements 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.231s coverage: 85.4% of statements 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.285s coverage: 91.2% of statements 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.568s coverage: 64.4% of statements 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:37:07 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.147s coverage: 100.0% of statements 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.146s coverage: 91.3% of statements 08:37:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.038s coverage: 100.0% of statements 08:37:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.175s coverage: 73.7% of statements 08:37:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.049s coverage: 100.0% of statements 08:37:11 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.240s coverage: 62.9% of statements 08:37:11 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:37:11 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:37:11 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:37:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.519s coverage: 43.2% of statements 08:37:13 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:37:13 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:37:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.098s coverage: 89.5% of statements 08:37:13 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:37:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.075s coverage: 84.8% of statements 08:37:17 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.353s coverage: 47.0% of statements 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 08:37:17 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.199s coverage: 100.0% of statements 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 08:37:17 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.069s coverage: 100.0% of statements 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 08:37:17 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.117s coverage: 9.6% of statements 08:37:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 08:37:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.479s coverage: 92.6% of statements 08:37:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 08:37:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 08:37:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 1.572s coverage: 28.7% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.134s coverage: 99.0% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.131s coverage: 100.0% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.185s coverage: 64.6% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.295s coverage: 97.6% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/system 0.061s coverage: 0.0% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.124s coverage: 100.0% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.057s coverage: 87.9% of statements 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 08:37:25 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.071s coverage: 100.0% of statements 08:37:25 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.125s coverage: 28.1% of statements 08:37:26 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.097s coverage: 100.0% of statements 08:37:26 FAIL 08:37:27 make: *** [Makefile:94: test] Error 1 [Pipeline] } 08:37:27 $ docker stop --time=1 6e571b1b72f69028a0f0f104e38dc475bb2668a0c4875d95f678d4b618585f07 08:37:30 $ docker rm -f 6e571b1b72f69028a0f0f104e38dc475bb2668a0c4875d95f678d4b618585f07 [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] } 08:37:31 Failed in branch amd64 08:37:32 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:37:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:32 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:37:33 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:37:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:37:33 > 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 08:37:33 Merging remotes/origin/master commit 65a1ad8836fac6fe6d7e576d1f355fc517d369bc into PR head commit 0d185f246ac2f257619a2d6a5df204d504169ab1 08:37:34 Merge succeeded, producing 84bbf1c7cf30b13f59d9ce2982bd549f2949cd7d 08:37:34 Checking out Revision 84bbf1c7cf30b13f59d9ce2982bd549f2949cd7d (PR-3328) 08:37:33 > git config core.sparsecheckout # timeout=10 08:37:33 > git checkout -f 0d185f246ac2f257619a2d6a5df204d504169ab1 # timeout=10 08:37:34 > git remote # timeout=10 08:37:34 > git config --get remote.origin.url # timeout=10 08:37:34 using GIT_SSH to set credentials SSH Credentials for GitHub 08:37:34 > git merge 65a1ad8836fac6fe6d7e576d1f355fc517d369bc # timeout=10 08:37:34 > git rev-parse HEAD^{commit} # timeout=10 08:37:34 > git config core.sparsecheckout # timeout=10 08:37:34 > git checkout -f 84bbf1c7cf30b13f59d9ce2982bd549f2949cd7d # timeout=10 08:37:39 Commit message: "Merge commit '65a1ad8836fac6fe6d7e576d1f355fc517d369bc' into HEAD" 08:37:39 > git rev-list --no-walk 0d185f246ac2f257619a2d6a5df204d504169ab1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:37:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:37:42 + sudo service docker+ restart 08:37:42 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:37:44 provisioning config files... 08:37:44 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/46@tmp/config7493331515873364228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:44 ---> docker-login.sh 08:37:44 nexus3.edgexfoundry.org:10001 08:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:46 Configure a credential helper to remove this warning. See 08:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:46 08:37:46 Login Succeeded 08:37:46 nexus3.edgexfoundry.org:10002 08:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:47 Configure a credential helper to remove this warning. See 08:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:47 08:37:47 Login Succeeded 08:37:47 nexus3.edgexfoundry.org:10003 08:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:47 Configure a credential helper to remove this warning. See 08:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:47 08:37:47 Login Succeeded 08:37:47 nexus3.edgexfoundry.org:10004 08:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:48 Configure a credential helper to remove this warning. See 08:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:48 08:37:48 Login Succeeded 08:37:48 docker.io 08:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:49 Configure a credential helper to remove this warning. See 08:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:49 08:37:49 Login Succeeded 08:37:49 ---> docker-login.sh ends [Pipeline] } 08:37:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:37:49 ========================================================= 08:37:49 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:37:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:37:49 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 08:37:52 Sending build context to Docker daemon 167.5MB 08:37:52 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 08:37:52 Step 2/6 : FROM ${BASE} 08:37:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:37:52 5f621e34cdf4: Pulling fs layer 08:37:52 a4357932f1b6: Pulling fs layer 08:37:52 18c013af1878: Pulling fs layer 08:37:52 00ac8860ef70: Pulling fs layer 08:37:52 63d7cb157983: Pulling fs layer 08:37:52 b116817d02f9: Pulling fs layer 08:37:52 745a02a5169b: Pulling fs layer 08:37:52 00ac8860ef70: Waiting 08:37:52 63d7cb157983: Waiting 08:37:52 745a02a5169b: Waiting 08:37:52 b116817d02f9: Waiting 08:37:52 18c013af1878: Verifying Checksum 08:37:52 18c013af1878: Download complete 08:37:52 a4357932f1b6: Download complete 08:37:52 63d7cb157983: Verifying Checksum 08:37:52 63d7cb157983: Download complete 08:37:52 b116817d02f9: Verifying Checksum 08:37:52 b116817d02f9: Download complete 08:37:52 5f621e34cdf4: Verifying Checksum 08:37:52 5f621e34cdf4: Download complete 08:37:53 5f621e34cdf4: Pull complete 08:37:53 a4357932f1b6: Pull complete 08:37:54 18c013af1878: Pull complete 08:37:55 745a02a5169b: Verifying Checksum 08:37:55 745a02a5169b: Download complete 08:37:56 00ac8860ef70: Verifying Checksum 08:37:56 00ac8860ef70: Download complete 08:38:06 00ac8860ef70: Pull complete 08:38:06 63d7cb157983: Pull complete 08:38:06 b116817d02f9: Pull complete 08:38:10 745a02a5169b: Pull complete 08:38:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:38:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:38:10 ---> b7e6874047d6 08:38:10 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 08:38:14 ---> Running in 797815bde8ff 08:38:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:38:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:38:17 (1/12) Installing libmagic (5.38-r0) 08:38:17 (2/12) Installing file (5.38-r0) 08:38:17 (3/12) Installing libc-dev (0.7.2-r3) 08:38:17 (4/12) Installing g++ (9.3.0-r2) 08:38:27 (5/12) Installing fortify-headers (1.1-r0) 08:38:27 (6/12) Installing patch (2.7.6-r6) 08:38:27 (7/12) Installing build-base (0.5-r2) 08:38:27 (8/12) Installing libsodium (1.0.18-r0) 08:38:27 (9/12) Installing pkgconf (1.7.2-r0) 08:38:27 (10/12) Installing libsodium-dev (1.0.18-r0) 08:38:27 (11/12) Installing libzmq (4.3.3-r0) 08:38:27 (12/12) Installing zeromq-dev (4.3.3-r0) 08:38:27 Executing busybox-1.31.1-r19.trigger 08:38:27 OK: 217 MiB in 51 packages 08:38:32 Removing intermediate container 797815bde8ff 08:38:32 ---> a84a1365cdbe 08:38:32 Step 4/6 : WORKDIR /edgex-go 08:38:32 ---> Running in 7a4df807742d 08:38:32 Removing intermediate container 7a4df807742d 08:38:32 ---> 9e3a038e19de 08:38:32 Step 5/6 : COPY go.mod . 08:38:33 ---> 533d1a1e571f 08:38:33 Step 6/6 : RUN go mod download 08:38:33 ---> Running in 89d685309ada 08:39:00 Removing intermediate container 89d685309ada 08:39:00 ---> 5f64a4caab50 08:39:00 Successfully built 5f64a4caab50 08:39:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:39:00 + docker inspect -f . ci-base-image-arm64 08:39:00 . [Pipeline] withDockerContainer 08:39:01 prd-ubuntu18.04-docker-arm64-4c-16g-2320 does not seem to be running inside a container 08:39:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/46 -v /w/workspace/edgex-go/46:/w/workspace/edgex-go/46:rw,z -v /w/workspace/edgex-go/46@tmp:/w/workspace/edgex-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:39:02 $ docker top 0622ac489d79cb46acd0a8273297c22930e0a143f8bdf7601443b9b7daabebab -eo pid,comm [Pipeline] { [Pipeline] sh 08:39:03 + go version 08:39:03 go version go1.15.5 linux/arm64 [Pipeline] } 08:39:03 $ docker stop --time=1 0622ac489d79cb46acd0a8273297c22930e0a143f8bdf7601443b9b7daabebab 08:39:05 $ docker rm -f 0622ac489d79cb46acd0a8273297c22930e0a143f8bdf7601443b9b7daabebab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:39:06 + docker inspect -f . ci-base-image-arm64 08:39:06 . [Pipeline] withDockerContainer 08:39:07 prd-ubuntu18.04-docker-arm64-4c-16g-2320 does not seem to be running inside a container 08:39:07 $ 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/46 -v /w/workspace/edgex-go/46:/w/workspace/edgex-go/46:rw,z -v /w/workspace/edgex-go/46@tmp:/w/workspace/edgex-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:39:08 $ docker top 2cd0aae1395a5bb53498a597edf12aabc436cdb8e0731ac56fdb6a05d51c4778 -eo pid,comm [Pipeline] { [Pipeline] echo 08:39:09 ========================================================= 08:39:09 [edgeXBuildGoParallel] Running Tests and Build... 08:39:09 ========================================================= [Pipeline] sh 08:39:09 + make test 08:39:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:39:36 ? github.com/edgexfoundry/edgex-go [no test files] 08:40:33 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:40:40 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:40:48 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:40:48 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:40:50 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:40:50 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:40:50 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:40:50 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:40:54 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:40:55 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:41:03 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 08:41:03 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 08:41:03 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:41:10 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.365s coverage: 45.9% of statements 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 08:41:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.193s coverage: 19.8% of statements 08:41:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.221s coverage: 100.0% of statements 08:41:18 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.474s coverage: 27.1% of statements 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:41:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.190s coverage: 100.0% of statements 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 08:41:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.196s coverage: 100.0% of statements 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 08:41:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.253s coverage: 71.3% of statements 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 08:41:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 08:41:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.553s coverage: 87.7% of statements 08:41:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 08:41:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 08:41:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.163s coverage: 78.9% of statements 08:41:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.179s coverage: 28.6% of statements 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.263s coverage: 100.0% of statements 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.153s coverage: 100.0% of statements 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.398s coverage: 86.7% of statements 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.470s coverage: 97.5% of statements 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.210s coverage: 78.3% of statements 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 08:41:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.323s coverage: 95.1% of statements 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.120s coverage: 58.8% of statements 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.288s coverage: 0.9% of statements 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 08:41:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.164s coverage: 47.1% of statements 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.162s coverage: 79.5% of statements 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.129s coverage: 94.1% of statements 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.185s coverage: 96.3% of statements 08:41:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.140s coverage: 87.5% of statements 08:41:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.135s coverage: 94.4% of statements 08:41:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.123s coverage: 44.8% of statements 08:41:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.613s coverage: 81.8% of statements 08:41:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.186s coverage: 92.9% of statements 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.059s coverage: 65.1% of statements 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:42:08 flag provided but not defined: -badarg 08:42:08 Usage of adduser: 08:42:08 -algorithm string 08:42:08 Algorithm used for signing the JWT, RS256 or ES256 08:42:08 -client_id string 08:42:08 Optional manually-specified OAuth2 client_id. 08:42:08 -client_secret string 08:42:08 Optional manually-specified OAuth2 client_secret. 08:42:08 -confdir string 08:42:08 08:42:08 -group string 08:42:08 Group to which the user belongs, defaults to 'gateway' (default "gateway") 08:42:08 -id string 08:42:08 ID to use for linkage with JWT claim (usually the 'iss' field) 08:42:08 -jwt string 08:42:08 The file containing the JWT for use when accessing the Kong Admin API 08:42:08 -public_key string 08:42:08 Public key (in PEM format) used to validate the JWT. 08:42:08 -redirect_uris string 08:42:08 OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") 08:42:08 -token-type string 08:42:08 Type of token to create: jwt or oauth2 08:42:08 -user string 08:42:08 Username of the user to add 08:42:08 --- FAIL: TestAddUserJWT (0.00s) 08:42:08 command_test.go:121: 08:42:08 Error Trace: command_test.go:121 08:42:08 Error: Received unexpected error: 08:42:08 failed to read JWT file: open s0meJWT: no such file or directory 08:42:08 Test: TestAddUserJWT 08:42:08 --- FAIL: TestAddUserOAuth2 (0.00s) 08:42:08 command_test.go:193: 08:42:08 Error Trace: command_test.go:193 08:42:08 Error: Received unexpected error: 08:42:08 failed to read JWT file: open s0meJWT: no such file or directory 08:42:08 Test: TestAddUserOAuth2 08:42:08 FAIL 08:42:08 coverage: 29.5% of statements 08:42:08 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.122s 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.152s coverage: 80.0% of statements 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.211s coverage: 87.2% of statements 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.225s coverage: 85.4% of statements 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.262s coverage: 91.2% of statements 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:42:10 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.712s coverage: 64.4% of statements 08:42:10 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:42:10 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:42:10 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.147s coverage: 100.0% of statements 08:42:10 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.112s coverage: 91.3% of statements 08:42:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.092s coverage: 100.0% of statements 08:42:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.075s coverage: 73.7% of statements 08:42:13 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.053s coverage: 100.0% of statements 08:42:17 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.071s coverage: 62.9% of statements 08:42:17 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:42:17 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:42:17 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:42:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.786s coverage: 43.2% of statements 08:42:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:42:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:42:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.108s coverage: 89.5% of statements 08:42:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:42:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.100s coverage: 84.8% of statements 08:42:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.489s coverage: 47.0% of statements 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 08:42:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.150s coverage: 100.0% of statements 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 08:42:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.098s coverage: 100.0% of statements 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 08:42:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.152s coverage: 9.6% of statements 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 08:42:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.523s coverage: 92.6% of statements 08:42:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 08:42:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 08:42:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 08:42:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 4.379s coverage: 28.7% of statements 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 08:42:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.249s coverage: 99.0% of statements 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 08:42:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.188s coverage: 100.0% of statements 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 08:42:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.190s coverage: 64.6% of statements 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 08:42:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.447s coverage: 97.6% of statements 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 08:42:37 ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 08:42:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.064s coverage: 100.0% of statements 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 08:42:37 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 08:42:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.104s coverage: 87.9% of statements 08:42:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 08:42:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 08:42:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.075s coverage: 100.0% of statements 08:42:40 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.131s coverage: 28.1% of statements 08:42:40 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements 08:42:40 FAIL 08:42:41 make: *** [Makefile:94: test] Error 1 [Pipeline] } 08:42:41 $ docker stop --time=1 2cd0aae1395a5bb53498a597edf12aabc436cdb8e0731ac56fdb6a05d51c4778 08:42:43 $ docker rm -f 2cd0aae1395a5bb53498a597edf12aabc436cdb8e0731ac56fdb6a05d51c4778 [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 08:42:45 ---> job-cost.sh 08:42:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3qlE 08:43:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:45:48 lf-activate-venv(): INFO: Adding /tmp/venv-3qlE/bin to PATH 08:45:48 INFO: No Stack... 08:45:48 INFO: Retrieving Pricing Info for: lf-standard-4 08:45:48 INFO: Archiving Costs [Pipeline] sh 08:45:49 + cat /w/workspace/edgex-go/46/archives/cost.csv 08:45:49 + cut -d, -f6 [Pipeline] lock 08:45:49 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-46-stack-cost] 08:45:49 Resource [jenkins-edgexfoundry-edgex-go-PR-3328-46-stack-cost] did not exist. Created. 08:45:49 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:45:49 + echo total: 0.20999999344348907 [Pipeline] stash 08:45:50 Stashed 1 file(s) [Pipeline] } 08:45:50 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-46-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:45:51 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 08:45:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:45:53 ---> package-listing.sh 08:45:53 ++ tr '[:upper:]' '[:lower:]' 08:45:53 ++ facter osfamily 08:45:53 + OS_FAMILY=redhat 08:45:53 + workspace=/w/workspace/edgex-go/46 08:45:53 + START_PACKAGES=/tmp/packages_start.txt 08:45:53 + END_PACKAGES=/tmp/packages_end.txt 08:45:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:45:53 + PACKAGES=/tmp/packages_start.txt 08:45:53 + '[' /w/workspace/edgex-go/46 ']' 08:45:53 + PACKAGES=/tmp/packages_end.txt 08:45:53 + case "${OS_FAMILY}" in 08:45:53 + rpm -qa 08:45:53 + sort 08:46:00 + '[' -f /tmp/packages_start.txt ']' 08:46:00 + '[' -f /tmp/packages_end.txt ']' 08:46:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:46:00 + '[' /w/workspace/edgex-go/46 ']' 08:46:00 + mkdir -p /w/workspace/edgex-go/46/archives/ 08:46:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/46/archives/ [Pipeline] echo 08:46:00 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/46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:46:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:46:01 08:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:46:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:46:02 alpine: Pulling from edgex-lftools-log-publisher 08:46:02 df20fa9351a1: Pulling fs layer 08:46:02 36b3adc4ff6f: Pulling fs layer 08:46:02 8ad3a11d3b57: Pulling fs layer 08:46:02 46f8f816bc3b: Pulling fs layer 08:46:02 93b61091891f: Pulling fs layer 08:46:02 93b9cdb0e59b: Pulling fs layer 08:46:02 5e14af77c1be: Pulling fs layer 08:46:02 01666e4c0597: Pulling fs layer 08:46:02 aa168da1d23b: Pulling fs layer 08:46:02 46f8f816bc3b: Waiting 08:46:02 93b61091891f: Waiting 08:46:02 93b9cdb0e59b: Waiting 08:46:02 5e14af77c1be: Waiting 08:46:02 01666e4c0597: Waiting 08:46:02 aa168da1d23b: Waiting 08:46:02 36b3adc4ff6f: Verifying Checksum 08:46:02 36b3adc4ff6f: Download complete 08:46:02 46f8f816bc3b: Verifying Checksum 08:46:02 46f8f816bc3b: Download complete 08:46:02 df20fa9351a1: Verifying Checksum 08:46:02 df20fa9351a1: Download complete 08:46:02 93b9cdb0e59b: Verifying Checksum 08:46:02 93b9cdb0e59b: Download complete 08:46:02 5e14af77c1be: Verifying Checksum 08:46:02 5e14af77c1be: Download complete 08:46:02 01666e4c0597: Verifying Checksum 08:46:02 01666e4c0597: Download complete 08:46:02 93b61091891f: Verifying Checksum 08:46:02 93b61091891f: Download complete 08:46:03 df20fa9351a1: Pull complete 08:46:03 8ad3a11d3b57: Verifying Checksum 08:46:03 8ad3a11d3b57: Download complete 08:46:04 36b3adc4ff6f: Pull complete 08:46:07 8ad3a11d3b57: Pull complete 08:46:07 46f8f816bc3b: Pull complete 08:46:09 93b61091891f: Pull complete 08:46:09 aa168da1d23b: Verifying Checksum 08:46:09 93b9cdb0e59b: Pull complete 08:46:09 5e14af77c1be: Pull complete 08:46:09 01666e4c0597: Pull complete 08:46:32 aa168da1d23b: Pull complete 08:46:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:46:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:46:33 prd-centos7-docker-4c-2g-2309 does not seem to be running inside a container 08:46:33 $ 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/46/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/46 -v /w/workspace/edgex-go/46:/w/workspace/edgex-go/46:rw,z -v /w/workspace/edgex-go/46@tmp:/w/workspace/edgex-go/46@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 08:46:36 $ docker top ff80b6e2f6eef8e02986b981e2383869e8614c15908d13be1831a62452bb369d -eo pid,comm [Pipeline] { [Pipeline] sh 08:46:37 + touch /tmp/pre-build-complete [Pipeline] sh 08:46:38 + mkdir -p /var/log/sa [Pipeline] sh 08:46:40 + ls /var/log/sa-host 08:46:40 + sadf -c /var/log/sa-host/sa23 08:46:40 file_magic: OK 08:46:40 HZ: Using current value: 100 08:46:40 file_header: OK 08:46:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:46:40 Statistics: 08:46:40 Hnuu...uuuununununu... 08:46:40 File successfully converted to sysstat format version 12.2.1 08:46:40 + sadf -c /var/log/sa-host/sa29 08:46:40 file_magic: OK 08:46:40 HZ: Using current value: 100 08:46:40 file_header: OK 08:46:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:46:40 Statistics: 08:46:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:46:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:41 provisioning config files... 08:46:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/46@tmp/config1022930513224954265tmp [Pipeline] { [Pipeline] echo 08:46:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:46:42 ---> create-netrc.sh [Pipeline] } 08:46:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:46:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:46:42 ---> python-tools-install.sh [Pipeline] echo 08:46:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:46:43 ---> sudo-logs.sh 08:46:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:46:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:46:43 ---> job-cost.sh 08:46:43 lf-activate-venv: SKIPPING 08:46:43 DEBUG: total: 0.20999999344348907 08:46:43 INFO: Retrieving Stack Cost... 08:46:45 INFO: Retrieving Pricing Info for: v1-standard-2 08:46:45 INFO: Archiving Costs [Pipeline] echo 08:46:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:46:47 ---> logs-deploy.sh 08:46:47 lf-activate-venv: SKIPPING 08:46:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/46 08:46:47 INFO: archiving workspace using pattern(s): 08:46:50 Archives upload complete. 08:46:50 INFO: archiving logs to Nexus