Pull request #3196 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at 756c8f67da22a1e32f0adf623247959e7b9e4742 rather than e4cd17d2e8e852239d401424f277333cd197ba1e Obtained Jenkinsfile from 756c8f67da22a1e32f0adf623247959e7b9e4742 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf using credential edgex-jenkins-ssh 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-3196/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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3196/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27619 in /w/workspace/edgexfoundry_edgex-go_PR-3196 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3196/head:refs/remotes/origin/PR-3196 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 756c8f67da22a1e32f0adf623247959e7b9e4742 into PR head commit e4cd17d2e8e852239d401424f277333cd197ba1e Merge succeeded, producing e4cd17d2e8e852239d401424f277333cd197ba1e Checking out Revision e4cd17d2e8e852239d401424f277333cd197ba1e (PR-3196) > git config core.sparsecheckout # timeout=10 > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # 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 756c8f67da22a1e32f0adf623247959e7b9e4742 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # timeout=10 Commit message: "refactor: Modify config.Clients to use service key" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-25T06:25:31.482Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-25T06:25:31.832Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-25T06:25:32.078Z] ========================================================= [2021-02-25T06:25:32.078Z] EdgeX Global Pipelines Version Info [2021-02-25T06:25:32.078Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:25:33.715Z] ------------------- [2021-02-25T06:25:33.715Z] stable info: [2021-02-25T06:25:33.715Z] ------------------- [2021-02-25T06:25:33.715Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-25T06:25:33.715Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T06:25:33.715Z] Message: update stable to v1.0.181 [2021-02-25T06:25:34.663Z] ------------------- [2021-02-25T06:25:34.663Z] experimental info: [2021-02-25T06:25:34.663Z] ------------------- [2021-02-25T06:25:34.663Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-25T06:25:34.663Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T06:25:34.663Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-25T06:25:35.026Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-02-25T06:25:35.147Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-02-25T06:25:35.273Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-25T06:25:35.402Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-25T06:25:35.524Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-25T06:25:35.656Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-25T06:25:35.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-25T06:25:35.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-02-25T06:25:36.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-02-25T06:25:36.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-02-25T06:25:36.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-25T06:25:36.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-25T06:25:36.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-25T06:25:36.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-25T06:25:36.787Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-25T06:25:36.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-25T06:25:37.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-25T06:25:37.149Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-25T06:25:37.278Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-25T06:25:37.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-25T06:25:37.513Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-25T06:25:37.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3196 [Pipeline] echo [2021-02-25T06:25:37.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3196 [Pipeline] echo [2021-02-25T06:25:37.866Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3196 [Pipeline] echo [2021-02-25T06:25:37.984Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4cd17d2e8e852239d401424f277333cd197ba1e [Pipeline] echo [2021-02-25T06:25:38.122Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4cd17d [Pipeline] echo [2021-02-25T06:25:38.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T06:25:38.493Z] provisioning config files... [2021-02-25T06:25:38.532Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config26732880802594743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:25:39.090Z] ---> docker-login.sh [2021-02-25T06:25:39.090Z] nexus3.edgexfoundry.org:10001 [2021-02-25T06:25:39.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:25:39.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:25:39.617Z] Configure a credential helper to remove this warning. See [2021-02-25T06:25:39.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:25:39.617Z] [2021-02-25T06:25:39.617Z] Login Succeeded [2021-02-25T06:25:39.617Z] nexus3.edgexfoundry.org:10002 [2021-02-25T06:25:39.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:25:39.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:25:39.880Z] Configure a credential helper to remove this warning. See [2021-02-25T06:25:39.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:25:39.880Z] [2021-02-25T06:25:39.880Z] Login Succeeded [2021-02-25T06:25:39.880Z] nexus3.edgexfoundry.org:10003 [2021-02-25T06:25:39.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:25:39.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:25:39.880Z] Configure a credential helper to remove this warning. See [2021-02-25T06:25:39.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:25:39.880Z] [2021-02-25T06:25:39.880Z] Login Succeeded [2021-02-25T06:25:39.880Z] nexus3.edgexfoundry.org:10004 [2021-02-25T06:25:40.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:25:40.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:25:40.145Z] Configure a credential helper to remove this warning. See [2021-02-25T06:25:40.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:25:40.145Z] [2021-02-25T06:25:40.145Z] Login Succeeded [2021-02-25T06:25:40.145Z] docker.io [2021-02-25T06:25:40.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:25:40.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:25:40.408Z] Configure a credential helper to remove this warning. See [2021-02-25T06:25:40.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:25:40.408Z] [2021-02-25T06:25:40.408Z] Login Succeeded [2021-02-25T06:25:40.408Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T06:25:40.433Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T06:25:41.005Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/core-command/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo core-command,cmd/core-command/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/core-data/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo core-data,cmd/core-data/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/core-metadata/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/support-notifications/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-02-25T06:25:41.005Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-25T06:25:41.005Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-02-25T06:25:41.005Z] ++ cut -d/ -f2 [2021-02-25T06:25:41.005Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-02-25T06:25:41.099Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:25:42.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T06:25:42.877Z] [2021-02-25T06:25:42.877Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:25:43.269Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T06:25:43.269Z] latest: Pulling from edgex-devops/git-semver [2021-02-25T06:25:43.269Z] 31603596830f: Pulling fs layer [2021-02-25T06:25:43.269Z] 2a8b12db71e7: Pulling fs layer [2021-02-25T06:25:43.269Z] 6ca5941a6612: Pulling fs layer [2021-02-25T06:25:43.269Z] ecc8261a40a4: Pulling fs layer [2021-02-25T06:25:43.269Z] ecc8261a40a4: Waiting [2021-02-25T06:25:43.269Z] 2a8b12db71e7: Verifying Checksum [2021-02-25T06:25:43.269Z] 2a8b12db71e7: Download complete [2021-02-25T06:25:43.548Z] 31603596830f: Verifying Checksum [2021-02-25T06:25:43.548Z] 31603596830f: Download complete [2021-02-25T06:25:43.548Z] ecc8261a40a4: Verifying Checksum [2021-02-25T06:25:43.548Z] ecc8261a40a4: Download complete [2021-02-25T06:25:43.548Z] 6ca5941a6612: Verifying Checksum [2021-02-25T06:25:43.548Z] 6ca5941a6612: Download complete [2021-02-25T06:25:43.819Z] 31603596830f: Pull complete [2021-02-25T06:25:43.819Z] 2a8b12db71e7: Pull complete [2021-02-25T06:25:44.782Z] 6ca5941a6612: Pull complete [2021-02-25T06:25:45.045Z] ecc8261a40a4: Pull complete [2021-02-25T06:25:45.045Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-25T06:25:45.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T06:25:45.045Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-25T06:25:45.182Z] prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container [2021-02-25T06:25:45.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T06:25:47.994Z] $ docker top ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T06:25:48.403Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T06:25:48.403Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T06:25:48.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T06:25:48.691Z] $ docker exec ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent [2021-02-25T06:25:48.869Z] SSH_AUTH_SOCK=/tmp/ssh-uzwDEwyDk8GG/agent.11 [2021-02-25T06:25:48.869Z] SSH_AGENT_PID=16 [2021-02-25T06:25:48.881Z] Running ssh-add (command line suppressed) [2021-02-25T06:25:49.018Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7445662256961104116.key (/w/workspace/edgex-go/1@tmp/private_key_7445662256961104116.key) [2021-02-25T06:25:49.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T06:25:49.461Z] + git tag --points-at HEAD [Pipeline] } [2021-02-25T06:25:49.491Z] $ docker exec --env ******** --env ******** ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent -k [2021-02-25T06:25:49.611Z] unset SSH_AUTH_SOCK; [2021-02-25T06:25:49.612Z] unset SSH_AGENT_PID; [2021-02-25T06:25:49.612Z] echo Agent pid 16 killed; [2021-02-25T06:25:49.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-25T06:25:49.851Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T06:25:49.851Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T06:25:50.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T06:25:50.031Z] $ docker exec ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent [2021-02-25T06:25:50.209Z] SSH_AUTH_SOCK=/tmp/ssh-SyOJSbAkbpVu/agent.46 [2021-02-25T06:25:50.209Z] SSH_AGENT_PID=52 [2021-02-25T06:25:50.217Z] Running ssh-add (command line suppressed) [2021-02-25T06:25:50.346Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2548763188492556963.key (/w/workspace/edgex-go/1@tmp/private_key_2548763188492556963.key) [2021-02-25T06:25:50.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T06:25:50.777Z] + git semver init [2021-02-25T06:25:50.777Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T06:25:50.777Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-02-25T06:25:50.777Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-02-25T06:25:50.777Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T06:25:50.777Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T06:25:50.777Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T06:25:50.777Z] # $SEMVER_BRANCH = PR-3196 [2021-02-25T06:25:50.777Z] # $SEMVER_TEMP = /tmp/semver-525576561 [2021-02-25T06:25:50.777Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-02-25T06:26:08.979Z] # '/tmp/semver-525576561' -> '/w/workspace/edgex-go/1/.semver' [2021-02-25T06:26:09.560Z] # -> Force: false [2021-02-25T06:26:09.560Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-02-25T06:26:09.869Z] $ docker exec --env ******** --env ******** ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 ssh-agent -k [2021-02-25T06:26:10.105Z] unset SSH_AUTH_SOCK; [2021-02-25T06:26:10.105Z] unset SSH_AGENT_PID; [2021-02-25T06:26:10.106Z] echo Agent pid 52 killed; [2021-02-25T06:26:10.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T06:26:10.790Z] + git semver [Pipeline] } [2021-02-25T06:26:10.824Z] $ docker stop --time=1 ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 [2021-02-25T06:26:12.398Z] $ docker rm -f ed69ef8a7033e48b985e739c629c7027d2983dc9f454d525c5bda38eed453390 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T06:26:12.965Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-25T06:26:13.554Z] Stashed 1 file(s) [Pipeline] echo [2021-02-25T06:26:13.584Z] [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) [2021-02-25T06:26:14.528Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27616 in /w/workspace/edgexfoundry_edgex-go_PR-3196 [Pipeline] script [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-02-25T06:26:14.764Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-02-25T06:26:14.925Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-25T06:26:15.265Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T06:26:15.592Z] + true [2021-02-25T06:26:15.592Z] + sudo service docker restart [2021-02-25T06:26:15.592Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-02-25T06:26:16.205Z] ========================================================= [2021-02-25T06:26:16.205Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-25T06:26:16.205Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:26:16.598Z] + 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 . [2021-02-25T06:26:20.788Z] using credential edgex-jenkins-ssh [2021-02-25T06:26:20.853Z] Cloning the remote Git repository [2021-02-25T06:26:20.859Z] Sending build context to Docker daemon 328MB [2021-02-25T06:26:20.859Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T06:26:20.859Z] Step 2/6 : FROM ${BASE} [2021-02-25T06:26:20.859Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-25T06:26:20.859Z] 188c0c94c7c5: Pulling fs layer [2021-02-25T06:26:20.859Z] 0ef7d3d256c8: Pulling fs layer [2021-02-25T06:26:20.859Z] de9db76c5a1d: Pulling fs layer [2021-02-25T06:26:20.859Z] bca2f99d35d6: Pulling fs layer [2021-02-25T06:26:20.859Z] 93359f2a8cfa: Pulling fs layer [2021-02-25T06:26:20.859Z] 7c6f9722023f: Pulling fs layer [2021-02-25T06:26:20.859Z] a35cf1a2eb13: Pulling fs layer [2021-02-25T06:26:20.859Z] 93359f2a8cfa: Waiting [2021-02-25T06:26:20.859Z] 7c6f9722023f: Waiting [2021-02-25T06:26:20.859Z] a35cf1a2eb13: Waiting [2021-02-25T06:26:20.859Z] bca2f99d35d6: Waiting [2021-02-25T06:26:20.859Z] de9db76c5a1d: Download complete [2021-02-25T06:26:20.859Z] 0ef7d3d256c8: Verifying Checksum [2021-02-25T06:26:20.859Z] 0ef7d3d256c8: Download complete [2021-02-25T06:26:20.859Z] 93359f2a8cfa: Verifying Checksum [2021-02-25T06:26:20.859Z] 93359f2a8cfa: Download complete [2021-02-25T06:26:20.859Z] 7c6f9722023f: Verifying Checksum [2021-02-25T06:26:20.859Z] 7c6f9722023f: Download complete [2021-02-25T06:26:20.859Z] 188c0c94c7c5: Verifying Checksum [2021-02-25T06:26:20.859Z] 188c0c94c7c5: Download complete [2021-02-25T06:26:20.859Z] 188c0c94c7c5: Pull complete [2021-02-25T06:26:21.127Z] 0ef7d3d256c8: Pull complete [2021-02-25T06:26:20.889Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-02-25T06:26:21.013Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-02-25T06:26:21.122Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-25T06:26:21.123Z] > git --version # timeout=10 [2021-02-25T06:26:21.145Z] > git --version # 'git version 2.17.1' [2021-02-25T06:26:21.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T06:26:21.247Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T06:26:21.390Z] de9db76c5a1d: Pull complete [2021-02-25T06:26:22.792Z] a35cf1a2eb13: Download complete [2021-02-25T06:26:23.059Z] bca2f99d35d6: Download complete [2021-02-25T06:26:28.398Z] bca2f99d35d6: Pull complete [2021-02-25T06:26:28.398Z] 93359f2a8cfa: Pull complete [2021-02-25T06:26:28.398Z] 7c6f9722023f: Pull complete [2021-02-25T06:26:36.574Z] a35cf1a2eb13: Pull complete [2021-02-25T06:26:36.574Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-25T06:26:36.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-25T06:26:36.574Z] ---> a62c8e92a672 [2021-02-25T06:26:36.574Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-02-25T06:26:36.845Z] ---> Running in 2516bc7de212 [2021-02-25T06:26:37.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-25T06:26:38.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-25T06:26:38.643Z] (1/12) Installing libmagic (5.38-r0) [2021-02-25T06:26:38.643Z] (2/12) Installing file (5.38-r0) [2021-02-25T06:26:39.222Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-25T06:26:39.222Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-25T06:26:40.769Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-25T06:26:40.788Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T06:26:40.816Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-25T06:26:40.859Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-25T06:26:40.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T06:26:40.920Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3196/head:refs/remotes/origin/PR-3196 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T06:26:41.763Z] Merging remotes/origin/master commit 756c8f67da22a1e32f0adf623247959e7b9e4742 into PR head commit e4cd17d2e8e852239d401424f277333cd197ba1e [2021-02-25T06:26:42.304Z] Merge succeeded, producing e4cd17d2e8e852239d401424f277333cd197ba1e [2021-02-25T06:26:42.304Z] Checking out Revision e4cd17d2e8e852239d401424f277333cd197ba1e (PR-3196) [2021-02-25T06:26:43.445Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-25T06:26:43.445Z] (6/12) Installing patch (2.7.6-r6) [2021-02-25T06:26:43.445Z] (7/12) Installing build-base (0.5-r2) [2021-02-25T06:26:43.445Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-25T06:26:43.445Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-25T06:26:43.445Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-25T06:26:43.445Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-25T06:26:43.709Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-25T06:26:43.709Z] Executing busybox-1.31.1-r19.trigger [2021-02-25T06:26:43.709Z] OK: 233 MiB in 51 packages [2021-02-25T06:26:41.757Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T06:26:41.786Z] > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # timeout=10 [2021-02-25T06:26:42.167Z] > git remote # timeout=10 [2021-02-25T06:26:42.193Z] > git config --get remote.origin.url # timeout=10 [2021-02-25T06:26:42.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T06:26:42.230Z] > git merge 756c8f67da22a1e32f0adf623247959e7b9e4742 # timeout=10 [2021-02-25T06:26:42.259Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-25T06:26:42.283Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T06:26:42.299Z] > git checkout -f e4cd17d2e8e852239d401424f277333cd197ba1e # timeout=10 [2021-02-25T06:26:46.926Z] Commit message: "refactor: Modify config.Clients to use service key" [2021-02-25T06:26:46.960Z] > git --version # timeout=10 [2021-02-25T06:26:46.970Z] > git --version # 'git version 2.17.1' [2021-02-25T06:26:46.986Z] fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T06:26:47.025Z] Removing intermediate container 2516bc7de212 [2021-02-25T06:26:47.025Z] ---> fb0276c9bf8e [2021-02-25T06:26:47.025Z] Step 4/6 : WORKDIR /edgex-go [2021-02-25T06:26:47.292Z] ---> Running in 78db768e1543 [2021-02-25T06:26:47.292Z] Removing intermediate container 78db768e1543 [2021-02-25T06:26:47.292Z] ---> 460865507129 [2021-02-25T06:26:47.292Z] Step 5/6 : COPY go.mod . [Pipeline] withEnv [Pipeline] { [2021-02-25T06:26:47.563Z] ---> ea899980b1e7 [2021-02-25T06:26:47.563Z] Step 6/6 : RUN go mod download [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-02-25T06:26:47.829Z] ---> Running in c1c43634c805 [Pipeline] sh [2021-02-25T06:26:48.951Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-25T06:26:49.457Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T06:26:49.887Z] + + truesudo [2021-02-25T06:26:49.887Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T06:26:52.706Z] provisioning config files... [2021-02-25T06:26:52.762Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7055247200071303642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:26:53.237Z] ---> docker-login.sh [2021-02-25T06:26:53.237Z] nexus3.edgexfoundry.org:10001 [2021-02-25T06:26:54.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:26:54.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:26:54.509Z] Configure a credential helper to remove this warning. See [2021-02-25T06:26:54.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:26:54.509Z] [2021-02-25T06:26:54.509Z] Login Succeeded [2021-02-25T06:26:54.788Z] nexus3.edgexfoundry.org:10002 [2021-02-25T06:26:55.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:26:55.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:26:55.064Z] Configure a credential helper to remove this warning. See [2021-02-25T06:26:55.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:26:55.064Z] [2021-02-25T06:26:55.064Z] Login Succeeded [2021-02-25T06:26:55.064Z] nexus3.edgexfoundry.org:10003 [2021-02-25T06:26:55.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:26:55.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:26:55.665Z] Configure a credential helper to remove this warning. See [2021-02-25T06:26:55.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:26:55.665Z] [2021-02-25T06:26:55.665Z] Login Succeeded [2021-02-25T06:26:55.665Z] nexus3.edgexfoundry.org:10004 [2021-02-25T06:26:56.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:26:56.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:26:56.264Z] Configure a credential helper to remove this warning. See [2021-02-25T06:26:56.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:26:56.264Z] [2021-02-25T06:26:56.264Z] Login Succeeded [2021-02-25T06:26:56.264Z] docker.io [2021-02-25T06:26:56.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T06:26:57.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T06:26:57.141Z] Configure a credential helper to remove this warning. See [2021-02-25T06:26:57.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T06:26:57.141Z] [2021-02-25T06:26:57.141Z] Login Succeeded [2021-02-25T06:26:57.141Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T06:26:57.173Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T06:26:57.739Z] ========================================================= [2021-02-25T06:26:57.739Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-25T06:26:57.739Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:26:58.165Z] + 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 . [2021-02-25T06:27:00.807Z] Sending build context to Docker daemon 166.4MB [2021-02-25T06:27:00.807Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T06:27:00.807Z] Step 2/6 : FROM ${BASE} [2021-02-25T06:27:00.807Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-25T06:27:00.807Z] 5f621e34cdf4: Pulling fs layer [2021-02-25T06:27:00.807Z] a4357932f1b6: Pulling fs layer [2021-02-25T06:27:00.807Z] 18c013af1878: Pulling fs layer [2021-02-25T06:27:00.807Z] 00ac8860ef70: Pulling fs layer [2021-02-25T06:27:00.807Z] 63d7cb157983: Pulling fs layer [2021-02-25T06:27:00.807Z] b116817d02f9: Pulling fs layer [2021-02-25T06:27:00.807Z] 745a02a5169b: Pulling fs layer [2021-02-25T06:27:00.807Z] 63d7cb157983: Waiting [2021-02-25T06:27:00.807Z] b116817d02f9: Waiting [2021-02-25T06:27:00.807Z] 745a02a5169b: Waiting [2021-02-25T06:27:00.807Z] 18c013af1878: Download complete [2021-02-25T06:27:00.807Z] a4357932f1b6: Verifying Checksum [2021-02-25T06:27:00.807Z] a4357932f1b6: Download complete [2021-02-25T06:27:00.807Z] 63d7cb157983: Verifying Checksum [2021-02-25T06:27:00.807Z] 63d7cb157983: Download complete [2021-02-25T06:27:00.807Z] b116817d02f9: Verifying Checksum [2021-02-25T06:27:00.807Z] b116817d02f9: Download complete [2021-02-25T06:27:00.807Z] 5f621e34cdf4: Verifying Checksum [2021-02-25T06:27:00.807Z] 5f621e34cdf4: Download complete [2021-02-25T06:27:01.405Z] 5f621e34cdf4: Pull complete [2021-02-25T06:27:02.011Z] a4357932f1b6: Pull complete [2021-02-25T06:27:02.626Z] 18c013af1878: Pull complete [2021-02-25T06:27:02.906Z] 745a02a5169b: Verifying Checksum [2021-02-25T06:27:02.906Z] 745a02a5169b: Download complete [2021-02-25T06:27:04.336Z] 00ac8860ef70: Verifying Checksum [2021-02-25T06:27:04.336Z] 00ac8860ef70: Download complete [2021-02-25T06:27:14.493Z] Removing intermediate container c1c43634c805 [2021-02-25T06:27:14.493Z] ---> ba74bc68e63a [2021-02-25T06:27:14.493Z] Successfully built ba74bc68e63a [2021-02-25T06:27:14.493Z] Successfully tagged ci-base-image-x86_64:latest [2021-02-25T06:27:14.494Z] 00ac8860ef70: Pull complete [2021-02-25T06:27:14.494Z] 63d7cb157983: Pull complete [2021-02-25T06:27:14.494Z] b116817d02f9: Pull complete [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:27:14.859Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T06:27:14.860Z] . [Pipeline] withDockerContainer [2021-02-25T06:27:15.004Z] prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container [2021-02-25T06:27:15.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-25T06:27:16.073Z] $ docker top 05f4fed1abb7fa70984052fb5d99cd7b77b9d7b89a39f302db12d001ff411944 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T06:27:16.627Z] + go version [2021-02-25T06:27:16.627Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-25T06:27:16.658Z] $ docker stop --time=1 05f4fed1abb7fa70984052fb5d99cd7b77b9d7b89a39f302db12d001ff411944 [2021-02-25T06:27:18.029Z] $ docker rm -f 05f4fed1abb7fa70984052fb5d99cd7b77b9d7b89a39f302db12d001ff411944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:27:18.821Z] 745a02a5169b: Pull complete [2021-02-25T06:27:18.821Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-25T06:27:18.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-25T06:27:18.821Z] ---> b7e6874047d6 [2021-02-25T06:27:18.821Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-02-25T06:27:19.092Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T06:27:19.092Z] . [Pipeline] withDockerContainer [2021-02-25T06:27:19.221Z] prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container [2021-02-25T06:27:19.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-25T06:27:19.953Z] $ docker top 0de5dca9ab9ab5c48285cf0c77c2279d71ac8baa9ece059a4d8cee5552a7d42e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-25T06:27:20.349Z] ========================================================= [2021-02-25T06:27:20.349Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-25T06:27:20.349Z] ========================================================= [Pipeline] sh [2021-02-25T06:27:20.665Z] + make test [2021-02-25T06:27:20.665Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-25T06:27:22.219Z] ---> Running in e852a594fc17 [2021-02-25T06:27:23.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-25T06:27:23.803Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-25T06:27:24.779Z] (1/12) Installing libmagic (5.38-r0) [2021-02-25T06:27:24.779Z] (2/12) Installing file (5.38-r0) [2021-02-25T06:27:25.051Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-25T06:27:25.051Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-25T06:27:29.345Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-25T06:27:29.345Z] (6/12) Installing patch (2.7.6-r6) [2021-02-25T06:27:29.345Z] (7/12) Installing build-base (0.5-r2) [2021-02-25T06:27:29.345Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-25T06:27:29.345Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-25T06:27:29.345Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-25T06:27:29.618Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-25T06:27:29.618Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-25T06:27:29.618Z] Executing busybox-1.31.1-r19.trigger [2021-02-25T06:27:29.894Z] OK: 217 MiB in 51 packages [2021-02-25T06:27:30.734Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-02-25T06:27:34.216Z] Removing intermediate container e852a594fc17 [2021-02-25T06:27:34.216Z] ---> 3056eb495eec [2021-02-25T06:27:34.216Z] Step 4/6 : WORKDIR /edgex-go [2021-02-25T06:27:34.216Z] ---> Running in 01958a66c84a [2021-02-25T06:27:34.492Z] Removing intermediate container 01958a66c84a [2021-02-25T06:27:34.492Z] ---> b9a575567b2a [2021-02-25T06:27:34.492Z] Step 5/6 : COPY go.mod . [2021-02-25T06:27:35.098Z] ---> 58982318d23d [2021-02-25T06:27:35.098Z] Step 6/6 : RUN go mod download [2021-02-25T06:27:35.381Z] ---> Running in 29a917fb2773 [2021-02-25T06:27:45.818Z] # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [2021-02-25T06:27:45.819Z] internal/pkg/bootstrap/handlers/database/database.go:74:47: undefined: v2.Primary [2021-02-25T06:27:45.819Z] internal/pkg/bootstrap/handlers/database/database.go:107:74: undefined: v2.Primary [2021-02-25T06:27:50.460Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [2021-02-25T06:27:50.460Z] internal/pkg/v2/bootstrap/handlers/database.go:53:47: undefined: v2.Primary [2021-02-25T06:27:50.460Z] internal/pkg/v2/bootstrap/handlers/database.go:82:74: undefined: v2.Primary [2021-02-25T06:27:53.926Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [2021-02-25T06:27:53.926Z] internal/security/bootstrapper/redis/handlers/handlers.go:71:62: undefined: v2.Primary [2021-02-25T06:27:58.212Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-02-25T06:27:59.626Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.096s coverage: 100.0% of statements [2021-02-25T06:27:59.626Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-02-25T06:27:59.626Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.037s coverage: 100.0% of statements [2021-02-25T06:27:59.626Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.049s coverage: 100.0% of statements [2021-02-25T06:28:02.320Z] Removing intermediate container 29a917fb2773 [2021-02-25T06:28:02.320Z] ---> 8529ded31aa7 [2021-02-25T06:28:02.320Z] Successfully built 8529ded31aa7 [2021-02-25T06:28:02.320Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:28:02.702Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T06:28:02.702Z] . [Pipeline] withDockerContainer [2021-02-25T06:28:02.963Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.120s coverage: 65.8% of statements [2021-02-25T06:28:02.963Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.467s coverage: 82.3% of statements [2021-02-25T06:28:02.963Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-02-25T06:28:02.963Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.071s coverage: 100.0% of statements [2021-02-25T06:28:03.010Z] prd-ubuntu18.04-docker-arm64-4c-16g-27616 does not seem to be running inside a container [2021-02-25T06:28:03.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-25T06:28:03.230Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.032s coverage: 100.0% of statements [2021-02-25T06:28:04.203Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.102s coverage: 86.7% of statements [2021-02-25T06:28:04.472Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.106s coverage: 97.5% of statements [2021-02-25T06:28:04.472Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.079s coverage: 78.3% of statements [2021-02-25T06:28:04.550Z] $ docker top a517d7efeb3ee96527542f12d98e8fe45c8a363355cd2a16c4095b1fd992247e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T06:28:05.716Z] + go version [2021-02-25T06:28:05.716Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-25T06:28:05.720Z] $ docker stop --time=1 a517d7efeb3ee96527542f12d98e8fe45c8a363355cd2a16c4095b1fd992247e [2021-02-25T06:28:07.064Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.409s coverage: 92.8% of statements [2021-02-25T06:28:07.064Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.033s coverage: 58.8% of statements [2021-02-25T06:28:07.064Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.068s coverage: 0.1% of statements [2021-02-25T06:28:07.064Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.036s coverage: 45.5% of statements [2021-02-25T06:28:07.064Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.056s coverage: 79.5% of statements [2021-02-25T06:28:07.064Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.033s coverage: 94.1% of statements [2021-02-25T06:28:07.064Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.064s coverage: 96.3% of statements [2021-02-25T06:28:07.332Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.029s coverage: 87.5% of statements [2021-02-25T06:28:07.622Z] $ docker rm -f a517d7efeb3ee96527542f12d98e8fe45c8a363355cd2a16c4095b1fd992247e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:28:08.957Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T06:28:08.957Z] . [Pipeline] withDockerContainer [2021-02-25T06:28:09.239Z] prd-ubuntu18.04-docker-arm64-4c-16g-27616 does not seem to be running inside a container [2021-02-25T06:28:09.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-25T06:28:10.685Z] $ docker top 8565547def47b722c73edba3aeb1a14fc2a208ca8e3c237b5dea5f299b81aed1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-25T06:28:11.152Z] ========================================================= [2021-02-25T06:28:11.152Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-25T06:28:11.152Z] ========================================================= [Pipeline] sh [2021-02-25T06:28:11.811Z] + make test [2021-02-25T06:28:11.812Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-25T06:28:19.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.044s coverage: 94.4% of statements [2021-02-25T06:28:19.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.036s coverage: 44.8% of statements [2021-02-25T06:28:20.605Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.test] [2021-02-25T06:28:20.605Z] internal/support/notifications/v2/controller/http/subscription_test.go:614:3: cannot use testReq.Subscription.Categories (type []string) as type []models.Category in field value [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.059s coverage: 92.9% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 77.8% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.045s coverage: 87.2% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.044s coverage: 75.5% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.033s coverage: 80.8% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.6% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.6% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.158s coverage: 62.4% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.034s coverage: 91.3% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.025s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.302s coverage: 68.9% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.095s coverage: 36.6% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.036s coverage: 89.5% of statements [2021-02-25T06:28:30.671Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.059s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.050s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-02-25T06:28:30.671Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.075s coverage: 99.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.039s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.066s coverage: 92.9% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.044s coverage: 87.9% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.035s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements [2021-02-25T06:28:30.671Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2021-02-25T06:28:30.671Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-02-25T06:28:30.720Z] $ docker stop --time=1 0de5dca9ab9ab5c48285cf0c77c2279d71ac8baa9ece059a4d8cee5552a7d42e [2021-02-25T06:28:33.112Z] $ docker rm -f 0de5dca9ab9ab5c48285cf0c77c2279d71ac8baa9ece059a4d8cee5552a7d42e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [2021-02-25T06:28:34.036Z] ? github.com/edgexfoundry/edgex-go [no test files] 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] } [2021-02-25T06:28:36.731Z] Failed in branch amd64 [2021-02-25T06:29:14.412Z] # github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [2021-02-25T06:29:14.412Z] internal/pkg/bootstrap/handlers/database/database.go:74:47: undefined: v2.Primary [2021-02-25T06:29:14.412Z] internal/pkg/bootstrap/handlers/database/database.go:107:74: undefined: v2.Primary [2021-02-25T06:29:22.729Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [2021-02-25T06:29:22.729Z] internal/pkg/v2/bootstrap/handlers/database.go:53:47: undefined: v2.Primary [2021-02-25T06:29:22.729Z] internal/pkg/v2/bootstrap/handlers/database.go:82:74: undefined: v2.Primary [2021-02-25T06:29:31.056Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [2021-02-25T06:29:31.056Z] internal/security/bootstrapper/redis/handlers/handlers.go:71:62: undefined: v2.Primary [2021-02-25T06:29:46.188Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-02-25T06:29:50.525Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.188s coverage: 100.0% of statements [2021-02-25T06:29:50.525Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-02-25T06:29:50.525Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.079s coverage: 100.0% of statements [2021-02-25T06:29:50.525Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.090s coverage: 100.0% of statements [2021-02-25T06:29:52.524Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.253s coverage: 65.8% of statements [2021-02-25T06:29:56.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.729s coverage: 82.3% of statements [2021-02-25T06:29:56.860Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-02-25T06:29:56.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.172s coverage: 100.0% of statements [2021-02-25T06:29:56.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.082s coverage: 100.0% of statements [2021-02-25T06:29:58.327Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.341s coverage: 86.7% of statements [2021-02-25T06:29:59.773Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.299s coverage: 97.5% of statements [2021-02-25T06:29:59.773Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.153s coverage: 78.3% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.295s coverage: 92.8% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.069s coverage: 58.8% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.265s coverage: 0.1% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.077s coverage: 45.5% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.104s coverage: 79.5% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.074s coverage: 94.1% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.094s coverage: 96.3% of statements [2021-02-25T06:30:08.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.051s coverage: 87.5% of statements [2021-02-25T06:30:20.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.110s coverage: 94.4% of statements [2021-02-25T06:30:20.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.123s coverage: 92.9% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.079s coverage: 77.8% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.077s coverage: 75.5% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.8% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.121s coverage: 87.2% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.121s coverage: 84.6% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.171s coverage: 91.6% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.546s coverage: 62.4% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.056s coverage: 100.0% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 91.3% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.061s coverage: 100.0% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.066s coverage: 73.7% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.046s coverage: 100.0% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.851s coverage: 68.9% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.342s coverage: 36.6% of statements [2021-02-25T06:30:35.788Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.087s coverage: 89.5% of statements [2021-02-25T06:30:35.788Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-02-25T06:30:35.788Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.test] [2021-02-25T06:30:35.788Z] internal/support/notifications/v2/controller/http/subscription_test.go:614:3: cannot use testReq.Subscription.Categories (type []string) as type []models.Category in field value [2021-02-25T06:30:37.794Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.119s coverage: 100.0% of statements [2021-02-25T06:30:38.786Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.100s coverage: 100.0% of statements [2021-02-25T06:30:38.786Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-02-25T06:30:38.786Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-02-25T06:30:41.437Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.177s coverage: 99.0% of statements [2021-02-25T06:30:41.437Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.133s coverage: 100.0% of statements [2021-02-25T06:30:41.717Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.155s coverage: 92.9% of statements [2021-02-25T06:30:41.717Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.040s coverage: 0.0% of statements [2021-02-25T06:30:42.002Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.076s coverage: 100.0% of statements [2021-02-25T06:30:42.606Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.079s coverage: 87.9% of statements [2021-02-25T06:30:44.053Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.069s coverage: 100.0% of statements [2021-02-25T06:30:44.053Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.060s coverage: 32.1% of statements [2021-02-25T06:30:44.648Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.079s coverage: 100.0% of statements [2021-02-25T06:30:45.630Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-02-25T06:30:45.653Z] $ docker stop --time=1 8565547def47b722c73edba3aeb1a14fc2a208ca8e3c237b5dea5f299b81aed1 [2021-02-25T06:30:47.933Z] $ docker rm -f 8565547def47b722c73edba3aeb1a14fc2a208ca8e3c237b5dea5f299b81aed1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:30:50.464Z] ---> job-cost.sh [2021-02-25T06:30:50.464Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YLCR [2021-02-25T06:31:29.445Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-25T06:33:51.292Z] lf-activate-venv(): INFO: Adding /tmp/venv-YLCR/bin to PATH [2021-02-25T06:33:51.292Z] INFO: No Stack... [2021-02-25T06:33:51.292Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-25T06:33:51.292Z] INFO: Archiving Costs [Pipeline] sh [2021-02-25T06:33:51.659Z] + + catcut /w/workspace/edgex-go/1/archives/cost.csv -d, [2021-02-25T06:33:51.659Z] -f6 [Pipeline] lock [2021-02-25T06:33:51.799Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] [2021-02-25T06:33:51.813Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] did not exist. Created. [2021-02-25T06:33:51.813Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-25T06:33:52.348Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-25T06:33:53.385Z] Stashed 1 file(s) [Pipeline] } [2021-02-25T06:33:53.406Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3196-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-25T06:33:54.508Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:33:57.751Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:33:58.682Z] ---> package-listing.sh [2021-02-25T06:33:58.682Z] ++ facter osfamily [2021-02-25T06:33:58.682Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-25T06:33:58.682Z] + OS_FAMILY=redhat [2021-02-25T06:33:58.682Z] + workspace=/w/workspace/edgex-go/1 [2021-02-25T06:33:58.682Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-25T06:33:58.682Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-25T06:33:58.682Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-25T06:33:58.682Z] + PACKAGES=/tmp/packages_start.txt [2021-02-25T06:33:58.682Z] + '[' /w/workspace/edgex-go/1 ']' [2021-02-25T06:33:58.682Z] + PACKAGES=/tmp/packages_end.txt [2021-02-25T06:33:58.682Z] + case "${OS_FAMILY}" in [2021-02-25T06:33:58.682Z] + rpm -qa [2021-02-25T06:33:58.682Z] + sort [2021-02-25T06:34:04.007Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-25T06:34:04.007Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-25T06:34:04.007Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-25T06:34:04.007Z] + '[' /w/workspace/edgex-go/1 ']' [2021-02-25T06:34:04.007Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-02-25T06:34:04.007Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-02-25T06:34:04.044Z] 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 [2021-02-25T06:34:04.362Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:34:04.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T06:34:04.707Z] [2021-02-25T06:34:04.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-25T06:34:05.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T06:34:05.098Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-25T06:34:05.098Z] df20fa9351a1: Pulling fs layer [2021-02-25T06:34:05.098Z] 36b3adc4ff6f: Pulling fs layer [2021-02-25T06:34:05.098Z] 8ad3a11d3b57: Pulling fs layer [2021-02-25T06:34:05.098Z] 46f8f816bc3b: Pulling fs layer [2021-02-25T06:34:05.098Z] 93b61091891f: Pulling fs layer [2021-02-25T06:34:05.098Z] 93b9cdb0e59b: Pulling fs layer [2021-02-25T06:34:05.098Z] 5e14af77c1be: Pulling fs layer [2021-02-25T06:34:05.098Z] 01666e4c0597: Pulling fs layer [2021-02-25T06:34:05.098Z] aa168da1d23b: Pulling fs layer [2021-02-25T06:34:05.098Z] 93b9cdb0e59b: Waiting [2021-02-25T06:34:05.098Z] 5e14af77c1be: Waiting [2021-02-25T06:34:05.098Z] 01666e4c0597: Waiting [2021-02-25T06:34:05.098Z] aa168da1d23b: Waiting [2021-02-25T06:34:05.098Z] 93b61091891f: Waiting [2021-02-25T06:34:05.098Z] 46f8f816bc3b: Waiting [2021-02-25T06:34:05.098Z] 36b3adc4ff6f: Download complete [2021-02-25T06:34:05.363Z] 46f8f816bc3b: Verifying Checksum [2021-02-25T06:34:05.363Z] 46f8f816bc3b: Download complete [2021-02-25T06:34:05.363Z] df20fa9351a1: Verifying Checksum [2021-02-25T06:34:05.363Z] df20fa9351a1: Download complete [2021-02-25T06:34:05.363Z] 93b9cdb0e59b: Verifying Checksum [2021-02-25T06:34:05.363Z] 93b9cdb0e59b: Download complete [2021-02-25T06:34:05.363Z] 5e14af77c1be: Verifying Checksum [2021-02-25T06:34:05.363Z] 5e14af77c1be: Download complete [2021-02-25T06:34:05.363Z] 01666e4c0597: Verifying Checksum [2021-02-25T06:34:05.363Z] 01666e4c0597: Download complete [2021-02-25T06:34:05.363Z] 93b61091891f: Verifying Checksum [2021-02-25T06:34:05.363Z] 93b61091891f: Download complete [2021-02-25T06:34:05.634Z] df20fa9351a1: Pull complete [2021-02-25T06:34:05.898Z] 36b3adc4ff6f: Pull complete [2021-02-25T06:34:06.160Z] 8ad3a11d3b57: Verifying Checksum [2021-02-25T06:34:06.160Z] 8ad3a11d3b57: Download complete [2021-02-25T06:34:07.114Z] 8ad3a11d3b57: Pull complete [2021-02-25T06:34:07.699Z] 46f8f816bc3b: Pull complete [2021-02-25T06:34:07.963Z] aa168da1d23b: Verifying Checksum [2021-02-25T06:34:07.963Z] aa168da1d23b: Download complete [2021-02-25T06:34:07.963Z] 93b61091891f: Pull complete [2021-02-25T06:34:08.232Z] 93b9cdb0e59b: Pull complete [2021-02-25T06:34:08.232Z] 5e14af77c1be: Pull complete [2021-02-25T06:34:08.499Z] 01666e4c0597: Pull complete [2021-02-25T06:34:16.700Z] aa168da1d23b: Pull complete [2021-02-25T06:34:16.700Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-25T06:34:16.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T06:34:16.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-25T06:34:16.989Z] prd-centos7-docker-4c-2g-27619 does not seem to be running inside a container [2021-02-25T06:34:17.043Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-25T06:34:20.324Z] $ docker top 2b868bfc0141b745c7d076db8147e6d5bbbb368e3ba9b80f3795d6718b058c0c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T06:34:20.908Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-25T06:34:21.232Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-25T06:34:21.556Z] + ls /var/log/sa-host [2021-02-25T06:34:21.556Z] + sadf -c /var/log/sa-host/sa23 [2021-02-25T06:34:21.556Z] file_magic: OK [2021-02-25T06:34:21.556Z] HZ: Using current value: 100 [2021-02-25T06:34:21.556Z] file_header: OK [2021-02-25T06:34:21.556Z] 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 [2021-02-25T06:34:21.556Z] Statistics: [2021-02-25T06:34:21.556Z] Hnuu...uuuununununu... [2021-02-25T06:34:21.556Z] File successfully converted to sysstat format version 12.2.1 [2021-02-25T06:34:21.556Z] + sadf -c /var/log/sa-host/sa25 [2021-02-25T06:34:21.556Z] file_magic: OK [2021-02-25T06:34:21.556Z] HZ: Using current value: 100 [2021-02-25T06:34:21.556Z] file_header: OK [2021-02-25T06:34:21.556Z] 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 [2021-02-25T06:34:21.556Z] Statistics: [2021-02-25T06:34:21.556Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-25T06:34:21.556Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T06:34:21.861Z] provisioning config files... [2021-02-25T06:34:21.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2223923978820670010tmp [Pipeline] { [Pipeline] echo [2021-02-25T06:34:22.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:34:22.347Z] ---> create-netrc.sh [Pipeline] } [2021-02-25T06:34:22.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-25T06:34:22.520Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:34:22.901Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-25T06:34:22.942Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:34:23.296Z] ---> sudo-logs.sh [2021-02-25T06:34:23.296Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-25T06:34:23.415Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:34:23.759Z] ---> job-cost.sh [2021-02-25T06:34:23.759Z] lf-activate-venv: SKIPPING [2021-02-25T06:34:23.759Z] DEBUG: total: 0.20999999344348907 [2021-02-25T06:34:23.759Z] INFO: Retrieving Stack Cost... [2021-02-25T06:34:24.708Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T06:34:25.283Z] INFO: Archiving Costs [Pipeline] echo [2021-02-25T06:34:25.321Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T06:34:25.663Z] ---> logs-deploy.sh [2021-02-25T06:34:25.663Z] lf-activate-venv: SKIPPING [2021-02-25T06:34:25.663Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3196/1 [2021-02-25T06:34:25.663Z] INFO: archiving workspace using pattern(s): [2021-02-25T06:34:27.059Z] Archives upload complete. [2021-02-25T06:34:27.321Z] INFO: archiving logs to Nexus [2021-02-25T06:34:28.274Z] ---> uname -a: [2021-02-25T06:34:28.274Z] Linux prd-centos7-docker-4c-2g-27619.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-25T06:34:28.274Z] [2021-02-25T06:34:28.274Z]