Pull request #3045 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 FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch master at df7eaa583f48bd0cefe0e9af00d8477318667731 rather than 004a12ff556a2cc81a63b5584790cddddc8757e6 Obtained Jenkinsfile from df7eaa583f48bd0cefe0e9af00d8477318667731 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 Running on prd-centos7-docker-4c-2g-23957 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/6 [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/6 # 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 df7eaa583f48bd0cefe0e9af00d8477318667731 into PR head commit 004a12ff556a2cc81a63b5584790cddddc8757e6 Merge succeeded, producing 004a12ff556a2cc81a63b5584790cddddc8757e6 Checking out Revision 004a12ff556a2cc81a63b5584790cddddc8757e6 (PR-3045) > git config core.sparsecheckout # timeout=10 > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # 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 df7eaa583f48bd0cefe0e9af00d8477318667731 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # timeout=10 Commit message: "feat(notifications): Implement POST /subscription V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:51:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:51:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:51:56 ========================================================= 11:51:56 EdgeX Global Pipelines Version Info 11:51:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cf5be4e06fcb06106dedf1078321e56268397052 # timeout=10 11:51:59 ------------------- 11:51:59 stable info: 11:51:59 ------------------- 11:51:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:51:59 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 11:51:59 Message: update stable to v1.0.179 11:52:00 ------------------- 11:52:00 experimental info: 11:52:00 ------------------- 11:52:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:52:00 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 11:52:00 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:52:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 11:52:00 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 11:52:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:52:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:52:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:52:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 11:52:02 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 11:52:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo 11:52:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo 11:52:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo 11:52:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 004a12ff556a2cc81a63b5584790cddddc8757e6 [Pipeline] echo 11:52:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 004a12f [Pipeline] echo 11:52:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:52:03 provisioning config files... 11:52:03 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config6591880808404728212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:04 ---> docker-login.sh 11:52:04 nexus3.edgexfoundry.org:10001 11:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:05 Configure a credential helper to remove this warning. See 11:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:05 11:52:05 Login Succeeded 11:52:05 nexus3.edgexfoundry.org:10002 11:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:05 Configure a credential helper to remove this warning. See 11:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:05 11:52:05 Login Succeeded 11:52:05 nexus3.edgexfoundry.org:10003 11:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:06 Configure a credential helper to remove this warning. See 11:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:06 11:52:06 Login Succeeded 11:52:06 nexus3.edgexfoundry.org:10004 11:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:06 Configure a credential helper to remove this warning. See 11:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:06 11:52:06 Login Succeeded 11:52:06 docker.io 11:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:06 Configure a credential helper to remove this warning. See 11:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:06 11:52:06 Login Succeeded 11:52:06 ---> docker-login.sh ends [Pipeline] } 11:52:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:52:07 ++ 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 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/core-command/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo core-command,cmd/core-command/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/core-data/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo core-data,cmd/core-data/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ cut -d/ -f2 11:52:07 ++ dirname cmd/core-metadata/Dockerfile 11:52:07 + echo core-metadata,cmd/core-metadata/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/security-bootstrapper/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/security-proxy-setup/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/security-secretstore-setup/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/support-notifications/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo support-notifications,cmd/support-notifications/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/support-scheduler/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo support-scheduler,cmd/support-scheduler/Dockerfile 11:52:07 + for file in '`ls cmd/**/Dockerfile`' 11:52:07 ++ dirname cmd/sys-mgmt-agent/Dockerfile 11:52:07 ++ cut -d/ -f2 11:52:07 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 11:52:07 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 11:52:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:52:09 11:52:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:52:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:52:09 latest: Pulling from edgex-devops/git-semver 11:52:09 31603596830f: Pulling fs layer 11:52:09 2a8b12db71e7: Pulling fs layer 11:52:09 6ca5941a6612: Pulling fs layer 11:52:09 ecc8261a40a4: Pulling fs layer 11:52:09 ecc8261a40a4: Waiting 11:52:09 2a8b12db71e7: Verifying Checksum 11:52:09 2a8b12db71e7: Download complete 11:52:09 31603596830f: Verifying Checksum 11:52:09 31603596830f: Download complete 11:52:09 6ca5941a6612: Verifying Checksum 11:52:09 6ca5941a6612: Download complete 11:52:10 ecc8261a40a4: Verifying Checksum 11:52:10 31603596830f: Pull complete 11:52:10 2a8b12db71e7: Pull complete 11:52:12 6ca5941a6612: Pull complete 11:52:12 ecc8261a40a4: Pull complete 11:52:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:52:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:52:12 prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container 11:52:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 11:52:15 $ docker top deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:52:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:16 [ssh-agent] Looking for ssh-agent implementation... 11:52:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:16 $ docker exec deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent 11:52:17 SSH_AUTH_SOCK=/tmp/ssh-UK3qlZr2htr5/agent.12 11:52:17 SSH_AGENT_PID=17 11:52:17 Running ssh-add (command line suppressed) 11:52:17 Identity added: /w/workspace/edgex-go/6@tmp/private_key_220944224149581996.key (/w/workspace/edgex-go/6@tmp/private_key_220944224149581996.key) 11:52:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:17 + git tag --points-at HEAD [Pipeline] } 11:52:18 $ docker exec --env ******** --env ******** deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent -k 11:52:18 unset SSH_AUTH_SOCK; 11:52:18 unset SSH_AGENT_PID; 11:52:18 echo Agent pid 17 killed; 11:52:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:18 [ssh-agent] Looking for ssh-agent implementation... 11:52:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:18 $ docker exec deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent 11:52:19 SSH_AUTH_SOCK=/tmp/ssh-S1A9x6xW6q2x/agent.47 11:52:19 SSH_AGENT_PID=53 11:52:19 Running ssh-add (command line suppressed) 11:52:19 Identity added: /w/workspace/edgex-go/6@tmp/private_key_8634157568534507282.key (/w/workspace/edgex-go/6@tmp/private_key_8634157568534507282.key) 11:52:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:19 + git semver init 11:52:19 # -> Open(): unable to determine branch for HEAD 11:52:19 # $GIT_DIR = /w/workspace/edgex-go/6/.git 11:52:19 # $GIT_WORK_TREE = /w/workspace/edgex-go/6 11:52:19 # $SEMVER_REMOTE_NAME = origin 11:52:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:52:19 # $SEMVER_USER_NAME = edgex-jenkins 11:52:19 # $SEMVER_BRANCH = PR-3045 11:52:19 # $SEMVER_TEMP = /tmp/semver-247611269 11:52:19 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 11:52:47 # '/tmp/semver-247611269' -> '/w/workspace/edgex-go/6/.semver' 11:52:47 # -> Force: false 11:52:47 # $SEMVER_DIR = /w/workspace/edgex-go/6/.semver [Pipeline] } 11:52:47 $ docker exec --env ******** --env ******** deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent -k 11:52:47 unset SSH_AUTH_SOCK; 11:52:47 unset SSH_AGENT_PID; 11:52:47 echo Agent pid 53 killed; 11:52:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:52:48 + git semver [Pipeline] } 11:52:48 $ docker stop --time=1 deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 11:52:50 $ docker rm -f deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 [Pipeline] // withDockerContainer [Pipeline] sh 11:52:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:52:52 Stashed 1 file(s) [Pipeline] echo 11:52:52 [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 11:52:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:52:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:52:53 + true 11:52:53 + sudo service docker restart 11:52:53 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 11:52:54 ========================================================= 11:52:54 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 11:52:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:52:55 + 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 . 11:53:00 Sending build context to Docker daemon 327.3MB 11:53:00 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 11:53:00 Step 2/6 : FROM ${BASE} 11:53:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 11:53:00 188c0c94c7c5: Pulling fs layer 11:53:00 0ef7d3d256c8: Pulling fs layer 11:53:00 de9db76c5a1d: Pulling fs layer 11:53:00 bca2f99d35d6: Pulling fs layer 11:53:00 93359f2a8cfa: Pulling fs layer 11:53:00 7c6f9722023f: Pulling fs layer 11:53:00 a35cf1a2eb13: Pulling fs layer 11:53:00 93359f2a8cfa: Waiting 11:53:00 7c6f9722023f: Waiting 11:53:00 a35cf1a2eb13: Waiting 11:53:00 bca2f99d35d6: Waiting 11:53:00 de9db76c5a1d: Verifying Checksum 11:53:00 de9db76c5a1d: Download complete 11:53:00 0ef7d3d256c8: Verifying Checksum 11:53:00 0ef7d3d256c8: Download complete 11:53:00 93359f2a8cfa: Verifying Checksum 11:53:00 93359f2a8cfa: Download complete 11:53:00 7c6f9722023f: Verifying Checksum 11:53:00 7c6f9722023f: Download complete 11:53:00 188c0c94c7c5: Verifying Checksum 11:53:00 188c0c94c7c5: Download complete 11:53:01 188c0c94c7c5: Pull complete 11:53:02 0ef7d3d256c8: Pull complete 11:53:02 de9db76c5a1d: Pull complete 11:53:04 a35cf1a2eb13: Verifying Checksum 11:53:04 a35cf1a2eb13: Download complete 11:53:05 bca2f99d35d6: Verifying Checksum 11:53:05 bca2f99d35d6: Download complete 11:53:07 Still waiting to schedule task 11:53:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:53:15 bca2f99d35d6: Pull complete 11:53:15 93359f2a8cfa: Pull complete 11:53:15 7c6f9722023f: Pull complete 11:53:20 a35cf1a2eb13: Pull complete 11:53:20 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 11:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 11:53:20 ---> a62c8e92a672 11:53:20 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 11:53:20 ---> Running in e649988f1080 11:53:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:53:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:53:22 (1/12) Installing libmagic (5.38-r0) 11:53:23 (2/12) Installing file (5.38-r0) 11:53:23 (3/12) Installing libc-dev (0.7.2-r3) 11:53:23 (4/12) Installing g++ (9.3.0-r2) 11:53:28 (5/12) Installing fortify-headers (1.1-r0) 11:53:28 (6/12) Installing patch (2.7.6-r6) 11:53:28 (7/12) Installing build-base (0.5-r2) 11:53:28 (8/12) Installing libsodium (1.0.18-r0) 11:53:28 (9/12) Installing pkgconf (1.7.2-r0) 11:53:28 (10/12) Installing libsodium-dev (1.0.18-r0) 11:53:28 (11/12) Installing libzmq (4.3.3-r0) 11:53:28 (12/12) Installing zeromq-dev (4.3.3-r0) 11:53:28 Executing busybox-1.31.1-r19.trigger 11:53:28 OK: 233 MiB in 51 packages 11:53:32 Removing intermediate container e649988f1080 11:53:32 ---> 565fb762b3f3 11:53:32 Step 4/6 : WORKDIR /edgex-go 11:53:32 ---> Running in 1556207f8617 11:53:32 Removing intermediate container 1556207f8617 11:53:32 ---> 15982d17f7f7 11:53:32 Step 5/6 : COPY go.mod . 11:53:33 ---> b7064ebfe628 11:53:33 Step 6/6 : RUN go mod download 11:53:33 ---> Running in 69ae0ee21d10 11:54:00 Removing intermediate container 69ae0ee21d10 11:54:00 ---> 047739f87daa 11:54:00 Successfully built 047739f87daa 11:54:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:54:00 + docker inspect -f . ci-base-image-x86_64 11:54:00 . [Pipeline] withDockerContainer 11:54:01 prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container 11:54:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 11:54:02 $ docker top 456798908e5cea29cf46ae01bec71cafaf9d2fc3cbafd7cf67f2230be1a22271 -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:03 + go version 11:54:03 go version go1.15.5 linux/amd64 [Pipeline] } 11:54:03 $ docker stop --time=1 456798908e5cea29cf46ae01bec71cafaf9d2fc3cbafd7cf67f2230be1a22271 11:54:05 $ docker rm -f 456798908e5cea29cf46ae01bec71cafaf9d2fc3cbafd7cf67f2230be1a22271 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:54:06 + docker inspect -f . ci-base-image-x86_64 11:54:06 . [Pipeline] withDockerContainer 11:54:06 prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container 11:54:06 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 11:54:08 $ docker top e856c942fd3d32c37622a160410dbee12dc510d7cd5395fa3354bc25fd3ccae1 -eo pid,comm [Pipeline] { [Pipeline] echo 11:54:08 ========================================================= 11:54:08 [edgeXBuildGoParallel] Running Tests and Build... 11:54:08 ========================================================= [Pipeline] sh 11:54:08 + make test 11:54:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:54:27 ? github.com/edgexfoundry/edgex-go [no test files] 11:54:54 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 11:54:54 internal/pkg/v2/infrastructure/redis/client.go:678:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:54:54 internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category 11:54:54 internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver 11:54:54 internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:54:54 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 11:54:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23958 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws 11:54:57 Running in /w/workspace/edgex-go/6 [Pipeline] { [Pipeline] checkout 11:55:02 using credential edgex-jenkins-ssh 11:55:02 Cloning the remote Git repository 11:55:02 Cloning repository git@github.com:edgexfoundry/edgex-go.git 11:55:02 > git init /w/workspace/edgex-go/6 # timeout=10 11:55:03 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 11:55:03 internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription 11:55:03 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 11:55:03 internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest 11:55:03 internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest 11:55:03 internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest 11:55:02 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 11:55:02 > git --version # timeout=10 11:55:02 > git --version # 'git version 2.17.1' 11:55:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:55:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:55:13 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.205s coverage: 46.0% of statements 11:55:13 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.114s coverage: 100.0% of statements 11:55:13 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 11:55:13 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.099s coverage: 100.0% of statements 11:55:13 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.081s coverage: 100.0% of statements 11:55:16 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.167s coverage: 65.8% of statements 11:55:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.478s coverage: 82.3% of statements 11:55:17 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 11:55:17 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.166s coverage: 100.0% of statements 11:55:17 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.042s coverage: 100.0% of statements 11:55:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.162s coverage: 86.7% of statements 11:55:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.164s coverage: 97.5% of statements 11:55:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.090s coverage: 78.3% of statements 11:55:19 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 11:55:19 internal/pkg/v2/infrastructure/redis/client.go:678: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:55:19 internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category 11:55:19 internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver 11:55:19 internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:55:19 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 11:55:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:55:19 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 11:55:19 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 11:55:19 using GIT_SSH to set credentials SSH Credentials for GitHub 11:55:19 > 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 11:55:20 Merging remotes/origin/master commit df7eaa583f48bd0cefe0e9af00d8477318667731 into PR head commit 004a12ff556a2cc81a63b5584790cddddc8757e6 11:55:20 Merge succeeded, producing 004a12ff556a2cc81a63b5584790cddddc8757e6 11:55:20 Checking out Revision 004a12ff556a2cc81a63b5584790cddddc8757e6 (PR-3045) 11:55:20 > git config core.sparsecheckout # timeout=10 11:55:20 > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # timeout=10 11:55:20 > git remote # timeout=10 11:55:20 > git config --get remote.origin.url # timeout=10 11:55:20 using GIT_SSH to set credentials SSH Credentials for GitHub 11:55:20 > git merge df7eaa583f48bd0cefe0e9af00d8477318667731 # timeout=10 11:55:20 > git rev-parse HEAD^{commit} # timeout=10 11:55:20 > git config core.sparsecheckout # timeout=10 11:55:20 > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # timeout=10 11:55:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.593s coverage: 92.8% of statements 11:55:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.034s coverage: 58.8% of statements 11:55:22 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 11:55:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.115s coverage: 43.8% of statements 11:55:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.205s coverage: 79.5% of statements 11:55:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.065s coverage: 94.1% of statements 11:55:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.081s coverage: 96.3% of statements 11:55:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.043s coverage: 87.5% of statements 11:55:25 Commit message: "feat(notifications): Implement POST /subscription V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:55:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:55:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:55:27 + sudo service docker restart 11:55:27 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:55:29 provisioning config files... 11:55:29 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config5581091537803456529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:30 ---> docker-login.sh 11:55:30 nexus3.edgexfoundry.org:10001 11:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:31 Configure a credential helper to remove this warning. See 11:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:31 11:55:31 Login Succeeded 11:55:31 nexus3.edgexfoundry.org:10002 11:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:31 Configure a credential helper to remove this warning. See 11:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:31 11:55:31 Login Succeeded 11:55:31 nexus3.edgexfoundry.org:10003 11:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:32 Configure a credential helper to remove this warning. See 11:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:32 11:55:32 Login Succeeded 11:55:32 nexus3.edgexfoundry.org:10004 11:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:32 Configure a credential helper to remove this warning. See 11:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:32 11:55:32 Login Succeeded 11:55:32 docker.io 11:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:33 Configure a credential helper to remove this warning. See 11:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:33 11:55:33 Login Succeeded 11:55:33 ---> docker-login.sh ends [Pipeline] } 11:55:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:55:33 ========================================================= 11:55:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 11:55:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:55:34 + 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 . 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.056s coverage: 94.4% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.037s coverage: 44.8% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.134s coverage: 87.2% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.063s coverage: 100.0% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.234s coverage: 75.5% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.121s coverage: 80.8% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.096s coverage: 87.2% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.152s coverage: 84.2% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.247s coverage: 91.4% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.355s coverage: 63.5% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.040s coverage: 100.0% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.085s coverage: 91.3% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.120s coverage: 100.0% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.038s coverage: 73.7% of statements 11:55:35 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.044s coverage: 100.0% of statements 11:55:36 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.713s coverage: 68.9% of statements 11:55:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.408s coverage: 37.0% of statements 11:55:36 Sending build context to Docker daemon 166MB 11:55:36 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 11:55:36 Step 2/6 : FROM ${BASE} 11:55:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:55:36 5f621e34cdf4: Pulling fs layer 11:55:36 a4357932f1b6: Pulling fs layer 11:55:36 18c013af1878: Pulling fs layer 11:55:36 00ac8860ef70: Pulling fs layer 11:55:36 63d7cb157983: Pulling fs layer 11:55:36 b116817d02f9: Pulling fs layer 11:55:36 745a02a5169b: Pulling fs layer 11:55:36 00ac8860ef70: Waiting 11:55:36 63d7cb157983: Waiting 11:55:36 b116817d02f9: Waiting 11:55:36 745a02a5169b: Waiting 11:55:36 18c013af1878: Download complete 11:55:36 a4357932f1b6: Verifying Checksum 11:55:36 a4357932f1b6: Download complete 11:55:36 63d7cb157983: Verifying Checksum 11:55:36 63d7cb157983: Download complete 11:55:36 b116817d02f9: Verifying Checksum 11:55:36 b116817d02f9: Download complete 11:55:36 5f621e34cdf4: Verifying Checksum 11:55:36 5f621e34cdf4: Download complete 11:55:37 5f621e34cdf4: Pull complete 11:55:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.522s coverage: 84.0% of statements 11:55:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.105s coverage: 100.0% of statements 11:55:38 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 11:55:38 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 11:55:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription 11:55:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription 11:55:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription 11:55:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription 11:55:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription 11:55:38 a4357932f1b6: Pull complete 11:55:38 18c013af1878: Pull complete 11:55:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.100s coverage: 100.0% of statements 11:55:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.082s coverage: 100.0% of statements 11:55:39 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 11:55:39 745a02a5169b: Verifying Checksum 11:55:39 745a02a5169b: Download complete 11:55:40 00ac8860ef70: Verifying Checksum 11:55:40 00ac8860ef70: Download complete 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.937s coverage: 29.1% of statements 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.206s coverage: 99.0% of statements 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.063s coverage: 100.0% of statements 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/system 0.082s coverage: 0.0% of statements 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.050s coverage: 100.0% of statements 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.053s coverage: 87.9% of statements 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.045s coverage: 100.0% of statements 11:55:43 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.069s coverage: 32.1% of statements 11:55:44 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.113s coverage: 100.0% of statements 11:55:44 make: *** [Makefile:98: test] Error 2 [Pipeline] } 11:55:44 $ docker stop --time=1 e856c942fd3d32c37622a160410dbee12dc510d7cd5395fa3354bc25fd3ccae1 11:55:47 $ docker rm -f e856c942fd3d32c37622a160410dbee12dc510d7cd5395fa3354bc25fd3ccae1 [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] } 11:55:49 Failed in branch amd64 11:55:50 00ac8860ef70: Pull complete 11:55:50 63d7cb157983: Pull complete 11:55:51 b116817d02f9: Pull complete 11:55:55 745a02a5169b: Pull complete 11:55:55 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 11:55:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 11:55:55 ---> b7e6874047d6 11:55:55 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 11:55:58 ---> Running in c941a921a970 11:55:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:56:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:56:00 (1/12) Installing libmagic (5.38-r0) 11:56:00 (2/12) Installing file (5.38-r0) 11:56:01 (3/12) Installing libc-dev (0.7.2-r3) 11:56:01 (4/12) Installing g++ (9.3.0-r2) 11:56:05 (5/12) Installing fortify-headers (1.1-r0) 11:56:05 (6/12) Installing patch (2.7.6-r6) 11:56:05 (7/12) Installing build-base (0.5-r2) 11:56:05 (8/12) Installing libsodium (1.0.18-r0) 11:56:05 (9/12) Installing pkgconf (1.7.2-r0) 11:56:05 (10/12) Installing libsodium-dev (1.0.18-r0) 11:56:05 (11/12) Installing libzmq (4.3.3-r0) 11:56:06 (12/12) Installing zeromq-dev (4.3.3-r0) 11:56:06 Executing busybox-1.31.1-r19.trigger 11:56:06 OK: 217 MiB in 51 packages 11:56:10 Removing intermediate container c941a921a970 11:56:10 ---> b36de5618056 11:56:10 Step 4/6 : WORKDIR /edgex-go 11:56:10 ---> Running in e047b8c8395e 11:56:10 Removing intermediate container e047b8c8395e 11:56:10 ---> 093bee9e02fb 11:56:10 Step 5/6 : COPY go.mod . 11:56:11 ---> 70e7628ac4db 11:56:11 Step 6/6 : RUN go mod download 11:56:11 ---> Running in c3a9758a0bb9 11:56:38 Removing intermediate container c3a9758a0bb9 11:56:38 ---> ec531af1603e 11:56:38 Successfully built ec531af1603e 11:56:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:56:38 + docker inspect -f . ci-base-image-arm64 11:56:38 . [Pipeline] withDockerContainer 11:56:39 prd-ubuntu18.04-docker-arm64-4c-16g-23958 does not seem to be running inside a container 11:56:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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-arm64 cat 11:56:40 $ docker top f364633e0a21ceba62c61ef9ad8d2f3343ca418662a19bddd92fac7e27aeade0 -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:41 + go version 11:56:41 go version go1.15.5 linux/arm64 [Pipeline] } 11:56:41 $ docker stop --time=1 f364633e0a21ceba62c61ef9ad8d2f3343ca418662a19bddd92fac7e27aeade0 11:56:43 $ docker rm -f f364633e0a21ceba62c61ef9ad8d2f3343ca418662a19bddd92fac7e27aeade0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:56:44 + docker inspect -f . ci-base-image-arm64 11:56:44 . [Pipeline] withDockerContainer 11:56:45 prd-ubuntu18.04-docker-arm64-4c-16g-23958 does not seem to be running inside a container 11:56:45 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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-arm64 cat 11:56:46 $ docker top 2a1bfb36165033b83dc2bc415f129c3ace55a82a3aaa2ba0a8806972749bd22d -eo pid,comm [Pipeline] { [Pipeline] echo 11:56:46 ========================================================= 11:56:46 [edgeXBuildGoParallel] Running Tests and Build... 11:56:46 ========================================================= [Pipeline] sh 11:56:47 + make test 11:56:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:57:09 ? github.com/edgexfoundry/edgex-go [no test files] 11:57:56 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 11:57:56 internal/pkg/v2/infrastructure/redis/client.go:678:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:57:56 internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category 11:57:56 internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver 11:57:56 internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:57:56 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 11:58:05 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 11:58:05 internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription 11:58:05 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 11:58:05 internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest 11:58:05 internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest 11:58:05 internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest 11:58:23 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.360s coverage: 46.0% of statements 11:58:23 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.140s coverage: 100.0% of statements 11:58:23 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 11:58:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.112s coverage: 100.0% of statements 11:58:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.077s coverage: 100.0% of statements 11:58:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.260s coverage: 65.8% of statements 11:58:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.713s coverage: 82.3% of statements 11:58:28 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 11:58:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.157s coverage: 100.0% of statements 11:58:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.085s coverage: 100.0% of statements 11:58:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.324s coverage: 86.7% of statements 11:58:32 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 11:58:32 internal/pkg/v2/infrastructure/redis/client.go:678: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:58:32 internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category 11:58:32 internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver 11:58:32 internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription 11:58:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.391s coverage: 97.5% of statements 11:58:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.170s coverage: 78.3% of statements 11:58:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.284s coverage: 92.8% of statements 11:58:41 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.057s coverage: 58.8% of statements 11:58:41 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 11:58:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.068s coverage: 43.8% of statements 11:58:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.092s coverage: 79.5% of statements 11:58:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.072s coverage: 94.1% of statements 11:58:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.077s coverage: 96.3% of statements 11:58:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.062s coverage: 87.5% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.094s coverage: 94.4% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.072s coverage: 87.2% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.102s coverage: 75.5% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.070s coverage: 80.8% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.119s coverage: 87.2% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.131s coverage: 84.2% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.173s coverage: 91.4% of statements 11:58:53 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.605s coverage: 63.5% of statements 11:58:54 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.086s coverage: 100.0% of statements 11:58:55 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.084s coverage: 91.3% of statements 11:58:55 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.060s coverage: 100.0% of statements 11:58:56 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.056s coverage: 73.7% of statements 11:58:56 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.061s coverage: 100.0% of statements 11:59:00 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.857s coverage: 68.9% of statements 11:59:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.415s coverage: 37.0% of statements 11:59:01 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 11:59:01 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription 11:59:01 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription 11:59:01 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription 11:59:01 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription 11:59:01 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription 11:59:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.715s coverage: 84.0% of statements 11:59:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.076s coverage: 100.0% of statements 11:59:02 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 11:59:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.139s coverage: 100.0% of statements 11:59:05 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.134s coverage: 100.0% of statements 11:59:05 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.839s coverage: 29.1% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.203s coverage: 99.0% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.151s coverage: 100.0% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.062s coverage: 100.0% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.105s coverage: 87.9% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.049s coverage: 100.0% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.049s coverage: 32.1% of statements 11:59:13 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements 11:59:14 make: *** [Makefile:98: test] Error 2 [Pipeline] } 11:59:14 $ docker stop --time=1 2a1bfb36165033b83dc2bc415f129c3ace55a82a3aaa2ba0a8806972749bd22d 11:59:16 $ docker rm -f 2a1bfb36165033b83dc2bc415f129c3ace55a82a3aaa2ba0a8806972749bd22d [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] } 11:59:18 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 11:59:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:59:22 ---> package-listing.sh 11:59:22 ++ facter osfamily 11:59:22 ++ tr '[:upper:]' '[:lower:]' 11:59:22 + OS_FAMILY=redhat 11:59:22 + workspace=/w/workspace/edgex-go/6 11:59:22 + START_PACKAGES=/tmp/packages_start.txt 11:59:22 + END_PACKAGES=/tmp/packages_end.txt 11:59:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:59:22 + PACKAGES=/tmp/packages_start.txt 11:59:22 + '[' /w/workspace/edgex-go/6 ']' 11:59:22 + PACKAGES=/tmp/packages_end.txt 11:59:22 + case "${OS_FAMILY}" in 11:59:22 + rpm -qa 11:59:22 + sort 11:59:27 + '[' -f /tmp/packages_start.txt ']' 11:59:27 + '[' -f /tmp/packages_end.txt ']' 11:59:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:59:27 + '[' /w/workspace/edgex-go/6 ']' 11:59:27 + mkdir -p /w/workspace/edgex-go/6/archives/ 11:59:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/6/archives/ [Pipeline] echo 11:59:27 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/6/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:59:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:59:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:59:29 11:59:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:59:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:59:29 alpine: Pulling from edgex-lftools-log-publisher 11:59:29 df20fa9351a1: Pulling fs layer 11:59:29 36b3adc4ff6f: Pulling fs layer 11:59:29 8ad3a11d3b57: Pulling fs layer 11:59:29 46f8f816bc3b: Pulling fs layer 11:59:29 93b61091891f: Pulling fs layer 11:59:29 93b9cdb0e59b: Pulling fs layer 11:59:29 5e14af77c1be: Pulling fs layer 11:59:29 01666e4c0597: Pulling fs layer 11:59:29 aa168da1d23b: Pulling fs layer 11:59:29 93b61091891f: Waiting 11:59:29 93b9cdb0e59b: Waiting 11:59:29 5e14af77c1be: Waiting 11:59:29 01666e4c0597: Waiting 11:59:29 aa168da1d23b: Waiting 11:59:29 46f8f816bc3b: Waiting 11:59:29 36b3adc4ff6f: Verifying Checksum 11:59:29 46f8f816bc3b: Verifying Checksum 11:59:29 46f8f816bc3b: Download complete 11:59:29 df20fa9351a1: Verifying Checksum 11:59:29 df20fa9351a1: Download complete 11:59:29 93b9cdb0e59b: Verifying Checksum 11:59:29 93b9cdb0e59b: Download complete 11:59:29 5e14af77c1be: Verifying Checksum 11:59:29 5e14af77c1be: Download complete 11:59:29 93b61091891f: Verifying Checksum 11:59:29 93b61091891f: Download complete 11:59:29 01666e4c0597: Verifying Checksum 11:59:29 01666e4c0597: Download complete 11:59:30 8ad3a11d3b57: Verifying Checksum 11:59:30 8ad3a11d3b57: Download complete 11:59:30 df20fa9351a1: Pull complete 11:59:30 36b3adc4ff6f: Pull complete 11:59:33 8ad3a11d3b57: Pull complete 11:59:33 46f8f816bc3b: Pull complete 11:59:33 93b61091891f: Pull complete 11:59:33 93b9cdb0e59b: Pull complete 11:59:33 5e14af77c1be: Pull complete 11:59:33 01666e4c0597: Pull complete 11:59:33 aa168da1d23b: Verifying Checksum 11:59:33 aa168da1d23b: Download complete 11:59:46 aa168da1d23b: Pull complete 11:59:46 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:59:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:59:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:59:46 prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container 11:59:46 $ 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/6/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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 11:59:50 $ docker top 3dfd413623846f07ab8446315b48b8364d1651189c6e2eee3a0007bf50efdf0d -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:51 + touch /tmp/pre-build-complete [Pipeline] sh 11:59:51 + mkdir -p /var/log/sa [Pipeline] sh 11:59:51 + ls /var/log/sa-host 11:59:51 + sadf -c /var/log/sa-host/sa23 11:59:51 file_magic: OK 11:59:51 HZ: Using current value: 100 11:59:51 file_header: OK 11:59:51 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 11:59:51 Statistics: 11:59:51 Hnuu...uuuununununu... 11:59:51 File successfully converted to sysstat format version 12.2.1 11:59:51 + sadf -c /var/log/sa-host/sa29 11:59:51 file_magic: OK 11:59:51 HZ: Using current value: 100 11:59:51 file_header: OK 11:59:51 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 11:59:51 Statistics: 11:59:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:59:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:59:52 provisioning config files... 11:59:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/6@tmp/config1718936445648841338tmp [Pipeline] { [Pipeline] echo 11:59:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:59:53 ---> create-netrc.sh [Pipeline] } 11:59:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:59:53 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:59:53 ---> python-tools-install.sh [Pipeline] echo 11:59:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:59:54 ---> sudo-logs.sh 11:59:54 Archiving 'sudo' log.. [Pipeline] echo 11:59:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:59:54 ---> job-cost.sh 11:59:54 lf-activate-venv: SKIPPING 11:59:54 INFO: No Stack... 11:59:55 INFO: Retrieving Pricing Info for: v1-standard-2 11:59:56 INFO: Archiving Costs [Pipeline] echo 11:59:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:59:57 ---> logs-deploy.sh 11:59:57 lf-activate-venv: SKIPPING 11:59:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/6 11:59:57 INFO: archiving workspace using pattern(s): 11:59:59 Archives upload complete. 11:59:59 INFO: archiving logs to Nexus