Pull request #3219 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4a8bedde849c1353092ec1129c82410f13119e92+76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 (328e5fd969655d2399d1702008f9be39fbd34d3b) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-3219/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-3219/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28359 in /w/workspace/edgexfoundry_edgex-go_PR-3219 [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 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 into PR head commit 4a8bedde849c1353092ec1129c82410f13119e92 > 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/3219/head:refs/remotes/origin/PR-3219 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a8bedde849c1353092ec1129c82410f13119e92 # timeout=10 Merge succeeded, producing 4a8bedde849c1353092ec1129c82410f13119e92 Checking out Revision 4a8bedde849c1353092ec1129c82410f13119e92 (PR-3219) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a8bedde849c1353092ec1129c82410f13119e92 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:32 ========================================================= 05:58:32 EdgeX Global Pipelines Version Info 05:58:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:34 ------------------- 05:58:34 stable info: 05:58:34 ------------------- 05:58:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:34 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:58:34 Message: update stable to v1.0.184 05:58:35 ------------------- 05:58:35 experimental info: 05:58:35 ------------------- 05:58:35 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:35 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:58:35 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 05:58:36 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 05:58:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3219 [Pipeline] echo 05:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3219 [Pipeline] echo 05:58:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3219 [Pipeline] echo 05:58:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a8bedde849c1353092ec1129c82410f13119e92 [Pipeline] echo 05:58:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a8bedd [Pipeline] echo 05:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:58:39 provisioning config files... 05:58:40 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config948893886977076205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:40 ---> docker-login.sh 05:58:40 nexus3.edgexfoundry.org:10001 05:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:40 Configure a credential helper to remove this warning. See 05:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:40 05:58:40 Login Succeeded 05:58:40 nexus3.edgexfoundry.org:10002 05:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:40 Configure a credential helper to remove this warning. See 05:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:40 05:58:40 Login Succeeded 05:58:40 nexus3.edgexfoundry.org:10003 05:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:41 Configure a credential helper to remove this warning. See 05:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:41 05:58:41 Login Succeeded 05:58:41 nexus3.edgexfoundry.org:10004 05:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:41 Configure a credential helper to remove this warning. See 05:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:41 05:58:41 Login Succeeded 05:58:41 docker.io 05:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:41 Configure a credential helper to remove this warning. See 05:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:41 05:58:41 Login Succeeded 05:58:41 ---> docker-login.sh ends [Pipeline] } 05:58:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:42 ++ 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 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/core-command/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo core-command,cmd/core-command/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/core-data/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo core-data,cmd/core-data/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/core-metadata/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo core-metadata,cmd/core-metadata/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/security-bootstrapper/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/security-proxy-setup/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/security-secretstore-setup/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/support-notifications/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo support-notifications,cmd/support-notifications/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/support-scheduler/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo support-scheduler,cmd/support-scheduler/Dockerfile 05:58:42 + for file in '`ls cmd/**/Dockerfile`' 05:58:42 ++ dirname cmd/sys-mgmt-agent/Dockerfile 05:58:42 ++ cut -d/ -f2 05:58:42 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 05:58:42 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 05:58:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:43 05:58:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:58:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:43 latest: Pulling from edgex-devops/git-semver 05:58:43 31603596830f: Pulling fs layer 05:58:43 2a8b12db71e7: Pulling fs layer 05:58:43 6ca5941a6612: Pulling fs layer 05:58:43 ecc8261a40a4: Pulling fs layer 05:58:43 2a8b12db71e7: Verifying Checksum 05:58:43 2a8b12db71e7: Download complete 05:58:44 31603596830f: Verifying Checksum 05:58:44 31603596830f: Download complete 05:58:44 ecc8261a40a4: Verifying Checksum 05:58:44 ecc8261a40a4: Download complete 05:58:44 6ca5941a6612: Download complete 05:58:44 31603596830f: Pull complete 05:58:44 2a8b12db71e7: Pull complete 05:58:45 6ca5941a6612: Pull complete 05:58:45 ecc8261a40a4: Pull complete 05:58:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:58:46 prd-centos7-docker-4c-2g-28359 does not seem to be running inside a container 05:58: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:58:48 $ docker top 9c69316f79b7efaeaac802ecbd4555d8a37232566d05f54dc5fa93a2afcc2896 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:49 [ssh-agent] Looking for ssh-agent implementation... 05:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:49 $ docker exec 9c69316f79b7efaeaac802ecbd4555d8a37232566d05f54dc5fa93a2afcc2896 ssh-agent 05:58:49 SSH_AUTH_SOCK=/tmp/ssh-PZXUm1Id439H/agent.13 05:58:49 SSH_AGENT_PID=18 05:58:49 Running ssh-add (command line suppressed) 05:58:49 Identity added: /w/workspace/edgex-go/1@tmp/private_key_7326419187645843742.key (/w/workspace/edgex-go/1@tmp/private_key_7326419187645843742.key) 05:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:50 + git tag --points-at HEAD [Pipeline] } 05:58:50 $ docker exec --env ******** --env ******** 9c69316f79b7efaeaac802ecbd4555d8a37232566d05f54dc5fa93a2afcc2896 ssh-agent -k 05:58:50 unset SSH_AUTH_SOCK; 05:58:50 unset SSH_AGENT_PID; 05:58:50 echo Agent pid 18 killed; 05:58:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:50 [ssh-agent] Looking for ssh-agent implementation... 05:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:51 $ docker exec 9c69316f79b7efaeaac802ecbd4555d8a37232566d05f54dc5fa93a2afcc2896 ssh-agent 05:58:51 SSH_AUTH_SOCK=/tmp/ssh-teyBJ8uZrzzr/agent.48 05:58:51 SSH_AGENT_PID=53 05:58:51 Running ssh-add (command line suppressed) 05:58:51 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6467145690592406944.key (/w/workspace/edgex-go/1@tmp/private_key_6467145690592406944.key) 05:58:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:51 + git semver init 05:58:51 # -> Open(): unable to determine branch for HEAD 05:58:51 # $GIT_DIR = /w/workspace/edgex-go/1/.git 05:58:51 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 05:58:51 # $SEMVER_REMOTE_NAME = origin 05:58:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:58:51 # $SEMVER_USER_NAME = edgex-jenkins 05:58:51 # $SEMVER_BRANCH = PR-3219 05:58:51 # $SEMVER_TEMP = /tmp/semver-715410797 05:58:51 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 05:59:10 # '/tmp/semver-715410797' -> '/w/workspace/edgex-go/1/.semver' 05:59:10 # -> Force: false 05:59:10 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 05:59:10 $ docker exec --env ******** --env ******** 9c69316f79b7efaeaac802ecbd4555d8a37232566d05f54dc5fa93a2afcc2896 ssh-agent -k 05:59:10 unset SSH_AUTH_SOCK; 05:59:10 unset SSH_AGENT_PID; 05:59:10 echo Agent pid 53 killed; 05:59:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:11 + git semver [Pipeline] } 05:59:11 $ docker stop --time=1 9c69316f79b7efaeaac802ecbd4555d8a37232566d05f54dc5fa93a2afcc2896 05:59:12 $ docker rm -f 9c69316f79b7efaeaac802ecbd4555d8a37232566d05f54dc5fa93a2afcc2896 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:13 Stashed 1 file(s) [Pipeline] echo 05:59:14 [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 05:59:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:59:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:59:16 + sudo service docker restart 05:59:16 + true 05:59:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 05:59:16 ========================================================= 05:59:16 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:59:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59:17 + 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 . 05:59:20 Sending build context to Docker daemon 328.1MB 05:59:20 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 05:59:20 Step 2/6 : FROM ${BASE} 05:59:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:20 188c0c94c7c5: Pulling fs layer 05:59:20 0ef7d3d256c8: Pulling fs layer 05:59:20 de9db76c5a1d: Pulling fs layer 05:59:20 bca2f99d35d6: Pulling fs layer 05:59:20 93359f2a8cfa: Pulling fs layer 05:59:20 7c6f9722023f: Pulling fs layer 05:59:20 a35cf1a2eb13: Pulling fs layer 05:59:20 93359f2a8cfa: Waiting 05:59:20 7c6f9722023f: Waiting 05:59:20 a35cf1a2eb13: Waiting 05:59:20 bca2f99d35d6: Waiting 05:59:20 de9db76c5a1d: Verifying Checksum 05:59:20 de9db76c5a1d: Download complete 05:59:20 0ef7d3d256c8: Download complete 05:59:20 93359f2a8cfa: Download complete 05:59:20 7c6f9722023f: Verifying Checksum 05:59:20 7c6f9722023f: Download complete 05:59:21 188c0c94c7c5: Download complete 05:59:22 188c0c94c7c5: Pull complete 05:59:22 0ef7d3d256c8: Pull complete 05:59:22 de9db76c5a1d: Pull complete 05:59:23 a35cf1a2eb13: Verifying Checksum 05:59:23 a35cf1a2eb13: Download complete 05:59:25 bca2f99d35d6: Verifying Checksum 05:59:25 bca2f99d35d6: Download complete 05:59:29 Still waiting to schedule task 05:59:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-28360’ is offline 05:59:31 bca2f99d35d6: Pull complete 05:59:31 93359f2a8cfa: Pull complete 05:59:31 7c6f9722023f: Pull complete 05:59:35 a35cf1a2eb13: Pull complete 05:59:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:59:35 ---> a62c8e92a672 05:59:35 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 05:59:35 ---> Running in 93214401ead4 05:59:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:59:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:59:38 (1/12) Installing libmagic (5.38-r0) 05:59:38 (2/12) Installing file (5.38-r0) 05:59:38 (3/12) Installing libc-dev (0.7.2-r3) 05:59:38 (4/12) Installing g++ (9.3.0-r2) 05:59:44 (5/12) Installing fortify-headers (1.1-r0) 05:59:44 (6/12) Installing patch (2.7.6-r6) 05:59:44 (7/12) Installing build-base (0.5-r2) 05:59:44 (8/12) Installing libsodium (1.0.18-r0) 05:59:44 (9/12) Installing pkgconf (1.7.2-r0) 05:59:44 (10/12) Installing libsodium-dev (1.0.18-r0) 05:59:44 (11/12) Installing libzmq (4.3.3-r0) 05:59:44 (12/12) Installing zeromq-dev (4.3.3-r0) 05:59:44 Executing busybox-1.31.1-r19.trigger 05:59:44 OK: 233 MiB in 51 packages 05:59:47 Removing intermediate container 93214401ead4 05:59:47 ---> 3b8c63bb3188 05:59:47 Step 4/6 : WORKDIR /edgex-go 05:59:47 ---> Running in a271a9c2b8cd 05:59:47 Removing intermediate container a271a9c2b8cd 05:59:47 ---> a2b2074a2a11 05:59:47 Step 5/6 : COPY go.mod . 05:59:48 ---> 4229d769007d 05:59:48 Step 6/6 : RUN go mod download 05:59:48 ---> Running in 0334134c840d 06:00:10 Removing intermediate container 0334134c840d 06:00:10 ---> 2232e47b2ad4 06:00:10 Successfully built 2232e47b2ad4 06:00:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:00:10 + docker inspect -f . ci-base-image-x86_64 06:00:10 . [Pipeline] withDockerContainer 06:00:10 prd-centos7-docker-4c-2g-28359 does not seem to be running inside a container 06:00:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:11 $ docker top 3b0ff8b1097ccb8efe47971d5c93d87bf10bcc9713c86550228fd7d84af04e0f -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:12 + go version 06:00:12 go version go1.15.5 linux/amd64 [Pipeline] } 06:00:12 $ docker stop --time=1 3b0ff8b1097ccb8efe47971d5c93d87bf10bcc9713c86550228fd7d84af04e0f 06:00:13 $ docker rm -f 3b0ff8b1097ccb8efe47971d5c93d87bf10bcc9713c86550228fd7d84af04e0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:14 + docker inspect -f . ci-base-image-x86_64 06:00:14 . [Pipeline] withDockerContainer 06:00:14 prd-centos7-docker-4c-2g-28359 does not seem to be running inside a container 06:00:14 $ 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 ******** ci-base-image-x86_64 cat 06:00:15 $ docker top f4b4cbbe0b41b082ffa1294b3c707e87249b9c769044e35a8b4b6fa96cb62d35 -eo pid,comm [Pipeline] { [Pipeline] echo 06:00:16 ========================================================= 06:00:16 [edgeXBuildGoParallel] Running Tests and Build... 06:00:16 ========================================================= [Pipeline] sh 06:00:16 + make test 06:00:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:00:24 ? github.com/edgexfoundry/edgex-go [no test files] 06:00:46 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:00:46 # github.com/edgexfoundry/edgex-go/internal/core/data/v2 06:00:46 internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute 06:00:53 # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] 06:00:53 internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent 06:00:53 have (string, string) 06:00:53 want (string, string, string) 06:00:53 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 06:00:53 internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute 06:00:54 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.118s coverage: 45.9% of statements 06:00:54 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 06:00:54 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 06:00:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.033s coverage: 100.0% of statements 06:00:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.057s coverage: 100.0% of statements 06:00:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.131s coverage: 65.8% of statements 06:00:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 06:00:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.331s coverage: 28.6% of statements 06:00:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.084s coverage: 100.0% of statements 06:00:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.038s coverage: 100.0% of statements 06:00:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.141s coverage: 86.7% of statements 06:00:58 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 06:00:58 internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 06:00:58 internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 06:00:58 internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent 06:00:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.107s coverage: 97.5% of statements 06:00:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.059s coverage: 78.3% of statements 06:00:59 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 06:01:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.039s coverage: 58.8% of statements 06:01:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.066s coverage: 0.1% of statements 06:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.029s coverage: 45.5% of statements 06:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.044s coverage: 79.5% of statements 06:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.033s coverage: 94.1% of statements 06:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.043s coverage: 96.3% of statements 06:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.027s coverage: 87.5% of statements 06:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.050s coverage: 94.4% of statements 06:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.028s coverage: 44.8% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.060s coverage: 92.9% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.038s coverage: 77.8% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.053s coverage: 87.2% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.043s coverage: 75.5% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.033s coverage: 80.8% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.043s coverage: 84.6% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.074s coverage: 91.6% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.165s coverage: 62.4% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.043s coverage: 91.3% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.278s coverage: 69.1% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.096s coverage: 38.4% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.044s coverage: 89.5% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.043s coverage: 84.8% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.126s coverage: 47.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.045s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.045s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.140s coverage: 88.5% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.752s coverage: 29.1% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.068s coverage: 99.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.043s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.067s coverage: 94.3% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/system 0.047s coverage: 0.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.051s coverage: 87.9% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.037s coverage: 100.0% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.033s coverage: 32.1% of statements 06:01:26 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 06:01:26 make: *** [Makefile:94: test] Error 2 [Pipeline] } 06:01:26 $ docker stop --time=1 f4b4cbbe0b41b082ffa1294b3c707e87249b9c769044e35a8b4b6fa96cb62d35 06:01:29 $ docker rm -f f4b4cbbe0b41b082ffa1294b3c707e87249b9c769044e35a8b4b6fa96cb62d35 [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:01:31 Failed in branch amd64 06:02:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28362 in /w/workspace/edgexfoundry_edgex-go_PR-3219 [Pipeline] { [Pipeline] ws 06:02:42 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 06:02:47 using credential edgex-jenkins-ssh 06:02:47 Cloning the remote Git repository 06:02:47 Cloning repository git@github.com:edgexfoundry/edgex-go.git 06:02:48 > git init /w/workspace/edgex-go/1 # timeout=10 06:02:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:02:48 > git --version # timeout=10 06:02:48 > git --version # 'git version 2.17.1' 06:02:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:04 Merging remotes/origin/master commit 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 into PR head commit 4a8bedde849c1353092ec1129c82410f13119e92 06:03:04 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:03:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:04 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:03:04 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:03:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3219/head:refs/remotes/origin/PR-3219 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:03:04 > git config core.sparsecheckout # timeout=10 06:03:04 > git checkout -f 4a8bedde849c1353092ec1129c82410f13119e92 # timeout=10 06:03:05 Merge succeeded, producing 4a8bedde849c1353092ec1129c82410f13119e92 06:03:05 Checking out Revision 4a8bedde849c1353092ec1129c82410f13119e92 (PR-3219) 06:03:05 > git remote # timeout=10 06:03:05 > git config --get remote.origin.url # timeout=10 06:03:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:05 > git merge 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 # timeout=10 06:03:05 > git rev-parse HEAD^{commit} # timeout=10 06:03:05 > git config core.sparsecheckout # timeout=10 06:03:05 > git checkout -f 4a8bedde849c1353092ec1129c82410f13119e92 # timeout=10 06:03:09 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:03:09 > git --version # timeout=10 06:03:09 > git --version # 'git version 2.17.1' 06:03:09 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:03:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:03:12 + sudo service docker restart+ 06:03:12 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:03:14 provisioning config files... 06:03:14 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5405920407302739209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:14 ---> docker-login.sh 06:03:14 nexus3.edgexfoundry.org:10001 06:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:16 Configure a credential helper to remove this warning. See 06:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:16 06:03:16 Login Succeeded 06:03:16 nexus3.edgexfoundry.org:10002 06:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:16 Configure a credential helper to remove this warning. See 06:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:16 06:03:16 Login Succeeded 06:03:16 nexus3.edgexfoundry.org:10003 06:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:17 Configure a credential helper to remove this warning. See 06:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:17 06:03:17 Login Succeeded 06:03:17 nexus3.edgexfoundry.org:10004 06:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:17 Configure a credential helper to remove this warning. See 06:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:17 06:03:17 Login Succeeded 06:03:17 docker.io 06:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:18 Configure a credential helper to remove this warning. See 06:03:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:18 06:03:18 Login Succeeded 06:03:18 ---> docker-login.sh ends [Pipeline] } 06:03:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:19 ========================================================= 06:03:19 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:03:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:03:19 + 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:03:22 Sending build context to Docker daemon 166.4MB 06:03:22 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 06:03:22 Step 2/6 : FROM ${BASE} 06:03:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:22 5f621e34cdf4: Pulling fs layer 06:03:22 a4357932f1b6: Pulling fs layer 06:03:22 18c013af1878: Pulling fs layer 06:03:22 00ac8860ef70: Pulling fs layer 06:03:22 63d7cb157983: Pulling fs layer 06:03:22 b116817d02f9: Pulling fs layer 06:03:22 745a02a5169b: Pulling fs layer 06:03:22 63d7cb157983: Waiting 06:03:22 b116817d02f9: Waiting 06:03:22 00ac8860ef70: Waiting 06:03:22 745a02a5169b: Waiting 06:03:22 18c013af1878: Verifying Checksum 06:03:22 18c013af1878: Download complete 06:03:22 a4357932f1b6: Verifying Checksum 06:03:22 a4357932f1b6: Download complete 06:03:22 63d7cb157983: Download complete 06:03:22 b116817d02f9: Download complete 06:03:23 5f621e34cdf4: Verifying Checksum 06:03:23 5f621e34cdf4: Download complete 06:03:23 5f621e34cdf4: Pull complete 06:03:24 a4357932f1b6: Pull complete 06:03:24 18c013af1878: Pull complete 06:03:26 745a02a5169b: Verifying Checksum 06:03:26 745a02a5169b: Download complete 06:03:27 00ac8860ef70: Verifying Checksum 06:03:27 00ac8860ef70: Download complete 06:03:37 00ac8860ef70: Pull complete 06:03:37 63d7cb157983: Pull complete 06:03:37 b116817d02f9: Pull complete 06:03:41 745a02a5169b: Pull complete 06:03:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:03:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:03:41 ---> b7e6874047d6 06:03:41 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:03:45 ---> Running in af5fb6856df0 06:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:03:47 (1/12) Installing libmagic (5.38-r0) 06:03:47 (2/12) Installing file (5.38-r0) 06:03:48 (3/12) Installing libc-dev (0.7.2-r3) 06:03:48 (4/12) Installing g++ (9.3.0-r2) 06:03:52 (5/12) Installing fortify-headers (1.1-r0) 06:03:52 (6/12) Installing patch (2.7.6-r6) 06:03:52 (7/12) Installing build-base (0.5-r2) 06:03:52 (8/12) Installing libsodium (1.0.18-r0) 06:03:52 (9/12) Installing pkgconf (1.7.2-r0) 06:03:52 (10/12) Installing libsodium-dev (1.0.18-r0) 06:03:52 (11/12) Installing libzmq (4.3.3-r0) 06:03:52 (12/12) Installing zeromq-dev (4.3.3-r0) 06:03:53 Executing busybox-1.31.1-r19.trigger 06:03:53 OK: 217 MiB in 51 packages 06:03:57 Removing intermediate container af5fb6856df0 06:03:57 ---> 409537a0d302 06:03:57 Step 4/6 : WORKDIR /edgex-go 06:03:57 ---> Running in ee58111f3284 06:03:57 Removing intermediate container ee58111f3284 06:03:57 ---> d8102eb1b2e9 06:03:57 Step 5/6 : COPY go.mod . 06:03:58 ---> 9ecba1dd24bc 06:03:58 Step 6/6 : RUN go mod download 06:03:58 ---> Running in 65e9afdc1681 06:04:31 Removing intermediate container 65e9afdc1681 06:04:31 ---> e7a7a8e98e82 06:04:31 Successfully built e7a7a8e98e82 06:04:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:04:31 + docker inspect -f . ci-base-image-arm64 06:04:31 . [Pipeline] withDockerContainer 06:04:31 prd-ubuntu18.04-docker-arm64-4c-16g-28362 does not seem to be running inside a container 06:04:31 $ 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 ******** ci-base-image-arm64 cat 06:04:33 $ docker top e8ee85c8d94dd07a7de32211fa08bd835f1ce23a5e5f46cccf78bed53c8a2dbc -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:34 + go version 06:04:34 go version go1.15.5 linux/arm64 [Pipeline] } 06:04:34 $ docker stop --time=1 e8ee85c8d94dd07a7de32211fa08bd835f1ce23a5e5f46cccf78bed53c8a2dbc 06:04:36 $ docker rm -f e8ee85c8d94dd07a7de32211fa08bd835f1ce23a5e5f46cccf78bed53c8a2dbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:04:37 + docker inspect -f . ci-base-image-arm64 06:04:37 . [Pipeline] withDockerContainer 06:04:37 prd-ubuntu18.04-docker-arm64-4c-16g-28362 does not seem to be running inside a container 06:04:37 $ 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 ******** ci-base-image-arm64 cat 06:04:39 $ docker top 30450deb42413ac8820221aa9c23ed8296edeae3b54287a6c87b8c880d867390 -eo pid,comm [Pipeline] { [Pipeline] echo 06:04:39 ========================================================= 06:04:39 [edgeXBuildGoParallel] Running Tests and Build... 06:04:39 ========================================================= [Pipeline] sh 06:04:40 + make test 06:04:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:05:02 ? github.com/edgexfoundry/edgex-go [no test files] 06:05:49 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:05:52 # github.com/edgexfoundry/edgex-go/internal/core/data/v2 06:05:52 internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute 06:06:19 # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] 06:06:19 internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent 06:06:19 have (string, string) 06:06:19 want (string, string, string) 06:06:20 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 06:06:20 internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute 06:06:21 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.349s coverage: 45.9% of statements 06:06:21 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 06:06:21 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 06:06:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.076s coverage: 100.0% of statements 06:06:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.087s coverage: 100.0% of statements 06:06:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.241s coverage: 65.8% of statements 06:06:26 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 06:06:34 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 06:06:34 internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 06:06:34 internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 06:06:34 internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent 06:06:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.251s coverage: 28.6% of statements 06:06:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.176s coverage: 100.0% of statements 06:06:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.092s coverage: 100.0% of statements 06:06:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.271s coverage: 86.7% of statements 06:06:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.333s coverage: 97.5% of statements 06:06:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.152s coverage: 78.3% of statements 06:06:34 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 06:06:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.063s coverage: 58.8% of statements 06:06:38 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.171s coverage: 0.1% of statements 06:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.069s coverage: 45.5% of statements 06:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.090s coverage: 79.5% of statements 06:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.059s coverage: 94.1% of statements 06:06:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.080s coverage: 96.3% of statements 06:06:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.052s coverage: 87.5% of statements 06:06:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.073s coverage: 94.4% of statements 06:06:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.059s coverage: 44.8% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.142s coverage: 92.9% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.066s coverage: 77.8% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.081s coverage: 87.2% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.055s coverage: 100.0% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.090s coverage: 75.5% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.056s coverage: 80.8% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.129s coverage: 87.2% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.140s coverage: 84.6% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.178s coverage: 91.6% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.557s coverage: 62.4% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.075s coverage: 91.3% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.055s coverage: 100.0% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.089s coverage: 73.7% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.793s coverage: 69.1% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.367s coverage: 38.4% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.092s coverage: 89.5% of statements 06:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.112s coverage: 84.8% of statements 06:07:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.468s coverage: 47.0% of statements 06:07:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.155s coverage: 100.0% of statements 06:07:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.164s coverage: 100.0% of statements 06:07:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.414s coverage: 88.5% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.290s coverage: 29.1% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.188s coverage: 99.0% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.116s coverage: 100.0% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.196s coverage: 94.3% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.086s coverage: 100.0% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.107s coverage: 87.9% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.073s coverage: 100.0% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.056s coverage: 32.1% of statements 06:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements 06:07:23 make: *** [Makefile:94: test] Error 2 [Pipeline] } 06:07:23 $ docker stop --time=1 30450deb42413ac8820221aa9c23ed8296edeae3b54287a6c87b8c880d867390 06:07:25 $ docker rm -f 30450deb42413ac8820221aa9c23ed8296edeae3b54287a6c87b8c880d867390 [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 06:07:28 ---> job-cost.sh 06:07:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ck1S 06:08:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:10:14 lf-activate-venv(): INFO: Adding /tmp/venv-ck1S/bin to PATH 06:10:14 INFO: No Stack... 06:10:14 INFO: Retrieving Pricing Info for: lf-standard-4 06:10:14 INFO: Archiving Costs [Pipeline] sh 06:10:14 + cat /w/workspace/edgex-go/1/archives/cost.csv 06:10:14 + cut -d, -f6 [Pipeline] lock 06:10:14 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3219-1-stack-cost] 06:10:14 Resource [jenkins-edgexfoundry-edgex-go-PR-3219-1-stack-cost] did not exist. Created. 06:10:14 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:15 + echo total: 0.20999999344348907 [Pipeline] stash 06:10:16 Stashed 1 file(s) [Pipeline] } 06:10:16 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3219-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:10:17 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 06:10:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:10:21 ---> package-listing.sh 06:10:21 ++ facter osfamily 06:10:21 ++ tr '[:upper:]' '[:lower:]' 06:10:21 + OS_FAMILY=redhat 06:10:21 + workspace=/w/workspace/edgex-go/1 06:10:21 + START_PACKAGES=/tmp/packages_start.txt 06:10:21 + END_PACKAGES=/tmp/packages_end.txt 06:10:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:10:21 + PACKAGES=/tmp/packages_start.txt 06:10:21 + '[' /w/workspace/edgex-go/1 ']' 06:10:21 + PACKAGES=/tmp/packages_end.txt 06:10:21 + case "${OS_FAMILY}" in 06:10:21 + rpm -qa 06:10:21 + sort 06:10:26 + '[' -f /tmp/packages_start.txt ']' 06:10:26 + '[' -f /tmp/packages_end.txt ']' 06:10:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:10:26 + '[' /w/workspace/edgex-go/1 ']' 06:10:26 + mkdir -p /w/workspace/edgex-go/1/archives/ 06:10:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 06:10:26 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:10:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:10:27 06:10:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:10:27 alpine: Pulling from edgex-lftools-log-publisher 06:10:27 df20fa9351a1: Pulling fs layer 06:10:27 36b3adc4ff6f: Pulling fs layer 06:10:27 8ad3a11d3b57: Pulling fs layer 06:10:27 46f8f816bc3b: Pulling fs layer 06:10:27 93b61091891f: Pulling fs layer 06:10:27 93b9cdb0e59b: Pulling fs layer 06:10:27 5e14af77c1be: Pulling fs layer 06:10:27 01666e4c0597: Pulling fs layer 06:10:27 aa168da1d23b: Pulling fs layer 06:10:27 46f8f816bc3b: Waiting 06:10:27 93b61091891f: Waiting 06:10:27 93b9cdb0e59b: Waiting 06:10:27 5e14af77c1be: Waiting 06:10:27 aa168da1d23b: Waiting 06:10:27 01666e4c0597: Waiting 06:10:27 36b3adc4ff6f: Verifying Checksum 06:10:27 36b3adc4ff6f: Download complete 06:10:27 46f8f816bc3b: Verifying Checksum 06:10:27 46f8f816bc3b: Download complete 06:10:27 df20fa9351a1: Verifying Checksum 06:10:27 df20fa9351a1: Download complete 06:10:27 93b9cdb0e59b: Verifying Checksum 06:10:27 93b9cdb0e59b: Download complete 06:10:27 93b61091891f: Verifying Checksum 06:10:27 93b61091891f: Download complete 06:10:27 5e14af77c1be: Verifying Checksum 06:10:27 5e14af77c1be: Download complete 06:10:27 01666e4c0597: Verifying Checksum 06:10:27 01666e4c0597: Download complete 06:10:28 df20fa9351a1: Pull complete 06:10:28 36b3adc4ff6f: Pull complete 06:10:28 8ad3a11d3b57: Verifying Checksum 06:10:28 8ad3a11d3b57: Download complete 06:10:29 8ad3a11d3b57: Pull complete 06:10:29 46f8f816bc3b: Pull complete 06:10:30 93b61091891f: Pull complete 06:10:30 93b9cdb0e59b: Pull complete 06:10:30 5e14af77c1be: Pull complete 06:10:30 aa168da1d23b: Verifying Checksum 06:10:30 aa168da1d23b: Download complete 06:10:30 01666e4c0597: Pull complete 06:10:38 aa168da1d23b: Pull complete 06:10:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:10:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:10:38 prd-centos7-docker-4c-2g-28359 does not seem to be running inside a container 06:10:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:10:41 $ docker top d6492933e5ba2b46f53cdfb0b6ade141fbfc4b904bbed55182851f9b72e41514 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:42 + touch /tmp/pre-build-complete [Pipeline] sh 06:10:42 + mkdir -p /var/log/sa [Pipeline] sh 06:10:42 + ls /var/log/sa-host 06:10:42 + sadf -c /var/log/sa-host/sa03 06:10:42 file_magic: OK 06:10:42 HZ: Using current value: 100 06:10:42 file_header: OK 06:10:42 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:10:42 Statistics: 06:10:42 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... 06:10:42 File successfully converted to sysstat format version 12.2.1 06:10:42 + sadf -c /var/log/sa-host/sa23 06:10:42 file_magic: OK 06:10:42 HZ: Using current value: 100 06:10:42 file_header: OK 06:10:42 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:10:42 Statistics: 06:10:42 Hnuu...uuuununununu... 06:10:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:43 provisioning config files... 06:10:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7728003998627807863tmp [Pipeline] { [Pipeline] echo 06:10:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:10:43 ---> create-netrc.sh [Pipeline] } 06:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:10:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:10:44 ---> python-tools-install.sh [Pipeline] echo 06:10:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:10:44 ---> sudo-logs.sh 06:10:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:10:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:10:45 ---> job-cost.sh 06:10:45 lf-activate-venv: SKIPPING 06:10:45 DEBUG: total: 0.20999999344348907 06:10:45 INFO: Retrieving Stack Cost... 06:10:46 INFO: Retrieving Pricing Info for: v1-standard-2 06:10:46 INFO: Archiving Costs [Pipeline] echo 06:10:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:46 ---> logs-deploy.sh 06:10:46 lf-activate-venv: SKIPPING 06:10:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3219/1 06:10:46 INFO: archiving workspace using pattern(s): 06:10:48 Archives upload complete. 06:10:48 INFO: archiving logs to Nexus 06:10:49 ---> uname -a: 06:10:49 Linux prd-centos7-docker-4c-2g-28359.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:10:49 06:10:49 06:10:49 ---> lscpu: 06:10:49 Architecture: x86_64 06:10:49 CPU op-mode(s): 32-bit, 64-bit 06:10:49 Byte Order: Little Endian 06:10:49 Address sizes: 40 bits physical, 48 bits virtual 06:10:49 CPU(s): 4 06:10:49 On-line CPU(s) list: 0-3 06:10:49 Thread(s) per core: 1 06:10:49 Core(s) per socket: 1 06:10:49 Socket(s): 4 06:10:49 NUMA node(s): 1 06:10:49 Vendor ID: GenuineIntel 06:10:49 CPU family: 6 06:10:49 Model: 44 06:10:49 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:10:49 Stepping: 1 06:10:49 CPU MHz: 2933.442 06:10:49 BogoMIPS: 5866.88 06:10:49 Virtualization: VT-x 06:10:49 Hypervisor vendor: KVM 06:10:49 Virtualization type: full 06:10:49 L1d cache: 128 KiB 06:10:49 L1i cache: 128 KiB 06:10:49 L2 cache: 16 MiB 06:10:49 L3 cache: 64 MiB 06:10:49 NUMA node0 CPU(s): 0-3 06:10:49 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:10:49 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:10:49 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:10:49 Vulnerability Meltdown: Mitigation; PTI 06:10:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:10:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:10:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:10:49 Vulnerability Srbds: Not affected 06:10:49 Vulnerability Tsx async abort: Not affected 06:10:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:10:49 06:10:49 06:10:49 ---> nproc: 06:10:49 4 06:10:49 06:10:49