Pull request #3183 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 61638ca62d33426a2ce3f2b4b107772a009d1874 rather than 766cbfae84edd46f6c10e26f3a0ff3d2486251a2 Obtained Jenkinsfile from 61638ca62d33426a2ce3f2b4b107772a009d1874 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 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 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-3183/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 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 > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-3183/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27121 in /w/workspace/edgexfoundry_edgex-go_PR-3183 [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 Merging remotes/origin/master commit 61638ca62d33426a2ce3f2b4b107772a009d1874 into PR head commit 766cbfae84edd46f6c10e26f3a0ff3d2486251a2 > 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/3183/head:refs/remotes/origin/PR-3183 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 766cbfae84edd46f6c10e26f3a0ff3d2486251a2 # timeout=10 Merge succeeded, producing 58d1885bfab6de782a0983da850d88d76943c8e3 Checking out Revision 58d1885bfab6de782a0983da850d88d76943c8e3 (PR-3183) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 61638ca62d33426a2ce3f2b4b107772a009d1874 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58d1885bfab6de782a0983da850d88d76943c8e3 # timeout=10 Commit message: "Merge commit '61638ca62d33426a2ce3f2b4b107772a009d1874' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:26:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:26:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:26:14 ========================================================= 06:26:14 EdgeX Global Pipelines Version Info 06:26:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:26:17 ------------------- 06:26:17 stable info: 06:26:17 ------------------- 06:26:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:26:17 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:26:17 Message: update stable to v1.0.179 06:26:18 ------------------- 06:26:18 experimental info: 06:26:18 ------------------- 06:26:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:26:18 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:26:18 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:26:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 06:26:19 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 06:26:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:26:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:26:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:26:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:26:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:26:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 06:26:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 06:26:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 06:26:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:26:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:26:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:26:21 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:26:22 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:26:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3183 [Pipeline] echo 06:26:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3183 [Pipeline] echo 06:26:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3183 [Pipeline] echo 06:26:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58d1885bfab6de782a0983da850d88d76943c8e3 [Pipeline] echo 06:26:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58d1885 [Pipeline] echo 06:26:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:26:23 provisioning config files... 06:26:23 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4221018474025458140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:23 ---> docker-login.sh 06:26:23 nexus3.edgexfoundry.org:10001 06:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:27 Configure a credential helper to remove this warning. See 06:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:27 06:26:27 Login Succeeded 06:26:27 nexus3.edgexfoundry.org:10002 06:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:28 Configure a credential helper to remove this warning. See 06:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:28 06:26:28 Login Succeeded 06:26:28 nexus3.edgexfoundry.org:10003 06:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:28 Configure a credential helper to remove this warning. See 06:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:28 06:26:28 Login Succeeded 06:26:28 nexus3.edgexfoundry.org:10004 06:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:30 Configure a credential helper to remove this warning. See 06:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:30 06:26:30 Login Succeeded 06:26:30 docker.io 06:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:32 Configure a credential helper to remove this warning. See 06:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:32 06:26:32 Login Succeeded 06:26:32 ---> docker-login.sh ends [Pipeline] } 06:26:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:26:33 ++ 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 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/core-command/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo core-command,cmd/core-command/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/core-data/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo core-data,cmd/core-data/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/core-metadata/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo core-metadata,cmd/core-metadata/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/security-bootstrapper/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/security-proxy-setup/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/security-secretstore-setup/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/support-notifications/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo support-notifications,cmd/support-notifications/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/support-scheduler/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo support-scheduler,cmd/support-scheduler/Dockerfile 06:26:33 + for file in '`ls cmd/**/Dockerfile`' 06:26:33 ++ dirname cmd/sys-mgmt-agent/Dockerfile 06:26:33 ++ cut -d/ -f2 06:26:33 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 06:26:33 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 06:26:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:34 06:26:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:26:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:37 latest: Pulling from edgex-devops/git-semver 06:26:37 31603596830f: Pulling fs layer 06:26:37 2a8b12db71e7: Pulling fs layer 06:26:37 6ca5941a6612: Pulling fs layer 06:26:37 ecc8261a40a4: Pulling fs layer 06:26:37 ecc8261a40a4: Waiting 06:26:37 2a8b12db71e7: Verifying Checksum 06:26:37 2a8b12db71e7: Download complete 06:26:38 31603596830f: Verifying Checksum 06:26:38 31603596830f: Download complete 06:26:38 6ca5941a6612: Verifying Checksum 06:26:38 6ca5941a6612: Download complete 06:26:38 ecc8261a40a4: Verifying Checksum 06:26:38 ecc8261a40a4: Download complete 06:26:40 31603596830f: Pull complete 06:26:40 2a8b12db71e7: Pull complete 06:26:43 6ca5941a6612: Pull complete 06:26:44 ecc8261a40a4: Pull complete 06:26:44 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:26:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:26:45 prd-centos7-docker-4c-2g-27121 does not seem to be running inside a container 06:26:46 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:26:49 $ docker top 1a71c7a90bd5bb6f1f65aebeb00b486b5c8ea90c9a60ea6b0fb30268f54e4cc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:26:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:50 [ssh-agent] Looking for ssh-agent implementation... 06:26:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:51 $ docker exec 1a71c7a90bd5bb6f1f65aebeb00b486b5c8ea90c9a60ea6b0fb30268f54e4cc9 ssh-agent 06:26:51 SSH_AUTH_SOCK=/tmp/ssh-459FSczKdriN/agent.11 06:26:51 SSH_AGENT_PID=17 06:26:51 Running ssh-add (command line suppressed) 06:26:52 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6708995519242920431.key (/w/workspace/edgex-go/1@tmp/private_key_6708995519242920431.key) 06:26:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:53 + git tag --points-at HEAD [Pipeline] } 06:26:53 $ docker exec --env ******** --env ******** 1a71c7a90bd5bb6f1f65aebeb00b486b5c8ea90c9a60ea6b0fb30268f54e4cc9 ssh-agent -k 06:26:54 unset SSH_AUTH_SOCK; 06:26:54 unset SSH_AGENT_PID; 06:26:54 echo Agent pid 17 killed; 06:26:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:26:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:55 [ssh-agent] Looking for ssh-agent implementation... 06:26:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:55 $ docker exec 1a71c7a90bd5bb6f1f65aebeb00b486b5c8ea90c9a60ea6b0fb30268f54e4cc9 ssh-agent 06:26:56 SSH_AUTH_SOCK=/tmp/ssh-aaQgX07CVd93/agent.45 06:26:56 SSH_AGENT_PID=50 06:26:56 Running ssh-add (command line suppressed) 06:26:57 Identity added: /w/workspace/edgex-go/1@tmp/private_key_4357647451052973279.key (/w/workspace/edgex-go/1@tmp/private_key_4357647451052973279.key) 06:26:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:58 + git semver init 06:26:58 # -> Open(): unable to determine branch for HEAD 06:26:58 # $GIT_DIR = /w/workspace/edgex-go/1/.git 06:26:58 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 06:26:58 # $SEMVER_REMOTE_NAME = origin 06:26:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:26:58 # $SEMVER_USER_NAME = edgex-jenkins 06:26:58 # $SEMVER_BRANCH = PR-3183 06:26:58 # $SEMVER_TEMP = /tmp/semver-966298401 06:26:58 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 06:27:32 # '/tmp/semver-966298401' -> '/w/workspace/edgex-go/1/.semver' 06:27:32 # -> Force: false 06:27:32 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 06:27:32 $ docker exec --env ******** --env ******** 1a71c7a90bd5bb6f1f65aebeb00b486b5c8ea90c9a60ea6b0fb30268f54e4cc9 ssh-agent -k 06:27:33 unset SSH_AUTH_SOCK; 06:27:33 unset SSH_AGENT_PID; 06:27:33 echo Agent pid 50 killed; 06:27:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:27:35 + git semver [Pipeline] } 06:27:35 $ docker stop --time=1 1a71c7a90bd5bb6f1f65aebeb00b486b5c8ea90c9a60ea6b0fb30268f54e4cc9 06:27:38 $ docker rm -f 1a71c7a90bd5bb6f1f65aebeb00b486b5c8ea90c9a60ea6b0fb30268f54e4cc9 [Pipeline] // withDockerContainer [Pipeline] sh 06:27:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:27:41 Stashed 1 file(s) [Pipeline] echo 06:27:41 [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 06:27:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:27:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:27:44 + true 06:27:44 + sudo service docker restart 06:27:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 06:27:45 ========================================================= 06:27:45 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:27:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:27:46 + 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 . 06:27:55 Sending build context to Docker daemon 328MB 06:27:55 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 06:27:55 Step 2/6 : FROM ${BASE} 06:27:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:27:55 188c0c94c7c5: Pulling fs layer 06:27:55 0ef7d3d256c8: Pulling fs layer 06:27:55 de9db76c5a1d: Pulling fs layer 06:27:55 bca2f99d35d6: Pulling fs layer 06:27:55 93359f2a8cfa: Pulling fs layer 06:27:55 7c6f9722023f: Pulling fs layer 06:27:55 a35cf1a2eb13: Pulling fs layer 06:27:55 bca2f99d35d6: Waiting 06:27:55 93359f2a8cfa: Waiting 06:27:55 7c6f9722023f: Waiting 06:27:55 a35cf1a2eb13: Waiting 06:27:55 de9db76c5a1d: Verifying Checksum 06:27:55 de9db76c5a1d: Download complete 06:27:56 0ef7d3d256c8: Verifying Checksum 06:27:56 0ef7d3d256c8: Download complete 06:27:56 93359f2a8cfa: Verifying Checksum 06:27:56 93359f2a8cfa: Download complete 06:27:56 Still waiting to schedule task 06:27:56 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:27:57 7c6f9722023f: Verifying Checksum 06:27:57 7c6f9722023f: Download complete 06:27:57 188c0c94c7c5: Verifying Checksum 06:27:57 188c0c94c7c5: Download complete 06:27:58 188c0c94c7c5: Pull complete 06:28:00 0ef7d3d256c8: Pull complete 06:28:01 de9db76c5a1d: Pull complete 06:28:09 a35cf1a2eb13: Verifying Checksum 06:28:09 a35cf1a2eb13: Download complete 06:28:11 bca2f99d35d6: Verifying Checksum 06:28:11 bca2f99d35d6: Download complete 06:28:22 bca2f99d35d6: Pull complete 06:28:23 93359f2a8cfa: Pull complete 06:28:23 7c6f9722023f: Pull complete 06:28:36 a35cf1a2eb13: Pull complete 06:28:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:28:36 ---> a62c8e92a672 06:28:36 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 06:28:36 ---> Running in f41720c8bb4a 06:28:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:28:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:28:39 (1/12) Installing libmagic (5.38-r0) 06:28:39 (2/12) Installing file (5.38-r0) 06:28:39 (3/12) Installing libc-dev (0.7.2-r3) 06:28:39 (4/12) Installing g++ (9.3.0-r2) 06:28:48 (5/12) Installing fortify-headers (1.1-r0) 06:28:48 (6/12) Installing patch (2.7.6-r6) 06:28:48 (7/12) Installing build-base (0.5-r2) 06:28:48 (8/12) Installing libsodium (1.0.18-r0) 06:28:48 (9/12) Installing pkgconf (1.7.2-r0) 06:28:48 (10/12) Installing libsodium-dev (1.0.18-r0) 06:28:48 (11/12) Installing libzmq (4.3.3-r0) 06:28:48 (12/12) Installing zeromq-dev (4.3.3-r0) 06:28:48 Executing busybox-1.31.1-r19.trigger 06:28:48 OK: 233 MiB in 51 packages 06:28:54 Removing intermediate container f41720c8bb4a 06:28:54 ---> 610824365d3b 06:28:54 Step 4/6 : WORKDIR /edgex-go 06:28:54 ---> Running in 088c7584c8b6 06:28:55 Removing intermediate container 088c7584c8b6 06:28:55 ---> aa5b0a4195c4 06:28:55 Step 5/6 : COPY go.mod . 06:28:57 ---> cfbf9672e32f 06:28:57 Step 6/6 : RUN go mod download 06:28:57 ---> Running in 294e77145fbd 06:29:31 Removing intermediate container 294e77145fbd 06:29:31 ---> d253cc492d1a 06:29:31 Successfully built d253cc492d1a 06:29:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:29:32 + docker inspect -f . ci-base-image-x86_64 06:29:32 . [Pipeline] withDockerContainer 06:29:33 prd-centos7-docker-4c-2g-27121 does not seem to be running inside a container 06:29:33 $ 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-x86_64 cat 06:29:37 $ docker top 2b412398870eae6c9fd6965e030236f7e7d2a35db3ce7a55a4447cfd2af82f2d -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:39 + go version 06:29:39 go version go1.15.5 linux/amd64 [Pipeline] } 06:29:39 $ docker stop --time=1 2b412398870eae6c9fd6965e030236f7e7d2a35db3ce7a55a4447cfd2af82f2d 06:29:41 $ docker rm -f 2b412398870eae6c9fd6965e030236f7e7d2a35db3ce7a55a4447cfd2af82f2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:29:42 + docker inspect -f . ci-base-image-x86_64 06:29:43 . [Pipeline] withDockerContainer 06:29:43 prd-centos7-docker-4c-2g-27121 does not seem to be running inside a container 06:29:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27123 in /w/workspace/edgexfoundry_edgex-go_PR-3183 06:29:44 $ 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-x86_64 cat 06:29:46 $ docker top fda4a92ba88500dd7336f45fa8f079eca20dffa5be1820bac489fddc55f89927 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] ws 06:29:46 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] echo 06:29:47 ========================================================= 06:29:47 [edgeXBuildGoParallel] Running Tests and Build... 06:29:47 ========================================================= [Pipeline] sh [Pipeline] checkout 06:29:48 + make test 06:29:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:29:52 using credential edgex-jenkins-ssh 06:29:52 Cloning the remote Git repository 06:29:52 Cloning repository git@github.com:edgexfoundry/edgex-go.git 06:29:52 > git init /w/workspace/edgex-go/1 # timeout=10 06:29:52 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:29:52 > git --version # timeout=10 06:29:52 > git --version # 'git version 2.17.1' 06:29:52 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:09 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:30:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:09 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:30:09 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:30:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3183/head:refs/remotes/origin/PR-3183 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:30:10 Merging remotes/origin/master commit 61638ca62d33426a2ce3f2b4b107772a009d1874 into PR head commit 766cbfae84edd46f6c10e26f3a0ff3d2486251a2 06:30:11 Merge succeeded, producing 9b50cffd4e7cf8ae4d5816a5b487e0ea96ecaf98 06:30:11 Checking out Revision 9b50cffd4e7cf8ae4d5816a5b487e0ea96ecaf98 (PR-3183) 06:30:10 > git config core.sparsecheckout # timeout=10 06:30:10 > git checkout -f 766cbfae84edd46f6c10e26f3a0ff3d2486251a2 # timeout=10 06:30:11 > git remote # timeout=10 06:30:11 > git config --get remote.origin.url # timeout=10 06:30:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:11 > git merge 61638ca62d33426a2ce3f2b4b107772a009d1874 # timeout=10 06:30:11 > git rev-parse HEAD^{commit} # timeout=10 06:30:11 > git config core.sparsecheckout # timeout=10 06:30:11 > git checkout -f 9b50cffd4e7cf8ae4d5816a5b487e0ea96ecaf98 # timeout=10 06:30:15 Commit message: "Merge commit '61638ca62d33426a2ce3f2b4b107772a009d1874' into HEAD" 06:30:15 First time build. Skipping changelog. 06:30:15 > git --version # timeout=10 06:30:15 > git --version # 'git version 2.17.1' 06:30:15 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:16 ? github.com/edgexfoundry/edgex-go [no test files] 06:30:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:30:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:30:18 + true 06:30:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:30:20 provisioning config files... 06:30:20 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3624716760883685130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:21 ---> docker-login.sh 06:30:21 nexus3.edgexfoundry.org:10001 06:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:22 Configure a credential helper to remove this warning. See 06:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:22 06:30:22 Login Succeeded 06:30:22 nexus3.edgexfoundry.org:10002 06:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:22 Configure a credential helper to remove this warning. See 06:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:22 06:30:22 Login Succeeded 06:30:22 nexus3.edgexfoundry.org:10003 06:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:23 Configure a credential helper to remove this warning. See 06:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:23 06:30:23 Login Succeeded 06:30:23 nexus3.edgexfoundry.org:10004 06:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:23 Configure a credential helper to remove this warning. See 06:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:23 06:30:23 Login Succeeded 06:30:23 docker.io 06:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:24 Configure a credential helper to remove this warning. See 06:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:24 06:30:24 Login Succeeded 06:30:24 ---> docker-login.sh ends [Pipeline] } 06:30:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:30:24 ========================================================= 06:30:24 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:30:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:30:25 + 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 . 06:30:27 Sending build context to Docker daemon 166.4MB 06:30:27 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 06:30:27 Step 2/6 : FROM ${BASE} 06:30:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:30:27 5f621e34cdf4: Pulling fs layer 06:30:27 a4357932f1b6: Pulling fs layer 06:30:27 18c013af1878: Pulling fs layer 06:30:27 00ac8860ef70: Pulling fs layer 06:30:27 63d7cb157983: Pulling fs layer 06:30:27 b116817d02f9: Pulling fs layer 06:30:27 745a02a5169b: Pulling fs layer 06:30:27 63d7cb157983: Waiting 06:30:27 745a02a5169b: Waiting 06:30:27 b116817d02f9: Waiting 06:30:27 18c013af1878: Download complete 06:30:27 a4357932f1b6: Download complete 06:30:27 63d7cb157983: Verifying Checksum 06:30:27 63d7cb157983: Download complete 06:30:27 5f621e34cdf4: Verifying Checksum 06:30:27 5f621e34cdf4: Download complete 06:30:27 b116817d02f9: Verifying Checksum 06:30:27 b116817d02f9: Download complete 06:30:28 5f621e34cdf4: Pull complete 06:30:29 a4357932f1b6: Pull complete 06:30:29 18c013af1878: Pull complete 06:30:30 745a02a5169b: Verifying Checksum 06:30:30 745a02a5169b: Download complete 06:30:31 00ac8860ef70: Verifying Checksum 06:30:31 00ac8860ef70: Download complete 06:30:41 00ac8860ef70: Pull complete 06:30:41 63d7cb157983: Pull complete 06:30:41 b116817d02f9: Pull complete 06:30:45 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:30:45 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 06:30:45 internal/pkg/v2/infrastructure/redis/client.go:806:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:30:45 internal/pkg/v2/infrastructure/redis/notification.go:25:77: undefined: v2.Sender 06:30:45 internal/pkg/v2/infrastructure/redis/notification.go:26:77: undefined: v2.Severity 06:30:45 internal/pkg/v2/infrastructure/redis/notification.go:27:77: undefined: v2.Status 06:30:45 internal/pkg/v2/infrastructure/redis/notification.go:36:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:30:46 745a02a5169b: Pull complete 06:30:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:30:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:30:46 ---> b7e6874047d6 06:30:46 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 06:30:49 ---> Running in c0d5d9d6013b 06:30:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:30:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:30:51 (1/12) Installing libmagic (5.38-r0) 06:30:51 (2/12) Installing file (5.38-r0) 06:30:52 (3/12) Installing libc-dev (0.7.2-r3) 06:30:52 (4/12) Installing g++ (9.3.0-r2) 06:30:55 (5/12) Installing fortify-headers (1.1-r0) 06:30:55 (6/12) Installing patch (2.7.6-r6) 06:30:55 (7/12) Installing build-base (0.5-r2) 06:30:55 (8/12) Installing libsodium (1.0.18-r0) 06:30:55 (9/12) Installing pkgconf (1.7.2-r0) 06:30:55 (10/12) Installing libsodium-dev (1.0.18-r0) 06:30:56 (11/12) Installing libzmq (4.3.3-r0) 06:30:56 (12/12) Installing zeromq-dev (4.3.3-r0) 06:30:56 Executing busybox-1.31.1-r19.trigger 06:30:56 OK: 217 MiB in 51 packages 06:30:58 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 06:30:58 internal/support/notifications/v2/infrastructure/interfaces/db.go:25:20: undefined: models.Notification 06:30:58 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 06:30:58 internal/support/notifications/v2/io/notification.go:18:50: undefined: requests.AddNotificationRequest 06:30:58 internal/support/notifications/v2/io/notification.go:35:79: undefined: requests.AddNotificationRequest 06:30:58 internal/support/notifications/v2/io/notification.go:36:25: undefined: requests.AddNotificationRequest 06:31:00 Removing intermediate container c0d5d9d6013b 06:31:00 ---> ba0f05a996d0 06:31:00 Step 4/6 : WORKDIR /edgex-go 06:31:00 ---> Running in c7c0b5e173ae 06:31:00 Removing intermediate container c7c0b5e173ae 06:31:00 ---> ef2fac69b6e5 06:31:00 Step 5/6 : COPY go.mod . 06:31:01 ---> e212e255fa2f 06:31:01 Step 6/6 : RUN go mod download 06:31:01 ---> Running in e851433713ce 06:31:10 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.176s coverage: 45.9% of statements 06:31:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.117s coverage: 100.0% of statements 06:31:10 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 06:31:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.043s coverage: 100.0% of statements 06:31:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.079s coverage: 100.0% of statements 06:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.354s coverage: 65.8% of statements 06:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.502s coverage: 82.3% of statements 06:31:12 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 06:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.133s coverage: 100.0% of statements 06:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.047s coverage: 100.0% of statements 06:31:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.206s coverage: 86.7% of statements 06:31:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.205s coverage: 97.5% of statements 06:31:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.085s coverage: 78.3% of statements 06:31:16 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 06:31:16 internal/pkg/v2/infrastructure/redis/client.go:806: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:31:16 internal/pkg/v2/infrastructure/redis/notification.go:25: undefined: v2.Sender 06:31:16 internal/pkg/v2/infrastructure/redis/notification.go:26: undefined: v2.Severity 06:31:16 internal/pkg/v2/infrastructure/redis/notification.go:27: undefined: v2.Status 06:31:16 internal/pkg/v2/infrastructure/redis/notification.go:36: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:31:18 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.605s coverage: 92.8% of statements 06:31:18 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.045s coverage: 58.8% of statements 06:31:18 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 06:31:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.088s coverage: 45.5% of statements 06:31:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.051s coverage: 79.5% of statements 06:31:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.044s coverage: 94.1% of statements 06:31:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.122s coverage: 96.3% of statements 06:31:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.066s coverage: 87.5% of statements 06:31:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.226s coverage: 94.4% of statements 06:31:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.079s coverage: 44.8% of statements 06:31:33 Removing intermediate container e851433713ce 06:31:33 ---> d4e7274628ec 06:31:33 Successfully built d4e7274628ec 06:31:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:31:34 + docker inspect -f . ci-base-image-arm64 06:31:34 . [Pipeline] withDockerContainer 06:31:34 prd-ubuntu18.04-docker-arm64-4c-16g-27123 does not seem to be running inside a container 06:31:34 $ 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-arm64 cat 06:31:36 $ docker top cf9b45a1ff7ee32baf537ee6e3e5d0cfd39cf74c57fb3f2b6db34c48d4c5729f -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:37 + go version 06:31:37 go version go1.15.5 linux/arm64 [Pipeline] } 06:31:37 $ docker stop --time=1 cf9b45a1ff7ee32baf537ee6e3e5d0cfd39cf74c57fb3f2b6db34c48d4c5729f 06:31:38 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 06:31:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Notification 06:31:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Notification 06:31:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Notification 06:31:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Notification 06:31:38 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Notification 06:31:39 $ docker rm -f cf9b45a1ff7ee32baf537ee6e3e5d0cfd39cf74c57fb3f2b6db34c48d4c5729f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:31:42 + docker inspect -f . ci-base-image-arm64 06:31:42 . [Pipeline] withDockerContainer 06:31:42 prd-ubuntu18.04-docker-arm64-4c-16g-27123 does not seem to be running inside a container 06:31:42 $ 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-arm64 cat 06:31:44 $ docker top 128f58cd611728f4a03fa81165192b1402b047c41a280b8acc87cc92cbd4369c -eo pid,comm [Pipeline] { [Pipeline] echo 06:31:44 ========================================================= 06:31:44 [edgeXBuildGoParallel] Running Tests and Build... 06:31:44 ========================================================= [Pipeline] sh 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.423s coverage: 92.9% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.044s coverage: 77.8% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.178s coverage: 87.2% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.060s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.079s coverage: 75.5% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.049s coverage: 80.8% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.078s coverage: 87.2% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.056s coverage: 84.6% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.130s coverage: 91.6% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.274s coverage: 62.4% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.045s coverage: 91.3% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.045s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.065s coverage: 73.7% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.519s coverage: 68.9% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.116s coverage: 36.1% of statements 06:31:45 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.088s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.067s coverage: 100.0% of statements 06:31:45 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 06:31:45 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.075s coverage: 99.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.148s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.135s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/system 0.054s coverage: 0.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.389s coverage: 100.0% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.341s coverage: 87.9% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.087s coverage: 100.0% of statements 06:31:45 + make test 06:31:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.037s coverage: 32.1% of statements 06:31:45 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.052s coverage: 100.0% of statements 06:31:46 make: *** [Makefile:94: test] Error 2 [Pipeline] } 06:31:46 $ docker stop --time=1 fda4a92ba88500dd7336f45fa8f079eca20dffa5be1820bac489fddc55f89927 06:31:50 $ docker rm -f fda4a92ba88500dd7336f45fa8f079eca20dffa5be1820bac489fddc55f89927 [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] } 06:31:52 Failed in branch amd64 06:32:07 ? github.com/edgexfoundry/edgex-go [no test files] 06:32:54 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 06:32:54 internal/pkg/v2/infrastructure/redis/client.go:806:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:32:54 internal/pkg/v2/infrastructure/redis/notification.go:25:77: undefined: v2.Sender 06:32:54 internal/pkg/v2/infrastructure/redis/notification.go:26:77: undefined: v2.Severity 06:32:54 internal/pkg/v2/infrastructure/redis/notification.go:27:77: undefined: v2.Status 06:32:54 internal/pkg/v2/infrastructure/redis/notification.go:36:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:32:54 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:33:06 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 06:33:06 internal/support/notifications/v2/infrastructure/interfaces/db.go:25:20: undefined: models.Notification 06:33:06 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 06:33:06 internal/support/notifications/v2/io/notification.go:18:50: undefined: requests.AddNotificationRequest 06:33:06 internal/support/notifications/v2/io/notification.go:35:79: undefined: requests.AddNotificationRequest 06:33:06 internal/support/notifications/v2/io/notification.go:36:25: undefined: requests.AddNotificationRequest 06:33:25 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.356s coverage: 45.9% of statements 06:33:25 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.246s coverage: 100.0% of statements 06:33:25 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 06:33:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.093s coverage: 100.0% of statements 06:33:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.105s coverage: 100.0% of statements 06:33:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.298s coverage: 65.8% of statements 06:33:30 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.707s coverage: 82.3% of statements 06:33:30 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 06:33:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.177s coverage: 100.0% of statements 06:33:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.073s coverage: 100.0% of statements 06:33:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.338s coverage: 86.7% of statements 06:33:35 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 06:33:35 internal/pkg/v2/infrastructure/redis/client.go:806: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:33:35 internal/pkg/v2/infrastructure/redis/notification.go:25: undefined: v2.Sender 06:33:35 internal/pkg/v2/infrastructure/redis/notification.go:26: undefined: v2.Severity 06:33:35 internal/pkg/v2/infrastructure/redis/notification.go:27: undefined: v2.Status 06:33:35 internal/pkg/v2/infrastructure/redis/notification.go:36: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 06:33:35 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.421s coverage: 97.5% of statements 06:33:35 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.152s coverage: 78.3% of statements 06:33:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.175s coverage: 92.8% of statements 06:33:43 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.056s coverage: 58.8% of statements 06:33:43 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 06:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.062s coverage: 45.5% of statements 06:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.102s coverage: 79.5% of statements 06:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.058s coverage: 94.1% of statements 06:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.084s coverage: 96.3% of statements 06:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.065s coverage: 87.5% of statements 06:33:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.090s coverage: 94.4% of statements 06:33:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.056s coverage: 44.8% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.121s coverage: 92.9% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.059s coverage: 77.8% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.081s coverage: 87.2% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.077s coverage: 75.5% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.067s coverage: 80.8% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.119s coverage: 87.2% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.203s coverage: 84.6% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.175s coverage: 91.6% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.515s coverage: 62.4% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.077s coverage: 100.0% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.093s coverage: 91.3% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.046s coverage: 100.0% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.056s coverage: 73.7% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.057s coverage: 100.0% of statements 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.738s coverage: 68.9% of statements 06:34:11 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 06:34:11 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Notification 06:34:11 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Notification 06:34:11 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Notification 06:34:11 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Notification 06:34:11 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Notification 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.382s coverage: 36.1% of statements 06:34:11 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 06:34:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.136s coverage: 100.0% of statements 06:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.162s coverage: 100.0% of statements 06:34:12 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 06:34:12 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 06:34:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.212s coverage: 99.0% of statements 06:34:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.122s coverage: 100.0% of statements 06:34:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.150s coverage: 100.0% of statements 06:34:15 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 06:34:16 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.072s coverage: 100.0% of statements 06:34:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.087s coverage: 87.9% of statements 06:34:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.066s coverage: 100.0% of statements 06:34:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.056s coverage: 32.1% of statements 06:34:19 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements 06:34:19 make: *** [Makefile:94: test] Error 2 [Pipeline] } 06:34:19 $ docker stop --time=1 128f58cd611728f4a03fa81165192b1402b047c41a280b8acc87cc92cbd4369c 06:34:22 $ docker rm -f 128f58cd611728f4a03fa81165192b1402b047c41a280b8acc87cc92cbd4369c [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] } 06:34:24 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 06:34:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:34:31 ---> package-listing.sh 06:34:31 ++ facter osfamily 06:34:31 ++ tr '[:upper:]' '[:lower:]' 06:34:31 + OS_FAMILY=redhat 06:34:31 + workspace=/w/workspace/edgex-go/1 06:34:31 + START_PACKAGES=/tmp/packages_start.txt 06:34:31 + END_PACKAGES=/tmp/packages_end.txt 06:34:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:34:31 + PACKAGES=/tmp/packages_start.txt 06:34:31 + '[' /w/workspace/edgex-go/1 ']' 06:34:31 + PACKAGES=/tmp/packages_end.txt 06:34:31 + case "${OS_FAMILY}" in 06:34:32 + rpm -qa 06:34:32 + sort 06:34:42 + '[' -f /tmp/packages_start.txt ']' 06:34:42 + '[' -f /tmp/packages_end.txt ']' 06:34:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:34:42 + '[' /w/workspace/edgex-go/1 ']' 06:34:42 + mkdir -p /w/workspace/edgex-go/1/archives/ 06:34:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 06:34:42 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 06:34:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:34:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:44 06:34:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:34:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:46 alpine: Pulling from edgex-lftools-log-publisher 06:34:46 df20fa9351a1: Pulling fs layer 06:34:46 36b3adc4ff6f: Pulling fs layer 06:34:46 8ad3a11d3b57: Pulling fs layer 06:34:46 46f8f816bc3b: Pulling fs layer 06:34:46 93b61091891f: Pulling fs layer 06:34:46 93b9cdb0e59b: Pulling fs layer 06:34:46 5e14af77c1be: Pulling fs layer 06:34:46 01666e4c0597: Pulling fs layer 06:34:46 aa168da1d23b: Pulling fs layer 06:34:46 46f8f816bc3b: Waiting 06:34:46 93b61091891f: Waiting 06:34:46 93b9cdb0e59b: Waiting 06:34:46 5e14af77c1be: Waiting 06:34:46 01666e4c0597: Waiting 06:34:46 aa168da1d23b: Waiting 06:34:47 36b3adc4ff6f: Verifying Checksum 06:34:47 36b3adc4ff6f: Download complete 06:34:48 46f8f816bc3b: Download complete 06:34:48 93b61091891f: Verifying Checksum 06:34:48 93b61091891f: Download complete 06:34:48 df20fa9351a1: Verifying Checksum 06:34:48 df20fa9351a1: Download complete 06:34:48 93b9cdb0e59b: Verifying Checksum 06:34:48 93b9cdb0e59b: Download complete 06:34:48 5e14af77c1be: Verifying Checksum 06:34:48 5e14af77c1be: Download complete 06:34:48 01666e4c0597: Verifying Checksum 06:34:48 01666e4c0597: Download complete 06:34:49 df20fa9351a1: Pull complete 06:34:49 36b3adc4ff6f: Pull complete 06:34:50 8ad3a11d3b57: Verifying Checksum 06:34:50 8ad3a11d3b57: Download complete 06:34:55 8ad3a11d3b57: Pull complete 06:34:55 46f8f816bc3b: Pull complete 06:34:55 93b61091891f: Pull complete 06:34:56 93b9cdb0e59b: Pull complete 06:34:56 5e14af77c1be: Pull complete 06:34:57 01666e4c0597: Pull complete 06:35:06 aa168da1d23b: Verifying Checksum 06:35:06 aa168da1d23b: Download complete 06:35:26 aa168da1d23b: Pull complete 06:35:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:35:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:35:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:35:27 prd-centos7-docker-4c-2g-27121 does not seem to be running inside a container 06:35:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:35:34 $ docker top 7a7dfacdca301ae5b0822c9427ae76ff6952ccb06de777457c32e5965fc4bf85 -eo pid,comm [Pipeline] { [Pipeline] sh 06:35:36 + touch /tmp/pre-build-complete [Pipeline] sh 06:35:36 + mkdir -p /var/log/sa [Pipeline] sh 06:35:37 + ls /var/log/sa-host 06:35:37 + sadf -c /var/log/sa-host/sa22 06:35:37 file_magic: OK 06:35:37 HZ: Using current value: 100 06:35:37 file_header: OK 06:35:37 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 06:35:37 Statistics: 06:35:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:35:37 File successfully converted to sysstat format version 12.2.1 06:35:37 + sadf -c /var/log/sa-host/sa23 06:35:37 file_magic: OK 06:35:37 HZ: Using current value: 100 06:35:37 file_header: OK 06:35:37 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 06:35:37 Statistics: 06:35:37 Hnuu...uuuununununu... 06:35:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:38 provisioning config files... 06:35:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config8070119019679838784tmp [Pipeline] { [Pipeline] echo 06:35:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:35:39 ---> create-netrc.sh [Pipeline] } 06:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:35:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:35:41 ---> python-tools-install.sh [Pipeline] echo 06:35:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:35:42 ---> sudo-logs.sh 06:35:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:35:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:35:42 ---> job-cost.sh 06:35:42 lf-activate-venv: SKIPPING 06:35:42 INFO: No Stack... 06:35:44 INFO: Retrieving Pricing Info for: v1-standard-2 06:35:45 INFO: Archiving Costs [Pipeline] echo 06:35:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:35:46 ---> logs-deploy.sh 06:35:46 lf-activate-venv: SKIPPING 06:35:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3183/1 06:35:46 INFO: archiving workspace using pattern(s): 06:35:48 Archives upload complete. 06:35:48 INFO: archiving logs to Nexus