Pull request #3474 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at 7e9ba5b981db46d7eaa29bdee31d80878b461756 rather than f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc Obtained Jenkinsfile from 7e9ba5b981db46d7eaa29bdee31d80878b461756 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2056016548397311413.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1411685992523414008.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3474/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3474/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7512316167739518886.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4490988785478560582.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3474/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3474/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5841817594449882264.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-341 in /w/workspace/edgexfoundry_edgex-go_PR-3474 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/2 # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh139091076320751353.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh5014591574286756618.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3474/head:refs/remotes/origin/PR-3474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7e9ba5b981db46d7eaa29bdee31d80878b461756 into PR head commit f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc Merge succeeded, producing f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc Checking out Revision f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc (PR-3474) > git config core.sparsecheckout # timeout=10 > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh5369610701836854703.key > git merge 7e9ba5b981db46d7eaa29bdee31d80878b461756 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # timeout=10 Commit message: "feat(data): Implement events subscribing from message bus" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:12:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:12:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:12:27 ========================================================= 13:12:27 EdgeX Global Pipelines Version Info 13:12:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:12:29 ------------------- 13:12:29 stable info: 13:12:29 ------------------- 13:12:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:12:29 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 13:12:29 Message: update stable to v1.0.192 > git rev-list --no-walk b47c3b3a446bac6f29aad41a0bc3be85dc4aa247 # timeout=10 13:12:30 ------------------- 13:12:30 experimental info: 13:12:30 ------------------- 13:12:30 Commited By: **** collab-it+edgex@linuxfoundation.org 13:12:30 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 13:12:30 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:12:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 13:12:30 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 13:12:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:12:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:12:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:12:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3474 [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3474 [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3474 [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f92cfa1 [Pipeline] echo 13:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:31 provisioning config files... 13:12:31 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8647457545188342662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:31 ---> docker-login.sh 13:12:31 nexus3.edgexfoundry.org:10001 13:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:32 Configure a credential helper to remove this warning. See 13:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:32 13:12:32 Login Succeeded 13:12:32 nexus3.edgexfoundry.org:10002 13:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:33 Configure a credential helper to remove this warning. See 13:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:33 13:12:33 Login Succeeded 13:12:33 nexus3.edgexfoundry.org:10003 13:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:33 Configure a credential helper to remove this warning. See 13:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:33 13:12:33 Login Succeeded 13:12:33 nexus3.edgexfoundry.org:10004 13:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:33 Configure a credential helper to remove this warning. See 13:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:33 13:12:33 Login Succeeded 13:12:33 docker.io 13:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:34 Configure a credential helper to remove this warning. See 13:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:34 13:12:34 Login Succeeded 13:12:34 ---> docker-login.sh ends [Pipeline] } 13:12:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:12:34 ++ 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 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ dirname cmd/core-command/Dockerfile 13:12:34 ++ cut -d/ -f2 13:12:34 + echo core-command,cmd/core-command/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ dirname cmd/core-data/Dockerfile 13:12:34 ++ cut -d/ -f2 13:12:34 + echo core-data,cmd/core-data/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ dirname cmd/core-metadata/Dockerfile 13:12:34 ++ cut -d/ -f2 13:12:34 + echo core-metadata,cmd/core-metadata/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ cut -d/ -f2 13:12:34 ++ dirname cmd/security-bootstrapper/Dockerfile 13:12:34 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ dirname cmd/security-proxy-setup/Dockerfile 13:12:34 ++ cut -d/ -f2 13:12:34 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ dirname cmd/security-secretstore-setup/Dockerfile 13:12:34 ++ cut -d/ -f2 13:12:34 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ cut -d/ -f2 13:12:34 ++ dirname cmd/support-notifications/Dockerfile 13:12:34 + echo support-notifications,cmd/support-notifications/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ dirname cmd/support-scheduler/Dockerfile 13:12:34 ++ cut -d/ -f2 13:12:34 + echo support-scheduler,cmd/support-scheduler/Dockerfile 13:12:34 + for file in '`ls cmd/**/Dockerfile`' 13:12:34 ++ dirname cmd/sys-mgmt-agent/Dockerfile 13:12:34 ++ cut -d/ -f2 13:12:34 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 13:12:34 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:12:35 13:12:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:12:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:12:35 latest: Pulling from edgex-devops/git-semver 13:12:35 31603596830f: Pulling fs layer 13:12:35 54011a49482f: Pulling fs layer 13:12:35 a6820b24f6d8: Pulling fs layer 13:12:35 f581987b2513: Pulling fs layer 13:12:35 f581987b2513: Waiting 13:12:35 54011a49482f: Verifying Checksum 13:12:35 54011a49482f: Download complete 13:12:36 31603596830f: Verifying Checksum 13:12:36 31603596830f: Download complete 13:12:36 a6820b24f6d8: Verifying Checksum 13:12:36 a6820b24f6d8: Download complete 13:12:36 f581987b2513: Verifying Checksum 13:12:36 f581987b2513: Download complete 13:12:36 31603596830f: Pull complete 13:12:37 54011a49482f: Pull complete 13:12:38 a6820b24f6d8: Pull complete 13:12:39 f581987b2513: Pull complete 13:12:39 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 13:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:12:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:12:39 prd-centos7-docker-4c-2g-341 does not seem to be running inside a container 13:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 13:12:42 $ docker top d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:12:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:42 [ssh-agent] Looking for ssh-agent implementation... 13:12:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:43 $ docker exec d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent 13:12:43 SSH_AUTH_SOCK=/tmp/ssh-X19vAHXPLTyD/agent.11 13:12:43 SSH_AGENT_PID=17 13:12:43 Running ssh-add (command line suppressed) 13:12:44 Identity added: /w/workspace/edgex-go/2@tmp/private_key_3238703081293785833.key (/w/workspace/edgex-go/2@tmp/private_key_3238703081293785833.key) 13:12:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:44 + git tag --points-at HEAD [Pipeline] } 13:12:44 $ docker exec --env ******** --env ******** d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent -k 13:12:44 unset SSH_AUTH_SOCK; 13:12:44 unset SSH_AGENT_PID; 13:12:44 echo Agent pid 17 killed; 13:12:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:12:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:45 [ssh-agent] Looking for ssh-agent implementation... 13:12:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:45 $ docker exec d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent 13:12:45 SSH_AUTH_SOCK=/tmp/ssh-7S8GkJxJ6Aa7/agent.46 13:12:45 SSH_AGENT_PID=51 13:12:45 Running ssh-add (command line suppressed) 13:12:46 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4291496480820066864.key (/w/workspace/edgex-go/2@tmp/private_key_4291496480820066864.key) 13:12:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:46 + git semver init 13:12:46 # -> Open(): unable to determine branch for HEAD 13:12:46 # $GIT_DIR = /w/workspace/edgex-go/2/.git 13:12:46 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 13:12:46 # $SEMVER_REMOTE_NAME = origin 13:12:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:12:46 # $SEMVER_USER_NAME = edgex-jenkins 13:12:46 # $SEMVER_BRANCH = PR-3474 13:12:46 # $SEMVER_TEMP = /tmp/semver-947004010 13:12:46 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 13:13:54 # '/tmp/semver-947004010' -> '/w/workspace/edgex-go/2/.semver' 13:13:54 # -> Force: false 13:13:54 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 13:13:54 $ docker exec --env ******** --env ******** d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent -k 13:13:55 unset SSH_AUTH_SOCK; 13:13:55 unset SSH_AGENT_PID; 13:13:55 echo Agent pid 51 killed; 13:13:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:55 + git semver [Pipeline] } 13:13:55 $ docker stop --time=1 d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a 13:13:57 $ docker rm -f d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a [Pipeline] // withDockerContainer [Pipeline] sh 13:13:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:13:59 Stashed 1 file(s) [Pipeline] echo 13:13:59 [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 13:13:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:14:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:14:00 + sudo service docker restart 13:14:00 + true 13:14:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 13:14:01 ========================================================= 13:14:01 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 13:14:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:14:01 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 13:14:07 Sending build context to Docker daemon 330.4MB 13:14:07 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 13:14:07 Step 2/6 : FROM ${BASE} 13:14:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 13:14:08 540db60ca938: Pulling fs layer 13:14:08 adcc1eea9eea: Pulling fs layer 13:14:08 4c4ab2625f07: Pulling fs layer 13:14:08 0510c868ecb4: Pulling fs layer 13:14:08 afea3b2eda06: Pulling fs layer 13:14:08 7809a108b3ef: Pulling fs layer 13:14:08 f706445af74f: Pulling fs layer 13:14:08 afea3b2eda06: Waiting 13:14:08 7809a108b3ef: Waiting 13:14:08 f706445af74f: Waiting 13:14:08 0510c868ecb4: Waiting 13:14:08 4c4ab2625f07: Download complete 13:14:08 adcc1eea9eea: Verifying Checksum 13:14:08 adcc1eea9eea: Download complete 13:14:08 afea3b2eda06: Verifying Checksum 13:14:08 afea3b2eda06: Download complete 13:14:08 7809a108b3ef: Verifying Checksum 13:14:08 7809a108b3ef: Download complete 13:14:08 540db60ca938: Verifying Checksum 13:14:08 540db60ca938: Download complete 13:14:08 540db60ca938: Pull complete 13:14:09 adcc1eea9eea: Pull complete 13:14:09 4c4ab2625f07: Pull complete 13:14:11 f706445af74f: Verifying Checksum 13:14:11 f706445af74f: Download complete 13:14:11 0510c868ecb4: Verifying Checksum 13:14:11 0510c868ecb4: Download complete 13:14:14 Still waiting to schedule task 13:14:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:14:19 0510c868ecb4: Pull complete 13:14:19 afea3b2eda06: Pull complete 13:14:19 7809a108b3ef: Pull complete 13:14:24 f706445af74f: Pull complete 13:14:24 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 13:14:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 13:14:24 ---> b068be0155e3 13:14:24 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 13:14:24 ---> Running in 81d02d735f02 13:14:25 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 13:14:26 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 13:14:26 (1/12) Installing libmagic (5.39-r0) 13:14:27 (2/12) Installing file (5.39-r0) 13:14:27 (3/12) Installing libc-dev (0.7.2-r3) 13:14:27 (4/12) Installing g++ (10.2.1_pre1-r3) 13:14:31 (5/12) Installing fortify-headers (1.1-r0) 13:14:31 (6/12) Installing patch (2.7.6-r6) 13:14:31 (7/12) Installing build-base (0.5-r2) 13:14:31 (8/12) Installing libsodium (1.0.18-r0) 13:14:31 (9/12) Installing pkgconf (1.7.3-r0) 13:14:31 (10/12) Installing libsodium-dev (1.0.18-r0) 13:14:31 (11/12) Installing libzmq (4.3.3-r1) 13:14:31 (12/12) Installing zeromq-dev (4.3.3-r1) 13:14:31 Executing busybox-1.32.1-r6.trigger 13:14:31 OK: 219 MiB in 52 packages 13:14:36 Removing intermediate container 81d02d735f02 13:14:36 ---> 523f5a6faaff 13:14:36 Step 4/6 : WORKDIR /edgex-go 13:14:36 ---> Running in 4650f89bf735 13:14:36 Removing intermediate container 4650f89bf735 13:14:36 ---> 33dcb956878c 13:14:36 Step 5/6 : COPY go.mod . 13:14:37 ---> c2253b895bf5 13:14:37 Step 6/6 : RUN go mod download 13:14:37 ---> Running in 27bc804dbe50 13:15:09 Removing intermediate container 27bc804dbe50 13:15:09 ---> a04186c6b77c 13:15:09 Successfully built a04186c6b77c 13:15:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:15:10 + docker inspect -f . ci-base-image-x86_64 13:15:10 . [Pipeline] withDockerContainer 13:15:10 prd-centos7-docker-4c-2g-341 does not seem to be running inside a container 13:15:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 13:15:13 $ docker top 6f0706ea2a171d33fe156c5d7b917a18a4ff66382816467311ae5596d7ae78d2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:15:13 + go version 13:15:13 go version go1.16.3 linux/amd64 [Pipeline] } 13:15:14 $ docker stop --time=1 6f0706ea2a171d33fe156c5d7b917a18a4ff66382816467311ae5596d7ae78d2 13:15:16 $ docker rm -f 6f0706ea2a171d33fe156c5d7b917a18a4ff66382816467311ae5596d7ae78d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:15:16 + docker inspect -f . ci-base-image-x86_64 13:15:16 . [Pipeline] withDockerContainer 13:15:17 prd-centos7-docker-4c-2g-341 does not seem to be running inside a container 13:15:17 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 13:15:19 $ docker top bd5d52e839dba809067d59eb55b0bbb215e83830e3f39cb54892a4e6eb26ef84 -eo pid,comm [Pipeline] { [Pipeline] echo 13:15:19 ========================================================= 13:15:19 [edgeXBuildGoParallel] Running Tests and Build... 13:15:19 ========================================================= [Pipeline] sh 13:15:20 + go mod tidy [Pipeline] sh 13:15:23 + make test 13:15:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:15:42 ? github.com/edgexfoundry/edgex-go [no test files] 13:16:15 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 13:16:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-342 in /w/workspace/edgexfoundry_edgex-go_PR-3474 [Pipeline] { [Pipeline] ws 13:16:15 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 13:16:15 The recommended git tool is: git 13:16:21 using credential edgex-jenkins-ssh 13:16:21 Cloning the remote Git repository 13:16:21 Cloning repository git@github.com:edgexfoundry/edgex-go.git 13:16:21 > git init /w/workspace/edgex-go/2 # timeout=10 13:16:22 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 13:16:22 > git --version # timeout=10 13:16:22 > git --version # 'git version 2.17.1' 13:16:22 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:24 # github.com/edgexfoundry/edgex-go/internal/core/data 13:16:24 internal/core/data/init.go:77:31: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) 13:16:37 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 13:16:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:37 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 13:16:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 13:16:37 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3474/head:refs/remotes/origin/PR-3474 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:16:38 Merging remotes/origin/master commit 7e9ba5b981db46d7eaa29bdee31d80878b461756 into PR head commit f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc 13:16:38 Merge succeeded, producing f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc 13:16:38 Checking out Revision f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc (PR-3474) 13:16:39 # github.com/edgexfoundry/edgex-go/internal/core/data [github.com/edgexfoundry/edgex-go/internal/core/data.test] 13:16:39 internal/core/data/init.go:77: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) 13:16:39 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.198s coverage: 46.1% of statements 13:16:39 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.107s coverage: 28.7% of statements 13:16:39 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.150s coverage: 100.0% of statements 13:16:39 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 13:16:38 > git config core.sparsecheckout # timeout=10 13:16:38 > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # timeout=10 13:16:38 > git remote # timeout=10 13:16:38 > git config --get remote.origin.url # timeout=10 13:16:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:38 > git merge 7e9ba5b981db46d7eaa29bdee31d80878b461756 # timeout=10 13:16:38 > git rev-parse HEAD^{commit} # timeout=10 13:16:38 > git config core.sparsecheckout # timeout=10 13:16:38 > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # timeout=10 13:16:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.267s coverage: 81.2% of statements 13:16:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.113s coverage: 100.0% of statements 13:16:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.152s coverage: 100.0% of statements 13:16:42 Commit message: "feat(data): Implement events subscribing from message bus" 13:16:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.162s coverage: 54.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.315s coverage: 87.7% of statements 13:16:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.124s coverage: 78.9% of statements 13:16:44 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:16:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:16:45 + sudo service docker restart 13:16:45 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:47 provisioning config files... 13:16:47 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6221331063678775158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:47 ---> docker-login.sh 13:16:47 nexus3.edgexfoundry.org:10001 13:16:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.393s coverage: 28.6% of statements 13:16:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.121s coverage: 100.0% of statements 13:16:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.113s coverage: 100.0% of statements 13:16:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.205s coverage: 86.7% of statements 13:16:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.164s coverage: 97.5% of statements 13:16:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.118s coverage: 78.3% of statements 13:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:48 Configure a credential helper to remove this warning. See 13:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:48 13:16:48 Login Succeeded 13:16:48 nexus3.edgexfoundry.org:10002 13:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:49 Configure a credential helper to remove this warning. See 13:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:49 13:16:49 Login Succeeded 13:16:49 nexus3.edgexfoundry.org:10003 13:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:50 Configure a credential helper to remove this warning. See 13:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:50 13:16:50 Login Succeeded 13:16:50 nexus3.edgexfoundry.org:10004 13:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:50 Configure a credential helper to remove this warning. See 13:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:50 13:16:50 Login Succeeded 13:16:50 docker.io 13:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.713s coverage: 95.1% of statements 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.101s coverage: 58.8% of statements 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.107s coverage: 0.8% of statements 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.090s coverage: 22.0% of statements 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.175s coverage: 47.1% of statements 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.097s coverage: 79.5% of statements 13:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:51 Configure a credential helper to remove this warning. See 13:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:51 13:16:51 Login Succeeded 13:16:51 ---> docker-login.sh ends [Pipeline] } 13:16:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.073s coverage: 94.1% of statements [Pipeline] echo 13:16:51 ========================================================= 13:16:51 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 13:16:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:16:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.138s coverage: 96.3% of statements 13:16:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.084s coverage: 87.5% of statements 13:16:52 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 13:16:54 Sending build context to Docker daemon 167.8MB 13:16:54 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 13:16:54 Step 2/6 : FROM ${BASE} 13:16:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:16:54 595b0fe564bb: Pulling fs layer 13:16:54 7186ed65a4f7: Pulling fs layer 13:16:54 316046926c0a: Pulling fs layer 13:16:54 4ebd0625c992: Pulling fs layer 13:16:54 207e8628e3a3: Pulling fs layer 13:16:54 c791037a9be2: Pulling fs layer 13:16:54 ffd874e62e21: Pulling fs layer 13:16:54 4ebd0625c992: Waiting 13:16:54 207e8628e3a3: Waiting 13:16:54 c791037a9be2: Waiting 13:16:54 ffd874e62e21: Waiting 13:16:54 316046926c0a: Download complete 13:16:54 7186ed65a4f7: Verifying Checksum 13:16:54 7186ed65a4f7: Download complete 13:16:54 207e8628e3a3: Download complete 13:16:54 c791037a9be2: Download complete 13:16:54 595b0fe564bb: Verifying Checksum 13:16:54 595b0fe564bb: Download complete 13:16:55 595b0fe564bb: Pull complete 13:16:56 7186ed65a4f7: Pull complete 13:16:56 316046926c0a: Pull complete 13:16:57 ffd874e62e21: Verifying Checksum 13:16:57 ffd874e62e21: Download complete 13:16:58 4ebd0625c992: Verifying Checksum 13:16:58 4ebd0625c992: Download complete 13:17:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.089s coverage: 94.4% of statements 13:17:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.083s coverage: 44.8% of statements 13:17:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.359s coverage: 81.8% of statements 13:17:08 4ebd0625c992: Pull complete 13:17:09 207e8628e3a3: Pull complete 13:17:09 c791037a9be2: Pull complete 13:17:13 ffd874e62e21: Pull complete 13:17:13 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 13:17:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 13:17:13 ---> cfc18b08335c 13:17:13 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.139s coverage: 92.9% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.043s coverage: 87.2% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.064s coverage: 100.0% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.085s coverage: 76.0% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.076s coverage: 80.0% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.146s coverage: 87.2% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.108s coverage: 85.4% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.165s coverage: 91.2% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.233s coverage: 64.4% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.090s coverage: 100.0% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.043s coverage: 91.3% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.028s coverage: 100.0% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.057s coverage: 73.7% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.008s coverage: 66.9% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.363s coverage: 43.4% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.071s coverage: 89.5% of statements 13:17:15 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.092s coverage: 84.8% of statements 13:17:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.295s coverage: 47.1% of statements 13:17:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.074s coverage: 100.0% of statements 13:17:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.115s coverage: 100.0% of statements 13:17:17 ---> Running in b11730be0b15 13:17:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 13:17:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 13:17:19 (1/12) Installing libmagic (5.39-r0) 13:17:20 (2/12) Installing file (5.39-r0) 13:17:20 (3/12) Installing libc-dev (0.7.2-r3) 13:17:20 (4/12) Installing g++ (10.2.1_pre1-r3) 13:17:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.219s coverage: 21.5% of statements 13:17:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.385s coverage: 92.2% of statements 13:17:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 1.023s coverage: 28.8% of statements 13:17:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.146s coverage: 99.0% of statements 13:17:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.141s coverage: 100.0% of statements 13:17:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.096s coverage: 64.6% of statements 13:17:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.183s coverage: 97.6% of statements 13:17:22 ok github.com/edgexfoundry/edgex-go/internal/system 0.050s coverage: 0.0% of statements 13:17:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.037s coverage: 100.0% of statements 13:17:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.060s coverage: 87.9% of statements 13:17:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements 13:17:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.088s coverage: 28.1% of statements 13:17:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.046s coverage: 85.7% of statements 13:17:23 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.045s coverage: 100.0% of statements 13:17:24 make: *** [Makefile:94: test] Error 2 [Pipeline] } 13:17:24 $ docker stop --time=1 bd5d52e839dba809067d59eb55b0bbb215e83830e3f39cb54892a4e6eb26ef84 13:17:27 (5/12) Installing fortify-headers (1.1-r0) 13:17:27 (6/12) Installing patch (2.7.6-r6) 13:17:27 (7/12) Installing build-base (0.5-r2) 13:17:27 (8/12) Installing libsodium (1.0.18-r0) 13:17:27 (9/12) Installing pkgconf (1.7.3-r0) 13:17:27 (10/12) Installing libsodium-dev (1.0.18-r0) 13:17:27 (11/12) Installing libzmq (4.3.3-r1) 13:17:27 (12/12) Installing zeromq-dev (4.3.3-r1) 13:17:27 Executing busybox-1.32.1-r6.trigger 13:17:27 OK: 218 MiB in 52 packages 13:17:27 $ docker rm -f bd5d52e839dba809067d59eb55b0bbb215e83830e3f39cb54892a4e6eb26ef84 [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] } 13:17:28 Failed in branch amd64 13:17:31 Removing intermediate container b11730be0b15 13:17:31 ---> b437c5f722f3 13:17:31 Step 4/6 : WORKDIR /edgex-go 13:17:31 ---> Running in d946ca63f377 13:17:31 Removing intermediate container d946ca63f377 13:17:31 ---> e093b506133a 13:17:31 Step 5/6 : COPY go.mod . 13:17:32 ---> 04c288ed9871 13:17:32 Step 6/6 : RUN go mod download 13:17:32 ---> Running in afcb6bfee605 13:18:04 Removing intermediate container afcb6bfee605 13:18:04 ---> ad2b3d430f09 13:18:04 Successfully built ad2b3d430f09 13:18:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:18:05 + docker inspect -f . ci-base-image-arm64 13:18:05 . [Pipeline] withDockerContainer 13:18:05 prd-ubuntu18.04-docker-arm64-4c-16g-342 does not seem to be running inside a container 13:18:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:07 $ docker top 9999d1a837e44decdd6ce2ab1866d8a7dbad5731229f8ca01a19865c197ac219 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:08 + go version 13:18:08 go version go1.16.3 linux/arm64 [Pipeline] } 13:18:08 $ docker stop --time=1 9999d1a837e44decdd6ce2ab1866d8a7dbad5731229f8ca01a19865c197ac219 13:18:10 $ docker rm -f 9999d1a837e44decdd6ce2ab1866d8a7dbad5731229f8ca01a19865c197ac219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:18:10 + docker inspect -f . ci-base-image-arm64 13:18:10 . [Pipeline] withDockerContainer 13:18:11 prd-ubuntu18.04-docker-arm64-4c-16g-342 does not seem to be running inside a container 13:18:11 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:12 $ docker top 8cd4cdc6940a02d6c975d63813288cc20bb5ef47be86870ef9f0a549464fee06 -eo pid,comm [Pipeline] { [Pipeline] echo 13:18:13 ========================================================= 13:18:13 [edgeXBuildGoParallel] Running Tests and Build... 13:18:13 ========================================================= [Pipeline] sh 13:18:13 + go mod tidy [Pipeline] sh 13:18:15 + make test 13:18:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:18:42 ? github.com/edgexfoundry/edgex-go [no test files] 13:19:39 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 13:19:41 # github.com/edgexfoundry/edgex-go/internal/core/data 13:19:41 internal/core/data/init.go:77:31: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) 13:20:20 # github.com/edgexfoundry/edgex-go/internal/core/data [github.com/edgexfoundry/edgex-go/internal/core/data.test] 13:20:20 internal/core/data/init.go:77: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) 13:20:20 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.394s coverage: 46.1% of statements 13:20:20 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.201s coverage: 28.7% of statements 13:20:20 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.322s coverage: 100.0% of statements 13:20:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 13:20:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.203s coverage: 81.2% of statements 13:20:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.216s coverage: 100.0% of statements 13:20:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.207s coverage: 100.0% of statements 13:20:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.423s coverage: 54.5% of statements 13:20:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.490s coverage: 87.7% of statements 13:20:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.193s coverage: 78.9% of statements 13:20:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.213s coverage: 28.6% of statements 13:20:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.282s coverage: 100.0% of statements 13:20:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.360s coverage: 100.0% of statements 13:20:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.443s coverage: 86.7% of statements 13:20:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.536s coverage: 97.5% of statements 13:20:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.276s coverage: 78.3% of statements 13:20:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.330s coverage: 95.1% of statements 13:20:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.194s coverage: 58.8% of statements 13:20:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.321s coverage: 0.8% of statements 13:20:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.164s coverage: 22.0% of statements 13:20:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.216s coverage: 47.1% of statements 13:20:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.187s coverage: 79.5% of statements 13:20:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.221s coverage: 94.1% of statements 13:20:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.254s coverage: 96.3% of statements 13:20:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.242s coverage: 87.5% of statements 13:20:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.237s coverage: 94.4% of statements 13:20:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.175s coverage: 44.8% of statements 13:21:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.576s coverage: 81.8% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.267s coverage: 92.9% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.079s coverage: 87.2% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.181s coverage: 100.0% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.220s coverage: 76.0% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.199s coverage: 80.0% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.276s coverage: 87.2% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.290s coverage: 85.4% of statements 13:21:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.323s coverage: 91.2% of statements 13:21:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.788s coverage: 64.4% of statements 13:21:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.167s coverage: 100.0% of statements 13:21:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.150s coverage: 91.3% of statements 13:21:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.062s coverage: 100.0% of statements 13:21:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.086s coverage: 73.7% of statements 13:21:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements 13:21:16 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.044s coverage: 66.9% of statements 13:21:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.716s coverage: 43.4% of statements 13:21:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.185s coverage: 89.5% of statements 13:21:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements 13:21:23 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.481s coverage: 47.1% of statements 13:21:23 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.147s coverage: 100.0% of statements 13:21:23 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.100s coverage: 100.0% of statements 13:21:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.245s coverage: 21.5% of statements 13:21:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.432s coverage: 92.2% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.627s coverage: 28.8% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.175s coverage: 99.0% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.199s coverage: 100.0% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.192s coverage: 64.6% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.373s coverage: 97.6% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/system 0.048s coverage: 0.0% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.080s coverage: 100.0% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.092s coverage: 87.9% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.064s coverage: 100.0% of statements 13:21:34 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.169s coverage: 28.1% of statements 13:21:35 ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.051s coverage: 85.7% of statements 13:21:35 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 100.0% of statements 13:21:36 make: *** [Makefile:94: test] Error 2 [Pipeline] } 13:21:36 $ docker stop --time=1 8cd4cdc6940a02d6c975d63813288cc20bb5ef47be86870ef9f0a549464fee06 13:21:38 $ docker rm -f 8cd4cdc6940a02d6c975d63813288cc20bb5ef47be86870ef9f0a549464fee06 [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 13:21:40 ---> job-cost.sh 13:21:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-axfj 13:22:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 13:23:41 lf-activate-venv(): INFO: Adding /tmp/venv-axfj/bin to PATH 13:23:41 INFO: No Stack... 13:23:41 INFO: Retrieving Pricing Info for: lf-standard-4 13:23:42 INFO: Archiving Costs [Pipeline] sh 13:23:42 + cat /w/workspace/edgex-go/2/archives/cost.csv 13:23:42 + cut -d, -f6 [Pipeline] lock 13:23:42 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] 13:23:42 Resource [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] did not exist. Created. 13:23:42 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:42 + echo total: 0.20999999344348907 [Pipeline] stash 13:23:43 Stashed 1 file(s) [Pipeline] } 13:23:43 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:23:43 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 13:23:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:23:46 ---> package-listing.sh 13:23:46 ++ facter osfamily 13:23:46 ++ tr '[:upper:]' '[:lower:]' 13:23:46 + OS_FAMILY=redhat 13:23:46 + workspace=/w/workspace/edgex-go/2 13:23:46 + START_PACKAGES=/tmp/packages_start.txt 13:23:46 + END_PACKAGES=/tmp/packages_end.txt 13:23:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:23:46 + PACKAGES=/tmp/packages_start.txt 13:23:46 + '[' /w/workspace/edgex-go/2 ']' 13:23:46 + PACKAGES=/tmp/packages_end.txt 13:23:46 + case "${OS_FAMILY}" in 13:23:46 + rpm -qa 13:23:46 + sort 13:23:51 + '[' -f /tmp/packages_start.txt ']' 13:23:51 + '[' -f /tmp/packages_end.txt ']' 13:23:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:23:51 + '[' /w/workspace/edgex-go/2 ']' 13:23:51 + mkdir -p /w/workspace/edgex-go/2/archives/ 13:23:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 13:23:51 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:23:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:23:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:23:52 13:23:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:23:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:23:52 alpine: Pulling from edgex-lftools-log-publisher 13:23:52 df20fa9351a1: Pulling fs layer 13:23:52 36b3adc4ff6f: Pulling fs layer 13:23:52 8ad3a11d3b57: Pulling fs layer 13:23:52 46f8f816bc3b: Pulling fs layer 13:23:52 93b61091891f: Pulling fs layer 13:23:52 93b9cdb0e59b: Pulling fs layer 13:23:52 5e14af77c1be: Pulling fs layer 13:23:52 01666e4c0597: Pulling fs layer 13:23:52 aa168da1d23b: Pulling fs layer 13:23:52 93b61091891f: Waiting 13:23:52 93b9cdb0e59b: Waiting 13:23:52 5e14af77c1be: Waiting 13:23:52 01666e4c0597: Waiting 13:23:52 aa168da1d23b: Waiting 13:23:52 46f8f816bc3b: Waiting 13:23:52 36b3adc4ff6f: Verifying Checksum 13:23:52 36b3adc4ff6f: Download complete 13:23:53 46f8f816bc3b: Verifying Checksum 13:23:53 46f8f816bc3b: Download complete 13:23:53 df20fa9351a1: Verifying Checksum 13:23:53 93b9cdb0e59b: Verifying Checksum 13:23:53 93b9cdb0e59b: Download complete 13:23:53 93b61091891f: Verifying Checksum 13:23:53 93b61091891f: Download complete 13:23:53 5e14af77c1be: Verifying Checksum 13:23:53 5e14af77c1be: Download complete 13:23:53 01666e4c0597: Verifying Checksum 13:23:53 01666e4c0597: Download complete 13:23:53 df20fa9351a1: Pull complete 13:23:53 8ad3a11d3b57: Verifying Checksum 13:23:53 8ad3a11d3b57: Download complete 13:23:53 36b3adc4ff6f: Pull complete 13:23:55 8ad3a11d3b57: Pull complete 13:23:55 46f8f816bc3b: Pull complete 13:23:55 93b61091891f: Pull complete 13:23:55 93b9cdb0e59b: Pull complete 13:23:55 5e14af77c1be: Pull complete 13:23:56 01666e4c0597: Pull complete 13:23:56 aa168da1d23b: Verifying Checksum 13:23:56 aa168da1d23b: Download complete 13:24:04 aa168da1d23b: Pull complete 13:24:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:24:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:24:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:24:04 prd-centos7-docker-4c-2g-341 does not seem to be running inside a container 13:24:04 $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 13:24:07 $ docker top ea79ffa36d9c05019a739c95a9ebb7a07bd8c73b3e44312f902e59bc1483e189 -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:08 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:08 + mkdir -p /var/log/sa [Pipeline] sh 13:24:09 + ls /var/log/sa-host 13:24:09 + sadf -c /var/log/sa-host/sa17 13:24:09 file_magic: OK 13:24:09 HZ: Using current value: 100 13:24:09 file_header: OK 13:24:09 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 13:24:09 Statistics: 13:24:09 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... 13:24:09 File successfully converted to sysstat format version 12.2.1 13:24:09 + sadf -c /var/log/sa-host/sa23 13:24:09 file_magic: OK 13:24:09 HZ: Using current value: 100 13:24:09 file_header: OK 13:24:09 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 13:24:09 Statistics: 13:24:09 Hnuu...uuuununununu... 13:24:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:09 provisioning config files... 13:24:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config1936741551480569484tmp [Pipeline] { [Pipeline] echo 13:24:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:09 ---> create-netrc.sh [Pipeline] } 13:24:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:24:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:24:10 ---> python-tools-install.sh [Pipeline] echo 13:24:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:10 ---> sudo-logs.sh 13:24:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:24:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:10 ---> job-cost.sh 13:24:10 lf-activate-venv: SKIPPING 13:24:10 DEBUG: total: 0.20999999344348907 13:24:10 INFO: Retrieving Stack Cost... 13:24:11 INFO: Retrieving Pricing Info for: v1-standard-2 13:24:12 INFO: Archiving Costs [Pipeline] echo 13:24:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:12 ---> logs-deploy.sh 13:24:12 lf-activate-venv: SKIPPING 13:24:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3474/2 13:24:12 INFO: archiving workspace using pattern(s): 13:24:14 Archives upload complete. 13:24:14 INFO: archiving logs to Nexus