Pull request #2951 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0ed4360fee158aa72e11f098d0c2ec0f939ce637+5c7d82cd65b8973aa000dcfc910cc709fcfb47af (d38738dabe0db29f870679466bf04200e3375af4) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-2951/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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-2951/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-16070 in /w/workspace/edgexfoundry_edgex-go_PR-2951 [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 5c7d82cd65b8973aa000dcfc910cc709fcfb47af into PR head commit 0ed4360fee158aa72e11f098d0c2ec0f939ce637 Merge succeeded, producing 0ed4360fee158aa72e11f098d0c2ec0f939ce637 Checking out Revision 0ed4360fee158aa72e11f098d0c2ec0f939ce637 (PR-2951) > 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/2951/head:refs/remotes/origin/PR-2951 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ed4360fee158aa72e11f098d0c2ec0f939ce637 # 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 5c7d82cd65b8973aa000dcfc910cc709fcfb47af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ed4360fee158aa72e11f098d0c2ec0f939ce637 # 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-15T06:30:58.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-15T06:30:58.758Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-15T06:30:58.927Z] ========================================================= [2020-12-15T06:30:58.927Z] EdgeX Global Pipelines Version Info [2020-12-15T06:30:58.927Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:31:00.444Z] ------------------- [2020-12-15T06:31:00.444Z] stable info: [2020-12-15T06:31:00.444Z] ------------------- [2020-12-15T06:31:00.444Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T06:31:00.444Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T06:31:00.444Z] Message: update stable to v1.0.172 [2020-12-15T06:31:01.402Z] ------------------- [2020-12-15T06:31:01.402Z] experimental info: [2020-12-15T06:31:01.402Z] ------------------- [2020-12-15T06:31:01.402Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T06:31:01.402Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T06:31:01.402Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-15T06:31:01.849Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-15T06:31:01.984Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-15T06:31:02.104Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-15T06:31:02.251Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-15T06:31:02.371Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-15T06:31:02.501Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-15T06:31:02.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-15T06:31:02.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-15T06:31:02.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-15T06:31:03.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-15T06:31:03.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-15T06:31:03.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-15T06:31:03.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-15T06:31:03.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-15T06:31:03.793Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-15T06:31:03.924Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-15T06:31:04.051Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-15T06:31:04.170Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-15T06:31:04.310Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-15T06:31:04.450Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-15T06:31:04.563Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-15T06:31:04.678Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-15T06:31:04.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2951 [Pipeline] echo [2020-12-15T06:31:04.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2951 [Pipeline] echo [2020-12-15T06:31:05.064Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2951 [Pipeline] echo [2020-12-15T06:31:05.245Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ed4360fee158aa72e11f098d0c2ec0f939ce637 [Pipeline] echo [2020-12-15T06:31:05.452Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ed4360 [Pipeline] echo [2020-12-15T06:31:05.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T06:31:05.810Z] provisioning config files... [2020-12-15T06:31:05.845Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5031147673620779184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:31:06.269Z] ---> docker-login.sh [2020-12-15T06:31:06.269Z] nexus3.edgexfoundry.org:10001 [2020-12-15T06:31:06.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:31:06.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:31:06.804Z] Configure a credential helper to remove this warning. See [2020-12-15T06:31:06.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:31:06.804Z] [2020-12-15T06:31:06.804Z] Login Succeeded [2020-12-15T06:31:06.804Z] nexus3.edgexfoundry.org:10002 [2020-12-15T06:31:06.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:31:06.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:31:06.804Z] Configure a credential helper to remove this warning. See [2020-12-15T06:31:06.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:31:06.804Z] [2020-12-15T06:31:06.804Z] Login Succeeded [2020-12-15T06:31:06.804Z] nexus3.edgexfoundry.org:10003 [2020-12-15T06:31:07.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:31:07.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:31:07.070Z] Configure a credential helper to remove this warning. See [2020-12-15T06:31:07.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:31:07.070Z] [2020-12-15T06:31:07.070Z] Login Succeeded [2020-12-15T06:31:07.070Z] nexus3.edgexfoundry.org:10004 [2020-12-15T06:31:07.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:31:07.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:31:07.336Z] Configure a credential helper to remove this warning. See [2020-12-15T06:31:07.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:31:07.336Z] [2020-12-15T06:31:07.336Z] Login Succeeded [2020-12-15T06:31:07.336Z] docker.io [2020-12-15T06:31:07.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:31:07.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:31:07.599Z] Configure a credential helper to remove this warning. See [2020-12-15T06:31:07.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:31:07.599Z] [2020-12-15T06:31:07.599Z] Login Succeeded [2020-12-15T06:31:07.599Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T06:31:07.626Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T06:31:08.183Z] ++ 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-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2020-12-15T06:31:08.183Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.183Z] ++ dirname cmd/core-command/Dockerfile [2020-12-15T06:31:08.183Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.183Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-15T06:31:08.183Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.183Z] ++ dirname cmd/core-data/Dockerfile [2020-12-15T06:31:08.183Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.183Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-15T06:31:08.183Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.183Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-15T06:31:08.183Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.183Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-15T06:31:08.183Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.183Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-15T06:31:08.183Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.183Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-15T06:31:08.183Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.183Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-15T06:31:08.183Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.183Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-15T06:31:08.184Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.184Z] ++ dirname cmd/security-secrets-setup/Dockerfile [2020-12-15T06:31:08.184Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.184Z] + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile [2020-12-15T06:31:08.184Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.184Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-15T06:31:08.184Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.184Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-15T06:31:08.184Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.184Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-15T06:31:08.184Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.184Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-15T06:31:08.184Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.184Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-15T06:31:08.184Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.184Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-15T06:31:08.184Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-15T06:31:08.184Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-15T06:31:08.184Z] ++ cut -d/ -f2 [2020-12-15T06:31:08.184Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-15T06:31:08.285Z] 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-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-15T06:31:09.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T06:31:09.287Z] [2020-12-15T06:31:09.287Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T06:31:09.682Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T06:31:09.682Z] latest: Pulling from edgex-devops/git-semver [2020-12-15T06:31:09.682Z] 31603596830f: Pulling fs layer [2020-12-15T06:31:09.682Z] 2a8b12db71e7: Pulling fs layer [2020-12-15T06:31:09.682Z] 6ca5941a6612: Pulling fs layer [2020-12-15T06:31:09.682Z] ecc8261a40a4: Pulling fs layer [2020-12-15T06:31:09.682Z] ecc8261a40a4: Waiting [2020-12-15T06:31:09.682Z] 2a8b12db71e7: Verifying Checksum [2020-12-15T06:31:09.682Z] 2a8b12db71e7: Download complete [2020-12-15T06:31:09.682Z] 31603596830f: Verifying Checksum [2020-12-15T06:31:09.682Z] 31603596830f: Download complete [2020-12-15T06:31:09.953Z] ecc8261a40a4: Verifying Checksum [2020-12-15T06:31:09.953Z] ecc8261a40a4: Download complete [2020-12-15T06:31:09.953Z] 6ca5941a6612: Verifying Checksum [2020-12-15T06:31:09.953Z] 6ca5941a6612: Download complete [2020-12-15T06:31:10.217Z] 31603596830f: Pull complete [2020-12-15T06:31:10.482Z] 2a8b12db71e7: Pull complete [2020-12-15T06:31:11.447Z] 6ca5941a6612: Pull complete [2020-12-15T06:31:11.709Z] ecc8261a40a4: Pull complete [2020-12-15T06:31:11.709Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-15T06:31:11.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T06:31:11.709Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-15T06:31:11.840Z] prd-centos7-docker-4c-2g-16070 does not seem to be running inside a container [2020-12-15T06:31:11.913Z] $ 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-15T06:31:14.698Z] $ docker top 54aba2e83ec24476252fbe66e8c0195eff7ca48de675cef91dffbd4cd681424f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T06:31:15.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T06:31:15.135Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T06:31:15.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T06:31:15.383Z] $ docker exec 54aba2e83ec24476252fbe66e8c0195eff7ca48de675cef91dffbd4cd681424f ssh-agent [2020-12-15T06:31:15.564Z] SSH_AUTH_SOCK=/tmp/ssh-WFJiVnOInuWM/agent.13 [2020-12-15T06:31:15.564Z] SSH_AGENT_PID=19 [2020-12-15T06:31:15.578Z] Running ssh-add (command line suppressed) [2020-12-15T06:31:15.705Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2286494392864073605.key (/w/workspace/edgex-go/1@tmp/private_key_2286494392864073605.key) [2020-12-15T06:31:15.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T06:31:16.140Z] + git tag --points-at HEAD [Pipeline] } [2020-12-15T06:31:16.175Z] $ docker exec --env ******** --env ******** 54aba2e83ec24476252fbe66e8c0195eff7ca48de675cef91dffbd4cd681424f ssh-agent -k [2020-12-15T06:31:16.288Z] unset SSH_AUTH_SOCK; [2020-12-15T06:31:16.289Z] unset SSH_AGENT_PID; [2020-12-15T06:31:16.289Z] echo Agent pid 19 killed; [2020-12-15T06:31:16.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-15T06:31:16.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T06:31:16.531Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T06:31:16.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T06:31:16.716Z] $ docker exec 54aba2e83ec24476252fbe66e8c0195eff7ca48de675cef91dffbd4cd681424f ssh-agent [2020-12-15T06:31:16.882Z] SSH_AUTH_SOCK=/tmp/ssh-5DE80QFaFVZ7/agent.50 [2020-12-15T06:31:16.882Z] SSH_AGENT_PID=56 [2020-12-15T06:31:16.890Z] Running ssh-add (command line suppressed) [2020-12-15T06:31:17.018Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_204338675237031733.key (/w/workspace/edgex-go/1@tmp/private_key_204338675237031733.key) [2020-12-15T06:31:17.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T06:31:17.449Z] + git semver init [2020-12-15T06:31:17.449Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T06:31:17.449Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2020-12-15T06:31:17.449Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2020-12-15T06:31:17.449Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T06:31:17.449Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T06:31:17.449Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T06:31:17.449Z] # $SEMVER_BRANCH = PR-2951 [2020-12-15T06:31:17.449Z] # $SEMVER_TEMP = /tmp/semver-382423306 [2020-12-15T06:31:17.449Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-15T06:32:04.244Z] # '/tmp/semver-382423306' -> '/w/workspace/edgex-go/1/.semver' [2020-12-15T06:32:04.244Z] # -> Force: false [2020-12-15T06:32:04.244Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2020-12-15T06:32:04.279Z] $ docker exec --env ******** --env ******** 54aba2e83ec24476252fbe66e8c0195eff7ca48de675cef91dffbd4cd681424f ssh-agent -k [2020-12-15T06:32:04.543Z] unset SSH_AUTH_SOCK; [2020-12-15T06:32:04.544Z] unset SSH_AGENT_PID; [2020-12-15T06:32:04.544Z] echo Agent pid 56 killed; [2020-12-15T06:32:04.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T06:32:05.311Z] + git semver [Pipeline] } [2020-12-15T06:32:05.359Z] $ docker stop --time=1 54aba2e83ec24476252fbe66e8c0195eff7ca48de675cef91dffbd4cd681424f [2020-12-15T06:32:06.911Z] $ docker rm -f 54aba2e83ec24476252fbe66e8c0195eff7ca48de675cef91dffbd4cd681424f [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T06:32:07.551Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-15T06:32:08.127Z] Stashed 1 file(s) [Pipeline] echo [2020-12-15T06:32:08.153Z] [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-15T06:32:09.539Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-15T06:32:09.877Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T06:32:10.213Z] + sudo service docker restart [2020-12-15T06:32:10.213Z] + true [2020-12-15T06:32:10.213Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-15T06:32:10.827Z] ========================================================= [2020-12-15T06:32:10.828Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-15T06:32:10.828Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T06:32:11.281Z] + 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-15T06:32:15.536Z] Sending build context to Docker daemon 326.5MB [2020-12-15T06:32:15.536Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-15T06:32:15.536Z] Step 2/7 : FROM ${BASE} [2020-12-15T06:32:15.536Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-15T06:32:15.536Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T06:32:15.536Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T06:32:15.536Z] de9db76c5a1d: Pulling fs layer [2020-12-15T06:32:15.536Z] bca2f99d35d6: Pulling fs layer [2020-12-15T06:32:15.536Z] 93359f2a8cfa: Pulling fs layer [2020-12-15T06:32:15.536Z] 7c6f9722023f: Pulling fs layer [2020-12-15T06:32:15.536Z] a35cf1a2eb13: Pulling fs layer [2020-12-15T06:32:15.536Z] 7c6f9722023f: Waiting [2020-12-15T06:32:15.536Z] 93359f2a8cfa: Waiting [2020-12-15T06:32:15.536Z] a35cf1a2eb13: Waiting [2020-12-15T06:32:15.536Z] bca2f99d35d6: Waiting [2020-12-15T06:32:15.536Z] de9db76c5a1d: Verifying Checksum [2020-12-15T06:32:15.536Z] de9db76c5a1d: Download complete [2020-12-15T06:32:15.536Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T06:32:15.536Z] 0ef7d3d256c8: Download complete [2020-12-15T06:32:15.536Z] 93359f2a8cfa: Verifying Checksum [2020-12-15T06:32:15.536Z] 93359f2a8cfa: Download complete [2020-12-15T06:32:15.536Z] 7c6f9722023f: Verifying Checksum [2020-12-15T06:32:15.536Z] 7c6f9722023f: Download complete [2020-12-15T06:32:15.536Z] 188c0c94c7c5: Verifying Checksum [2020-12-15T06:32:15.536Z] 188c0c94c7c5: Download complete [2020-12-15T06:32:15.820Z] 188c0c94c7c5: Pull complete [2020-12-15T06:32:16.401Z] 0ef7d3d256c8: Pull complete [2020-12-15T06:32:16.401Z] de9db76c5a1d: Pull complete [2020-12-15T06:32:17.805Z] a35cf1a2eb13: Verifying Checksum [2020-12-15T06:32:17.805Z] a35cf1a2eb13: Download complete [2020-12-15T06:32:18.076Z] bca2f99d35d6: Verifying Checksum [2020-12-15T06:32:18.076Z] bca2f99d35d6: Download complete [2020-12-15T06:32:23.419Z] bca2f99d35d6: Pull complete [2020-12-15T06:32:23.419Z] 93359f2a8cfa: Pull complete [2020-12-15T06:32:23.419Z] 7c6f9722023f: Pull complete [2020-12-15T06:32:23.848Z] Still waiting to schedule task [2020-12-15T06:32:23.848Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16066’ is offline [2020-12-15T06:32:28.741Z] a35cf1a2eb13: Pull complete [2020-12-15T06:32:28.741Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-15T06:32:28.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-15T06:32:28.741Z] ---> a62c8e92a672 [2020-12-15T06:32:28.741Z] 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-15T06:32:28.741Z] ---> Running in 5ef8d757cf9b [2020-12-15T06:32:28.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T06:32:29.695Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T06:32:31.089Z] (1/12) Installing libmagic (5.38-r0) [2020-12-15T06:32:31.673Z] (2/12) Installing file (5.38-r0) [2020-12-15T06:32:31.937Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-15T06:32:31.937Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-15T06:33:10.765Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-15T06:33:10.765Z] (6/12) Installing patch (2.7.6-r6) [2020-12-15T06:33:10.765Z] (7/12) Installing build-base (0.5-r2) [2020-12-15T06:33:10.765Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-15T06:33:10.765Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-15T06:33:10.765Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-15T06:33:10.765Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-15T06:33:10.765Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-15T06:33:10.765Z] Executing busybox-1.31.1-r19.trigger [2020-12-15T06:33:10.765Z] OK: 233 MiB in 51 packages [2020-12-15T06:33:13.331Z] Removing intermediate container 5ef8d757cf9b [2020-12-15T06:33:13.331Z] ---> 576fd6e2a8e9 [2020-12-15T06:33:13.331Z] Step 4/7 : WORKDIR /edgex-go [2020-12-15T06:33:13.331Z] ---> Running in 97bd2ec90871 [2020-12-15T06:33:13.331Z] Removing intermediate container 97bd2ec90871 [2020-12-15T06:33:13.331Z] ---> b33c708da573 [2020-12-15T06:33:13.331Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-15T06:33:13.912Z] latest: Pulling from library/docker [2020-12-15T06:33:13.912Z] 05e7bc50f07f: Pulling fs layer [2020-12-15T06:33:13.912Z] 6db28d0fdbf6: Pulling fs layer [2020-12-15T06:33:13.912Z] 292df0bc6bf3: Pulling fs layer [2020-12-15T06:33:13.912Z] 2e060f4bd70b: Pulling fs layer [2020-12-15T06:33:13.912Z] 80e8d568a223: Pulling fs layer [2020-12-15T06:33:13.912Z] 8dc6ef1a942a: Pulling fs layer [2020-12-15T06:33:13.912Z] 2312dd95470a: Pulling fs layer [2020-12-15T06:33:13.912Z] 2e060f4bd70b: Waiting [2020-12-15T06:33:13.912Z] 80e8d568a223: Waiting [2020-12-15T06:33:13.912Z] 2312dd95470a: Waiting [2020-12-15T06:33:13.912Z] 8dc6ef1a942a: Waiting [2020-12-15T06:33:13.912Z] 292df0bc6bf3: Download complete [2020-12-15T06:33:13.912Z] 05e7bc50f07f: Verifying Checksum [2020-12-15T06:33:13.912Z] 05e7bc50f07f: Download complete [2020-12-15T06:33:13.912Z] 6db28d0fdbf6: Verifying Checksum [2020-12-15T06:33:13.912Z] 6db28d0fdbf6: Download complete [2020-12-15T06:33:14.181Z] 80e8d568a223: Download complete [2020-12-15T06:33:14.181Z] 8dc6ef1a942a: Verifying Checksum [2020-12-15T06:33:14.181Z] 8dc6ef1a942a: Download complete [2020-12-15T06:33:14.181Z] 2312dd95470a: Verifying Checksum [2020-12-15T06:33:14.181Z] 2312dd95470a: Download complete [2020-12-15T06:33:14.181Z] 05e7bc50f07f: Pull complete [2020-12-15T06:33:14.760Z] 6db28d0fdbf6: Pull complete [2020-12-15T06:33:14.760Z] 292df0bc6bf3: Pull complete [2020-12-15T06:33:15.337Z] 2e060f4bd70b: Verifying Checksum [2020-12-15T06:33:15.337Z] 2e060f4bd70b: Download complete [2020-12-15T06:33:17.929Z] 2e060f4bd70b: Pull complete [2020-12-15T06:33:18.198Z] 80e8d568a223: Pull complete [2020-12-15T06:33:18.199Z] 8dc6ef1a942a: Pull complete [2020-12-15T06:33:18.462Z] 2312dd95470a: Pull complete [2020-12-15T06:33:18.462Z] Digest: sha256:11663df6a04f355f0d726c8ae20de03ee3b1ef1008bbb63027d0e13b137a8186 [2020-12-15T06:33:18.462Z] Status: Downloaded newer image for docker:latest [2020-12-15T06:33:19.922Z] ---> 17166c459e70 [2020-12-15T06:33:19.922Z] Step 6/7 : COPY go.mod . [2020-12-15T06:33:20.188Z] ---> 281204c9e89f [2020-12-15T06:33:20.189Z] Step 7/7 : RUN go mod download [2020-12-15T06:33:20.189Z] ---> Running in c2d779d32b38 [2020-12-15T06:33:42.264Z] Removing intermediate container c2d779d32b38 [2020-12-15T06:33:42.264Z] ---> 17fc63a49e75 [2020-12-15T06:33:42.264Z] Successfully built 17fc63a49e75 [2020-12-15T06:33:42.264Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T06:33:42.625Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T06:33:42.625Z] . [Pipeline] withDockerContainer [2020-12-15T06:33:42.756Z] prd-centos7-docker-4c-2g-16070 does not seem to be running inside a container [2020-12-15T06:33:42.821Z] $ 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-15T06:33:43.615Z] $ docker top 8ef40637539eb70e15b58b77706787003cabb43d7708c29408b84bde61b753d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T06:33:44.148Z] + go version [2020-12-15T06:33:44.148Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-15T06:33:44.181Z] $ docker stop --time=1 8ef40637539eb70e15b58b77706787003cabb43d7708c29408b84bde61b753d6 [2020-12-15T06:33:45.554Z] $ docker rm -f 8ef40637539eb70e15b58b77706787003cabb43d7708c29408b84bde61b753d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T06:33:46.760Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T06:33:46.760Z] . [Pipeline] withDockerContainer [2020-12-15T06:33:46.880Z] prd-centos7-docker-4c-2g-16070 does not seem to be running inside a container [2020-12-15T06:33:46.930Z] $ 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-15T06:33:47.725Z] $ docker top e76a524896bd0d27edb0afca5a188265af2f4eeece32b7b1336da13762692dab -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-15T06:33:48.037Z] ========================================================= [2020-12-15T06:33:48.037Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-15T06:33:48.037Z] ========================================================= [Pipeline] sh [2020-12-15T06:33:48.430Z] + make test [2020-12-15T06:33:48.430Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T06:33:58.533Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-15T06:34:13.602Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-15T06:34:20.277Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-15T06:34:20.559Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-15T06:34:20.559Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-15T06:34:20.559Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-15T06:34:20.559Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-15T06:34:20.827Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-15T06:34:22.777Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.034s [2020-12-15T06:34:22.777Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-15T06:34:22.777Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-15T06:34:23.771Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-15T06:34:23.771Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-15T06:34:23.771Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-15T06:34:23.771Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-15T06:34:28.031Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.461s coverage: 46.6% of statements [2020-12-15T06:34:28.031Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-15T06:34:28.031Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-15T06:34:28.031Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-15T06:34:28.031Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-15T06:34:28.031Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-15T06:34:29.462Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.195s coverage: 27.1% of statements [2020-12-15T06:34:29.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-15T06:34:29.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-15T06:34:29.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-15T06:34:29.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-15T06:34:29.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-15T06:34:29.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-15T06:34:29.462Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.036s coverage: 100.0% of statements [2020-12-15T06:34:29.463Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-15T06:34:29.463Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.053s coverage: 100.0% of statements [2020-12-15T06:34:29.463Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-15T06:34:29.463Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-15T06:34:29.463Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.081s coverage: 70.5% of statements [2020-12-15T06:34:29.463Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-15T06:34:29.463Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-15T06:34:29.740Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.409s coverage: 83.7% of statements [2020-12-15T06:34:29.740Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-15T06:34:29.740Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-15T06:34:29.740Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-15T06:34:29.740Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-15T06:34:32.339Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.416s coverage: 28.6% of statements [2020-12-15T06:34:32.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-15T06:34:32.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-15T06:34:32.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-15T06:34:32.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-15T06:34:32.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-15T06:34:32.339Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.065s coverage: 100.0% of statements [2020-12-15T06:34:32.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-15T06:34:32.339Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.048s coverage: 100.0% of statements [2020-12-15T06:34:32.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-15T06:34:32.339Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.103s coverage: 86.7% of statements [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-15T06:34:32.340Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.125s coverage: 97.5% of statements [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-15T06:34:32.340Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2020-12-15T06:34:32.340Z] internal/core/metadata/v2/controller/http/device_test.go:57:20: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-15T06:34:32.340Z] internal/core/metadata/v2/controller/http/device_test.go:75:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-15T06:34:32.340Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:49:4: unknown field 'OperatingState' in struct literal of type dtos.DeviceService [2020-12-15T06:34:32.340Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:60:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-15T06:34:32.340Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:70:4: unknown field 'OperatingState' in struct literal of type dtos.UpdateDeviceService [2020-12-15T06:34:32.340Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:269:3: unknown field 'OperatingState' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".DeviceService [2020-12-15T06:34:32.340Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.053s coverage: 78.3% of statements [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-15T06:34:32.340Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-15T06:34:32.340Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.048s coverage: 58.8% of statements [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-15T06:34:32.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-15T06:34:32.608Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.058s coverage: 0.1% of statements [2020-12-15T06:34:32.608Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-15T06:34:32.608Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-15T06:34:32.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-15T06:34:32.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-15T06:34:32.879Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.029s coverage: 100.0% of statements [2020-12-15T06:34:32.879Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-15T06:34:33.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.070s coverage: 75.5% of statements [2020-12-15T06:34:33.468Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-15T06:34:33.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.050s coverage: 80.8% of statements [2020-12-15T06:34:33.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.070s coverage: 87.2% of statements [2020-12-15T06:34:34.011Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 84.2% of statements [2020-12-15T06:34:34.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.118s coverage: 91.4% of statements [2020-12-15T06:34:34.590Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-15T06:34:35.193Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.183s coverage: 63.5% of statements [2020-12-15T06:34:35.193Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-15T06:34:35.193Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-15T06:34:35.194Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.030s coverage: 100.0% of statements [2020-12-15T06:34:35.194Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.055s coverage: 91.3% of statements [2020-12-15T06:34:35.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.027s coverage: 100.0% of statements [2020-12-15T06:34:35.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements [2020-12-15T06:34:35.726Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.050s coverage: 100.0% of statements [2020-12-15T06:34:37.135Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.338s coverage: 55.9% of statements [2020-12-15T06:34:37.135Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-15T06:34:37.135Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-15T06:34:37.135Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-15T06:34:37.135Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-15T06:34:37.135Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-15T06:34:37.135Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [2020-12-15T06:34:39.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 3.315s coverage: 86.3% of statements [2020-12-15T06:34:39.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] [2020-12-15T06:34:39.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.119s coverage: 72.2% of statements [2020-12-15T06:34:39.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.475s coverage: 72.1% of statements [2020-12-15T06:34:39.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.044s coverage: 82.4% of statements [2020-12-15T06:34:39.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.044s coverage: 48.4% of statements [2020-12-15T06:34:39.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] [2020-12-15T06:34:39.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] [2020-12-15T06:34:39.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] [2020-12-15T06:34:39.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.043s coverage: 28.8% of statements [2020-12-15T06:34:39.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] [2020-12-15T06:34:39.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.045s coverage: 96.8% of statements [2020-12-15T06:34:39.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] [2020-12-15T06:34:40.021Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.125s coverage: 37.0% of statements [2020-12-15T06:34:40.021Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-15T06:34:40.021Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-15T06:34:40.021Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.353s coverage: 84.0% of statements [2020-12-15T06:34:40.021Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.050s coverage: 100.0% of statements [2020-12-15T06:34:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.123s coverage: 47.1% of statements [2020-12-15T06:34:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-15T06:34:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-15T06:34:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.039s coverage: 100.0% of statements [2020-12-15T06:34:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-15T06:34:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-15T06:34:42.664Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-15T06:34:42.664Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.076s coverage: 100.0% of statements [2020-12-15T06:34:42.664Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-15T06:34:42.664Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements [2020-12-15T06:34:42.664Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-15T06:34:44.083Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.673s coverage: 29.1% of statements [2020-12-15T06:34:44.083Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-15T06:34:44.084Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.074s coverage: 99.0% of statements [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-15T06:34:44.084Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.042s coverage: 100.0% of statements [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-15T06:34:44.084Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.054s coverage: 0.0% of statements [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-15T06:34:44.084Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.044s coverage: 100.0% of statements [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-15T06:34:44.084Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.059s coverage: 87.9% of statements [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-15T06:34:44.084Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-15T06:34:44.084Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.033s coverage: 100.0% of statements [2020-12-15T06:34:44.355Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements [2020-12-15T06:34:44.630Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2020-12-15T06:34:44.630Z] FAIL [2020-12-15T06:34:44.898Z] make: *** [Makefile:99: test] Error 2 [Pipeline] } [2020-12-15T06:34:44.954Z] $ docker stop --time=1 e76a524896bd0d27edb0afca5a188265af2f4eeece32b7b1336da13762692dab [2020-12-15T06:34:47.401Z] $ docker rm -f e76a524896bd0d27edb0afca5a188265af2f4eeece32b7b1336da13762692dab [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-15T06:34:49.539Z] Failed in branch amd64 [2020-12-15T06:35:03.585Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16073 in /w/workspace/edgexfoundry_edgex-go_PR-2951 [Pipeline] { [Pipeline] ws [2020-12-15T06:35:03.744Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2020-12-15T06:35:09.073Z] using credential edgex-jenkins-ssh [2020-12-15T06:35:09.132Z] Cloning the remote Git repository [2020-12-15T06:35:09.190Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-15T06:35:09.303Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2020-12-15T06:35:09.400Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-15T06:35:09.401Z] > git --version # timeout=10 [2020-12-15T06:35:09.423Z] > git --version # 'git version 2.17.1' [2020-12-15T06:35:09.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T06:35:09.486Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T06:35:48.407Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-15T06:35:48.421Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T06:35:48.455Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-15T06:35:48.502Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-15T06:35:48.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T06:35:48.515Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2951/head:refs/remotes/origin/PR-2951 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T06:35:49.095Z] Merging remotes/origin/master commit 5c7d82cd65b8973aa000dcfc910cc709fcfb47af into PR head commit 0ed4360fee158aa72e11f098d0c2ec0f939ce637 [2020-12-15T06:35:49.647Z] Merge succeeded, producing 0ed4360fee158aa72e11f098d0c2ec0f939ce637 [2020-12-15T06:35:49.647Z] Checking out Revision 0ed4360fee158aa72e11f098d0c2ec0f939ce637 (PR-2951) [2020-12-15T06:35:49.121Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T06:35:49.192Z] > git checkout -f 0ed4360fee158aa72e11f098d0c2ec0f939ce637 # timeout=10 [2020-12-15T06:35:49.567Z] > git remote # timeout=10 [2020-12-15T06:35:49.588Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T06:35:49.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T06:35:49.617Z] > git merge 5c7d82cd65b8973aa000dcfc910cc709fcfb47af # timeout=10 [2020-12-15T06:35:49.639Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T06:35:49.659Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T06:35:49.674Z] > git checkout -f 0ed4360fee158aa72e11f098d0c2ec0f939ce637 # timeout=10 [2020-12-15T06:35:54.136Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-15T06:35:54.192Z] > git --version # timeout=10 [2020-12-15T06:35:54.199Z] > git --version # 'git version 2.17.1' [2020-12-15T06:35:54.209Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T06:35:55.732Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-15T06:35:56.152Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T06:35:56.520Z] + true [2020-12-15T06:35:56.520Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T06:35:58.641Z] provisioning config files... [2020-12-15T06:35:58.701Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config8755129108984366132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:35:59.164Z] ---> docker-login.sh [2020-12-15T06:35:59.164Z] nexus3.edgexfoundry.org:10001 [2020-12-15T06:35:59.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:36:00.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:36:00.376Z] Configure a credential helper to remove this warning. See [2020-12-15T06:36:00.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:36:00.376Z] [2020-12-15T06:36:00.376Z] Login Succeeded [2020-12-15T06:36:00.376Z] nexus3.edgexfoundry.org:10002 [2020-12-15T06:36:00.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:36:00.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:36:00.936Z] Configure a credential helper to remove this warning. See [2020-12-15T06:36:00.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:36:00.936Z] [2020-12-15T06:36:00.936Z] Login Succeeded [2020-12-15T06:36:00.936Z] nexus3.edgexfoundry.org:10003 [2020-12-15T06:36:01.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:36:01.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:36:01.487Z] Configure a credential helper to remove this warning. See [2020-12-15T06:36:01.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:36:01.487Z] [2020-12-15T06:36:01.487Z] Login Succeeded [2020-12-15T06:36:01.487Z] nexus3.edgexfoundry.org:10004 [2020-12-15T06:36:01.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:36:01.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:36:01.771Z] Configure a credential helper to remove this warning. See [2020-12-15T06:36:01.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:36:01.771Z] [2020-12-15T06:36:01.771Z] Login Succeeded [2020-12-15T06:36:02.045Z] docker.io [2020-12-15T06:36:02.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T06:36:02.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T06:36:02.592Z] Configure a credential helper to remove this warning. See [2020-12-15T06:36:02.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T06:36:02.592Z] [2020-12-15T06:36:02.592Z] Login Succeeded [2020-12-15T06:36:02.592Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T06:36:02.625Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T06:36:03.183Z] ========================================================= [2020-12-15T06:36:03.183Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-15T06:36:03.183Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T06:36:03.629Z] + 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-15T06:36:06.294Z] Sending build context to Docker daemon 165.7MB [2020-12-15T06:36:06.294Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-15T06:36:06.294Z] Step 2/7 : FROM ${BASE} [2020-12-15T06:36:06.294Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-15T06:36:06.294Z] 5f621e34cdf4: Pulling fs layer [2020-12-15T06:36:06.294Z] a4357932f1b6: Pulling fs layer [2020-12-15T06:36:06.294Z] 18c013af1878: Pulling fs layer [2020-12-15T06:36:06.294Z] 00ac8860ef70: Pulling fs layer [2020-12-15T06:36:06.294Z] 63d7cb157983: Pulling fs layer [2020-12-15T06:36:06.294Z] b116817d02f9: Pulling fs layer [2020-12-15T06:36:06.294Z] 745a02a5169b: Pulling fs layer [2020-12-15T06:36:06.294Z] 00ac8860ef70: Waiting [2020-12-15T06:36:06.294Z] 63d7cb157983: Waiting [2020-12-15T06:36:06.294Z] b116817d02f9: Waiting [2020-12-15T06:36:06.294Z] 745a02a5169b: Waiting [2020-12-15T06:36:06.294Z] 18c013af1878: Download complete [2020-12-15T06:36:06.294Z] a4357932f1b6: Verifying Checksum [2020-12-15T06:36:06.294Z] a4357932f1b6: Download complete [2020-12-15T06:36:06.294Z] 63d7cb157983: Verifying Checksum [2020-12-15T06:36:06.294Z] 63d7cb157983: Download complete [2020-12-15T06:36:06.294Z] b116817d02f9: Verifying Checksum [2020-12-15T06:36:06.294Z] b116817d02f9: Download complete [2020-12-15T06:36:06.294Z] 5f621e34cdf4: Verifying Checksum [2020-12-15T06:36:06.294Z] 5f621e34cdf4: Download complete [2020-12-15T06:36:06.892Z] 5f621e34cdf4: Pull complete [2020-12-15T06:36:07.507Z] a4357932f1b6: Pull complete [2020-12-15T06:36:07.785Z] 18c013af1878: Pull complete [2020-12-15T06:36:09.781Z] 745a02a5169b: Verifying Checksum [2020-12-15T06:36:09.781Z] 745a02a5169b: Download complete [2020-12-15T06:36:10.778Z] 00ac8860ef70: Download complete [2020-12-15T06:36:21.017Z] 00ac8860ef70: Pull complete [2020-12-15T06:36:21.294Z] 63d7cb157983: Pull complete [2020-12-15T06:36:21.567Z] b116817d02f9: Pull complete [2020-12-15T06:36:25.890Z] 745a02a5169b: Pull complete [2020-12-15T06:36:25.890Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-15T06:36:25.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-15T06:36:25.890Z] ---> b7e6874047d6 [2020-12-15T06:36:25.890Z] 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-15T06:36:29.309Z] ---> Running in 8e7f8885460e [2020-12-15T06:36:30.296Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T06:36:31.271Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T06:36:32.696Z] (1/12) Installing libmagic (5.38-r0) [2020-12-15T06:36:32.966Z] (2/12) Installing file (5.38-r0) [2020-12-15T06:36:33.237Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-15T06:36:33.237Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-15T06:36:51.535Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-15T06:36:51.535Z] (6/12) Installing patch (2.7.6-r6) [2020-12-15T06:36:51.535Z] (7/12) Installing build-base (0.5-r2) [2020-12-15T06:36:51.535Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-15T06:36:51.535Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-15T06:36:51.535Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-15T06:36:51.535Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-15T06:36:51.535Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-15T06:36:51.535Z] Executing busybox-1.31.1-r19.trigger [2020-12-15T06:36:51.535Z] OK: 217 MiB in 51 packages [2020-12-15T06:36:54.931Z] Removing intermediate container 8e7f8885460e [2020-12-15T06:36:54.931Z] ---> e44ba2625df9 [2020-12-15T06:36:54.931Z] Step 4/7 : WORKDIR /edgex-go [2020-12-15T06:36:54.931Z] ---> Running in 06b103b0deb7 [2020-12-15T06:36:55.210Z] Removing intermediate container 06b103b0deb7 [2020-12-15T06:36:55.210Z] ---> 7116e09c0517 [2020-12-15T06:36:55.210Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-15T06:36:55.803Z] latest: Pulling from library/docker [2020-12-15T06:36:55.803Z] a3cc7d3b244e: Pulling fs layer [2020-12-15T06:36:55.803Z] 02a3295e0d61: Pulling fs layer [2020-12-15T06:36:55.803Z] 0f4f2e6d8100: Pulling fs layer [2020-12-15T06:36:55.803Z] 330b718f631f: Pulling fs layer [2020-12-15T06:36:55.803Z] a93816041522: Pulling fs layer [2020-12-15T06:36:55.803Z] bdb6da89ff94: Pulling fs layer [2020-12-15T06:36:55.803Z] 2a70c0c122f4: Pulling fs layer [2020-12-15T06:36:55.803Z] 330b718f631f: Waiting [2020-12-15T06:36:55.803Z] a93816041522: Waiting [2020-12-15T06:36:55.803Z] bdb6da89ff94: Waiting [2020-12-15T06:36:55.803Z] 2a70c0c122f4: Waiting [2020-12-15T06:36:56.404Z] invalid from flag value docker:latest: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/ee/eeaf43b927733dcfd7b87c5a733c444df7c3d364e065dbebfdc2271d9caaa502/data?verify=1608017215-HbuFDOUu6OaOSUPv%2FY5dt2t07kQ%3D: dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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-15T06:36:58.482Z] 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-15T06:37:01.985Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:37:02.930Z] ---> package-listing.sh [2020-12-15T06:37:02.930Z] ++ facter osfamily [2020-12-15T06:37:02.930Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-15T06:37:02.930Z] + OS_FAMILY=redhat [2020-12-15T06:37:02.930Z] + workspace=/w/workspace/edgex-go/1 [2020-12-15T06:37:02.930Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-15T06:37:02.930Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-15T06:37:02.930Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-15T06:37:02.930Z] + PACKAGES=/tmp/packages_start.txt [2020-12-15T06:37:02.930Z] + '[' /w/workspace/edgex-go/1 ']' [2020-12-15T06:37:02.930Z] + PACKAGES=/tmp/packages_end.txt [2020-12-15T06:37:02.930Z] + case "${OS_FAMILY}" in [2020-12-15T06:37:02.930Z] + rpm -qa [2020-12-15T06:37:02.930Z] + sort [2020-12-15T06:37:08.244Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-15T06:37:08.244Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-15T06:37:08.244Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-15T06:37:08.244Z] + '[' /w/workspace/edgex-go/1 ']' [2020-12-15T06:37:08.244Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2020-12-15T06:37:08.244Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2020-12-15T06:37:08.288Z] 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-15T06:37:08.604Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-15T06:37:08.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T06:37:08.960Z] [2020-12-15T06:37:08.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-15T06:37:09.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T06:37:09.381Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-15T06:37:09.381Z] df20fa9351a1: Pulling fs layer [2020-12-15T06:37:09.381Z] 36b3adc4ff6f: Pulling fs layer [2020-12-15T06:37:09.381Z] 8ad3a11d3b57: Pulling fs layer [2020-12-15T06:37:09.381Z] 46f8f816bc3b: Pulling fs layer [2020-12-15T06:37:09.381Z] 93b61091891f: Pulling fs layer [2020-12-15T06:37:09.381Z] 93b9cdb0e59b: Pulling fs layer [2020-12-15T06:37:09.381Z] 5e14af77c1be: Pulling fs layer [2020-12-15T06:37:09.381Z] 01666e4c0597: Pulling fs layer [2020-12-15T06:37:09.381Z] aa168da1d23b: Pulling fs layer [2020-12-15T06:37:09.381Z] 01666e4c0597: Waiting [2020-12-15T06:37:09.381Z] 93b9cdb0e59b: Waiting [2020-12-15T06:37:09.381Z] 5e14af77c1be: Waiting [2020-12-15T06:37:09.381Z] aa168da1d23b: Waiting [2020-12-15T06:37:09.381Z] 46f8f816bc3b: Waiting [2020-12-15T06:37:09.381Z] 93b61091891f: Waiting [2020-12-15T06:37:09.381Z] 36b3adc4ff6f: Verifying Checksum [2020-12-15T06:37:09.381Z] 36b3adc4ff6f: Download complete [2020-12-15T06:37:09.381Z] 46f8f816bc3b: Download complete [2020-12-15T06:37:09.646Z] df20fa9351a1: Verifying Checksum [2020-12-15T06:37:09.646Z] 93b61091891f: Verifying Checksum [2020-12-15T06:37:09.646Z] 93b61091891f: Download complete [2020-12-15T06:37:09.646Z] 93b9cdb0e59b: Download complete [2020-12-15T06:37:09.646Z] 5e14af77c1be: Verifying Checksum [2020-12-15T06:37:09.646Z] 5e14af77c1be: Download complete [2020-12-15T06:37:09.646Z] 01666e4c0597: Verifying Checksum [2020-12-15T06:37:09.646Z] 01666e4c0597: Download complete [2020-12-15T06:37:09.911Z] df20fa9351a1: Pull complete [2020-12-15T06:37:10.174Z] 36b3adc4ff6f: Pull complete [2020-12-15T06:37:10.756Z] 8ad3a11d3b57: Verifying Checksum [2020-12-15T06:37:10.756Z] 8ad3a11d3b57: Download complete [2020-12-15T06:37:11.718Z] 8ad3a11d3b57: Pull complete [2020-12-15T06:37:11.718Z] 46f8f816bc3b: Pull complete [2020-12-15T06:37:12.674Z] 93b61091891f: Pull complete [2020-12-15T06:37:12.674Z] 93b9cdb0e59b: Pull complete [2020-12-15T06:37:12.674Z] 5e14af77c1be: Pull complete [2020-12-15T06:37:12.941Z] 01666e4c0597: Pull complete [2020-12-15T06:37:13.518Z] aa168da1d23b: Verifying Checksum [2020-12-15T06:37:13.518Z] aa168da1d23b: Download complete [2020-12-15T06:37:21.717Z] aa168da1d23b: Pull complete [2020-12-15T06:37:21.717Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-15T06:37:21.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T06:37:21.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-15T06:37:21.966Z] prd-centos7-docker-4c-2g-16070 does not seem to be running inside a container [2020-12-15T06:37:22.022Z] $ 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-15T06:37:25.372Z] $ docker top 7b971c4e0ed04a7270356604496532a9fe1680ae2442a2094a5a9d3665e2682a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T06:37:25.972Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-15T06:37:26.302Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-15T06:37:26.632Z] + ls /var/log/sa-host [2020-12-15T06:37:26.632Z] + sadf -c /var/log/sa-host/sa15 [2020-12-15T06:37:26.632Z] file_magic: OK [2020-12-15T06:37:26.632Z] HZ: Using current value: 100 [2020-12-15T06:37:26.632Z] file_header: OK [2020-12-15T06:37:26.632Z] 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-15T06:37:26.632Z] Statistics: [2020-12-15T06:37:26.632Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-15T06:37:26.632Z] File successfully converted to sysstat format version 12.2.1 [2020-12-15T06:37:26.632Z] + sadf -c /var/log/sa-host/sa23 [2020-12-15T06:37:26.632Z] file_magic: OK [2020-12-15T06:37:26.632Z] HZ: Using current value: 100 [2020-12-15T06:37:26.632Z] file_header: OK [2020-12-15T06:37:26.632Z] 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-15T06:37:26.632Z] Statistics: [2020-12-15T06:37:26.632Z] Hnuu...uuuununununu... [2020-12-15T06:37:26.632Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T06:37:26.911Z] provisioning config files... [2020-12-15T06:37:26.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config5822681150228112195tmp [Pipeline] { [Pipeline] echo [2020-12-15T06:37:27.115Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:37:27.459Z] ---> create-netrc.sh [Pipeline] } [2020-12-15T06:37:27.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-15T06:37:27.667Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:37:28.009Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-15T06:37:28.043Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:37:28.412Z] ---> sudo-logs.sh [2020-12-15T06:37:28.412Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-15T06:37:28.448Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:37:28.822Z] ---> job-cost.sh [2020-12-15T06:37:28.822Z] lf-activate-venv: SKIPPING [2020-12-15T06:37:28.822Z] INFO: No Stack... [2020-12-15T06:37:30.242Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-15T06:37:30.505Z] INFO: Archiving Costs [Pipeline] echo [2020-12-15T06:37:30.538Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T06:37:30.903Z] ---> logs-deploy.sh [2020-12-15T06:37:30.903Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2951/1 [2020-12-15T06:37:30.903Z] INFO: archiving workspace using pattern(s): [2020-12-15T06:37:32.299Z] Archives upload complete. [2020-12-15T06:37:32.562Z] INFO: archiving logs to Nexus