Pull request #2907 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from aaa3f72ab94d3b5cedc20bfbda669fbc82273b37+ea5d7be70bf78d25df2f442b65fefbdc258c073e (64491f912a7069e88687364c47f9f3117a48caad) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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-2907/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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-2907/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13981 in /w/workspace/edgexfoundry_edgex-go_PR-2907 [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 ea5d7be70bf78d25df2f442b65fefbdc258c073e into PR head commit aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 Merge succeeded, producing aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 Checking out Revision aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 (PR-2907) > 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/2907/head:refs/remotes/origin/PR-2907 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 # 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 ea5d7be70bf78d25df2f442b65fefbdc258c073e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-01T06:37:50.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-01T06:37:50.990Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-01T06:37:51.166Z] ========================================================= [2020-12-01T06:37:51.167Z] EdgeX Global Pipelines Version Info [2020-12-01T06:37:51.167Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:37:53.234Z] ------------------- [2020-12-01T06:37:53.234Z] stable info: [2020-12-01T06:37:53.234Z] ------------------- [2020-12-01T06:37:53.234Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-01T06:37:53.234Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-01T06:37:53.234Z] Message: update stable to v1.0.169 [2020-12-01T06:37:53.813Z] ------------------- [2020-12-01T06:37:53.813Z] experimental info: [2020-12-01T06:37:53.813Z] ------------------- [2020-12-01T06:37:53.813Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-01T06:37:53.813Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-01T06:37:53.813Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-01T06:37:54.271Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-01T06:37:54.423Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-01T06:37:54.578Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-01T06:37:54.726Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-01T06:37:54.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-01T06:37:55.111Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-01T06:37:55.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-01T06:37:55.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-01T06:37:55.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-01T06:37:55.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-01T06:37:55.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-01T06:37:55.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-01T06:37:56.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-01T06:37:56.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-01T06:37:56.467Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-01T06:37:56.601Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-01T06:37:56.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-01T06:37:56.858Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-01T06:37:56.997Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-01T06:37:57.131Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-01T06:37:57.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-01T06:37:57.428Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-01T06:37:57.573Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2907 [Pipeline] echo [2020-12-01T06:37:57.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2907 [Pipeline] echo [2020-12-01T06:37:57.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2907 [Pipeline] echo [2020-12-01T06:37:57.943Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 [Pipeline] echo [2020-12-01T06:37:58.127Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aaa3f72 [Pipeline] echo [2020-12-01T06:37:58.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-01T06:37:58.543Z] provisioning config files... [2020-12-01T06:37:58.573Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6172081850312907774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:37:59.026Z] ---> docker-login.sh [2020-12-01T06:37:59.026Z] nexus3.edgexfoundry.org:10001 [2020-12-01T06:37:59.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:59.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:59.555Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:59.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:59.556Z] [2020-12-01T06:37:59.556Z] Login Succeeded [2020-12-01T06:37:59.556Z] nexus3.edgexfoundry.org:10002 [2020-12-01T06:37:59.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:59.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:59.556Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:59.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:59.556Z] [2020-12-01T06:37:59.556Z] Login Succeeded [2020-12-01T06:37:59.556Z] nexus3.edgexfoundry.org:10003 [2020-12-01T06:37:59.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:59.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:59.821Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:59.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:59.821Z] [2020-12-01T06:37:59.821Z] Login Succeeded [2020-12-01T06:37:59.821Z] nexus3.edgexfoundry.org:10004 [2020-12-01T06:38:00.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:38:00.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:38:00.086Z] Configure a credential helper to remove this warning. See [2020-12-01T06:38:00.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:38:00.086Z] [2020-12-01T06:38:00.086Z] Login Succeeded [2020-12-01T06:38:00.086Z] docker.io [2020-12-01T06:38:00.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:38:00.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:38:00.349Z] Configure a credential helper to remove this warning. See [2020-12-01T06:38:00.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:38:00.350Z] [2020-12-01T06:38:00.350Z] Login Succeeded [2020-12-01T06:38:00.350Z] ---> docker-login.sh ends [Pipeline] } [2020-12-01T06:38:00.376Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-01T06:38:01.022Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2020-12-01T06:38:01.022Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.022Z] ++ dirname cmd/core-command/Dockerfile [2020-12-01T06:38:01.022Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.022Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-01T06:38:01.022Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.022Z] ++ dirname cmd/core-data/Dockerfile [2020-12-01T06:38:01.022Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.022Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-01T06:38:01.022Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.022Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-01T06:38:01.022Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.022Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-01T06:38:01.022Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.022Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-01T06:38:01.022Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.022Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-01T06:38:01.022Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.022Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-01T06:38:01.022Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.022Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-01T06:38:01.022Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.022Z] ++ dirname cmd/security-secrets-setup/Dockerfile [2020-12-01T06:38:01.022Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.022Z] + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile [2020-12-01T06:38:01.022Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.022Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-01T06:38:01.022Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.022Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-01T06:38:01.023Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.023Z] ++ dirname cmd/support-logging/Dockerfile [2020-12-01T06:38:01.023Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.023Z] + echo support-logging,cmd/support-logging/Dockerfile [2020-12-01T06:38:01.023Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.023Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-01T06:38:01.023Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.023Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-01T06:38:01.023Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.023Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-01T06:38:01.023Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.023Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-01T06:38:01.023Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-01T06:38:01.023Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-01T06:38:01.023Z] ++ cut -d/ -f2 [2020-12-01T06:38:01.023Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-01T06:38:01.128Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/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 [2020-12-01T06:38:02.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-01T06:38:02.300Z] [2020-12-01T06:38:02.300Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:38:02.697Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-01T06:38:02.697Z] latest: Pulling from edgex-devops/git-semver [2020-12-01T06:38:02.697Z] 31603596830f: Pulling fs layer [2020-12-01T06:38:02.697Z] 2a8b12db71e7: Pulling fs layer [2020-12-01T06:38:02.697Z] 6ca5941a6612: Pulling fs layer [2020-12-01T06:38:02.697Z] ecc8261a40a4: Pulling fs layer [2020-12-01T06:38:02.697Z] ecc8261a40a4: Waiting [2020-12-01T06:38:02.697Z] 2a8b12db71e7: Download complete [2020-12-01T06:38:02.962Z] 31603596830f: Verifying Checksum [2020-12-01T06:38:02.962Z] 31603596830f: Download complete [2020-12-01T06:38:02.962Z] ecc8261a40a4: Verifying Checksum [2020-12-01T06:38:02.962Z] ecc8261a40a4: Download complete [2020-12-01T06:38:02.962Z] 6ca5941a6612: Verifying Checksum [2020-12-01T06:38:02.962Z] 6ca5941a6612: Download complete [2020-12-01T06:38:03.226Z] 31603596830f: Pull complete [2020-12-01T06:38:03.491Z] 2a8b12db71e7: Pull complete [2020-12-01T06:38:04.069Z] 6ca5941a6612: Pull complete [2020-12-01T06:38:04.332Z] ecc8261a40a4: Pull complete [2020-12-01T06:38:04.332Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-01T06:38:04.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-01T06:38:04.332Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-01T06:38:04.479Z] prd-centos7-docker-4c-2g-13981 does not seem to be running inside a container [2020-12-01T06:38:04.534Z] $ 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 [2020-12-01T06:38:07.151Z] $ docker top 1cc73b443cd4f9e679bed940e2f9a10b817201b2c557143b2d3af7bf90e5f4cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-01T06:38:07.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-01T06:38:07.585Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-01T06:38:07.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-01T06:38:07.817Z] $ docker exec 1cc73b443cd4f9e679bed940e2f9a10b817201b2c557143b2d3af7bf90e5f4cb ssh-agent [2020-12-01T06:38:08.006Z] SSH_AUTH_SOCK=/tmp/ssh-xzgibmWRuvoS/agent.11 [2020-12-01T06:38:08.006Z] SSH_AGENT_PID=16 [2020-12-01T06:38:08.018Z] Running ssh-add (command line suppressed) [2020-12-01T06:38:08.149Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_5911830497089459741.key (/w/workspace/edgex-go/1@tmp/private_key_5911830497089459741.key) [2020-12-01T06:38:08.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-01T06:38:08.587Z] + git tag --points-at HEAD [Pipeline] } [2020-12-01T06:38:08.621Z] $ docker exec --env ******** --env ******** 1cc73b443cd4f9e679bed940e2f9a10b817201b2c557143b2d3af7bf90e5f4cb ssh-agent -k [2020-12-01T06:38:08.742Z] unset SSH_AUTH_SOCK; [2020-12-01T06:38:08.743Z] unset SSH_AGENT_PID; [2020-12-01T06:38:08.743Z] echo Agent pid 16 killed; [2020-12-01T06:38:08.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-01T06:38:09.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-01T06:38:09.016Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-01T06:38:09.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-01T06:38:09.194Z] $ docker exec 1cc73b443cd4f9e679bed940e2f9a10b817201b2c557143b2d3af7bf90e5f4cb ssh-agent [2020-12-01T06:38:09.365Z] SSH_AUTH_SOCK=/tmp/ssh-XHeR3TquW92C/agent.45 [2020-12-01T06:38:09.365Z] SSH_AGENT_PID=50 [2020-12-01T06:38:09.379Z] Running ssh-add (command line suppressed) [2020-12-01T06:38:09.513Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_6848837543333809310.key (/w/workspace/edgex-go/1@tmp/private_key_6848837543333809310.key) [2020-12-01T06:38:09.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-01T06:38:09.949Z] + git semver init [2020-12-01T06:38:09.949Z] # -> Open(): unable to determine branch for HEAD [2020-12-01T06:38:09.949Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2020-12-01T06:38:09.949Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2020-12-01T06:38:09.949Z] # $SEMVER_REMOTE_NAME = origin [2020-12-01T06:38:09.949Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-01T06:38:09.949Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-01T06:38:09.949Z] # $SEMVER_BRANCH = PR-2907 [2020-12-01T06:38:09.949Z] # $SEMVER_TEMP = /tmp/semver-383766649 [2020-12-01T06:38:09.949Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-01T06:38:28.665Z] # '/tmp/semver-383766649' -> '/w/workspace/edgex-go/1/.semver' [2020-12-01T06:38:28.665Z] # -> Force: false [2020-12-01T06:38:28.665Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2020-12-01T06:38:28.693Z] $ docker exec --env ******** --env ******** 1cc73b443cd4f9e679bed940e2f9a10b817201b2c557143b2d3af7bf90e5f4cb ssh-agent -k [2020-12-01T06:38:28.943Z] unset SSH_AUTH_SOCK; [2020-12-01T06:38:28.943Z] unset SSH_AGENT_PID; [2020-12-01T06:38:28.943Z] echo Agent pid 50 killed; [2020-12-01T06:38:29.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-01T06:38:29.634Z] + git semver [Pipeline] } [2020-12-01T06:38:29.672Z] $ docker stop --time=1 1cc73b443cd4f9e679bed940e2f9a10b817201b2c557143b2d3af7bf90e5f4cb [2020-12-01T06:38:31.349Z] $ docker rm -f 1cc73b443cd4f9e679bed940e2f9a10b817201b2c557143b2d3af7bf90e5f4cb [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-01T06:38:31.975Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-01T06:38:32.625Z] Stashed 1 file(s) [Pipeline] echo [2020-12-01T06:38:32.665Z] [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 [2020-12-01T06:38:34.208Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:38:34.534Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:38:34.867Z] + sudo service docker restart [2020-12-01T06:38:34.867Z] + true [2020-12-01T06:38:34.867Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-01T06:38:35.529Z] ========================================================= [2020-12-01T06:38:35.529Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-01T06:38:35.529Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:38:35.960Z] + 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 . [2020-12-01T06:38:39.320Z] Sending build context to Docker daemon 326MB [2020-12-01T06:38:39.320Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-01T06:38:39.320Z] Step 2/7 : FROM ${BASE} [2020-12-01T06:38:39.320Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-01T06:38:39.320Z] df20fa9351a1: Pulling fs layer [2020-12-01T06:38:39.320Z] ed8968b2872e: Pulling fs layer [2020-12-01T06:38:39.320Z] a92cc7c5fd73: Pulling fs layer [2020-12-01T06:38:39.320Z] e871e8e8d7a9: Pulling fs layer [2020-12-01T06:38:39.320Z] e73272ec9a57: Pulling fs layer [2020-12-01T06:38:39.320Z] 1e910a182e73: Pulling fs layer [2020-12-01T06:38:39.320Z] 4e634b169226: Pulling fs layer [2020-12-01T06:38:39.320Z] e73272ec9a57: Waiting [2020-12-01T06:38:39.320Z] 1e910a182e73: Waiting [2020-12-01T06:38:39.320Z] 4e634b169226: Waiting [2020-12-01T06:38:39.320Z] e871e8e8d7a9: Waiting [2020-12-01T06:38:39.320Z] a92cc7c5fd73: Verifying Checksum [2020-12-01T06:38:39.320Z] ed8968b2872e: Verifying Checksum [2020-12-01T06:38:39.320Z] ed8968b2872e: Download complete [2020-12-01T06:38:39.320Z] e73272ec9a57: Verifying Checksum [2020-12-01T06:38:39.320Z] e73272ec9a57: Download complete [2020-12-01T06:38:39.320Z] df20fa9351a1: Verifying Checksum [2020-12-01T06:38:39.320Z] 1e910a182e73: Verifying Checksum [2020-12-01T06:38:39.320Z] 1e910a182e73: Download complete [2020-12-01T06:38:39.593Z] df20fa9351a1: Pull complete [2020-12-01T06:38:39.858Z] ed8968b2872e: Pull complete [2020-12-01T06:38:40.127Z] a92cc7c5fd73: Pull complete [2020-12-01T06:38:41.541Z] 4e634b169226: Verifying Checksum [2020-12-01T06:38:41.541Z] 4e634b169226: Download complete [2020-12-01T06:38:41.805Z] e871e8e8d7a9: Verifying Checksum [2020-12-01T06:38:41.805Z] e871e8e8d7a9: Download complete [2020-12-01T06:38:47.193Z] e871e8e8d7a9: Pull complete [2020-12-01T06:38:47.193Z] e73272ec9a57: Pull complete [2020-12-01T06:38:47.193Z] 1e910a182e73: Pull complete [2020-12-01T06:38:48.462Z] Still waiting to schedule task [2020-12-01T06:38:48.462Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-01T06:38:51.438Z] 4e634b169226: Pull complete [2020-12-01T06:38:51.438Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-12-01T06:38:51.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-01T06:38:51.438Z] ---> f7629b54cfaa [2020-12-01T06:38:51.438Z] Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2020-12-01T06:38:51.714Z] ---> Running in 36771a5eb5ab [2020-12-01T06:38:52.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-01T06:38:53.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-01T06:38:53.827Z] (1/12) Installing libmagic (5.38-r0) [2020-12-01T06:38:54.091Z] (2/12) Installing file (5.38-r0) [2020-12-01T06:38:54.091Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-01T06:38:54.355Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-01T06:39:00.968Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-01T06:39:00.968Z] (6/12) Installing patch (2.7.6-r6) [2020-12-01T06:39:00.968Z] (7/12) Installing build-base (0.5-r2) [2020-12-01T06:39:00.968Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-01T06:39:00.968Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-01T06:39:00.968Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-01T06:39:00.968Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-01T06:39:00.968Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-01T06:39:00.968Z] Executing busybox-1.31.1-r16.trigger [2020-12-01T06:39:00.968Z] OK: 233 MiB in 51 packages [2020-12-01T06:39:05.212Z] Removing intermediate container 36771a5eb5ab [2020-12-01T06:39:05.212Z] ---> aadadc74143a [2020-12-01T06:39:05.212Z] Step 4/7 : WORKDIR /edgex-go [2020-12-01T06:39:05.212Z] ---> Running in 5edfa93f2830 [2020-12-01T06:39:05.212Z] Removing intermediate container 5edfa93f2830 [2020-12-01T06:39:05.212Z] ---> 24863b559177 [2020-12-01T06:39:05.212Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-01T06:39:05.477Z] latest: Pulling from library/docker [2020-12-01T06:39:05.744Z] 188c0c94c7c5: Pulling fs layer [2020-12-01T06:39:05.744Z] 0c7c675703d6: Pulling fs layer [2020-12-01T06:39:05.744Z] cc8c12a437cb: Pulling fs layer [2020-12-01T06:39:05.744Z] c5dafad2182a: Pulling fs layer [2020-12-01T06:39:05.744Z] 5aa711733414: Pulling fs layer [2020-12-01T06:39:05.744Z] 058f73b55e4b: Pulling fs layer [2020-12-01T06:39:05.744Z] 8c9c664faf12: Pulling fs layer [2020-12-01T06:39:05.744Z] c5dafad2182a: Waiting [2020-12-01T06:39:05.744Z] 5aa711733414: Waiting [2020-12-01T06:39:05.744Z] 058f73b55e4b: Waiting [2020-12-01T06:39:05.744Z] 8c9c664faf12: Waiting [2020-12-01T06:39:05.744Z] cc8c12a437cb: Verifying Checksum [2020-12-01T06:39:05.744Z] cc8c12a437cb: Download complete [2020-12-01T06:39:05.744Z] 0c7c675703d6: Download complete [2020-12-01T06:39:06.016Z] 188c0c94c7c5: Download complete [2020-12-01T06:39:06.016Z] 058f73b55e4b: Verifying Checksum [2020-12-01T06:39:06.016Z] 058f73b55e4b: Download complete [2020-12-01T06:39:06.016Z] 8c9c664faf12: Verifying Checksum [2020-12-01T06:39:06.016Z] 8c9c664faf12: Download complete [2020-12-01T06:39:06.280Z] 188c0c94c7c5: Pull complete [2020-12-01T06:39:06.548Z] 0c7c675703d6: Pull complete [2020-12-01T06:39:06.548Z] cc8c12a437cb: Pull complete [2020-12-01T06:39:06.816Z] c5dafad2182a: Verifying Checksum [2020-12-01T06:39:06.816Z] c5dafad2182a: Download complete [2020-12-01T06:39:07.081Z] 5aa711733414: Verifying Checksum [2020-12-01T06:39:07.081Z] 5aa711733414: Download complete [2020-12-01T06:39:09.654Z] c5dafad2182a: Pull complete [2020-12-01T06:39:09.654Z] 5aa711733414: Pull complete [2020-12-01T06:39:09.654Z] 058f73b55e4b: Pull complete [2020-12-01T06:39:09.654Z] 8c9c664faf12: Pull complete [2020-12-01T06:39:09.654Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-12-01T06:39:09.654Z] Status: Downloaded newer image for docker:latest [2020-12-01T06:39:11.580Z] ---> 8c14f9ac2cbd [2020-12-01T06:39:11.580Z] Step 6/7 : COPY go.mod . [2020-12-01T06:39:11.848Z] ---> 834728cc6d64 [2020-12-01T06:39:11.848Z] Step 7/7 : RUN go mod download [2020-12-01T06:39:11.848Z] ---> Running in a0a38e78dd38 [2020-12-01T06:39:38.504Z] Removing intermediate container a0a38e78dd38 [2020-12-01T06:39:38.504Z] ---> c4f516d6cf41 [2020-12-01T06:39:38.504Z] Successfully built c4f516d6cf41 [2020-12-01T06:39:38.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:39:38.859Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-01T06:39:38.860Z] . [Pipeline] withDockerContainer [2020-12-01T06:39:38.990Z] prd-centos7-docker-4c-2g-13981 does not seem to be running inside a container [2020-12-01T06:39:39.043Z] $ 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 [2020-12-01T06:39:39.868Z] $ docker top 04666eeb0355814daad6e8823564c5ea2481cf25ddf6991aa87c10e337415ec0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-01T06:39:40.537Z] + go version [2020-12-01T06:39:40.537Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-12-01T06:39:40.569Z] $ docker stop --time=1 04666eeb0355814daad6e8823564c5ea2481cf25ddf6991aa87c10e337415ec0 [2020-12-01T06:39:41.913Z] $ docker rm -f 04666eeb0355814daad6e8823564c5ea2481cf25ddf6991aa87c10e337415ec0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:39:42.990Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-01T06:39:42.990Z] . [Pipeline] withDockerContainer [2020-12-01T06:39:43.148Z] prd-centos7-docker-4c-2g-13981 does not seem to be running inside a container [2020-12-01T06:39:43.200Z] $ 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 [2020-12-01T06:39:44.431Z] $ docker top aadaccd8c5f3196cf670aa035643add884652a74e5de8d0724504a3a2bd93bdd -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-01T06:39:44.727Z] ========================================================= [2020-12-01T06:39:44.728Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-01T06:39:44.728Z] ========================================================= [Pipeline] sh [2020-12-01T06:39:45.050Z] + make test [2020-12-01T06:39:45.050Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-01T06:39:55.129Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-01T06:40:10.651Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-01T06:40:12.114Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2020-12-01T06:40:12.114Z] internal/pkg/v2/infrastructure/redis/reading.go:60:69: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:40:12.114Z] internal/pkg/v2/infrastructure/redis/reading.go:127:78: baseReading.Name undefined (type *"github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:40:12.114Z] internal/pkg/v2/infrastructure/redis/reading.go:146:68: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:40:16.373Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [2020-12-01T06:40:16.373Z] internal/core/data/v2/controller/http/event.go:180:19: undefined: responses.NewEventCountResponse [2020-12-01T06:40:16.373Z] internal/core/data/v2/controller/http/event.go:210:19: undefined: responses.NewEventCountResponse [2020-12-01T06:40:19.730Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.047s [2020-12-01T06:40:20.707Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2020-12-01T06:40:20.707Z] internal/pkg/v2/infrastructure/redis/reading.go:60: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:40:20.707Z] internal/pkg/v2/infrastructure/redis/reading.go:127: baseReading.Name undefined (type *"github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:40:20.707Z] internal/pkg/v2/infrastructure/redis/reading.go:146: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:40:22.138Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-01T06:40:22.138Z] internal/core/data/v2/application/event_test.go:55:4: unknown field 'Name' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading [2020-12-01T06:40:22.138Z] internal/core/data/v2/application/event_test.go:68:4: unknown field 'Name' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading [2020-12-01T06:40:22.138Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2020-12-01T06:40:22.138Z] internal/core/data/v2/controller/http/event.go:180: undefined: responses.NewEventCountResponse [2020-12-01T06:40:22.138Z] internal/core/data/v2/controller/http/event.go:210: undefined: responses.NewEventCountResponse [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:43:2: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:69:3: unknown field 'Name' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:129:33: noReadingName.Event.Readings[0].Name undefined (type dtos.BaseReading has no field or method Name) [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:146:42: noSimpleFloatEnconding.Event.Readings[0].FloatEncoding undefined (type dtos.BaseReading has no field or method FloatEncoding) [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:150:3: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:161:3: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:369:21: undefined: responses.EventCountResponse [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:402:21: undefined: responses.EventCountResponse [2020-12-01T06:40:22.139Z] internal/core/data/v2/controller/http/event_test.go:402:21: too many errors [2020-12-01T06:40:23.144Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.083s coverage: 46.6% of statements [2020-12-01T06:40:23.144Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2020-12-01T06:40:23.144Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.052s coverage: 100.0% of statements [2020-12-01T06:40:23.144Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.036s coverage: 100.0% of statements [2020-12-01T06:40:23.144Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-01T06:40:23.144Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-01T06:40:23.144Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2020-12-01T06:40:24.111Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.065s coverage: 100.0% of statements [2020-12-01T06:40:24.111Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.043s coverage: 100.0% of statements [2020-12-01T06:40:25.069Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.108s coverage: 86.7% of statements [2020-12-01T06:40:26.030Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.129s coverage: 97.5% of statements [2020-12-01T06:40:26.030Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.051s coverage: 79.0% of statements [2020-12-01T06:40:27.471Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.332s coverage: 95.7% of statements [2020-12-01T06:40:27.471Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.042s coverage: 58.8% of statements [2020-12-01T06:40:27.471Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2020-12-01T06:40:27.471Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.186s coverage: 63.5% of statements [2020-12-01T06:40:27.471Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements [2020-12-01T06:40:27.471Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.040s coverage: 91.3% of statements [2020-12-01T06:40:27.741Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.046s coverage: 100.0% of statements [2020-12-01T06:40:27.741Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.040s coverage: 73.7% of statements [2020-12-01T06:40:28.017Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements [2020-12-01T06:40:29.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.417s coverage: 55.9% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 16.773s coverage: 86.3% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.205s coverage: 72.2% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.434s coverage: 72.1% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.043s coverage: 82.4% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.070s coverage: 48.4% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.035s coverage: 28.8% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.064s coverage: 96.8% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.096s coverage: 37.2% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.346s coverage: 84.1% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.034s coverage: 100.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.063s coverage: 42.9% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.043s coverage: 100.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.055s coverage: 83.8% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.113s coverage: 47.1% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.027s coverage: 100.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.061s coverage: 100.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.067s coverage: 100.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.856s coverage: 29.1% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.077s coverage: 99.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.052s coverage: 100.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.046s coverage: 0.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.045s coverage: 100.0% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.045s coverage: 87.9% of statements [2020-12-01T06:40:47.680Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.043s coverage: 100.0% of statements [2020-12-01T06:40:47.681Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.036s coverage: 32.1% of statements [2020-12-01T06:40:47.681Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2020-12-01T06:40:47.681Z] make: *** [Makefile:85: test] Error 2 [Pipeline] } [2020-12-01T06:40:47.731Z] $ docker stop --time=1 aadaccd8c5f3196cf670aa035643add884652a74e5de8d0724504a3a2bd93bdd [2020-12-01T06:40:50.038Z] $ docker rm -f aadaccd8c5f3196cf670aa035643add884652a74e5de8d0724504a3a2bd93bdd [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] } [2020-12-01T06:40:52.306Z] Failed in branch amd64 [2020-12-01T06:41:39.304Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13984 in /w/workspace/edgexfoundry_edgex-go_PR-2907 [Pipeline] { [Pipeline] ws [2020-12-01T06:41:39.439Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2020-12-01T06:41:45.722Z] using credential edgex-jenkins-ssh [2020-12-01T06:41:45.791Z] Cloning the remote Git repository [2020-12-01T06:41:45.858Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-01T06:41:45.983Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2020-12-01T06:41:46.055Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-01T06:41:46.056Z] > git --version # timeout=10 [2020-12-01T06:41:46.077Z] > git --version # 'git version 2.17.1' [2020-12-01T06:41:46.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:41:46.171Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-01T06:42:03.479Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-01T06:42:03.499Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-01T06:42:03.529Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-01T06:42:03.563Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-01T06:42:03.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:42:03.576Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2907/head:refs/remotes/origin/PR-2907 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-01T06:42:04.183Z] Merging remotes/origin/master commit ea5d7be70bf78d25df2f442b65fefbdc258c073e into PR head commit aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 [2020-12-01T06:42:04.658Z] Merge succeeded, producing aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 [2020-12-01T06:42:04.658Z] Checking out Revision aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 (PR-2907) [2020-12-01T06:42:04.208Z] > git config core.sparsecheckout # timeout=10 [2020-12-01T06:42:04.225Z] > git checkout -f aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 # timeout=10 [2020-12-01T06:42:04.556Z] > git remote # timeout=10 [2020-12-01T06:42:04.576Z] > git config --get remote.origin.url # timeout=10 [2020-12-01T06:42:04.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:42:04.608Z] > git merge ea5d7be70bf78d25df2f442b65fefbdc258c073e # timeout=10 [2020-12-01T06:42:04.644Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-01T06:42:04.670Z] > git config core.sparsecheckout # timeout=10 [2020-12-01T06:42:04.725Z] > git checkout -f aaa3f72ab94d3b5cedc20bfbda669fbc82273b37 # timeout=10 [2020-12-01T06:42:09.573Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-01T06:42:09.645Z] > git --version # timeout=10 [2020-12-01T06:42:09.665Z] > git --version # 'git version 2.17.1' [2020-12-01T06:42:09.695Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-01T06:42:11.544Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:42:11.983Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:42:12.354Z] + true [2020-12-01T06:42:12.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-01T06:42:14.596Z] provisioning config files... [2020-12-01T06:42:14.643Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4092419211875843004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:42:15.129Z] ---> docker-login.sh [2020-12-01T06:42:15.129Z] nexus3.edgexfoundry.org:10001 [2020-12-01T06:42:16.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:42:16.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:42:16.396Z] Configure a credential helper to remove this warning. See [2020-12-01T06:42:16.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:42:16.396Z] [2020-12-01T06:42:16.396Z] Login Succeeded [2020-12-01T06:42:16.396Z] nexus3.edgexfoundry.org:10002 [2020-12-01T06:42:16.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:42:16.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:42:16.996Z] Configure a credential helper to remove this warning. See [2020-12-01T06:42:16.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:42:16.996Z] [2020-12-01T06:42:16.996Z] Login Succeeded [2020-12-01T06:42:16.996Z] nexus3.edgexfoundry.org:10003 [2020-12-01T06:42:17.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:42:17.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:42:17.600Z] Configure a credential helper to remove this warning. See [2020-12-01T06:42:17.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:42:17.600Z] [2020-12-01T06:42:17.600Z] Login Succeeded [2020-12-01T06:42:17.600Z] nexus3.edgexfoundry.org:10004 [2020-12-01T06:42:17.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:42:18.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:42:18.149Z] Configure a credential helper to remove this warning. See [2020-12-01T06:42:18.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:42:18.149Z] [2020-12-01T06:42:18.149Z] Login Succeeded [2020-12-01T06:42:18.149Z] docker.io [2020-12-01T06:42:18.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:42:19.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:42:19.020Z] Configure a credential helper to remove this warning. See [2020-12-01T06:42:19.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:42:19.020Z] [2020-12-01T06:42:19.020Z] Login Succeeded [2020-12-01T06:42:19.020Z] ---> docker-login.sh ends [Pipeline] } [2020-12-01T06:42:19.057Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-01T06:42:19.633Z] ========================================================= [2020-12-01T06:42:19.633Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-01T06:42:19.633Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:42:20.048Z] + 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 . [2020-12-01T06:42:22.046Z] Sending build context to Docker daemon 165.4MB [2020-12-01T06:42:22.046Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-01T06:42:22.046Z] Step 2/7 : FROM ${BASE} [2020-12-01T06:42:22.330Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-01T06:42:22.330Z] b538f80385f9: Pulling fs layer [2020-12-01T06:42:22.330Z] 74f711af9a0d: Pulling fs layer [2020-12-01T06:42:22.330Z] 99f96fe45779: Pulling fs layer [2020-12-01T06:42:22.330Z] 8529a6b9a6be: Pulling fs layer [2020-12-01T06:42:22.330Z] 45590311c82a: Pulling fs layer [2020-12-01T06:42:22.330Z] 69ca0ff8b7b3: Pulling fs layer [2020-12-01T06:42:22.330Z] 209524e5b208: Pulling fs layer [2020-12-01T06:42:22.330Z] 45590311c82a: Waiting [2020-12-01T06:42:22.330Z] 69ca0ff8b7b3: Waiting [2020-12-01T06:42:22.330Z] 209524e5b208: Waiting [2020-12-01T06:42:22.330Z] 99f96fe45779: Verifying Checksum [2020-12-01T06:42:22.330Z] 99f96fe45779: Download complete [2020-12-01T06:42:22.330Z] 74f711af9a0d: Download complete [2020-12-01T06:42:22.330Z] 45590311c82a: Download complete [2020-12-01T06:42:22.330Z] b538f80385f9: Verifying Checksum [2020-12-01T06:42:22.330Z] 69ca0ff8b7b3: Verifying Checksum [2020-12-01T06:42:22.330Z] 69ca0ff8b7b3: Download complete [2020-12-01T06:42:22.938Z] b538f80385f9: Pull complete [2020-12-01T06:42:23.943Z] 74f711af9a0d: Pull complete [2020-12-01T06:42:24.231Z] 99f96fe45779: Pull complete [2020-12-01T06:42:25.231Z] 209524e5b208: Verifying Checksum [2020-12-01T06:42:25.231Z] 209524e5b208: Download complete [2020-12-01T06:42:26.668Z] 8529a6b9a6be: Verifying Checksum [2020-12-01T06:42:26.668Z] 8529a6b9a6be: Download complete [2020-12-01T06:42:36.841Z] 8529a6b9a6be: Pull complete [2020-12-01T06:42:36.841Z] 45590311c82a: Pull complete [2020-12-01T06:42:36.841Z] 69ca0ff8b7b3: Pull complete [2020-12-01T06:42:40.237Z] 209524e5b208: Pull complete [2020-12-01T06:42:40.238Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-12-01T06:42:40.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-01T06:42:40.238Z] ---> 5bddaf1c2fca [2020-12-01T06:42:40.238Z] Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2020-12-01T06:42:43.629Z] ---> Running in f3e71ecfcf6e [2020-12-01T06:42:44.608Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-01T06:42:45.619Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-01T06:42:46.214Z] (1/12) Installing libmagic (5.38-r0) [2020-12-01T06:42:46.487Z] (2/12) Installing file (5.38-r0) [2020-12-01T06:42:46.487Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-01T06:42:46.760Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-01T06:42:51.057Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-01T06:42:51.057Z] (6/12) Installing patch (2.7.6-r6) [2020-12-01T06:42:51.057Z] (7/12) Installing build-base (0.5-r2) [2020-12-01T06:42:51.057Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-01T06:42:51.057Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-01T06:42:51.057Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-01T06:42:51.057Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-01T06:42:51.057Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-01T06:42:51.332Z] Executing busybox-1.31.1-r16.trigger [2020-12-01T06:42:51.332Z] OK: 217 MiB in 51 packages [2020-12-01T06:42:55.660Z] Removing intermediate container f3e71ecfcf6e [2020-12-01T06:42:55.660Z] ---> 82ba97a56c50 [2020-12-01T06:42:55.660Z] Step 4/7 : WORKDIR /edgex-go [2020-12-01T06:42:55.660Z] ---> Running in dca8d4e38050 [2020-12-01T06:42:55.660Z] Removing intermediate container dca8d4e38050 [2020-12-01T06:42:55.660Z] ---> 91e2827a79b9 [2020-12-01T06:42:55.660Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-01T06:42:56.257Z] latest: Pulling from library/docker [2020-12-01T06:42:56.533Z] 5f621e34cdf4: Pulling fs layer [2020-12-01T06:42:56.533Z] 85db56a05063: Pulling fs layer [2020-12-01T06:42:56.533Z] ccb67d6aeaaa: Pulling fs layer [2020-12-01T06:42:56.533Z] a0b19fc83503: Pulling fs layer [2020-12-01T06:42:56.533Z] 8eb508b41278: Pulling fs layer [2020-12-01T06:42:56.533Z] 37236713561e: Pulling fs layer [2020-12-01T06:42:56.533Z] 07c93f2b1b56: Pulling fs layer [2020-12-01T06:42:56.533Z] a0b19fc83503: Waiting [2020-12-01T06:42:56.533Z] 8eb508b41278: Waiting [2020-12-01T06:42:56.533Z] 37236713561e: Waiting [2020-12-01T06:42:56.533Z] 07c93f2b1b56: Waiting [2020-12-01T06:42:56.533Z] ccb67d6aeaaa: Download complete [2020-12-01T06:42:56.814Z] 85db56a05063: Download complete [2020-12-01T06:42:56.814Z] 8eb508b41278: Download complete [2020-12-01T06:42:57.097Z] 5f621e34cdf4: Verifying Checksum [2020-12-01T06:42:57.097Z] 5f621e34cdf4: Download complete [2020-12-01T06:42:57.097Z] 37236713561e: Verifying Checksum [2020-12-01T06:42:57.097Z] 37236713561e: Download complete [2020-12-01T06:42:57.384Z] 07c93f2b1b56: Verifying Checksum [2020-12-01T06:42:57.384Z] 07c93f2b1b56: Download complete [2020-12-01T06:42:57.700Z] 5f621e34cdf4: Pull complete [2020-12-01T06:42:58.717Z] 85db56a05063: Pull complete [2020-12-01T06:42:58.717Z] a0b19fc83503: Verifying Checksum [2020-12-01T06:42:58.717Z] a0b19fc83503: Download complete [2020-12-01T06:42:58.993Z] ccb67d6aeaaa: Pull complete [2020-12-01T06:43:02.419Z] a0b19fc83503: Pull complete [2020-12-01T06:43:02.419Z] 8eb508b41278: Pull complete [2020-12-01T06:43:03.019Z] 37236713561e: Pull complete [2020-12-01T06:43:03.294Z] 07c93f2b1b56: Pull complete [2020-12-01T06:43:03.294Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-12-01T06:43:03.294Z] Status: Downloaded newer image for docker:latest [2020-12-01T06:43:06.696Z] ---> eabccf08ae36 [2020-12-01T06:43:06.696Z] Step 6/7 : COPY go.mod . [2020-12-01T06:43:07.290Z] ---> 28beb094678d [2020-12-01T06:43:07.290Z] Step 7/7 : RUN go mod download [2020-12-01T06:43:07.568Z] ---> Running in 578d86ffd6df [2020-12-01T06:43:34.362Z] Removing intermediate container 578d86ffd6df [2020-12-01T06:43:34.362Z] ---> d3385e86881c [2020-12-01T06:43:34.362Z] Successfully built d3385e86881c [2020-12-01T06:43:34.362Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:43:34.751Z] + docker inspect -f . ci-base-image-arm64 [2020-12-01T06:43:34.751Z] . [Pipeline] withDockerContainer [2020-12-01T06:43:35.019Z] prd-ubuntu18.04-docker-arm64-4c-16g-13984 does not seem to be running inside a container [2020-12-01T06:43:35.113Z] $ 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 [2020-12-01T06:43:36.557Z] $ docker top 900d277412d10aa1cef6dde67250b1fc7896877ecb95bdb0f80bf09c9c339ef4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-01T06:43:37.608Z] + go version [2020-12-01T06:43:37.608Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-12-01T06:43:37.649Z] $ docker stop --time=1 900d277412d10aa1cef6dde67250b1fc7896877ecb95bdb0f80bf09c9c339ef4 [2020-12-01T06:43:39.508Z] $ docker rm -f 900d277412d10aa1cef6dde67250b1fc7896877ecb95bdb0f80bf09c9c339ef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:43:40.917Z] + docker inspect -f . ci-base-image-arm64 [2020-12-01T06:43:40.917Z] . [Pipeline] withDockerContainer [2020-12-01T06:43:41.184Z] prd-ubuntu18.04-docker-arm64-4c-16g-13984 does not seem to be running inside a container [2020-12-01T06:43:41.294Z] $ 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 [2020-12-01T06:43:42.596Z] $ docker top b31ce504f6dc060f5fbdc7533cf581e4e3181ec4717e42a7e8a8285bdae8bb81 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-01T06:43:43.001Z] ========================================================= [2020-12-01T06:43:43.001Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-01T06:43:43.001Z] ========================================================= [Pipeline] sh [2020-12-01T06:43:43.665Z] + make test [2020-12-01T06:43:43.665Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-01T06:44:05.862Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-01T06:44:52.987Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-01T06:44:53.976Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2020-12-01T06:44:53.976Z] internal/pkg/v2/infrastructure/redis/reading.go:60:69: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:44:53.976Z] internal/pkg/v2/infrastructure/redis/reading.go:127:78: baseReading.Name undefined (type *"github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:44:53.976Z] internal/pkg/v2/infrastructure/redis/reading.go:146:68: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:45:09.098Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [2020-12-01T06:45:09.098Z] internal/core/data/v2/controller/http/event.go:180:19: undefined: responses.NewEventCountResponse [2020-12-01T06:45:09.098Z] internal/core/data/v2/controller/http/event.go:210:19: undefined: responses.NewEventCountResponse [2020-12-01T06:45:11.097Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.071s [2020-12-01T06:45:16.530Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2020-12-01T06:45:16.530Z] internal/pkg/v2/infrastructure/redis/reading.go:60: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:45:16.530Z] internal/pkg/v2/infrastructure/redis/reading.go:127: baseReading.Name undefined (type *"github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:45:16.530Z] internal/pkg/v2/infrastructure/redis/reading.go:146: r.Name undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading has no field or method Name) [2020-12-01T06:45:19.168Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-01T06:45:19.168Z] internal/core/data/v2/application/event_test.go:55:4: unknown field 'Name' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading [2020-12-01T06:45:19.168Z] internal/core/data/v2/application/event_test.go:68:4: unknown field 'Name' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading [2020-12-01T06:45:20.160Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event.go:180: undefined: responses.NewEventCountResponse [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event.go:210: undefined: responses.NewEventCountResponse [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:43:2: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:69:3: unknown field 'Name' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".BaseReading [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:129:33: noReadingName.Event.Readings[0].Name undefined (type dtos.BaseReading has no field or method Name) [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:146:42: noSimpleFloatEnconding.Event.Readings[0].FloatEncoding undefined (type dtos.BaseReading has no field or method FloatEncoding) [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:150:3: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:161:3: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:369:21: undefined: responses.EventCountResponse [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:402:21: undefined: responses.EventCountResponse [2020-12-01T06:45:20.160Z] internal/core/data/v2/controller/http/event_test.go:402:21: too many errors [2020-12-01T06:45:23.592Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.260s coverage: 46.6% of statements [2020-12-01T06:45:23.592Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2020-12-01T06:45:23.592Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.062s coverage: 100.0% of statements [2020-12-01T06:45:23.592Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.076s coverage: 100.0% of statements [2020-12-01T06:45:23.592Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-01T06:45:23.592Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-01T06:45:23.592Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2020-12-01T06:45:25.575Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.186s coverage: 100.0% of statements [2020-12-01T06:45:25.575Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.067s coverage: 100.0% of statements [2020-12-01T06:45:28.366Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.362s coverage: 86.7% of statements [2020-12-01T06:45:29.354Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.453s coverage: 97.5% of statements [2020-12-01T06:45:29.354Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.145s coverage: 79.0% of statements [2020-12-01T06:45:36.108Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.049s coverage: 95.7% of statements [2020-12-01T06:45:36.108Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.063s coverage: 58.8% of statements [2020-12-01T06:45:36.108Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2020-12-01T06:45:36.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.554s coverage: 63.5% of statements [2020-12-01T06:45:36.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.064s coverage: 100.0% of statements [2020-12-01T06:45:36.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.104s coverage: 91.3% of statements [2020-12-01T06:45:36.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.066s coverage: 100.0% of statements [2020-12-01T06:45:36.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.059s coverage: 73.7% of statements [2020-12-01T06:45:36.391Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.054s coverage: 100.0% of statements [2020-12-01T06:45:41.825Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.972s coverage: 55.9% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 14.361s coverage: 86.3% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.745s coverage: 72.2% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.625s coverage: 72.1% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.087s coverage: 82.4% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.087s coverage: 48.4% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.097s coverage: 28.8% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.063s coverage: 96.8% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.371s coverage: 37.2% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.584s coverage: 84.1% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.085s coverage: 100.0% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.084s coverage: 42.9% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.053s coverage: 100.0% of statements [2020-12-01T06:45:54.259Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.114s coverage: 83.8% of statements [2020-12-01T06:46:02.584Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.384s coverage: 47.1% of statements [2020-12-01T06:46:02.584Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.071s coverage: 100.0% of statements [2020-12-01T06:46:02.584Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.157s coverage: 100.0% of statements [2020-12-01T06:46:02.584Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.098s coverage: 100.0% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.281s coverage: 29.1% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.255s coverage: 99.0% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.112s coverage: 100.0% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.038s coverage: 0.0% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.072s coverage: 100.0% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.132s coverage: 87.9% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.050s coverage: 100.0% of statements [2020-12-01T06:46:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.068s coverage: 32.1% of statements [2020-12-01T06:46:08.996Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements [2020-12-01T06:46:09.592Z] make: *** [Makefile:85: test] Error 2 [Pipeline] } [2020-12-01T06:46:09.645Z] $ docker stop --time=1 b31ce504f6dc060f5fbdc7533cf581e4e3181ec4717e42a7e8a8285bdae8bb81 [2020-12-01T06:46:12.041Z] $ docker rm -f b31ce504f6dc060f5fbdc7533cf581e4e3181ec4717e42a7e8a8285bdae8bb81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-01T06:46:15.359Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:46:18.808Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:46:19.752Z] ---> package-listing.sh [2020-12-01T06:46:19.752Z] ++ facter osfamily [2020-12-01T06:46:19.752Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-01T06:46:19.752Z] + OS_FAMILY=redhat [2020-12-01T06:46:19.752Z] + workspace=/w/workspace/edgex-go/1 [2020-12-01T06:46:19.752Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-01T06:46:19.752Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-01T06:46:19.752Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-01T06:46:19.752Z] + PACKAGES=/tmp/packages_start.txt [2020-12-01T06:46:19.752Z] + '[' /w/workspace/edgex-go/1 ']' [2020-12-01T06:46:19.752Z] + PACKAGES=/tmp/packages_end.txt [2020-12-01T06:46:19.752Z] + case "${OS_FAMILY}" in [2020-12-01T06:46:19.752Z] + rpm -qa [2020-12-01T06:46:19.752Z] + sort [2020-12-01T06:46:25.101Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-01T06:46:25.101Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-01T06:46:25.101Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-01T06:46:25.101Z] + '[' /w/workspace/edgex-go/1 ']' [2020-12-01T06:46:25.101Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2020-12-01T06:46:25.101Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2020-12-01T06:46:25.150Z] 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 [2020-12-01T06:46:25.468Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:46:25.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-01T06:46:25.810Z] [2020-12-01T06:46:25.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:46:26.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-01T06:46:26.222Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-01T06:46:26.222Z] df20fa9351a1: Already exists [2020-12-01T06:46:26.222Z] 36b3adc4ff6f: Pulling fs layer [2020-12-01T06:46:26.222Z] 8ad3a11d3b57: Pulling fs layer [2020-12-01T06:46:26.222Z] 46f8f816bc3b: Pulling fs layer [2020-12-01T06:46:26.222Z] 93b61091891f: Pulling fs layer [2020-12-01T06:46:26.222Z] 93b9cdb0e59b: Pulling fs layer [2020-12-01T06:46:26.222Z] 5e14af77c1be: Pulling fs layer [2020-12-01T06:46:26.222Z] 01666e4c0597: Pulling fs layer [2020-12-01T06:46:26.222Z] aa168da1d23b: Pulling fs layer [2020-12-01T06:46:26.222Z] 5e14af77c1be: Waiting [2020-12-01T06:46:26.222Z] 01666e4c0597: Waiting [2020-12-01T06:46:26.222Z] 93b61091891f: Waiting [2020-12-01T06:46:26.222Z] aa168da1d23b: Waiting [2020-12-01T06:46:26.222Z] 93b9cdb0e59b: Waiting [2020-12-01T06:46:26.222Z] 46f8f816bc3b: Download complete [2020-12-01T06:46:26.489Z] 36b3adc4ff6f: Download complete [2020-12-01T06:46:26.489Z] 93b9cdb0e59b: Verifying Checksum [2020-12-01T06:46:26.489Z] 93b9cdb0e59b: Download complete [2020-12-01T06:46:26.489Z] 5e14af77c1be: Verifying Checksum [2020-12-01T06:46:26.489Z] 5e14af77c1be: Download complete [2020-12-01T06:46:26.489Z] 93b61091891f: Download complete [2020-12-01T06:46:26.489Z] 01666e4c0597: Verifying Checksum [2020-12-01T06:46:26.489Z] 01666e4c0597: Download complete [2020-12-01T06:46:26.756Z] 36b3adc4ff6f: Pull complete [2020-12-01T06:46:27.032Z] 8ad3a11d3b57: Verifying Checksum [2020-12-01T06:46:27.032Z] 8ad3a11d3b57: Download complete [2020-12-01T06:46:28.012Z] 8ad3a11d3b57: Pull complete [2020-12-01T06:46:28.012Z] 46f8f816bc3b: Pull complete [2020-12-01T06:46:28.604Z] 93b61091891f: Pull complete [2020-12-01T06:46:28.879Z] 93b9cdb0e59b: Pull complete [2020-12-01T06:46:29.143Z] 5e14af77c1be: Pull complete [2020-12-01T06:46:29.143Z] aa168da1d23b: Verifying Checksum [2020-12-01T06:46:29.143Z] aa168da1d23b: Download complete [2020-12-01T06:46:29.143Z] 01666e4c0597: Pull complete [2020-12-01T06:46:37.383Z] aa168da1d23b: Pull complete [2020-12-01T06:46:37.383Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-01T06:46:37.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-01T06:46:37.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-01T06:46:37.610Z] prd-centos7-docker-4c-2g-13981 does not seem to be running inside a container [2020-12-01T06:46:37.677Z] $ 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 [2020-12-01T06:46:41.886Z] $ docker top 0a0b6587dd9b8b8529178b0ba74ca2ea7ff9c3b3abd4d6df4cab6e2f91ac11c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-01T06:46:42.480Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-01T06:46:42.813Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-01T06:46:43.142Z] + ls /var/log/sa-host [2020-12-01T06:46:43.142Z] + sadf -c /var/log/sa-host/sa01 [2020-12-01T06:46:43.142Z] file_magic: OK [2020-12-01T06:46:43.142Z] HZ: Using current value: 100 [2020-12-01T06:46:43.142Z] file_header: OK [2020-12-01T06:46:43.142Z] 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 [2020-12-01T06:46:43.142Z] Statistics: [2020-12-01T06:46:43.142Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-01T06:46:43.142Z] File successfully converted to sysstat format version 12.2.1 [2020-12-01T06:46:43.142Z] + sadf -c /var/log/sa-host/sa23 [2020-12-01T06:46:43.142Z] file_magic: OK [2020-12-01T06:46:43.142Z] HZ: Using current value: 100 [2020-12-01T06:46:43.142Z] file_header: OK [2020-12-01T06:46:43.142Z] 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 [2020-12-01T06:46:43.142Z] Statistics: [2020-12-01T06:46:43.142Z] Hnuu...uuuununununu... [2020-12-01T06:46:43.142Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-01T06:46:43.469Z] provisioning config files... [2020-12-01T06:46:43.487Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2784271530032722699tmp [Pipeline] { [Pipeline] echo [2020-12-01T06:46:43.621Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:46:43.981Z] ---> create-netrc.sh [Pipeline] } [2020-12-01T06:46:44.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-01T06:46:44.199Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:46:44.551Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-01T06:46:44.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:46:44.980Z] ---> sudo-logs.sh [2020-12-01T06:46:44.980Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-01T06:46:45.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:46:45.359Z] ---> job-cost.sh [2020-12-01T06:46:45.359Z] lf-activate-venv: SKIPPING [2020-12-01T06:46:45.359Z] INFO: No Stack... [2020-12-01T06:46:48.691Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-01T06:46:48.691Z] INFO: Archiving Costs [Pipeline] echo [2020-12-01T06:46:48.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:46:49.075Z] ---> logs-deploy.sh [2020-12-01T06:46:49.075Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2907/1 [2020-12-01T06:46:49.075Z] INFO: archiving workspace using pattern(s): [2020-12-01T06:46:51.031Z] Archives upload complete. [2020-12-01T06:46:51.031Z] INFO: archiving logs to Nexus [2020-12-01T06:46:52.095Z] ---> uname -a: [2020-12-01T06:46:52.095Z] Linux prd-centos7-docker-4c-2g-13981.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2020-12-01T06:46:52.095Z] [2020-12-01T06:46:52.095Z]