Pull request #3045 opened 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 cc81cd9a60941bde415ebdc6eaf205dd7f209524 rather than 810375c38b70d1cb23f4c6fde8bb96941618178c Obtained Jenkinsfile from cc81cd9a60941bde415ebdc6eaf205dd7f209524 Running in Durability level: MAX_SURVIVABILITY 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3045/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3045/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20986 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # 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 cc81cd9a60941bde415ebdc6eaf205dd7f209524 into PR head commit 810375c38b70d1cb23f4c6fde8bb96941618178c Merge succeeded, producing 810375c38b70d1cb23f4c6fde8bb96941618178c Checking out Revision 810375c38b70d1cb23f4c6fde8bb96941618178c (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 cc81cd9a60941bde415ebdc6eaf205dd7f209524 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 Commit message: "feat(notifications): Implement POST /subscription V2 API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:11:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:11:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:11:24 ========================================================= 16:11:24 EdgeX Global Pipelines Version Info 16:11:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:11:27 ------------------- 16:11:27 stable info: 16:11:27 ------------------- 16:11:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:11:27 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 16:11:27 Message: update stable to v1.0.177 16:11:28 ------------------- 16:11:28 experimental info: 16:11:28 ------------------- 16:11:28 Commited By: **** collab-it+edgex@linuxfoundation.org 16:11:28 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 16:11:28 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 810375c38b70d1cb23f4c6fde8bb96941618178c [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 810375c [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:11:33 provisioning config files... 16:11:33 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config8272190816834708135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:33 ---> docker-login.sh 16:11:33 nexus3.edgexfoundry.org:10001 16:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:35 Configure a credential helper to remove this warning. See 16:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:35 16:11:35 Login Succeeded 16:11:35 nexus3.edgexfoundry.org:10002 16:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:35 Configure a credential helper to remove this warning. See 16:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:35 16:11:35 Login Succeeded 16:11:35 nexus3.edgexfoundry.org:10003 16:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:36 Configure a credential helper to remove this warning. See 16:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:36 16:11:36 Login Succeeded 16:11:36 nexus3.edgexfoundry.org:10004 16:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:36 Configure a credential helper to remove this warning. See 16:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:36 16:11:36 Login Succeeded 16:11:36 docker.io 16:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:37 Configure a credential helper to remove this warning. See 16:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:37 16:11:37 Login Succeeded 16:11:37 ---> docker-login.sh ends [Pipeline] } 16:11:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:37 ++ 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 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ cut -d/ -f2 16:11:37 ++ dirname cmd/core-command/Dockerfile 16:11:37 + echo core-command,cmd/core-command/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ dirname cmd/core-data/Dockerfile 16:11:37 ++ cut -d/ -f2 16:11:37 + echo core-data,cmd/core-data/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ dirname cmd/core-metadata/Dockerfile 16:11:37 ++ cut -d/ -f2 16:11:37 + echo core-metadata,cmd/core-metadata/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ dirname cmd/security-bootstrap-redis/Dockerfile 16:11:37 ++ cut -d/ -f2 16:11:37 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ dirname cmd/security-proxy-setup/Dockerfile 16:11:37 ++ cut -d/ -f2 16:11:37 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ dirname cmd/security-secretstore-setup/Dockerfile 16:11:37 ++ cut -d/ -f2 16:11:37 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ cut -d/ -f2 16:11:37 ++ dirname cmd/support-notifications/Dockerfile 16:11:37 + echo support-notifications,cmd/support-notifications/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ cut -d/ -f2 16:11:37 ++ dirname cmd/support-scheduler/Dockerfile 16:11:37 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:11:37 + for file in '`ls cmd/**/Dockerfile`' 16:11:37 ++ dirname cmd/sys-mgmt-agent/Dockerfile 16:11:37 ++ cut -d/ -f2 16:11:37 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:11:37 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 16:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:11:39 16:11:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:11:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:11:40 latest: Pulling from edgex-devops/git-semver 16:11:40 31603596830f: Pulling fs layer 16:11:40 2a8b12db71e7: Pulling fs layer 16:11:40 6ca5941a6612: Pulling fs layer 16:11:40 ecc8261a40a4: Pulling fs layer 16:11:40 ecc8261a40a4: Waiting 16:11:40 2a8b12db71e7: Download complete 16:11:40 31603596830f: Verifying Checksum 16:11:40 31603596830f: Download complete 16:11:41 6ca5941a6612: Verifying Checksum 16:11:41 6ca5941a6612: Download complete 16:11:41 ecc8261a40a4: Verifying Checksum 16:11:41 ecc8261a40a4: Download complete 16:11:41 31603596830f: Pull complete 16:11:41 2a8b12db71e7: Pull complete 16:11:43 6ca5941a6612: Pull complete 16:11:44 ecc8261a40a4: Pull complete 16:11:44 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:11:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:11:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:11:44 prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container 16:11:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:11:47 $ docker top 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:47 [ssh-agent] Looking for ssh-agent implementation... 16:11:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:48 $ docker exec 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent 16:11:49 SSH_AUTH_SOCK=/tmp/ssh-3H51QOrSkrTz/agent.11 16:11:49 SSH_AGENT_PID=16 16:11:49 Running ssh-add (command line suppressed) 16:11:49 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3172059551431344391.key (/w/workspace/edgex-go/1@tmp/private_key_3172059551431344391.key) 16:11:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:50 + git tag --points-at HEAD [Pipeline] } 16:11:50 $ docker exec --env ******** --env ******** 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent -k 16:11:50 unset SSH_AUTH_SOCK; 16:11:50 unset SSH_AGENT_PID; 16:11:50 echo Agent pid 16 killed; 16:11:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:11:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:50 [ssh-agent] Looking for ssh-agent implementation... 16:11:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:51 $ docker exec 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent 16:11:51 SSH_AUTH_SOCK=/tmp/ssh-DYdjJ1CEQiZo/agent.46 16:11:51 SSH_AGENT_PID=51 16:11:51 Running ssh-add (command line suppressed) 16:11:51 Identity added: /w/workspace/edgex-go/1@tmp/private_key_4182761511262247039.key (/w/workspace/edgex-go/1@tmp/private_key_4182761511262247039.key) 16:11:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:52 + git semver init 16:11:52 # -> Open(): unable to determine branch for HEAD 16:11:52 # $GIT_DIR = /w/workspace/edgex-go/1/.git 16:11:52 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 16:11:52 # $SEMVER_REMOTE_NAME = origin 16:11:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:11:52 # $SEMVER_USER_NAME = edgex-jenkins 16:11:52 # $SEMVER_BRANCH = PR-3045 16:11:52 # $SEMVER_TEMP = /tmp/semver-112523523 16:11:52 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 16:12:19 # '/tmp/semver-112523523' -> '/w/workspace/edgex-go/1/.semver' 16:12:19 # -> Force: false 16:12:19 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 16:12:20 $ docker exec --env ******** --env ******** 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent -k 16:12:20 unset SSH_AUTH_SOCK; 16:12:20 unset SSH_AGENT_PID; 16:12:20 echo Agent pid 51 killed; 16:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:12:21 + git semver [Pipeline] } 16:12:21 $ docker stop --time=1 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 16:12:23 $ docker rm -f 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 [Pipeline] // withDockerContainer [Pipeline] sh 16:12:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:12:25 Stashed 1 file(s) [Pipeline] echo 16:12:25 [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 16:12:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:12:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:12:27 + true 16:12:27 + sudo service docker restart 16:12:27 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 16:12:29 ========================================================= 16:12:29 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:12:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:12:29 + 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 . 16:12:36 Sending build context to Docker daemon 326.7MB 16:12:36 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 16:12:36 Step 2/6 : FROM ${BASE} 16:12:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:12:36 188c0c94c7c5: Pulling fs layer 16:12:36 0ef7d3d256c8: Pulling fs layer 16:12:36 de9db76c5a1d: Pulling fs layer 16:12:36 bca2f99d35d6: Pulling fs layer 16:12:36 93359f2a8cfa: Pulling fs layer 16:12:36 7c6f9722023f: Pulling fs layer 16:12:36 a35cf1a2eb13: Pulling fs layer 16:12:36 93359f2a8cfa: Waiting 16:12:36 7c6f9722023f: Waiting 16:12:36 a35cf1a2eb13: Waiting 16:12:36 bca2f99d35d6: Waiting 16:12:36 de9db76c5a1d: Verifying Checksum 16:12:36 de9db76c5a1d: Download complete 16:12:36 0ef7d3d256c8: Download complete 16:12:36 93359f2a8cfa: Verifying Checksum 16:12:36 93359f2a8cfa: Download complete 16:12:37 7c6f9722023f: Verifying Checksum 16:12:37 7c6f9722023f: Download complete 16:12:37 188c0c94c7c5: Verifying Checksum 16:12:37 188c0c94c7c5: Download complete 16:12:37 188c0c94c7c5: Pull complete 16:12:38 0ef7d3d256c8: Pull complete 16:12:38 de9db76c5a1d: Pull complete 16:12:41 Still waiting to schedule task 16:12:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 16:12:41 a35cf1a2eb13: Verifying Checksum 16:12:41 a35cf1a2eb13: Download complete 16:12:44 bca2f99d35d6: Verifying Checksum 16:12:44 bca2f99d35d6: Download complete 16:12:57 bca2f99d35d6: Pull complete 16:12:57 93359f2a8cfa: Pull complete 16:12:57 7c6f9722023f: Pull complete 16:13:01 a35cf1a2eb13: Pull complete 16:13:01 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:13:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:13:01 ---> a62c8e92a672 16:13: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 16:13:02 ---> Running in 447b2d231421 16:13:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:13:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:13:04 (1/12) Installing libmagic (5.38-r0) 16:13:05 (2/12) Installing file (5.38-r0) 16:13:05 (3/12) Installing libc-dev (0.7.2-r3) 16:13:05 (4/12) Installing g++ (9.3.0-r2) 16:13:09 (5/12) Installing fortify-headers (1.1-r0) 16:13:09 (6/12) Installing patch (2.7.6-r6) 16:13:09 (7/12) Installing build-base (0.5-r2) 16:13:09 (8/12) Installing libsodium (1.0.18-r0) 16:13:09 (9/12) Installing pkgconf (1.7.2-r0) 16:13:09 (10/12) Installing libsodium-dev (1.0.18-r0) 16:13:09 (11/12) Installing libzmq (4.3.3-r0) 16:13:09 (12/12) Installing zeromq-dev (4.3.3-r0) 16:13:09 Executing busybox-1.31.1-r19.trigger 16:13:09 OK: 233 MiB in 51 packages 16:13:14 Removing intermediate container 447b2d231421 16:13:14 ---> 94e55aab1356 16:13:14 Step 4/6 : WORKDIR /edgex-go 16:13:14 ---> Running in da4c71fbdda4 16:13:14 Removing intermediate container da4c71fbdda4 16:13:14 ---> 1d926accbb48 16:13:14 Step 5/6 : COPY go.mod . 16:13:14 ---> 3c9eb7d8c8c9 16:13:14 Step 6/6 : RUN go mod download 16:13:14 ---> Running in dc6565c05a8f 16:13:47 Removing intermediate container dc6565c05a8f 16:13:47 ---> 2f9b0fb84a4a 16:13:47 Successfully built 2f9b0fb84a4a 16:13:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:13:47 + docker inspect -f . ci-base-image-x86_64 16:13:48 . [Pipeline] withDockerContainer 16:13:48 prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container 16:13:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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-x86_64 cat 16:13:49 $ docker top 79c0f259443d2f48e6e82c20317d98515ee67a1af19e34a7786dd420feef3462 -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:50 + go version 16:13:50 go version go1.15.5 linux/amd64 [Pipeline] } 16:13:50 $ docker stop --time=1 79c0f259443d2f48e6e82c20317d98515ee67a1af19e34a7786dd420feef3462 16:13:53 $ docker rm -f 79c0f259443d2f48e6e82c20317d98515ee67a1af19e34a7786dd420feef3462 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:13:54 + docker inspect -f . ci-base-image-x86_64 16:13:54 . [Pipeline] withDockerContainer 16:13:54 prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container 16:13:55 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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-x86_64 cat 16:13:57 $ docker top fc6e960c4af8f9188fa6556dce36d5c46e02a69c74fed45b1556efb1211dcd89 -eo pid,comm [Pipeline] { [Pipeline] echo 16:13:57 ========================================================= 16:13:57 [edgeXBuildGoParallel] Running Tests and Build... 16:13:57 ========================================================= [Pipeline] sh 16:13:58 + make test 16:13:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:14:13 ? github.com/edgexfoundry/edgex-go [no test files] 16:14:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20987 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws 16:14:25 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 16:14:30 using credential edgex-jenkins-ssh 16:14:30 Cloning the remote Git repository 16:14:30 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:14:30 > git init /w/workspace/edgex-go/1 # timeout=10 16:14:30 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:14:30 > git --version # timeout=10 16:14:30 > git --version # 'git version 2.17.1' 16:14:30 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:46 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:14:46 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 16:14:46 internal/pkg/v2/infrastructure/redis/client.go:655:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:14:46 internal/pkg/v2/infrastructure/redis/subscription.go:23:77: undefined: v2.Category 16:14:46 internal/pkg/v2/infrastructure/redis/subscription.go:25:77: undefined: v2.Receiver 16:14:46 internal/pkg/v2/infrastructure/redis/subscription.go:34:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:14:48 Merging remotes/origin/master commit cc81cd9a60941bde415ebdc6eaf205dd7f209524 into PR head commit 810375c38b70d1cb23f4c6fde8bb96941618178c 16:14:49 Merge succeeded, producing 810375c38b70d1cb23f4c6fde8bb96941618178c 16:14:49 Checking out Revision 810375c38b70d1cb23f4c6fde8bb96941618178c (PR-3045) 16:14:47 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:14:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:48 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:14:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:14:48 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:48 > 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 16:14:48 > git config core.sparsecheckout # timeout=10 16:14:48 > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 16:14:49 > git remote # timeout=10 16:14:49 > git config --get remote.origin.url # timeout=10 16:14:49 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:49 > git merge cc81cd9a60941bde415ebdc6eaf205dd7f209524 # timeout=10 16:14:49 > git rev-parse HEAD^{commit} # timeout=10 16:14:49 > git config core.sparsecheckout # timeout=10 16:14:49 > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 16:14:52 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 16:14:52 internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription 16:14:52 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 16:14:52 internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest 16:14:52 internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest 16:14:52 internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest 16:14:53 Commit message: "feat(notifications): Implement POST /subscription V2 API" 16:14:53 > git --version # timeout=10 16:14:53 > git --version # 'git version 2.17.1' 16:14:53 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:14:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:14:56 + sudo service docker restart 16:14:56 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:14:58 provisioning config files... 16:14:58 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7249420520252872876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:59 ---> docker-login.sh 16:14:59 nexus3.edgexfoundry.org:10001 16:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:00 Configure a credential helper to remove this warning. See 16:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:00 16:15:00 Login Succeeded 16:15:00 nexus3.edgexfoundry.org:10002 16:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:00 Configure a credential helper to remove this warning. See 16:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:00 16:15:00 Login Succeeded 16:15:00 nexus3.edgexfoundry.org:10003 16:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:01 Configure a credential helper to remove this warning. See 16:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:01 16:15:01 Login Succeeded 16:15:01 nexus3.edgexfoundry.org:10004 16:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:01 Configure a credential helper to remove this warning. See 16:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:01 16:15:01 Login Succeeded 16:15:01 docker.io 16:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:02 Configure a credential helper to remove this warning. See 16:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:02 16:15:02 Login Succeeded 16:15:02 ---> docker-login.sh ends [Pipeline] } 16:15:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:15:03 ========================================================= 16:15:03 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:15:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:15:03 + 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 . 16:15:05 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.148s coverage: 46.6% of statements 16:15:05 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 16:15:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.083s coverage: 100.0% of statements 16:15:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.102s coverage: 100.0% of statements 16:15:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.333s coverage: 67.9% of statements 16:15:06 Sending build context to Docker daemon 165.6MB 16:15:06 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 16:15:06 Step 2/6 : FROM ${BASE} 16:15:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:15:06 5f621e34cdf4: Pulling fs layer 16:15:06 a4357932f1b6: Pulling fs layer 16:15:06 18c013af1878: Pulling fs layer 16:15:06 00ac8860ef70: Pulling fs layer 16:15:06 63d7cb157983: Pulling fs layer 16:15:06 b116817d02f9: Pulling fs layer 16:15:06 745a02a5169b: Pulling fs layer 16:15:06 00ac8860ef70: Waiting 16:15:06 63d7cb157983: Waiting 16:15:06 b116817d02f9: Waiting 16:15:06 745a02a5169b: Waiting 16:15:06 18c013af1878: Verifying Checksum 16:15:06 18c013af1878: Download complete 16:15:06 a4357932f1b6: Verifying Checksum 16:15:06 a4357932f1b6: Download complete 16:15:06 63d7cb157983: Verifying Checksum 16:15:06 63d7cb157983: Download complete 16:15:06 b116817d02f9: Verifying Checksum 16:15:06 b116817d02f9: Download complete 16:15:06 5f621e34cdf4: Verifying Checksum 16:15:06 5f621e34cdf4: Download complete 16:15:06 5f621e34cdf4: Pull complete 16:15:07 a4357932f1b6: Pull complete 16:15:07 18c013af1878: Pull complete 16:15:08 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.533s coverage: 82.3% of statements 16:15:08 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 16:15:08 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.217s coverage: 100.0% of statements 16:15:08 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.087s coverage: 100.0% of statements 16:15:08 745a02a5169b: Verifying Checksum 16:15:08 745a02a5169b: Download complete 16:15:09 00ac8860ef70: Verifying Checksum 16:15:09 00ac8860ef70: Download complete 16:15:10 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.168s coverage: 86.7% of statements 16:15:11 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.238s coverage: 97.5% of statements 16:15:11 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.152s coverage: 78.3% of statements 16:15:12 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 16:15:12 internal/pkg/v2/infrastructure/redis/client.go:655: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:15:12 internal/pkg/v2/infrastructure/redis/subscription.go:23: undefined: v2.Category 16:15:12 internal/pkg/v2/infrastructure/redis/subscription.go:25: undefined: v2.Receiver 16:15:12 internal/pkg/v2/infrastructure/redis/subscription.go:34: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:15:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.869s coverage: 92.8% of statements 16:15:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.111s coverage: 58.8% of statements 16:15:16 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 16:15:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements 16:15:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.170s coverage: 75.5% of statements 16:15:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.084s coverage: 80.8% of statements 16:15:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.135s coverage: 87.2% of statements 16:15:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.156s coverage: 84.2% of statements 16:15:17 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.202s coverage: 91.4% of statements 16:15:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.388s coverage: 63.5% of statements 16:15:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.062s coverage: 100.0% of statements 16:15:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.068s coverage: 91.3% of statements 16:15:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.090s coverage: 100.0% of statements 16:15:19 00ac8860ef70: Pull complete 16:15:19 63d7cb157983: Pull complete 16:15:19 b116817d02f9: Pull complete 16:15:19 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.070s coverage: 73.7% of statements 16:15:20 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.093s coverage: 100.0% of statements 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.800s coverage: 68.9% of statements 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.225s coverage: 37.0% of statements 16:15:24 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.780s coverage: 84.0% of statements 16:15:24 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.106s coverage: 100.0% of statements 16:15:24 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 16:15:24 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription 16:15:24 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription 16:15:24 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription 16:15:24 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription 16:15:24 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription 16:15:24 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 16:15:25 745a02a5169b: Pull complete 16:15:25 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:15:25 ---> b7e6874047d6 16:15:25 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 16:15:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.069s coverage: 100.0% of statements 16:15:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.079s coverage: 100.0% of statements 16:15:25 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 16:15:28 ---> Running in 2a5cc4597ee7 16:15:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 1.539s coverage: 29.1% of statements 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.191s coverage: 99.0% of statements 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.065s coverage: 100.0% of statements 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/system 0.087s coverage: 0.0% of statements 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.060s coverage: 100.0% of statements 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.105s coverage: 87.9% of statements 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.060s coverage: 100.0% of statements 16:15:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.055s coverage: 32.1% of statements 16:15:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:15:31 (1/12) Installing libmagic (5.38-r0) 16:15:31 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.083s coverage: 100.0% of statements 16:15:31 (2/12) Installing file (5.38-r0) 16:15:31 (3/12) Installing libc-dev (0.7.2-r3) 16:15:31 (4/12) Installing g++ (9.3.0-r2) 16:15:32 make: *** [Makefile:94: test] Error 2 [Pipeline] } 16:15:32 $ docker stop --time=1 fc6e960c4af8f9188fa6556dce36d5c46e02a69c74fed45b1556efb1211dcd89 16:15:34 $ docker rm -f fc6e960c4af8f9188fa6556dce36d5c46e02a69c74fed45b1556efb1211dcd89 [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] } 16:15:36 (5/12) Installing fortify-headers (1.1-r0) 16:15:36 (6/12) Installing patch (2.7.6-r6) 16:15:36 (7/12) Installing build-base (0.5-r2) 16:15:36 (8/12) Installing libsodium (1.0.18-r0) 16:15:36 (9/12) Installing pkgconf (1.7.2-r0) 16:15:36 (10/12) Installing libsodium-dev (1.0.18-r0) 16:15:36 (11/12) Installing libzmq (4.3.3-r0) 16:15:36 (12/12) Installing zeromq-dev (4.3.3-r0) [Pipeline] // stage [Pipeline] } 16:15:37 Failed in branch amd64 16:15:37 Executing busybox-1.31.1-r19.trigger 16:15:37 OK: 217 MiB in 51 packages 16:15:41 Removing intermediate container 2a5cc4597ee7 16:15:41 ---> 38a44bc15f9a 16:15:41 Step 4/6 : WORKDIR /edgex-go 16:15:41 ---> Running in 69f5826207f9 16:15:41 Removing intermediate container 69f5826207f9 16:15:41 ---> 41a73c704e8b 16:15:41 Step 5/6 : COPY go.mod . 16:15:42 ---> 075cafbb0de5 16:15:42 Step 6/6 : RUN go mod download 16:15:42 ---> Running in 3a2c2280ac96 16:16:09 Removing intermediate container 3a2c2280ac96 16:16:09 ---> 48291c81df5e 16:16:09 Successfully built 48291c81df5e 16:16:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:16:09 + docker inspect -f . ci-base-image-arm64 16:16:09 . [Pipeline] withDockerContainer 16:16:10 prd-ubuntu18.04-docker-arm64-4c-16g-20987 does not seem to be running inside a container 16:16:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 16:16:11 $ docker top c260aa4b8c3ca5b714630b7566b85dc6ded32021921894800c7acdb3dcc36094 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:12 + go version 16:16:12 go version go1.15.5 linux/arm64 [Pipeline] } 16:16:12 $ docker stop --time=1 c260aa4b8c3ca5b714630b7566b85dc6ded32021921894800c7acdb3dcc36094 16:16:14 $ docker rm -f c260aa4b8c3ca5b714630b7566b85dc6ded32021921894800c7acdb3dcc36094 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:16:16 + docker inspect -f . ci-base-image-arm64 16:16:16 . [Pipeline] withDockerContainer 16:16:16 prd-ubuntu18.04-docker-arm64-4c-16g-20987 does not seem to be running inside a container 16:16:16 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 16:16:17 $ docker top b6477b7ea6e6a062f70fe57a5e2eb8d6b3f03fb4dfd7b027af3f64a700bdb9f1 -eo pid,comm [Pipeline] { [Pipeline] echo 16:16:18 ========================================================= 16:16:18 [edgeXBuildGoParallel] Running Tests and Build... 16:16:18 ========================================================= [Pipeline] sh 16:16:18 + make test 16:16:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:16:41 ? github.com/edgexfoundry/edgex-go [no test files] 16:17:28 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:17:28 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 16:17:28 internal/pkg/v2/infrastructure/redis/client.go:655:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:17:28 internal/pkg/v2/infrastructure/redis/subscription.go:23:77: undefined: v2.Category 16:17:28 internal/pkg/v2/infrastructure/redis/subscription.go:25:77: undefined: v2.Receiver 16:17:28 internal/pkg/v2/infrastructure/redis/subscription.go:34:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:17:33 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 16:17:33 internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription 16:17:33 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 16:17:33 internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest 16:17:33 internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest 16:17:33 internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest 16:17:48 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.206s coverage: 46.6% of statements 16:17:48 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 16:17:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.078s coverage: 100.0% of statements 16:17:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.087s coverage: 100.0% of statements 16:17:51 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.260s coverage: 67.9% of statements 16:17:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.646s coverage: 82.3% of statements 16:17:55 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 16:17:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.157s coverage: 100.0% of statements 16:17:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.094s coverage: 100.0% of statements 16:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.297s coverage: 86.7% of statements 16:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.361s coverage: 97.5% of statements 16:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.165s coverage: 78.3% of statements 16:17:58 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 16:17:58 internal/pkg/v2/infrastructure/redis/client.go:655: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:17:58 internal/pkg/v2/infrastructure/redis/subscription.go:23: undefined: v2.Category 16:17:58 internal/pkg/v2/infrastructure/redis/subscription.go:25: undefined: v2.Receiver 16:17:58 internal/pkg/v2/infrastructure/redis/subscription.go:34: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription 16:18:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.117s coverage: 92.8% of statements 16:18:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.079s coverage: 58.8% of statements 16:18:06 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 16:18:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.061s coverage: 100.0% of statements 16:18:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.083s coverage: 75.5% of statements 16:18:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.8% of statements 16:18:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.151s coverage: 87.2% of statements 16:18:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.118s coverage: 84.2% of statements 16:18:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.214s coverage: 91.4% of statements 16:18:09 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.645s coverage: 63.5% of statements 16:18:09 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.088s coverage: 100.0% of statements 16:18:09 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.096s coverage: 91.3% of statements 16:18:10 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.048s coverage: 100.0% of statements 16:18:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.077s coverage: 73.7% of statements 16:18:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.072s coverage: 100.0% of statements 16:18:15 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.811s coverage: 68.9% of statements 16:18:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.442s coverage: 37.0% of statements 16:18:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.687s coverage: 84.0% of statements 16:18:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.078s coverage: 100.0% of statements 16:18:17 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 16:18:17 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 16:18:17 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription 16:18:17 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription 16:18:17 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription 16:18:17 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription 16:18:17 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription 16:18:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.128s coverage: 100.0% of statements 16:18:20 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.120s coverage: 100.0% of statements 16:18:20 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.839s coverage: 29.1% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.170s coverage: 99.0% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.130s coverage: 100.0% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.065s coverage: 100.0% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.075s coverage: 87.9% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.061s coverage: 100.0% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.097s coverage: 32.1% of statements 16:18:28 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 16:18:29 make: *** [Makefile:94: test] Error 2 [Pipeline] } 16:18:29 $ docker stop --time=1 b6477b7ea6e6a062f70fe57a5e2eb8d6b3f03fb4dfd7b027af3f64a700bdb9f1 16:18:31 $ docker rm -f b6477b7ea6e6a062f70fe57a5e2eb8d6b3f03fb4dfd7b027af3f64a700bdb9f1 [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] } 16:18:34 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 16:18:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:18:38 ---> package-listing.sh 16:18:38 ++ facter osfamily 16:18:38 ++ tr '[:upper:]' '[:lower:]' 16:18:38 + OS_FAMILY=redhat 16:18:38 + workspace=/w/workspace/edgex-go/1 16:18:38 + START_PACKAGES=/tmp/packages_start.txt 16:18:38 + END_PACKAGES=/tmp/packages_end.txt 16:18:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:18:38 + PACKAGES=/tmp/packages_start.txt 16:18:38 + '[' /w/workspace/edgex-go/1 ']' 16:18:38 + PACKAGES=/tmp/packages_end.txt 16:18:38 + case "${OS_FAMILY}" in 16:18:38 + rpm -qa 16:18:38 + sort 16:18:45 + '[' -f /tmp/packages_start.txt ']' 16:18:45 + '[' -f /tmp/packages_end.txt ']' 16:18:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:18:45 + '[' /w/workspace/edgex-go/1 ']' 16:18:45 + mkdir -p /w/workspace/edgex-go/1/archives/ 16:18:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 16:18:45 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:18:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:18:46 16:18:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:18:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:18:47 alpine: Pulling from edgex-lftools-log-publisher 16:18:47 df20fa9351a1: Pulling fs layer 16:18:47 36b3adc4ff6f: Pulling fs layer 16:18:47 8ad3a11d3b57: Pulling fs layer 16:18:47 46f8f816bc3b: Pulling fs layer 16:18:47 93b61091891f: Pulling fs layer 16:18:47 93b9cdb0e59b: Pulling fs layer 16:18:47 5e14af77c1be: Pulling fs layer 16:18:47 01666e4c0597: Pulling fs layer 16:18:47 aa168da1d23b: Pulling fs layer 16:18:47 46f8f816bc3b: Waiting 16:18:47 93b61091891f: Waiting 16:18:47 93b9cdb0e59b: Waiting 16:18:47 5e14af77c1be: Waiting 16:18:47 01666e4c0597: Waiting 16:18:47 aa168da1d23b: Waiting 16:18:47 36b3adc4ff6f: Verifying Checksum 16:18:47 36b3adc4ff6f: Download complete 16:18:47 46f8f816bc3b: Verifying Checksum 16:18:47 46f8f816bc3b: Download complete 16:18:47 df20fa9351a1: Download complete 16:18:47 93b9cdb0e59b: Verifying Checksum 16:18:47 93b9cdb0e59b: Download complete 16:18:47 5e14af77c1be: Verifying Checksum 16:18:47 5e14af77c1be: Download complete 16:18:47 93b61091891f: Download complete 16:18:47 01666e4c0597: Verifying Checksum 16:18:47 01666e4c0597: Download complete 16:18:48 df20fa9351a1: Pull complete 16:18:49 8ad3a11d3b57: Verifying Checksum 16:18:49 8ad3a11d3b57: Download complete 16:18:49 36b3adc4ff6f: Pull complete 16:18:50 8ad3a11d3b57: Pull complete 16:18:50 46f8f816bc3b: Pull complete 16:18:51 93b61091891f: Pull complete 16:18:51 93b9cdb0e59b: Pull complete 16:18:51 5e14af77c1be: Pull complete 16:18:52 01666e4c0597: Pull complete 16:18:55 aa168da1d23b: Verifying Checksum 16:18:55 aa168da1d23b: Download complete 16:19:08 aa168da1d23b: Pull complete 16:19:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:19:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:19:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:19:08 prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container 16:19:08 $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:19:13 $ docker top d0fbaf9a3a38113d233866aba3ff6de498d167cce2cfc0c72f58529892681393 -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:14 + touch /tmp/pre-build-complete [Pipeline] sh 16:19:14 + mkdir -p /var/log/sa [Pipeline] sh 16:19:15 + ls /var/log/sa-host 16:19:15 + sadf -c /var/log/sa-host/sa18 16:19:15 file_magic: OK 16:19:15 HZ: Using current value: 100 16:19:15 file_header: OK 16:19:15 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 16:19:15 Statistics: 16:19:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:19:15 File successfully converted to sysstat format version 12.2.1 16:19:15 + sadf -c /var/log/sa-host/sa23 16:19:15 file_magic: OK 16:19:15 HZ: Using current value: 100 16:19:15 file_header: OK 16:19:15 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 16:19:15 Statistics: 16:19:15 Hnuu...uuuununununu... 16:19:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:16 provisioning config files... 16:19:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config5428491520247581499tmp [Pipeline] { [Pipeline] echo 16:19:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:19:16 ---> create-netrc.sh [Pipeline] } 16:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:19:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:19:17 ---> python-tools-install.sh [Pipeline] echo 16:19:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:19:17 ---> sudo-logs.sh 16:19:17 Archiving 'sudo' log.. [Pipeline] echo 16:19:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:19:18 ---> job-cost.sh 16:19:18 lf-activate-venv: SKIPPING 16:19:18 INFO: No Stack... 16:19:19 INFO: Retrieving Pricing Info for: v1-standard-2 16:19:20 INFO: Archiving Costs [Pipeline] echo 16:19:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:19:20 ---> logs-deploy.sh 16:19:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/1 16:19:20 INFO: archiving workspace using pattern(s): 16:19:23 Archives upload complete. 16:19:23 INFO: archiving logs to Nexus