Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch master at afdb9f2a3541b593beed41fd247753118ef1ae38 rather than a068277ef29574710b8ecdbbfced0db7302862a4 Obtained Jenkinsfile from afdb9f2a3541b593beed41fd247753118ef1ae38 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27425 in /w/workspace/edgexfoundry_edgex-go_PR-3183 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/5 [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/5 # 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 afdb9f2a3541b593beed41fd247753118ef1ae38 into PR head commit a068277ef29574710b8ecdbbfced0db7302862a4 > 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 Merge succeeded, producing 6969839ad7cf62d966bc1a0793ecad03c35d7481 Checking out Revision 6969839ad7cf62d966bc1a0793ecad03c35d7481 (PR-3183) > git checkout -f a068277ef29574710b8ecdbbfced0db7302862a4 # 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 afdb9f2a3541b593beed41fd247753118ef1ae38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6969839ad7cf62d966bc1a0793ecad03c35d7481 # timeout=10 Commit message: "Merge commit 'afdb9f2a3541b593beed41fd247753118ef1ae38' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 1e8c58ef1a59f79f6d6018e37f25de99fa2f2bf2 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:31:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:31:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:31:07 ========================================================= 00:31:07 EdgeX Global Pipelines Version Info 00:31:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:31:09 ------------------- 00:31:09 stable info: 00:31:09 ------------------- 00:31:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:31:09 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 00:31:09 Message: update stable to v1.0.181 00:31:10 ------------------- 00:31:10 experimental info: 00:31:10 ------------------- 00:31:10 Commited By: **** collab-it+edgex@linuxfoundation.org 00:31:10 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 00:31:10 Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:31:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:31:10 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:31:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:31:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:31:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:31:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3183 [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3183 [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3183 [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6969839ad7cf62d966bc1a0793ecad03c35d7481 [Pipeline] echo 00:31:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6969839 [Pipeline] echo 00:31:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:31:13 provisioning config files... 00:31:13 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config8190977874159363341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:13 ---> docker-login.sh 00:31:13 nexus3.edgexfoundry.org:10001 00:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:13 Configure a credential helper to remove this warning. See 00:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:13 00:31:13 Login Succeeded 00:31:13 nexus3.edgexfoundry.org:10002 00:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:14 Configure a credential helper to remove this warning. See 00:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:14 00:31:14 Login Succeeded 00:31:14 nexus3.edgexfoundry.org:10003 00:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:14 Configure a credential helper to remove this warning. See 00:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:14 00:31:14 Login Succeeded 00:31:14 nexus3.edgexfoundry.org:10004 00:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:14 Configure a credential helper to remove this warning. See 00:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:14 00:31:14 Login Succeeded 00:31:14 docker.io 00:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:14 Configure a credential helper to remove this warning. See 00:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:14 00:31:14 Login Succeeded 00:31:14 ---> docker-login.sh ends [Pipeline] } 00:31:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:15 ++ 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 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/core-command/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo core-command,cmd/core-command/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/core-data/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo core-data,cmd/core-data/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/core-metadata/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo core-metadata,cmd/core-metadata/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/security-bootstrapper/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/security-proxy-setup/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/support-notifications/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo support-notifications,cmd/support-notifications/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/support-scheduler/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:31:15 + for file in '`ls cmd/**/Dockerfile`' 00:31:15 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:31:15 ++ cut -d/ -f2 00:31:15 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:31:15 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 00:31:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:31:16 00:31:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:31:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:31:16 latest: Pulling from edgex-devops/git-semver 00:31:16 31603596830f: Pulling fs layer 00:31:16 2a8b12db71e7: Pulling fs layer 00:31:16 6ca5941a6612: Pulling fs layer 00:31:16 ecc8261a40a4: Pulling fs layer 00:31:16 ecc8261a40a4: Waiting 00:31:16 2a8b12db71e7: Verifying Checksum 00:31:16 2a8b12db71e7: Download complete 00:31:16 31603596830f: Verifying Checksum 00:31:16 31603596830f: Download complete 00:31:17 ecc8261a40a4: Verifying Checksum 00:31:17 ecc8261a40a4: Download complete 00:31:17 6ca5941a6612: Verifying Checksum 00:31:17 6ca5941a6612: Download complete 00:31:17 31603596830f: Pull complete 00:31:17 2a8b12db71e7: Pull complete 00:31:18 6ca5941a6612: Pull complete 00:31:18 ecc8261a40a4: Pull complete 00:31:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:31:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:31:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:31:18 prd-centos7-docker-4c-2g-27425 does not seem to be running inside a container 00:31:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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 00:31:21 $ docker top 4c839459587fd3159882e87cc33d2f3f48b952b2b07aa828f057afdef4c4e5b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:31:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:21 [ssh-agent] Looking for ssh-agent implementation... 00:31:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:22 $ docker exec 4c839459587fd3159882e87cc33d2f3f48b952b2b07aa828f057afdef4c4e5b0 ssh-agent 00:31:22 SSH_AUTH_SOCK=/tmp/ssh-6DnAbu35L5hQ/agent.12 00:31:22 SSH_AGENT_PID=17 00:31:22 Running ssh-add (command line suppressed) 00:31:22 Identity added: /w/workspace/edgex-go/5@tmp/private_key_2769467418351030948.key (/w/workspace/edgex-go/5@tmp/private_key_2769467418351030948.key) 00:31:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:22 + git tag --points-at HEAD [Pipeline] } 00:31:22 $ docker exec --env ******** --env ******** 4c839459587fd3159882e87cc33d2f3f48b952b2b07aa828f057afdef4c4e5b0 ssh-agent -k 00:31:22 unset SSH_AUTH_SOCK; 00:31:22 unset SSH_AGENT_PID; 00:31:22 echo Agent pid 17 killed; 00:31:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:31:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:23 [ssh-agent] Looking for ssh-agent implementation... 00:31:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:23 $ docker exec 4c839459587fd3159882e87cc33d2f3f48b952b2b07aa828f057afdef4c4e5b0 ssh-agent 00:31:23 SSH_AUTH_SOCK=/tmp/ssh-jtUFt2rjsGgi/agent.45 00:31:23 SSH_AGENT_PID=50 00:31:23 Running ssh-add (command line suppressed) 00:31:23 Identity added: /w/workspace/edgex-go/5@tmp/private_key_1538619153976577079.key (/w/workspace/edgex-go/5@tmp/private_key_1538619153976577079.key) 00:31:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:24 + git semver init 00:31:24 # -> Open(): unable to determine branch for HEAD 00:31:24 # $GIT_DIR = /w/workspace/edgex-go/5/.git 00:31:24 # $GIT_WORK_TREE = /w/workspace/edgex-go/5 00:31:24 # $SEMVER_REMOTE_NAME = origin 00:31:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:31:24 # $SEMVER_USER_NAME = edgex-jenkins 00:31:24 # $SEMVER_BRANCH = PR-3183 00:31:24 # $SEMVER_TEMP = /tmp/semver-593937475 00:31:24 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:31:42 # '/tmp/semver-593937475' -> '/w/workspace/edgex-go/5/.semver' 00:31:42 # -> Force: false 00:31:42 # $SEMVER_DIR = /w/workspace/edgex-go/5/.semver [Pipeline] } 00:31:42 $ docker exec --env ******** --env ******** 4c839459587fd3159882e87cc33d2f3f48b952b2b07aa828f057afdef4c4e5b0 ssh-agent -k 00:31:42 unset SSH_AUTH_SOCK; 00:31:42 unset SSH_AGENT_PID; 00:31:42 echo Agent pid 50 killed; 00:31:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:42 + git semver [Pipeline] } 00:31:43 $ docker stop --time=1 4c839459587fd3159882e87cc33d2f3f48b952b2b07aa828f057afdef4c4e5b0 00:31:44 $ docker rm -f 4c839459587fd3159882e87cc33d2f3f48b952b2b07aa828f057afdef4c4e5b0 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:31:45 Stashed 1 file(s) [Pipeline] echo 00:31:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:31:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:31:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:31:47 + sudo service docker restart 00:31:47 + true 00:31:47 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:31:47 ========================================================= 00:31:47 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:31:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:31:47 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:31:51 Sending build context to Docker daemon 328MB 00:31:51 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:31:51 Step 2/6 : FROM ${BASE} 00:31:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:31:51 188c0c94c7c5: Pulling fs layer 00:31:51 0ef7d3d256c8: Pulling fs layer 00:31:51 de9db76c5a1d: Pulling fs layer 00:31:51 bca2f99d35d6: Pulling fs layer 00:31:51 93359f2a8cfa: Pulling fs layer 00:31:51 7c6f9722023f: Pulling fs layer 00:31:51 a35cf1a2eb13: Pulling fs layer 00:31:51 93359f2a8cfa: Waiting 00:31:51 7c6f9722023f: Waiting 00:31:51 de9db76c5a1d: Verifying Checksum 00:31:51 de9db76c5a1d: Download complete 00:31:51 0ef7d3d256c8: Download complete 00:31:51 93359f2a8cfa: Verifying Checksum 00:31:51 93359f2a8cfa: Download complete 00:31:51 7c6f9722023f: Verifying Checksum 00:31:51 7c6f9722023f: Download complete 00:31:51 188c0c94c7c5: Download complete 00:31:51 188c0c94c7c5: Pull complete 00:31:51 0ef7d3d256c8: Pull complete 00:31:52 de9db76c5a1d: Pull complete 00:31:53 a35cf1a2eb13: Verifying Checksum 00:31:53 a35cf1a2eb13: Download complete 00:31:54 bca2f99d35d6: Verifying Checksum 00:31:54 bca2f99d35d6: Download complete 00:31:59 bca2f99d35d6: Pull complete 00:31:59 93359f2a8cfa: Pull complete 00:31:59 7c6f9722023f: Pull complete 00:32:00 Still waiting to schedule task 00:32:00 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:32:03 a35cf1a2eb13: Pull complete 00:32:03 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:32:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:32:03 ---> a62c8e92a672 00:32:03 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:32:03 ---> Running in 96d241b2f68b 00:32:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:32:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:32:09 (1/12) Installing libmagic (5.38-r0) 00:32:09 (2/12) Installing file (5.38-r0) 00:32:09 (3/12) Installing libc-dev (0.7.2-r3) 00:32:09 (4/12) Installing g++ (9.3.0-r2) 00:32:19 (5/12) Installing fortify-headers (1.1-r0) 00:32:19 (6/12) Installing patch (2.7.6-r6) 00:32:19 (7/12) Installing build-base (0.5-r2) 00:32:19 (8/12) Installing libsodium (1.0.18-r0) 00:32:19 (9/12) Installing pkgconf (1.7.2-r0) 00:32:19 (10/12) Installing libsodium-dev (1.0.18-r0) 00:32:19 (11/12) Installing libzmq (4.3.3-r0) 00:32:19 (12/12) Installing zeromq-dev (4.3.3-r0) 00:32:19 Executing busybox-1.31.1-r19.trigger 00:32:19 OK: 233 MiB in 51 packages 00:32:23 Removing intermediate container 96d241b2f68b 00:32:23 ---> 2deed1b0ead5 00:32:23 Step 4/6 : WORKDIR /edgex-go 00:32:23 ---> Running in 6411cb3d0550 00:32:23 Removing intermediate container 6411cb3d0550 00:32:23 ---> cd2b199efaf0 00:32:23 Step 5/6 : COPY go.mod . 00:32:23 ---> cc789b239b45 00:32:23 Step 6/6 : RUN go mod download 00:32:23 ---> Running in c87fb9b14b50 00:32:45 Removing intermediate container c87fb9b14b50 00:32:45 ---> a41a0f19aa4a 00:32:45 Successfully built a41a0f19aa4a 00:32:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:32:45 + docker inspect -f . ci-base-image-x86_64 00:32:45 . [Pipeline] withDockerContainer 00:32:45 prd-centos7-docker-4c-2g-27425 does not seem to be running inside a container 00:32:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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 00:32:47 $ docker top f1d14aec23fa81f59115d535a3b3c9777ff5230c79e729381d1724554584ac87 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:47 + go version 00:32:47 go version go1.15.5 linux/amd64 [Pipeline] } 00:32:47 $ docker stop --time=1 f1d14aec23fa81f59115d535a3b3c9777ff5230c79e729381d1724554584ac87 00:32:49 $ docker rm -f f1d14aec23fa81f59115d535a3b3c9777ff5230c79e729381d1724554584ac87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:32:49 + docker inspect -f . ci-base-image-x86_64 00:32:49 . [Pipeline] withDockerContainer 00:32:49 prd-centos7-docker-4c-2g-27425 does not seem to be running inside a container 00:32:50 $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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 00:32:50 $ docker top 8d962f255ed76f3d69cdd5ba9224eda0cb836a6f072eb8177530383080b7f60b -eo pid,comm [Pipeline] { [Pipeline] echo 00:32:50 ========================================================= 00:32:50 [edgeXBuildGoParallel] Running Tests and Build... 00:32:50 ========================================================= [Pipeline] sh 00:32:51 + make test 00:32:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:33:01 ? github.com/edgexfoundry/edgex-go [no test files] 00:33:16 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 00:33:16 internal/pkg/v2/infrastructure/redis/client.go:818:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:33:16 internal/pkg/v2/infrastructure/redis/notification.go:25:77: undefined: v2.Sender 00:33:16 internal/pkg/v2/infrastructure/redis/notification.go:26:77: undefined: v2.Severity 00:33:16 internal/pkg/v2/infrastructure/redis/notification.go:27:77: undefined: v2.Status 00:33:16 internal/pkg/v2/infrastructure/redis/notification.go:36:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:33:16 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:33:24 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 00:33:24 internal/support/notifications/v2/infrastructure/interfaces/db.go:25:20: undefined: models.Notification 00:33:24 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 00:33:24 internal/support/notifications/v2/io/notification.go:18:50: undefined: requests.AddNotificationRequest 00:33:24 internal/support/notifications/v2/io/notification.go:35:79: undefined: requests.AddNotificationRequest 00:33:24 internal/support/notifications/v2/io/notification.go:36:25: undefined: requests.AddNotificationRequest 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.133s coverage: 45.9% of statements 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.109s coverage: 100.0% of statements 00:33:28 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.040s coverage: 100.0% of statements 00:33:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.053s coverage: 100.0% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.094s coverage: 65.8% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.428s coverage: 82.3% of statements 00:33:31 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.077s coverage: 100.0% of statements 00:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.038s coverage: 100.0% of statements 00:33:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.124s coverage: 86.7% of statements 00:33:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.110s coverage: 97.5% of statements 00:33:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.070s coverage: 78.3% of statements 00:33:33 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 00:33:33 internal/pkg/v2/infrastructure/redis/client.go:818: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:33:33 internal/pkg/v2/infrastructure/redis/notification.go:25: undefined: v2.Sender 00:33:33 internal/pkg/v2/infrastructure/redis/notification.go:26: undefined: v2.Severity 00:33:33 internal/pkg/v2/infrastructure/redis/notification.go:27: undefined: v2.Status 00:33:33 internal/pkg/v2/infrastructure/redis/notification.go:36: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.392s coverage: 92.8% of statements 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.035s coverage: 58.8% of statements 00:33:35 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.044s coverage: 45.5% of statements 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.037s coverage: 79.5% of statements 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.038s coverage: 94.1% of statements 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.055s coverage: 96.3% of statements 00:33:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.056s coverage: 87.5% of statements 00:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.038s coverage: 94.4% of statements 00:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.033s coverage: 44.8% of statements 00:33:47 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 00:33:47 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Notification 00:33:47 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Notification 00:33:47 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Notification 00:33:47 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Notification 00:33:47 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Notification 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.079s coverage: 92.9% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.036s coverage: 77.8% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.044s coverage: 87.2% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.044s coverage: 75.5% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.034s coverage: 80.8% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.043s coverage: 84.6% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.6% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.159s coverage: 62.4% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.043s coverage: 91.3% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.034s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.288s coverage: 68.9% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.087s coverage: 36.6% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.047s coverage: 89.5% of statements 00:33:58 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.046s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.046s coverage: 100.0% of statements 00:33:58 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 00:33:58 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.079s coverage: 99.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.051s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.065s coverage: 92.9% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/system 0.033s coverage: 0.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.042s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.039s coverage: 87.9% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.028s coverage: 100.0% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.033s coverage: 32.1% of statements 00:33:58 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 00:33:58 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:33:58 $ docker stop --time=1 8d962f255ed76f3d69cdd5ba9224eda0cb836a6f072eb8177530383080b7f60b 00:34:01 $ docker rm -f 8d962f255ed76f3d69cdd5ba9224eda0cb836a6f072eb8177530383080b7f60b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:34:02 Failed in branch amd64 00:34:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27430 in /w/workspace/edgexfoundry_edgex-go_PR-3183 [Pipeline] { [Pipeline] ws 00:35:00 Running in /w/workspace/edgex-go/5 [Pipeline] { [Pipeline] checkout 00:35:05 using credential edgex-jenkins-ssh 00:35:05 Cloning the remote Git repository 00:35:05 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:35:05 > git init /w/workspace/edgex-go/5 # timeout=10 00:35:05 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:35:05 > git --version # timeout=10 00:35:05 > git --version # 'git version 2.17.1' 00:35:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:35:31 Merging remotes/origin/master commit afdb9f2a3541b593beed41fd247753118ef1ae38 into PR head commit a068277ef29574710b8ecdbbfced0db7302862a4 00:35:30 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:35:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:35:30 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:35:30 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:35:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:30 > 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 00:35:31 > git config core.sparsecheckout # timeout=10 00:35:31 > git checkout -f a068277ef29574710b8ecdbbfced0db7302862a4 # timeout=10 00:35:32 Merge succeeded, producing 37dc15ca0069f5d097e5a6e65eef475fe495003c 00:35:32 Checking out Revision 37dc15ca0069f5d097e5a6e65eef475fe495003c (PR-3183) 00:35:31 > git remote # timeout=10 00:35:31 > git config --get remote.origin.url # timeout=10 00:35:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:31 > git merge afdb9f2a3541b593beed41fd247753118ef1ae38 # timeout=10 00:35:32 > git rev-parse HEAD^{commit} # timeout=10 00:35:32 > git config core.sparsecheckout # timeout=10 00:35:32 > git checkout -f 37dc15ca0069f5d097e5a6e65eef475fe495003c # timeout=10 00:35:36 Commit message: "Merge commit 'afdb9f2a3541b593beed41fd247753118ef1ae38' into HEAD" 00:35:36 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:35:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:35:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:35:38 + + true 00:35:38 sudo service docker restart 00:35:36 > git rev-list --no-walk 1e8c58ef1a59f79f6d6018e37f25de99fa2f2bf2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:35:41 provisioning config files... 00:35:41 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config3282337229181186316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:41 ---> docker-login.sh 00:35:41 nexus3.edgexfoundry.org:10001 00:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:43 Configure a credential helper to remove this warning. See 00:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:43 00:35:43 Login Succeeded 00:35:43 nexus3.edgexfoundry.org:10002 00:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:43 Configure a credential helper to remove this warning. See 00:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:43 00:35:43 Login Succeeded 00:35:43 nexus3.edgexfoundry.org:10003 00:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:44 Configure a credential helper to remove this warning. See 00:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:44 00:35:44 Login Succeeded 00:35:44 nexus3.edgexfoundry.org:10004 00:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:45 Configure a credential helper to remove this warning. See 00:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:45 00:35:45 Login Succeeded 00:35:45 docker.io 00:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:45 Configure a credential helper to remove this warning. See 00:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:45 00:35:45 Login Succeeded 00:35:45 ---> docker-login.sh ends [Pipeline] } 00:35:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:35:46 ========================================================= 00:35:46 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:35:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:35:46 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:35:48 Sending build context to Docker daemon 166.4MB 00:35:48 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:35:48 Step 2/6 : FROM ${BASE} 00:35:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:35:48 5f621e34cdf4: Pulling fs layer 00:35:48 a4357932f1b6: Pulling fs layer 00:35:48 18c013af1878: Pulling fs layer 00:35:48 00ac8860ef70: Pulling fs layer 00:35:48 63d7cb157983: Pulling fs layer 00:35:48 b116817d02f9: Pulling fs layer 00:35:48 745a02a5169b: Pulling fs layer 00:35:48 63d7cb157983: Waiting 00:35:48 b116817d02f9: Waiting 00:35:48 745a02a5169b: Waiting 00:35:48 00ac8860ef70: Waiting 00:35:48 18c013af1878: Verifying Checksum 00:35:48 18c013af1878: Download complete 00:35:48 a4357932f1b6: Download complete 00:35:48 63d7cb157983: Verifying Checksum 00:35:48 63d7cb157983: Download complete 00:35:48 b116817d02f9: Verifying Checksum 00:35:48 b116817d02f9: Download complete 00:35:48 5f621e34cdf4: Verifying Checksum 00:35:48 5f621e34cdf4: Download complete 00:35:49 5f621e34cdf4: Pull complete 00:35:49 a4357932f1b6: Pull complete 00:35:50 18c013af1878: Pull complete 00:35:51 745a02a5169b: Verifying Checksum 00:35:51 745a02a5169b: Download complete 00:35:52 00ac8860ef70: Download complete 00:36:02 00ac8860ef70: Pull complete 00:36:02 63d7cb157983: Pull complete 00:36:02 b116817d02f9: Pull complete 00:36:05 745a02a5169b: Pull complete 00:36:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:36:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:36:05 ---> b7e6874047d6 00:36:05 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:36:09 ---> Running in 7f60dfbf176c 00:36:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:36:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:36:11 (1/12) Installing libmagic (5.38-r0) 00:36:11 (2/12) Installing file (5.38-r0) 00:36:11 (3/12) Installing libc-dev (0.7.2-r3) 00:36:11 (4/12) Installing g++ (9.3.0-r2) 00:36:17 (5/12) Installing fortify-headers (1.1-r0) 00:36:17 (6/12) Installing patch (2.7.6-r6) 00:36:17 (7/12) Installing build-base (0.5-r2) 00:36:17 (8/12) Installing libsodium (1.0.18-r0) 00:36:17 (9/12) Installing pkgconf (1.7.2-r0) 00:36:17 (10/12) Installing libsodium-dev (1.0.18-r0) 00:36:17 (11/12) Installing libzmq (4.3.3-r0) 00:36:17 (12/12) Installing zeromq-dev (4.3.3-r0) 00:36:17 Executing busybox-1.31.1-r19.trigger 00:36:17 OK: 217 MiB in 51 packages 00:36:21 Removing intermediate container 7f60dfbf176c 00:36:21 ---> d242a850a6d1 00:36:21 Step 4/6 : WORKDIR /edgex-go 00:36:21 ---> Running in 16ee21368d00 00:36:22 Removing intermediate container 16ee21368d00 00:36:22 ---> 33f7ca5c2859 00:36:22 Step 5/6 : COPY go.mod . 00:36:23 ---> e3091cf3bfa9 00:36:23 Step 6/6 : RUN go mod download 00:36:23 ---> Running in 84e67f8340cb 00:36:50 Removing intermediate container 84e67f8340cb 00:36:50 ---> ba16eff5b93a 00:36:50 Successfully built ba16eff5b93a 00:36:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:36:50 + docker inspect -f . ci-base-image-arm64 00:36:50 . [Pipeline] withDockerContainer 00:36:50 prd-ubuntu18.04-docker-arm64-4c-16g-27430 does not seem to be running inside a container 00:36:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:36:52 $ docker top 1ffc9279fb022044d1ea97ced59c1cd9adef654f390241a2a7f45c5127e663c3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:53 + go version 00:36:53 go version go1.15.5 linux/arm64 [Pipeline] } 00:36:53 $ docker stop --time=1 1ffc9279fb022044d1ea97ced59c1cd9adef654f390241a2a7f45c5127e663c3 00:36:55 $ docker rm -f 1ffc9279fb022044d1ea97ced59c1cd9adef654f390241a2a7f45c5127e663c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:36:56 + docker inspect -f . ci-base-image-arm64 00:36:56 . [Pipeline] withDockerContainer 00:36:56 prd-ubuntu18.04-docker-arm64-4c-16g-27430 does not seem to be running inside a container 00:36:56 $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:36:57 $ docker top bfeb5394b5994f77ac4a15a0bb4b0b36007bc8932a03cda4265c7b721480602d -eo pid,comm [Pipeline] { [Pipeline] echo 00:36:58 ========================================================= 00:36:58 [edgeXBuildGoParallel] Running Tests and Build... 00:36:58 ========================================================= [Pipeline] sh 00:36:58 + make test 00:36:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:37:20 ? github.com/edgexfoundry/edgex-go [no test files] 00:38:17 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 00:38:17 internal/pkg/v2/infrastructure/redis/client.go:818:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:38:17 internal/pkg/v2/infrastructure/redis/notification.go:25:77: undefined: v2.Sender 00:38:17 internal/pkg/v2/infrastructure/redis/notification.go:26:77: undefined: v2.Severity 00:38:17 internal/pkg/v2/infrastructure/redis/notification.go:27:77: undefined: v2.Status 00:38:17 internal/pkg/v2/infrastructure/redis/notification.go:36:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:38:17 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:38:24 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces 00:38:24 internal/support/notifications/v2/infrastructure/interfaces/db.go:25:20: undefined: models.Notification 00:38:24 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io 00:38:24 internal/support/notifications/v2/io/notification.go:18:50: undefined: requests.AddNotificationRequest 00:38:24 internal/support/notifications/v2/io/notification.go:35:79: undefined: requests.AddNotificationRequest 00:38:24 internal/support/notifications/v2/io/notification.go:36:25: undefined: requests.AddNotificationRequest 00:38:42 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.352s coverage: 45.9% of statements 00:38:43 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.256s coverage: 100.0% of statements 00:38:43 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 00:38:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.066s coverage: 100.0% of statements 00:38:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.097s coverage: 100.0% of statements 00:38:49 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.259s coverage: 65.8% of statements 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.783s coverage: 82.3% of statements 00:38:51 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.236s coverage: 100.0% of statements 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.078s coverage: 100.0% of statements 00:38:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.364s coverage: 86.7% of statements 00:38:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.367s coverage: 97.5% of statements 00:38:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.182s coverage: 78.3% of statements 00:38:55 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 00:38:55 internal/pkg/v2/infrastructure/redis/client.go:818: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:38:55 internal/pkg/v2/infrastructure/redis/notification.go:25: undefined: v2.Sender 00:38:55 internal/pkg/v2/infrastructure/redis/notification.go:26: undefined: v2.Severity 00:38:55 internal/pkg/v2/infrastructure/redis/notification.go:27: undefined: v2.Status 00:38:55 internal/pkg/v2/infrastructure/redis/notification.go:36: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Notification 00:39:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.262s coverage: 92.8% of statements 00:39:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.062s coverage: 58.8% of statements 00:39:05 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 00:39:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.076s coverage: 45.5% of statements 00:39:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.090s coverage: 79.5% of statements 00:39:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.098s coverage: 94.1% of statements 00:39:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.079s coverage: 96.3% of statements 00:39:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.086s coverage: 87.5% of statements 00:39:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.104s coverage: 94.4% of statements 00:39:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.061s coverage: 44.8% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.128s coverage: 92.9% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.058s coverage: 77.8% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.088s coverage: 87.2% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.056s coverage: 100.0% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.077s coverage: 75.5% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.058s coverage: 80.8% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.130s coverage: 87.2% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.125s coverage: 84.6% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.195s coverage: 91.6% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.533s coverage: 62.4% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.061s coverage: 100.0% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.089s coverage: 91.3% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.059s coverage: 100.0% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.060s coverage: 73.7% of statements 00:39:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.068s coverage: 100.0% of statements 00:39:33 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.963s coverage: 68.9% of statements 00:39:34 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks 00:39:34 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Notification 00:39:34 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Notification 00:39:34 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Notification 00:39:34 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Notification 00:39:34 internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Notification 00:39:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.372s coverage: 36.6% of statements 00:39:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.084s coverage: 89.5% of statements 00:39:36 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 00:39:36 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.131s coverage: 100.0% of statements 00:39:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.101s coverage: 100.0% of statements 00:39:37 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 00:39:37 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.202s coverage: 99.0% of statements 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.098s coverage: 100.0% of statements 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.185s coverage: 92.9% of statements 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/system 0.060s coverage: 0.0% of statements 00:39:41 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.072s coverage: 100.0% of statements 00:39:44 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.123s coverage: 87.9% of statements 00:39:44 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.139s coverage: 100.0% of statements 00:39:44 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.057s coverage: 32.1% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements 00:39:45 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:39:45 $ docker stop --time=1 bfeb5394b5994f77ac4a15a0bb4b0b36007bc8932a03cda4265c7b721480602d 00:39:48 $ docker rm -f bfeb5394b5994f77ac4a15a0bb4b0b36007bc8932a03cda4265c7b721480602d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:39:50 ---> job-cost.sh 00:39:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WVDC 00:40:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:43:44 lf-activate-venv(): INFO: Adding /tmp/venv-WVDC/bin to PATH 00:43:44 INFO: No Stack... 00:43:44 INFO: Retrieving Pricing Info for: lf-standard-4 00:43:44 INFO: Archiving Costs [Pipeline] sh 00:43:44 + cat /w/workspace/edgex-go/5/archives/cost.csv 00:43:44 + cut -d, -f6 [Pipeline] lock 00:43:44 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3183-5-stack-cost] 00:43:44 Resource [jenkins-edgexfoundry-edgex-go-PR-3183-5-stack-cost] did not exist. Created. 00:43:44 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3183-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:45 + echo total: 0.20999999344348907 [Pipeline] stash 00:43:46 Stashed 1 file(s) [Pipeline] } 00:43:46 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3183-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:43:47 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:43:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:43:50 ---> package-listing.sh 00:43:50 ++ facter osfamily 00:43:50 ++ tr '[:upper:]' '[:lower:]' 00:43:50 + OS_FAMILY=redhat 00:43:50 + workspace=/w/workspace/edgex-go/5 00:43:50 + START_PACKAGES=/tmp/packages_start.txt 00:43:50 + END_PACKAGES=/tmp/packages_end.txt 00:43:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:43:50 + PACKAGES=/tmp/packages_start.txt 00:43:50 + '[' /w/workspace/edgex-go/5 ']' 00:43:50 + PACKAGES=/tmp/packages_end.txt 00:43:50 + case "${OS_FAMILY}" in 00:43:50 + rpm -qa 00:43:50 + sort 00:43:55 + '[' -f /tmp/packages_start.txt ']' 00:43:55 + '[' -f /tmp/packages_end.txt ']' 00:43:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:43:55 + '[' /w/workspace/edgex-go/5 ']' 00:43:55 + mkdir -p /w/workspace/edgex-go/5/archives/ 00:43:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/5/archives/ [Pipeline] echo 00:43:55 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/5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:43:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:43:56 00:43:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:43:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:43:56 alpine: Pulling from edgex-lftools-log-publisher 00:43:56 df20fa9351a1: Pulling fs layer 00:43:56 36b3adc4ff6f: Pulling fs layer 00:43:56 8ad3a11d3b57: Pulling fs layer 00:43:56 46f8f816bc3b: Pulling fs layer 00:43:56 93b61091891f: Pulling fs layer 00:43:56 93b9cdb0e59b: Pulling fs layer 00:43:56 5e14af77c1be: Pulling fs layer 00:43:56 01666e4c0597: Pulling fs layer 00:43:56 aa168da1d23b: Pulling fs layer 00:43:56 46f8f816bc3b: Waiting 00:43:56 93b61091891f: Waiting 00:43:56 93b9cdb0e59b: Waiting 00:43:56 5e14af77c1be: Waiting 00:43:56 01666e4c0597: Waiting 00:43:56 36b3adc4ff6f: Verifying Checksum 00:43:56 36b3adc4ff6f: Download complete 00:43:56 46f8f816bc3b: Verifying Checksum 00:43:56 46f8f816bc3b: Download complete 00:43:56 df20fa9351a1: Download complete 00:43:56 93b9cdb0e59b: Verifying Checksum 00:43:56 93b9cdb0e59b: Download complete 00:43:56 5e14af77c1be: Download complete 00:43:56 93b61091891f: Verifying Checksum 00:43:56 93b61091891f: Download complete 00:43:57 01666e4c0597: Verifying Checksum 00:43:57 01666e4c0597: Download complete 00:43:57 8ad3a11d3b57: Verifying Checksum 00:43:57 8ad3a11d3b57: Download complete 00:43:57 df20fa9351a1: Pull complete 00:43:57 36b3adc4ff6f: Pull complete 00:43:58 8ad3a11d3b57: Pull complete 00:43:58 46f8f816bc3b: Pull complete 00:43:59 93b61091891f: Pull complete 00:43:59 aa168da1d23b: Verifying Checksum 00:43:59 aa168da1d23b: Download complete 00:43:59 93b9cdb0e59b: Pull complete 00:43:59 5e14af77c1be: Pull complete 00:43:59 01666e4c0597: Pull complete 00:44:06 aa168da1d23b: Pull complete 00:44:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:44:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:44:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:44:06 prd-centos7-docker-4c-2g-27425 does not seem to be running inside a container 00:44:06 $ 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/5/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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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 00:44:09 $ docker top d3b5456be74d3620ffb7bed0d8c0f7442cbdc3ce5cee36ec68f0488a5c10f63c -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:09 + touch /tmp/pre-build-complete [Pipeline] sh 00:44:09 + mkdir -p /var/log/sa [Pipeline] sh 00:44:10 + ls /var/log/sa-host 00:44:10 + sadf -c /var/log/sa-host/sa23 00:44:10 file_magic: OK 00:44:10 HZ: Using current value: 100 00:44:10 file_header: OK 00:44:10 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:44:10 Statistics: 00:44:10 Hnuu...uuuununununu... 00:44:10 File successfully converted to sysstat format version 12.2.1 00:44:10 + sadf -c /var/log/sa-host/sa24 00:44:10 file_magic: OK 00:44:10 HZ: Using current value: 100 00:44:10 file_header: OK 00:44:10 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:44:10 Statistics: 00:44:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:44:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:44:12 provisioning config files... 00:44:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/5@tmp/config4106191622177733923tmp [Pipeline] { [Pipeline] echo 00:44:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:44:13 ---> create-netrc.sh [Pipeline] } 00:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:44:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:44:13 ---> python-tools-install.sh [Pipeline] echo 00:44:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:44:13 ---> sudo-logs.sh 00:44:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:44:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:44:14 ---> job-cost.sh 00:44:14 lf-activate-venv: SKIPPING 00:44:14 DEBUG: total: 0.20999999344348907 00:44:14 INFO: Retrieving Stack Cost... 00:44:15 INFO: Retrieving Pricing Info for: v1-standard-2 00:44:15 INFO: Archiving Costs [Pipeline] echo 00:44:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:44:16 ---> logs-deploy.sh 00:44:16 lf-activate-venv: SKIPPING 00:44:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3183/5 00:44:16 INFO: archiving workspace using pattern(s): 00:44:17 Archives upload complete. 00:44:17 INFO: archiving logs to Nexus