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 FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch master at c4887d0c009f35026456fc1c8cef2ef56b2ea654 rather than 810375c38b70d1cb23f4c6fde8bb96941618178c Obtained Jenkinsfile from c4887d0c009f35026456fc1c8cef2ef56b2ea654 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21422 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/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 > 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/3045/head:refs/remotes/origin/PR-3045 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c4887d0c009f35026456fc1c8cef2ef56b2ea654 into PR head commit 810375c38b70d1cb23f4c6fde8bb96941618178c Merge succeeded, producing 56649bab08093a72d1c5fbfe95e06667041198a2 Checking out Revision 56649bab08093a72d1c5fbfe95e06667041198a2 (PR-3045) > git config core.sparsecheckout # timeout=10 > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # 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 c4887d0c009f35026456fc1c8cef2ef56b2ea654 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56649bab08093a72d1c5fbfe95e06667041198a2 # timeout=10 Commit message: "Merge commit 'c4887d0c009f35026456fc1c8cef2ef56b2ea654' into HEAD" > git rev-list --no-walk 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:30:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:30:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:30:02 ========================================================= 00:30:02 EdgeX Global Pipelines Version Info 00:30:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:30:04 ------------------- 00:30:04 stable info: 00:30:04 ------------------- 00:30:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:04 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:30:04 Message: update stable to v1.0.179 00:30:05 ------------------- 00:30:05 experimental info: 00:30:05 ------------------- 00:30:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:05 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:30:05 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:30:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:30:05 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:30:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:30:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:30:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:30:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:30:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56649bab08093a72d1c5fbfe95e06667041198a2 [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56649ba [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:30:08 provisioning config files... 00:30:08 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config3069801757368271940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:08 ---> docker-login.sh 00:30:08 nexus3.edgexfoundry.org:10001 00:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:09 Configure a credential helper to remove this warning. See 00:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:09 00:30:09 Login Succeeded 00:30:09 nexus3.edgexfoundry.org:10002 00:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:09 Configure a credential helper to remove this warning. See 00:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:09 00:30:09 Login Succeeded 00:30:09 nexus3.edgexfoundry.org:10003 00:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:09 Configure a credential helper to remove this warning. See 00:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:09 00:30:09 Login Succeeded 00:30:09 nexus3.edgexfoundry.org:10004 00:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:10 Configure a credential helper to remove this warning. See 00:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:10 00:30:10 Login Succeeded 00:30:10 docker.io 00:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:10 Configure a credential helper to remove this warning. See 00:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:10 00:30:10 Login Succeeded 00:30:10 ---> docker-login.sh ends [Pipeline] } 00:30:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:10 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/core-command/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo core-command,cmd/core-command/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/core-data/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo core-data,cmd/core-data/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/core-metadata/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo core-metadata,cmd/core-metadata/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/security-bootstrap-redis/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/security-proxy-setup/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ cut -d/ -f2 00:30:10 ++ dirname cmd/support-notifications/Dockerfile 00:30:10 + echo support-notifications,cmd/support-notifications/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/support-scheduler/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:30:10 + for file in '`ls cmd/**/Dockerfile`' 00:30:10 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:30:10 ++ cut -d/ -f2 00:30:10 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:30:11 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-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/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 00:30:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:12 00:30:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:30:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:12 latest: Pulling from edgex-devops/git-semver 00:30:12 31603596830f: Pulling fs layer 00:30:12 2a8b12db71e7: Pulling fs layer 00:30:12 6ca5941a6612: Pulling fs layer 00:30:12 ecc8261a40a4: Pulling fs layer 00:30:12 ecc8261a40a4: Waiting 00:30:12 2a8b12db71e7: Verifying Checksum 00:30:12 2a8b12db71e7: Download complete 00:30:12 31603596830f: Verifying Checksum 00:30:12 31603596830f: Download complete 00:30:12 ecc8261a40a4: Download complete 00:30:12 6ca5941a6612: Verifying Checksum 00:30:12 6ca5941a6612: Download complete 00:30:12 31603596830f: Pull complete 00:30:13 2a8b12db71e7: Pull complete 00:30:14 6ca5941a6612: Pull complete 00:30:14 ecc8261a40a4: Pull complete 00:30:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:30:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:30:14 prd-centos7-docker-4c-2g-21422 does not seem to be running inside a container 00:30:15 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:30:17 $ docker top 3db5909cb3837daf1029f5d96ab74feb59843ccbe48e6c2a53fd977bd965ee06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:18 [ssh-agent] Looking for ssh-agent implementation... 00:30:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:18 $ docker exec 3db5909cb3837daf1029f5d96ab74feb59843ccbe48e6c2a53fd977bd965ee06 ssh-agent 00:30:18 SSH_AUTH_SOCK=/tmp/ssh-Uqt5FLslNIv6/agent.11 00:30:18 SSH_AGENT_PID=16 00:30:19 Running ssh-add (command line suppressed) 00:30:19 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4179384189348171739.key (/w/workspace/edgex-go/2@tmp/private_key_4179384189348171739.key) 00:30:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:19 + git tag --points-at HEAD [Pipeline] } 00:30:19 $ docker exec --env ******** --env ******** 3db5909cb3837daf1029f5d96ab74feb59843ccbe48e6c2a53fd977bd965ee06 ssh-agent -k 00:30:20 unset SSH_AUTH_SOCK; 00:30:20 unset SSH_AGENT_PID; 00:30:20 echo Agent pid 16 killed; 00:30:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:20 [ssh-agent] Looking for ssh-agent implementation... 00:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:20 $ docker exec 3db5909cb3837daf1029f5d96ab74feb59843ccbe48e6c2a53fd977bd965ee06 ssh-agent 00:30:20 SSH_AUTH_SOCK=/tmp/ssh-RYJVxabNJ1vK/agent.44 00:30:20 SSH_AGENT_PID=49 00:30:20 Running ssh-add (command line suppressed) 00:30:21 Identity added: /w/workspace/edgex-go/2@tmp/private_key_445096991211337446.key (/w/workspace/edgex-go/2@tmp/private_key_445096991211337446.key) 00:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:21 + git semver init 00:30:21 # -> Open(): unable to determine branch for HEAD 00:30:21 # $GIT_DIR = /w/workspace/edgex-go/2/.git 00:30:21 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 00:30:21 # $SEMVER_REMOTE_NAME = origin 00:30:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:30:21 # $SEMVER_USER_NAME = edgex-jenkins 00:30:21 # $SEMVER_BRANCH = PR-3045 00:30:21 # $SEMVER_TEMP = /tmp/semver-195198131 00:30:21 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:31:17 # '/tmp/semver-195198131' -> '/w/workspace/edgex-go/2/.semver' 00:31:17 # -> Force: false 00:31:17 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 00:31:17 $ docker exec --env ******** --env ******** 3db5909cb3837daf1029f5d96ab74feb59843ccbe48e6c2a53fd977bd965ee06 ssh-agent -k 00:31:18 unset SSH_AUTH_SOCK; 00:31:18 unset SSH_AGENT_PID; 00:31:18 echo Agent pid 49 killed; 00:31:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:18 + git semver [Pipeline] } 00:31:18 $ docker stop --time=1 3db5909cb3837daf1029f5d96ab74feb59843ccbe48e6c2a53fd977bd965ee06 00:31:20 $ docker rm -f 3db5909cb3837daf1029f5d96ab74feb59843ccbe48e6c2a53fd977bd965ee06 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:31:22 Stashed 1 file(s) [Pipeline] echo 00:31:22 [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 00:31:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:31:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:31:23 + sudo service docker restart 00:31:23 + true 00:31:23 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:31:24 ========================================================= 00:31:24 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:31:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:31:24 + 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 . 00:31:28 Sending build context to Docker daemon 326.7MB 00:31:28 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:31:28 Step 2/6 : FROM ${BASE} 00:31:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:31:28 188c0c94c7c5: Pulling fs layer 00:31:28 0ef7d3d256c8: Pulling fs layer 00:31:28 de9db76c5a1d: Pulling fs layer 00:31:28 bca2f99d35d6: Pulling fs layer 00:31:28 93359f2a8cfa: Pulling fs layer 00:31:28 7c6f9722023f: Pulling fs layer 00:31:28 a35cf1a2eb13: Pulling fs layer 00:31:28 93359f2a8cfa: Waiting 00:31:28 bca2f99d35d6: Waiting 00:31:28 7c6f9722023f: Waiting 00:31:28 a35cf1a2eb13: Waiting 00:31:28 de9db76c5a1d: Verifying Checksum 00:31:28 de9db76c5a1d: Download complete 00:31:28 0ef7d3d256c8: Verifying Checksum 00:31:28 0ef7d3d256c8: Download complete 00:31:28 93359f2a8cfa: Verifying Checksum 00:31:28 93359f2a8cfa: Download complete 00:31:29 7c6f9722023f: Verifying Checksum 00:31:29 7c6f9722023f: Download complete 00:31:29 188c0c94c7c5: Verifying Checksum 00:31:29 188c0c94c7c5: Download complete 00:31:29 188c0c94c7c5: Pull complete 00:31:29 0ef7d3d256c8: Pull complete 00:31:30 de9db76c5a1d: Pull complete 00:31:31 a35cf1a2eb13: Verifying Checksum 00:31:31 a35cf1a2eb13: Download complete 00:31:32 bca2f99d35d6: Download complete 00:31:37 Still waiting to schedule task 00:31:37 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:31:39 bca2f99d35d6: Pull complete 00:31:39 93359f2a8cfa: Pull complete 00:31:39 7c6f9722023f: Pull complete 00:31:44 a35cf1a2eb13: Pull complete 00:31:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:31:44 ---> a62c8e92a672 00:31: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 00:31:44 ---> Running in 63d23a7a5593 00:31:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:31:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:31:46 (1/12) Installing libmagic (5.38-r0) 00:31:46 (2/12) Installing file (5.38-r0) 00:31:47 (3/12) Installing libc-dev (0.7.2-r3) 00:31:47 (4/12) Installing g++ (9.3.0-r2) 00:32:09 (5/12) Installing fortify-headers (1.1-r0) 00:32:09 (6/12) Installing patch (2.7.6-r6) 00:32:09 (7/12) Installing build-base (0.5-r2) 00:32:09 (8/12) Installing libsodium (1.0.18-r0) 00:32:09 (9/12) Installing pkgconf (1.7.2-r0) 00:32:09 (10/12) Installing libsodium-dev (1.0.18-r0) 00:32:09 (11/12) Installing libzmq (4.3.3-r0) 00:32:09 (12/12) Installing zeromq-dev (4.3.3-r0) 00:32:09 Executing busybox-1.31.1-r19.trigger 00:32:09 OK: 233 MiB in 51 packages 00:32:11 Removing intermediate container 63d23a7a5593 00:32:11 ---> 338d4b0ea67a 00:32:11 Step 4/6 : WORKDIR /edgex-go 00:32:11 ---> Running in 2821ab6d8004 00:32:11 Removing intermediate container 2821ab6d8004 00:32:11 ---> 52063b6879dc 00:32:11 Step 5/6 : COPY go.mod . 00:32:12 ---> cbb162b9ec5f 00:32:12 Step 6/6 : RUN go mod download 00:32:12 ---> Running in 8a52a4cadba4 00:32:34 Removing intermediate container 8a52a4cadba4 00:32:34 ---> da8f18b3f43b 00:32:34 Successfully built da8f18b3f43b 00:32:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:32:34 + docker inspect -f . ci-base-image-x86_64 00:32:34 . [Pipeline] withDockerContainer 00:32:34 prd-centos7-docker-4c-2g-21422 does not seem to be running inside a container 00:32:35 $ 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 ******** ci-base-image-x86_64 cat 00:32:35 $ docker top 8a161d5a3cd5b55b00a72a292e494f730b5a9834d635acbc9ca8d26b0c1f1204 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:36 + go version 00:32:36 go version go1.15.5 linux/amd64 [Pipeline] } 00:32:36 $ docker stop --time=1 8a161d5a3cd5b55b00a72a292e494f730b5a9834d635acbc9ca8d26b0c1f1204 00:32:37 $ docker rm -f 8a161d5a3cd5b55b00a72a292e494f730b5a9834d635acbc9ca8d26b0c1f1204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:32:38 + docker inspect -f . ci-base-image-x86_64 00:32:38 . [Pipeline] withDockerContainer 00:32:38 prd-centos7-docker-4c-2g-21422 does not seem to be running inside a container 00:32:38 $ 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 ******** ci-base-image-x86_64 cat 00:32:39 $ docker top e01ace1853975d2ff6f9e945c12c75bc817b061eeeb570d4c5a39c291c75ff05 -eo pid,comm [Pipeline] { [Pipeline] echo 00:32:40 ========================================================= 00:32:40 [edgeXBuildGoParallel] Running Tests and Build... 00:32:40 ========================================================= [Pipeline] sh 00:32:40 + make test 00:32:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:32:50 ? github.com/edgexfoundry/edgex-go [no test files] 00:33:07 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:33:09 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 00:33:09 internal/pkg/v2/infrastructure/redis/client.go:655:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:33:09 internal/pkg/v2/infrastructure/redis/subscription.go:23:77: undefined: v2.Category 00:33:09 internal/pkg/v2/infrastructure/redis/subscription.go:25:77: undefined: v2.Receiver 00:33:09 internal/pkg/v2/infrastructure/redis/subscription.go:34:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:33:14 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 00:33:14 internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription 00:33:14 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 00:33:14 internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest 00:33:14 internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest 00:33:14 internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.106s coverage: 46.6% of statements 00:33:21 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.049s coverage: 100.0% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.047s coverage: 100.0% of statements 00:33:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.112s coverage: 67.9% of statements 00:33:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.523s coverage: 82.3% of statements 00:33:23 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 00:33:24 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.088s coverage: 100.0% of statements 00:33:24 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.057s coverage: 100.0% of statements 00:33:25 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.150s coverage: 86.7% of statements 00:33:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.171s coverage: 97.5% of statements 00:33:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.084s coverage: 78.3% of statements 00:33:26 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 00:33:26 internal/pkg/v2/infrastructure/redis/client.go:655: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:33:26 internal/pkg/v2/infrastructure/redis/subscription.go:23: undefined: v2.Category 00:33:26 internal/pkg/v2/infrastructure/redis/subscription.go:25: undefined: v2.Receiver 00:33:26 internal/pkg/v2/infrastructure/redis/subscription.go:34: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.529s coverage: 92.8% of statements 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.067s coverage: 58.8% of statements 00:33:28 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.074s coverage: 75.5% of statements 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.048s coverage: 80.8% of statements 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.094s coverage: 87.2% of statements 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.077s coverage: 84.2% of statements 00:33:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.146s coverage: 91.4% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.262s coverage: 63.5% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.043s coverage: 100.0% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.072s coverage: 91.3% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.076s coverage: 100.0% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.064s coverage: 73.7% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.068s coverage: 100.0% of statements 00:33:33 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.502s coverage: 68.9% of statements 00:33:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.116s coverage: 37.0% of statements 00:33:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.394s coverage: 84.0% of statements 00:33:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.075s coverage: 100.0% of statements 00:33:33 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 00:33:33 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription 00:33:33 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription 00:33:33 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription 00:33:33 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription 00:33:33 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription 00:33:33 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.088s coverage: 100.0% of statements 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.062s coverage: 100.0% of statements 00:33:35 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.765s coverage: 29.1% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.074s coverage: 99.0% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.049s coverage: 100.0% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/system 0.027s coverage: 0.0% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.044s coverage: 100.0% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.074s coverage: 87.9% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.041s coverage: 100.0% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.043s coverage: 32.1% of statements 00:33:37 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.045s coverage: 100.0% of statements 00:33:38 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:33:38 $ docker stop --time=1 e01ace1853975d2ff6f9e945c12c75bc817b061eeeb570d4c5a39c291c75ff05 00:33:40 $ docker rm -f e01ace1853975d2ff6f9e945c12c75bc817b061eeeb570d4c5a39c291c75ff05 [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] } 00:33:42 Failed in branch amd64 00:33:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21430 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws 00:33:57 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 00:34:02 using credential edgex-jenkins-ssh 00:34:02 Cloning the remote Git repository 00:34:02 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:34:02 > git init /w/workspace/edgex-go/2 # timeout=10 00:34:02 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:02 > git --version # timeout=10 00:34:02 > git --version # 'git version 2.17.1' 00:34:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:25 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:25 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:25 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3045/head:refs/remotes/origin/PR-3045 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:34:26 Merging remotes/origin/master commit c4887d0c009f35026456fc1c8cef2ef56b2ea654 into PR head commit 810375c38b70d1cb23f4c6fde8bb96941618178c 00:34:27 Merge succeeded, producing 335db3e1527f2166787280276e158b43a254edda 00:34:27 Checking out Revision 335db3e1527f2166787280276e158b43a254edda (PR-3045) 00:34:26 > git config core.sparsecheckout # timeout=10 00:34:26 > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 00:34:26 > git remote # timeout=10 00:34:26 > git config --get remote.origin.url # timeout=10 00:34:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:26 > git merge c4887d0c009f35026456fc1c8cef2ef56b2ea654 # timeout=10 00:34:27 > git rev-parse HEAD^{commit} # timeout=10 00:34:27 > git config core.sparsecheckout # timeout=10 00:34:27 > git checkout -f 335db3e1527f2166787280276e158b43a254edda # timeout=10 00:34:31 Commit message: "Merge commit 'c4887d0c009f35026456fc1c8cef2ef56b2ea654' into HEAD" 00:34:31 > git rev-list --no-walk 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:34:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:34:33 + sudo service docker restart 00:34:33 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:34:35 provisioning config files... 00:34:35 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7152064940999680073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:36 ---> docker-login.sh 00:34:36 nexus3.edgexfoundry.org:10001 00:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:37 Configure a credential helper to remove this warning. See 00:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:37 00:34:37 Login Succeeded 00:34:37 nexus3.edgexfoundry.org:10002 00:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:38 Configure a credential helper to remove this warning. See 00:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:38 00:34:38 Login Succeeded 00:34:38 nexus3.edgexfoundry.org:10003 00:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:38 Configure a credential helper to remove this warning. See 00:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:38 00:34:38 Login Succeeded 00:34:38 nexus3.edgexfoundry.org:10004 00:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:38 Configure a credential helper to remove this warning. See 00:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:38 00:34:38 Login Succeeded 00:34:38 docker.io 00:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:39 Configure a credential helper to remove this warning. See 00:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:39 00:34:39 Login Succeeded 00:34:39 ---> docker-login.sh ends [Pipeline] } 00:34:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:34:40 ========================================================= 00:34:40 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:34:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:34:40 + 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 . 00:34:43 Sending build context to Docker daemon 165.6MB 00:34:43 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:34:43 Step 2/6 : FROM ${BASE} 00:34:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:43 5f621e34cdf4: Pulling fs layer 00:34:43 a4357932f1b6: Pulling fs layer 00:34:43 18c013af1878: Pulling fs layer 00:34:43 00ac8860ef70: Pulling fs layer 00:34:43 63d7cb157983: Pulling fs layer 00:34:43 b116817d02f9: Pulling fs layer 00:34:43 745a02a5169b: Pulling fs layer 00:34:43 745a02a5169b: Waiting 00:34:43 00ac8860ef70: Waiting 00:34:43 b116817d02f9: Waiting 00:34:43 63d7cb157983: Waiting 00:34:43 18c013af1878: Verifying Checksum 00:34:43 18c013af1878: Download complete 00:34:43 a4357932f1b6: Verifying Checksum 00:34:43 a4357932f1b6: Download complete 00:34:43 63d7cb157983: Verifying Checksum 00:34:43 63d7cb157983: Download complete 00:34:43 b116817d02f9: Verifying Checksum 00:34:43 b116817d02f9: Download complete 00:34:43 5f621e34cdf4: Verifying Checksum 00:34:43 5f621e34cdf4: Download complete 00:34:43 5f621e34cdf4: Pull complete 00:34:44 a4357932f1b6: Pull complete 00:34:44 18c013af1878: Pull complete 00:34:45 745a02a5169b: Verifying Checksum 00:34:45 745a02a5169b: Download complete 00:34:46 00ac8860ef70: Verifying Checksum 00:34:46 00ac8860ef70: Download complete 00:34:56 00ac8860ef70: Pull complete 00:34:57 63d7cb157983: Pull complete 00:34:57 b116817d02f9: Pull complete 00:35:01 745a02a5169b: Pull complete 00:35:01 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:35:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:35:01 ---> b7e6874047d6 00:35:01 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 00:35:05 ---> Running in 37a851dbaed8 00:35:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:35:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:35:08 (1/12) Installing libmagic (5.38-r0) 00:35:09 (2/12) Installing file (5.38-r0) 00:35:09 (3/12) Installing libc-dev (0.7.2-r3) 00:35:09 (4/12) Installing g++ (9.3.0-r2) 00:35:41 (5/12) Installing fortify-headers (1.1-r0) 00:35:41 (6/12) Installing patch (2.7.6-r6) 00:35:41 (7/12) Installing build-base (0.5-r2) 00:35:41 (8/12) Installing libsodium (1.0.18-r0) 00:35:41 (9/12) Installing pkgconf (1.7.2-r0) 00:35:41 (10/12) Installing libsodium-dev (1.0.18-r0) 00:35:41 (11/12) Installing libzmq (4.3.3-r0) 00:35:41 (12/12) Installing zeromq-dev (4.3.3-r0) 00:35:41 Executing busybox-1.31.1-r19.trigger 00:35:41 OK: 217 MiB in 51 packages 00:35:42 Removing intermediate container 37a851dbaed8 00:35:42 ---> 44ad062c93ff 00:35:42 Step 4/6 : WORKDIR /edgex-go 00:35:42 ---> Running in b9da0438fdeb 00:35:42 Removing intermediate container b9da0438fdeb 00:35:42 ---> 31c08e849bc2 00:35:42 Step 5/6 : COPY go.mod . 00:35:43 ---> 72c71987fad6 00:35:43 Step 6/6 : RUN go mod download 00:35:43 ---> Running in 5f5122c09644 00:36:10 Removing intermediate container 5f5122c09644 00:36:10 ---> bd8cc545196a 00:36:10 Successfully built bd8cc545196a 00:36:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:36:10 + docker inspect -f . ci-base-image-arm64 00:36:10 . [Pipeline] withDockerContainer 00:36:11 prd-ubuntu18.04-docker-arm64-4c-16g-21430 does not seem to be running inside a container 00:36:11 $ 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 ******** ci-base-image-arm64 cat 00:36:12 $ docker top 338576acb2bdfcd27e7cd099edeb9f28a7969b10f98073bc3f83889cbcd6f9ad -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:13 + go version 00:36:13 go version go1.15.5 linux/arm64 [Pipeline] } 00:36:13 $ docker stop --time=1 338576acb2bdfcd27e7cd099edeb9f28a7969b10f98073bc3f83889cbcd6f9ad 00:36:16 $ docker rm -f 338576acb2bdfcd27e7cd099edeb9f28a7969b10f98073bc3f83889cbcd6f9ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:36:17 + docker inspect -f . ci-base-image-arm64 00:36:17 . [Pipeline] withDockerContainer 00:36:17 prd-ubuntu18.04-docker-arm64-4c-16g-21430 does not seem to be running inside a container 00:36: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 ******** ci-base-image-arm64 cat 00:36:18 $ docker top 463767e2268cc43ad77d799d6e40344c9a14915a339e9a14f99e57eb16441252 -eo pid,comm [Pipeline] { [Pipeline] echo 00:36:19 ========================================================= 00:36:19 [edgeXBuildGoParallel] Running Tests and Build... 00:36:19 ========================================================= [Pipeline] sh 00:36:19 + make test 00:36:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:36:42 ? github.com/edgexfoundry/edgex-go [no test files] 00:37:29 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:37:30 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 00:37:30 internal/pkg/v2/infrastructure/redis/client.go:655:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:37:30 internal/pkg/v2/infrastructure/redis/subscription.go:23:77: undefined: v2.Category 00:37:30 internal/pkg/v2/infrastructure/redis/subscription.go:25:77: undefined: v2.Receiver 00:37:30 internal/pkg/v2/infrastructure/redis/subscription.go:34:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:37:39 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 00:37:39 internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription 00:37:39 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 00:37:39 internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest 00:37:39 internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest 00:37:39 internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest 00:37:54 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.215s coverage: 46.6% of statements 00:37:54 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 00:37:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.062s coverage: 100.0% of statements 00:37:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.074s coverage: 100.0% of statements 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.300s coverage: 67.9% of statements 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.714s coverage: 82.3% of statements 00:38:00 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.136s coverage: 100.0% of statements 00:38:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.076s coverage: 100.0% of statements 00:38:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.345s coverage: 86.7% of statements 00:38:03 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 00:38:03 internal/pkg/v2/infrastructure/redis/client.go:655: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:38:03 internal/pkg/v2/infrastructure/redis/subscription.go:23: undefined: v2.Category 00:38:03 internal/pkg/v2/infrastructure/redis/subscription.go:25: undefined: v2.Receiver 00:38:03 internal/pkg/v2/infrastructure/redis/subscription.go:34: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 00:38:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.374s coverage: 97.5% of statements 00:38:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.150s coverage: 78.3% of statements 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.308s coverage: 92.8% of statements 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.054s coverage: 58.8% of statements 00:38:13 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.056s coverage: 100.0% of statements 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.086s coverage: 75.5% of statements 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.122s coverage: 80.8% of statements 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.180s coverage: 87.2% of statements 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.143s coverage: 84.2% of statements 00:38:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.208s coverage: 91.4% of statements 00:38:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.643s coverage: 63.5% of statements 00:38:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.053s coverage: 100.0% of statements 00:38:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.122s coverage: 91.3% of statements 00:38:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.077s coverage: 100.0% of statements 00:38:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.133s coverage: 73.7% of statements 00:38:17 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.073s coverage: 100.0% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.904s coverage: 68.9% of statements 00:38:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.408s coverage: 37.0% of statements 00:38:21 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 00:38:21 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription 00:38:21 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription 00:38:21 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription 00:38:21 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription 00:38:21 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.688s coverage: 84.0% of statements 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.098s coverage: 100.0% of statements 00:38:23 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 00:38:24 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.143s coverage: 100.0% of statements 00:38:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.120s coverage: 100.0% of statements 00:38:25 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.306s coverage: 29.1% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.222s coverage: 99.0% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.107s coverage: 100.0% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.047s coverage: 100.0% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.074s coverage: 87.9% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.050s coverage: 100.0% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.055s coverage: 32.1% of statements 00:38:33 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements 00:38:34 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:38:34 $ docker stop --time=1 463767e2268cc43ad77d799d6e40344c9a14915a339e9a14f99e57eb16441252 00:38:36 $ docker rm -f 463767e2268cc43ad77d799d6e40344c9a14915a339e9a14f99e57eb16441252 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:38:38 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 00:38:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:38:41 ---> package-listing.sh 00:38:41 ++ facter osfamily 00:38:41 ++ tr '[:upper:]' '[:lower:]' 00:38:42 + OS_FAMILY=redhat 00:38:42 + workspace=/w/workspace/edgex-go/2 00:38:42 + START_PACKAGES=/tmp/packages_start.txt 00:38:42 + END_PACKAGES=/tmp/packages_end.txt 00:38:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:42 + PACKAGES=/tmp/packages_start.txt 00:38:42 + '[' /w/workspace/edgex-go/2 ']' 00:38:42 + PACKAGES=/tmp/packages_end.txt 00:38:42 + case "${OS_FAMILY}" in 00:38:42 + rpm -qa 00:38:42 + sort 00:38:47 + '[' -f /tmp/packages_start.txt ']' 00:38:47 + '[' -f /tmp/packages_end.txt ']' 00:38:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:47 + '[' /w/workspace/edgex-go/2 ']' 00:38:47 + mkdir -p /w/workspace/edgex-go/2/archives/ 00:38:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 00:38:47 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 00:38:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:38:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:48 00:38:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:38:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:49 alpine: Pulling from edgex-lftools-log-publisher 00:38:49 df20fa9351a1: Pulling fs layer 00:38:49 36b3adc4ff6f: Pulling fs layer 00:38:49 8ad3a11d3b57: Pulling fs layer 00:38:49 46f8f816bc3b: Pulling fs layer 00:38:49 93b61091891f: Pulling fs layer 00:38:49 93b9cdb0e59b: Pulling fs layer 00:38:49 5e14af77c1be: Pulling fs layer 00:38:49 01666e4c0597: Pulling fs layer 00:38:49 aa168da1d23b: Pulling fs layer 00:38:49 46f8f816bc3b: Waiting 00:38:49 93b61091891f: Waiting 00:38:49 5e14af77c1be: Waiting 00:38:49 01666e4c0597: Waiting 00:38:49 aa168da1d23b: Waiting 00:38:49 93b9cdb0e59b: Waiting 00:38:49 36b3adc4ff6f: Verifying Checksum 00:38:49 36b3adc4ff6f: Download complete 00:38:49 46f8f816bc3b: Verifying Checksum 00:38:49 46f8f816bc3b: Download complete 00:38:49 df20fa9351a1: Verifying Checksum 00:38:49 df20fa9351a1: Download complete 00:38:49 93b9cdb0e59b: Verifying Checksum 00:38:49 93b9cdb0e59b: Download complete 00:38:49 93b61091891f: Verifying Checksum 00:38:49 93b61091891f: Download complete 00:38:49 01666e4c0597: Verifying Checksum 00:38:49 01666e4c0597: Download complete 00:38:49 5e14af77c1be: Verifying Checksum 00:38:49 5e14af77c1be: Download complete 00:38:49 8ad3a11d3b57: Verifying Checksum 00:38:49 8ad3a11d3b57: Download complete 00:38:49 df20fa9351a1: Pull complete 00:38:50 36b3adc4ff6f: Pull complete 00:38:51 8ad3a11d3b57: Pull complete 00:38:51 46f8f816bc3b: Pull complete 00:38:52 93b61091891f: Pull complete 00:38:52 93b9cdb0e59b: Pull complete 00:38:52 aa168da1d23b: Verifying Checksum 00:38:52 aa168da1d23b: Download complete 00:38:53 5e14af77c1be: Pull complete 00:38:53 01666e4c0597: Pull complete 00:39:03 aa168da1d23b: Pull complete 00:39:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:39:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:39:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:39:03 prd-centos7-docker-4c-2g-21422 does not seem to be running inside a container 00:39:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:39:07 $ docker top 64f647887ad66615f7bfe76617f6586c3eef091b238fb7b4fcff1773415c6838 -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:07 + touch /tmp/pre-build-complete [Pipeline] sh 00:39:08 + mkdir -p /var/log/sa [Pipeline] sh 00:39:08 + ls /var/log/sa-host 00:39:08 + sadf -c /var/log/sa-host/sa20 00:39:08 file_magic: OK 00:39:08 HZ: Using current value: 100 00:39:08 file_header: OK 00:39:08 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 00:39:08 Statistics: 00:39:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:39:08 File successfully converted to sysstat format version 12.2.1 00:39:08 + sadf -c /var/log/sa-host/sa23 00:39:08 file_magic: OK 00:39:08 HZ: Using current value: 100 00:39:08 file_header: OK 00:39:08 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 00:39:08 Statistics: 00:39:08 Hnuu...uuuununununu... 00:39:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:39:08 provisioning config files... 00:39:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2587834137549953411tmp [Pipeline] { [Pipeline] echo 00:39:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:39:09 ---> create-netrc.sh [Pipeline] } 00:39:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:39:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:39:09 ---> python-tools-install.sh [Pipeline] echo 00:39:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:39:10 ---> sudo-logs.sh 00:39:10 Archiving 'sudo' log.. [Pipeline] echo 00:39:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:39:10 ---> job-cost.sh 00:39:10 lf-activate-venv: SKIPPING 00:39:10 INFO: No Stack... 00:39:11 INFO: Retrieving Pricing Info for: v1-standard-2 00:39:12 INFO: Archiving Costs [Pipeline] echo 00:39:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:39:12 ---> logs-deploy.sh 00:39:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/2 00:39:12 INFO: archiving workspace using pattern(s): 00:39:15 Archives upload complete. 00:39:15 INFO: archiving logs to Nexus