Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3+76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 (fe1c2b27b5e2c34aa4a0fc23096431b2f2473167) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28300 in /w/workspace/edgexfoundry_edgex-go_PR-3203 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/3 [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/3 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 into PR head commit 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 Merge succeeded, producing 7f12e989c6e3d04970dfc055fca64d313d91d048 Checking out Revision 7f12e989c6e3d04970dfc055fca64d313d91d048 (PR-3203) > 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/3203/head:refs/remotes/origin/PR-3203 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 # 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 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f12e989c6e3d04970dfc055fca64d313d91d048 # timeout=10 Commit message: "Merge commit '76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-03T00:30:58.912Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-03T00:30:59.157Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-03T00:30:59.249Z] ========================================================= [2021-03-03T00:30:59.249Z] EdgeX Global Pipelines Version Info [2021-03-03T00:30:59.249Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c42de1973084ce1ab8bdbda522e13618a0fa1213 # timeout=10 [2021-03-03T00:31:00.811Z] ------------------- [2021-03-03T00:31:00.811Z] stable info: [2021-03-03T00:31:00.811Z] ------------------- [2021-03-03T00:31:00.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-03T00:31:00.811Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T00:31:00.811Z] Message: update stable to v1.0.184 [2021-03-03T00:31:01.777Z] ------------------- [2021-03-03T00:31:01.777Z] experimental info: [2021-03-03T00:31:01.777Z] ------------------- [2021-03-03T00:31:01.777Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-03T00:31:01.777Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T00:31:01.777Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-03T00:31:02.081Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-03-03T00:31:02.169Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-03-03T00:31:02.258Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-03T00:31:02.341Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-03T00:31:02.426Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-03T00:31:02.509Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-03T00:31:02.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-03T00:31:02.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-03-03T00:31:02.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-03-03T00:31:02.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-03-03T00:31:02.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-03T00:31:03.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-03T00:31:03.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-03T00:31:03.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-03T00:31:03.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-03T00:31:03.360Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-03T00:31:03.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-03T00:31:03.522Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-03T00:31:03.636Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-03T00:31:03.741Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-03T00:31:03.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-03-03T00:31:03.956Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-03T00:31:04.062Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3203 [Pipeline] echo [2021-03-03T00:31:04.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3203 [Pipeline] echo [2021-03-03T00:31:04.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3203 [Pipeline] echo [2021-03-03T00:31:04.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f12e989c6e3d04970dfc055fca64d313d91d048 [Pipeline] echo [2021-03-03T00:31:04.595Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f12e98 [Pipeline] echo [2021-03-03T00:31:04.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T00:31:04.885Z] provisioning config files... [2021-03-03T00:31:04.922Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config3481643490638160498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:31:05.287Z] ---> docker-login.sh [2021-03-03T00:31:05.287Z] nexus3.edgexfoundry.org:10001 [2021-03-03T00:31:05.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:31:05.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:31:05.553Z] Configure a credential helper to remove this warning. See [2021-03-03T00:31:05.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:31:05.553Z] [2021-03-03T00:31:05.553Z] Login Succeeded [2021-03-03T00:31:05.817Z] nexus3.edgexfoundry.org:10002 [2021-03-03T00:31:05.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:31:05.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:31:05.817Z] Configure a credential helper to remove this warning. See [2021-03-03T00:31:05.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:31:05.817Z] [2021-03-03T00:31:05.817Z] Login Succeeded [2021-03-03T00:31:05.817Z] nexus3.edgexfoundry.org:10003 [2021-03-03T00:31:06.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:31:06.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:31:06.085Z] Configure a credential helper to remove this warning. See [2021-03-03T00:31:06.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:31:06.085Z] [2021-03-03T00:31:06.085Z] Login Succeeded [2021-03-03T00:31:06.085Z] nexus3.edgexfoundry.org:10004 [2021-03-03T00:31:06.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:31:06.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:31:06.350Z] Configure a credential helper to remove this warning. See [2021-03-03T00:31:06.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:31:06.350Z] [2021-03-03T00:31:06.350Z] Login Succeeded [2021-03-03T00:31:06.350Z] docker.io [2021-03-03T00:31:06.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:31:06.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:31:06.929Z] Configure a credential helper to remove this warning. See [2021-03-03T00:31:06.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:31:06.929Z] [2021-03-03T00:31:06.929Z] Login Succeeded [2021-03-03T00:31:06.929Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T00:31:06.944Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-03T00:31:07.419Z] ++ 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-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/core-command/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo core-command,cmd/core-command/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/core-data/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo core-data,cmd/core-data/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/core-metadata/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/support-notifications/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-03-03T00:31:07.419Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-03T00:31:07.419Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-03-03T00:31:07.419Z] ++ cut -d/ -f2 [2021-03-03T00:31:07.419Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-03-03T00:31:07.510Z] 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-03-03T00:31:08.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T00:31:08.326Z] [2021-03-03T00:31:08.326Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:31:08.691Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T00:31:08.691Z] latest: Pulling from edgex-devops/git-semver [2021-03-03T00:31:08.691Z] 31603596830f: Pulling fs layer [2021-03-03T00:31:08.691Z] 2a8b12db71e7: Pulling fs layer [2021-03-03T00:31:08.691Z] 6ca5941a6612: Pulling fs layer [2021-03-03T00:31:08.691Z] ecc8261a40a4: Pulling fs layer [2021-03-03T00:31:08.691Z] ecc8261a40a4: Waiting [2021-03-03T00:31:08.691Z] 2a8b12db71e7: Verifying Checksum [2021-03-03T00:31:08.691Z] 2a8b12db71e7: Download complete [2021-03-03T00:31:08.691Z] 31603596830f: Download complete [2021-03-03T00:31:08.959Z] 6ca5941a6612: Verifying Checksum [2021-03-03T00:31:08.959Z] 6ca5941a6612: Download complete [2021-03-03T00:31:08.959Z] ecc8261a40a4: Verifying Checksum [2021-03-03T00:31:08.959Z] ecc8261a40a4: Download complete [2021-03-03T00:31:09.227Z] 31603596830f: Pull complete [2021-03-03T00:31:09.227Z] 2a8b12db71e7: Pull complete [2021-03-03T00:31:10.237Z] 6ca5941a6612: Pull complete [2021-03-03T00:31:10.501Z] ecc8261a40a4: Pull complete [2021-03-03T00:31:10.501Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-03T00:31:10.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T00:31:10.501Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-03T00:31:10.651Z] prd-centos7-docker-4c-2g-28300 does not seem to be running inside a container [2021-03-03T00:31:10.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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-03-03T00:31:13.364Z] $ docker top 72fafa2a369aa9df15ceab51fa9071d57379cd78a6e0e6332d032b725da69fc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-03T00:31:13.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T00:31:13.711Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T00:31:15.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T00:31:15.447Z] $ docker exec 72fafa2a369aa9df15ceab51fa9071d57379cd78a6e0e6332d032b725da69fc0 ssh-agent [2021-03-03T00:31:15.640Z] SSH_AUTH_SOCK=/tmp/ssh-bwM9SkAebQon/agent.11 [2021-03-03T00:31:15.640Z] SSH_AGENT_PID=16 [2021-03-03T00:31:15.658Z] Running ssh-add (command line suppressed) [2021-03-03T00:31:15.806Z] Identity added: /w/workspace/edgex-go/3@tmp/private_key_2397736881845753765.key (/w/workspace/edgex-go/3@tmp/private_key_2397736881845753765.key) [2021-03-03T00:31:15.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T00:31:16.207Z] + git tag --points-at HEAD [Pipeline] } [2021-03-03T00:31:16.233Z] $ docker exec --env ******** --env ******** 72fafa2a369aa9df15ceab51fa9071d57379cd78a6e0e6332d032b725da69fc0 ssh-agent -k [2021-03-03T00:31:16.359Z] unset SSH_AUTH_SOCK; [2021-03-03T00:31:16.359Z] unset SSH_AGENT_PID; [2021-03-03T00:31:16.360Z] echo Agent pid 16 killed; [2021-03-03T00:31:16.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-03T00:31:16.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T00:31:16.544Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T00:31:16.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T00:31:16.781Z] $ docker exec 72fafa2a369aa9df15ceab51fa9071d57379cd78a6e0e6332d032b725da69fc0 ssh-agent [2021-03-03T00:31:17.000Z] SSH_AUTH_SOCK=/tmp/ssh-UYSWTo0QQFZt/agent.46 [2021-03-03T00:31:17.000Z] SSH_AGENT_PID=51 [2021-03-03T00:31:17.008Z] Running ssh-add (command line suppressed) [2021-03-03T00:31:17.146Z] Identity added: /w/workspace/edgex-go/3@tmp/private_key_6515259836938651305.key (/w/workspace/edgex-go/3@tmp/private_key_6515259836938651305.key) [2021-03-03T00:31:17.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T00:31:17.646Z] + git semver init [2021-03-03T00:31:17.646Z] # -> Open(): unable to determine branch for HEAD [2021-03-03T00:31:17.646Z] # $GIT_DIR = /w/workspace/edgex-go/3/.git [2021-03-03T00:31:17.646Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/3 [2021-03-03T00:31:17.646Z] # $SEMVER_REMOTE_NAME = origin [2021-03-03T00:31:17.646Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-03T00:31:17.646Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-03T00:31:17.646Z] # $SEMVER_BRANCH = PR-3203 [2021-03-03T00:31:17.646Z] # $SEMVER_TEMP = /tmp/semver-902605786 [2021-03-03T00:31:17.646Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-03-03T00:31:49.835Z] # '/tmp/semver-902605786' -> '/w/workspace/edgex-go/3/.semver' [2021-03-03T00:31:49.835Z] # -> Force: false [2021-03-03T00:31:49.835Z] # $SEMVER_DIR = /w/workspace/edgex-go/3/.semver [Pipeline] } [2021-03-03T00:31:49.849Z] $ docker exec --env ******** --env ******** 72fafa2a369aa9df15ceab51fa9071d57379cd78a6e0e6332d032b725da69fc0 ssh-agent -k [2021-03-03T00:31:50.149Z] unset SSH_AUTH_SOCK; [2021-03-03T00:31:50.149Z] unset SSH_AGENT_PID; [2021-03-03T00:31:50.149Z] echo Agent pid 51 killed; [2021-03-03T00:31:50.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-03T00:31:50.757Z] + git semver [Pipeline] } [2021-03-03T00:31:50.778Z] $ docker stop --time=1 72fafa2a369aa9df15ceab51fa9071d57379cd78a6e0e6332d032b725da69fc0 [2021-03-03T00:31:52.442Z] $ docker rm -f 72fafa2a369aa9df15ceab51fa9071d57379cd78a6e0e6332d032b725da69fc0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T00:31:52.979Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-03T00:31:53.539Z] Stashed 1 file(s) [Pipeline] echo [2021-03-03T00:31:53.543Z] [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 [2021-03-03T00:31:54.641Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:31:54.962Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:31:55.269Z] + sudo service docker restart [2021-03-03T00:31:55.269Z] + true [2021-03-03T00:31:55.269Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-03-03T00:31:55.859Z] ========================================================= [2021-03-03T00:31:55.859Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-03T00:31:55.859Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:31:56.222Z] + 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-03-03T00:32:00.518Z] Sending build context to Docker daemon 328.1MB [2021-03-03T00:32:00.518Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T00:32:00.518Z] Step 2/6 : FROM ${BASE} [2021-03-03T00:32:00.518Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-03T00:32:00.518Z] 188c0c94c7c5: Pulling fs layer [2021-03-03T00:32:00.518Z] 0ef7d3d256c8: Pulling fs layer [2021-03-03T00:32:00.518Z] de9db76c5a1d: Pulling fs layer [2021-03-03T00:32:00.518Z] bca2f99d35d6: Pulling fs layer [2021-03-03T00:32:00.518Z] 93359f2a8cfa: Pulling fs layer [2021-03-03T00:32:00.518Z] 7c6f9722023f: Pulling fs layer [2021-03-03T00:32:00.518Z] a35cf1a2eb13: Pulling fs layer [2021-03-03T00:32:00.518Z] a35cf1a2eb13: Waiting [2021-03-03T00:32:00.518Z] 93359f2a8cfa: Waiting [2021-03-03T00:32:00.518Z] 7c6f9722023f: Waiting [2021-03-03T00:32:00.518Z] bca2f99d35d6: Waiting [2021-03-03T00:32:00.518Z] de9db76c5a1d: Verifying Checksum [2021-03-03T00:32:00.518Z] de9db76c5a1d: Download complete [2021-03-03T00:32:00.518Z] 0ef7d3d256c8: Verifying Checksum [2021-03-03T00:32:00.518Z] 0ef7d3d256c8: Download complete [2021-03-03T00:32:00.518Z] 93359f2a8cfa: Download complete [2021-03-03T00:32:00.518Z] 188c0c94c7c5: Verifying Checksum [2021-03-03T00:32:00.518Z] 188c0c94c7c5: Download complete [2021-03-03T00:32:00.518Z] 7c6f9722023f: Verifying Checksum [2021-03-03T00:32:00.518Z] 7c6f9722023f: Download complete [2021-03-03T00:32:00.782Z] 188c0c94c7c5: Pull complete [2021-03-03T00:32:01.050Z] 0ef7d3d256c8: Pull complete [2021-03-03T00:32:01.050Z] de9db76c5a1d: Pull complete [2021-03-03T00:32:02.473Z] a35cf1a2eb13: Verifying Checksum [2021-03-03T00:32:02.473Z] a35cf1a2eb13: Download complete [2021-03-03T00:32:02.743Z] bca2f99d35d6: Verifying Checksum [2021-03-03T00:32:02.743Z] bca2f99d35d6: Download complete [2021-03-03T00:32:09.136Z] Still waiting to schedule task [2021-03-03T00:32:09.136Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-03T00:32:09.403Z] bca2f99d35d6: Pull complete [2021-03-03T00:32:09.403Z] 93359f2a8cfa: Pull complete [2021-03-03T00:32:09.403Z] 7c6f9722023f: Pull complete [2021-03-03T00:32:14.742Z] a35cf1a2eb13: Pull complete [2021-03-03T00:32:14.742Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-03T00:32:14.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-03T00:32:14.742Z] ---> a62c8e92a672 [2021-03-03T00:32:14.742Z] 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-03-03T00:32:14.742Z] ---> Running in ffad50e5db63 [2021-03-03T00:32:15.026Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-03T00:32:15.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-03T00:32:16.924Z] (1/12) Installing libmagic (5.38-r0) [2021-03-03T00:32:17.187Z] (2/12) Installing file (5.38-r0) [2021-03-03T00:32:17.187Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-03T00:32:17.451Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-03T00:32:21.684Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-03T00:32:21.684Z] (6/12) Installing patch (2.7.6-r6) [2021-03-03T00:32:21.947Z] (7/12) Installing build-base (0.5-r2) [2021-03-03T00:32:21.947Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-03T00:32:21.947Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-03T00:32:22.210Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-03T00:32:22.210Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-03T00:32:22.210Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-03T00:32:22.475Z] Executing busybox-1.31.1-r19.trigger [2021-03-03T00:32:22.475Z] OK: 233 MiB in 51 packages [2021-03-03T00:32:26.708Z] Removing intermediate container ffad50e5db63 [2021-03-03T00:32:26.708Z] ---> 10aa7898b760 [2021-03-03T00:32:26.708Z] Step 4/6 : WORKDIR /edgex-go [2021-03-03T00:32:26.708Z] ---> Running in 4cf68c7c87c9 [2021-03-03T00:32:26.708Z] Removing intermediate container 4cf68c7c87c9 [2021-03-03T00:32:26.708Z] ---> 5e75c6ed4475 [2021-03-03T00:32:26.708Z] Step 5/6 : COPY go.mod . [2021-03-03T00:32:26.708Z] ---> 99f9e815fb85 [2021-03-03T00:32:26.708Z] Step 6/6 : RUN go mod download [2021-03-03T00:32:26.708Z] ---> Running in 7f234fbb4c69 [2021-03-03T00:32:53.386Z] Removing intermediate container 7f234fbb4c69 [2021-03-03T00:32:53.386Z] ---> 3b6a83a0b7b5 [2021-03-03T00:32:53.386Z] Successfully built 3b6a83a0b7b5 [2021-03-03T00:32:53.386Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:32:53.710Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T00:32:53.710Z] . [Pipeline] withDockerContainer [2021-03-03T00:32:53.840Z] prd-centos7-docker-4c-2g-28300 does not seem to be running inside a container [2021-03-03T00:32:53.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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-03-03T00:32:54.995Z] $ docker top 90ebc32956ef9a562bca33448e0e30a74a1f1a8f5f76a012d7984242a9d4abe1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:32:55.568Z] + go version [2021-03-03T00:32:55.568Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-03T00:32:55.591Z] $ docker stop --time=1 90ebc32956ef9a562bca33448e0e30a74a1f1a8f5f76a012d7984242a9d4abe1 [2021-03-03T00:32:57.001Z] $ docker rm -f 90ebc32956ef9a562bca33448e0e30a74a1f1a8f5f76a012d7984242a9d4abe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:32:57.760Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T00:32:57.760Z] . [Pipeline] withDockerContainer [2021-03-03T00:32:57.895Z] prd-centos7-docker-4c-2g-28300 does not seem to be running inside a container [2021-03-03T00:32:57.946Z] $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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-03-03T00:32:59.186Z] $ docker top 945fd3c0d6b64fac9807eb64de65708442b988204efdec14514fe18d1b1634f1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-03T00:32:59.406Z] ========================================================= [2021-03-03T00:32:59.406Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-03T00:32:59.406Z] ========================================================= [Pipeline] sh [2021-03-03T00:32:59.723Z] + make test [2021-03-03T00:32:59.723Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-03T00:33:09.839Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-03T00:33:28.145Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-03T00:33:33.529Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2 [2021-03-03T00:33:33.529Z] internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-03T00:33:41.803Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] [2021-03-03T00:33:41.803Z] internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent [2021-03-03T00:33:41.803Z] have (string, string) [2021-03-03T00:33:41.803Z] want (string, string, string) [2021-03-03T00:33:41.803Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.116s coverage: 45.9% of statements [2021-03-03T00:33:41.803Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-03-03T00:33:41.803Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-03-03T00:33:41.803Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.035s coverage: 100.0% of statements [2021-03-03T00:33:41.803Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.048s coverage: 100.0% of statements [2021-03-03T00:33:41.803Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2021-03-03T00:33:41.803Z] internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-03T00:33:44.405Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.119s coverage: 65.8% of statements [2021-03-03T00:33:44.405Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-03-03T00:33:45.828Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.343s coverage: 28.6% of statements [2021-03-03T00:33:45.828Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.061s coverage: 100.0% of statements [2021-03-03T00:33:45.828Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.046s coverage: 100.0% of statements [2021-03-03T00:33:45.828Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.102s coverage: 86.7% of statements [2021-03-03T00:33:46.419Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.114s coverage: 97.5% of statements [2021-03-03T00:33:46.419Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.071s coverage: 78.3% of statements [2021-03-03T00:33:46.419Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2021-03-03T00:33:46.419Z] internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-03T00:33:46.419Z] internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-03T00:33:46.419Z] internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-03T00:33:46.419Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-03-03T00:33:46.691Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2021-03-03T00:33:48.122Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.056s coverage: 0.1% of statements [2021-03-03T00:33:48.122Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.037s coverage: 45.5% of statements [2021-03-03T00:33:48.122Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.060s coverage: 79.5% of statements [2021-03-03T00:33:48.122Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.029s coverage: 94.1% of statements [2021-03-03T00:33:48.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.041s coverage: 96.3% of statements [2021-03-03T00:33:48.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.045s coverage: 87.5% of statements [2021-03-03T00:34:00.673Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.058s coverage: 94.4% of statements [2021-03-03T00:34:00.673Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.038s coverage: 44.8% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.079s coverage: 92.9% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.036s coverage: 77.8% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.045s coverage: 87.2% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.045s coverage: 75.5% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.033s coverage: 80.8% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.6% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.6% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.170s coverage: 62.4% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.044s coverage: 91.3% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.311s coverage: 69.1% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.124s coverage: 38.4% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.049s coverage: 89.5% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.045s coverage: 84.8% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.135s coverage: 47.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.054s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.056s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.123s coverage: 88.5% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.785s coverage: 29.1% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.072s coverage: 99.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.036s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.069s coverage: 94.3% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.034s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.045s coverage: 87.9% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.031s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements [2021-03-03T00:34:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements [2021-03-03T00:34:13.088Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-03-03T00:34:13.140Z] $ docker stop --time=1 945fd3c0d6b64fac9807eb64de65708442b988204efdec14514fe18d1b1634f1 [2021-03-03T00:34:14.922Z] $ docker rm -f 945fd3c0d6b64fac9807eb64de65708442b988204efdec14514fe18d1b1634f1 [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] } [2021-03-03T00:34:16.341Z] Failed in branch amd64 [2021-03-03T00:35:09.990Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28308 in /w/workspace/edgexfoundry_edgex-go_PR-3203 [Pipeline] { [Pipeline] ws [2021-03-03T00:35:10.040Z] Running in /w/workspace/edgex-go/3 [Pipeline] { [Pipeline] checkout [2021-03-03T00:35:15.290Z] using credential edgex-jenkins-ssh [2021-03-03T00:35:15.356Z] Cloning the remote Git repository [2021-03-03T00:35:15.432Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-03-03T00:35:15.545Z] > git init /w/workspace/edgex-go/3 # timeout=10 [2021-03-03T00:35:15.639Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-03T00:35:15.640Z] > git --version # timeout=10 [2021-03-03T00:35:15.661Z] > git --version # 'git version 2.17.1' [2021-03-03T00:35:15.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:35:15.728Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T00:35:36.257Z] Merging remotes/origin/master commit 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 into PR head commit 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 [2021-03-03T00:35:35.555Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-03T00:35:35.572Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T00:35:35.600Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-03T00:35:35.638Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-03T00:35:35.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:35:35.652Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3203/head:refs/remotes/origin/PR-3203 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T00:35:36.286Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T00:35:36.302Z] > git checkout -f 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 # timeout=10 [2021-03-03T00:35:36.601Z] > git remote # timeout=10 [2021-03-03T00:35:36.668Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T00:35:36.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:35:36.730Z] > git merge 76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41 # timeout=10 [2021-03-03T00:35:37.127Z] Merge succeeded, producing 7d6d2091203b4fc0532c0e524065b9fdace93245 [2021-03-03T00:35:37.128Z] Checking out Revision 7d6d2091203b4fc0532c0e524065b9fdace93245 (PR-3203) [2021-03-03T00:35:37.122Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T00:35:37.144Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T00:35:37.154Z] > git checkout -f 7d6d2091203b4fc0532c0e524065b9fdace93245 # timeout=10 [2021-03-03T00:35:41.413Z] Commit message: "Merge commit '76edbf6b374c198a59e0ea3df6d90d6fbb7c8c41' into HEAD" [2021-03-03T00:35:41.435Z] First time build. Skipping changelog. [2021-03-03T00:35:41.429Z] > git rev-list --no-walk c42de1973084ce1ab8bdbda522e13618a0fa1213 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T00:35:42.989Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:35:43.451Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:35:43.797Z] + sudo service docker restart [2021-03-03T00:35:43.797Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T00:35:45.866Z] provisioning config files... [2021-03-03T00:35:45.905Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config6100589551860068523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:35:46.309Z] ---> docker-login.sh [2021-03-03T00:35:46.309Z] nexus3.edgexfoundry.org:10001 [2021-03-03T00:35:46.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:35:47.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:35:47.506Z] Configure a credential helper to remove this warning. See [2021-03-03T00:35:47.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:35:47.506Z] [2021-03-03T00:35:47.506Z] Login Succeeded [2021-03-03T00:35:47.506Z] nexus3.edgexfoundry.org:10002 [2021-03-03T00:35:47.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:35:48.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:35:48.050Z] Configure a credential helper to remove this warning. See [2021-03-03T00:35:48.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:35:48.050Z] [2021-03-03T00:35:48.050Z] Login Succeeded [2021-03-03T00:35:48.050Z] nexus3.edgexfoundry.org:10003 [2021-03-03T00:35:48.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:35:48.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:35:48.606Z] Configure a credential helper to remove this warning. See [2021-03-03T00:35:48.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:35:48.606Z] [2021-03-03T00:35:48.606Z] Login Succeeded [2021-03-03T00:35:48.606Z] nexus3.edgexfoundry.org:10004 [2021-03-03T00:35:48.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:35:49.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:35:49.161Z] Configure a credential helper to remove this warning. See [2021-03-03T00:35:49.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:35:49.161Z] [2021-03-03T00:35:49.161Z] Login Succeeded [2021-03-03T00:35:49.161Z] docker.io [2021-03-03T00:35:49.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T00:35:49.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T00:35:49.705Z] Configure a credential helper to remove this warning. See [2021-03-03T00:35:49.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T00:35:49.705Z] [2021-03-03T00:35:49.705Z] Login Succeeded [2021-03-03T00:35:49.705Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T00:35:49.722Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-03T00:35:50.193Z] ========================================================= [2021-03-03T00:35:50.193Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-03T00:35:50.193Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:35:50.574Z] + 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-03-03T00:35:53.216Z] Sending build context to Docker daemon 166.5MB [2021-03-03T00:35:53.216Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T00:35:53.216Z] Step 2/6 : FROM ${BASE} [2021-03-03T00:35:53.216Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-03T00:35:53.216Z] 5f621e34cdf4: Pulling fs layer [2021-03-03T00:35:53.216Z] a4357932f1b6: Pulling fs layer [2021-03-03T00:35:53.217Z] 18c013af1878: Pulling fs layer [2021-03-03T00:35:53.217Z] 00ac8860ef70: Pulling fs layer [2021-03-03T00:35:53.217Z] 63d7cb157983: Pulling fs layer [2021-03-03T00:35:53.217Z] b116817d02f9: Pulling fs layer [2021-03-03T00:35:53.217Z] 745a02a5169b: Pulling fs layer [2021-03-03T00:35:53.217Z] 00ac8860ef70: Waiting [2021-03-03T00:35:53.217Z] 63d7cb157983: Waiting [2021-03-03T00:35:53.217Z] b116817d02f9: Waiting [2021-03-03T00:35:53.217Z] 745a02a5169b: Waiting [2021-03-03T00:35:53.217Z] 18c013af1878: Verifying Checksum [2021-03-03T00:35:53.217Z] 18c013af1878: Download complete [2021-03-03T00:35:53.217Z] a4357932f1b6: Download complete [2021-03-03T00:35:53.217Z] 63d7cb157983: Verifying Checksum [2021-03-03T00:35:53.217Z] 63d7cb157983: Download complete [2021-03-03T00:35:53.217Z] b116817d02f9: Verifying Checksum [2021-03-03T00:35:53.217Z] 5f621e34cdf4: Verifying Checksum [2021-03-03T00:35:53.217Z] 5f621e34cdf4: Download complete [2021-03-03T00:35:53.823Z] 5f621e34cdf4: Pull complete [2021-03-03T00:35:54.422Z] a4357932f1b6: Pull complete [2021-03-03T00:35:54.699Z] 18c013af1878: Pull complete [2021-03-03T00:35:55.683Z] 745a02a5169b: Verifying Checksum [2021-03-03T00:35:56.665Z] 00ac8860ef70: Verifying Checksum [2021-03-03T00:35:56.665Z] 00ac8860ef70: Download complete [2021-03-03T00:36:06.818Z] 00ac8860ef70: Pull complete [2021-03-03T00:36:06.818Z] 63d7cb157983: Pull complete [2021-03-03T00:36:06.818Z] b116817d02f9: Pull complete [2021-03-03T00:36:10.218Z] 745a02a5169b: Pull complete [2021-03-03T00:36:10.218Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-03T00:36:10.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-03T00:36:10.218Z] ---> b7e6874047d6 [2021-03-03T00:36:10.218Z] 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-03-03T00:36:13.605Z] ---> Running in 3e699749d165 [2021-03-03T00:36:14.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-03T00:36:15.551Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-03T00:36:16.144Z] (1/12) Installing libmagic (5.38-r0) [2021-03-03T00:36:16.738Z] (2/12) Installing file (5.38-r0) [2021-03-03T00:36:16.738Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-03T00:36:16.738Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-03T00:36:21.031Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-03T00:36:21.031Z] (6/12) Installing patch (2.7.6-r6) [2021-03-03T00:36:21.302Z] (7/12) Installing build-base (0.5-r2) [2021-03-03T00:36:21.302Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-03T00:36:21.302Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-03T00:36:21.577Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-03T00:36:21.577Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-03T00:36:21.577Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-03T00:36:21.850Z] Executing busybox-1.31.1-r19.trigger [2021-03-03T00:36:21.850Z] OK: 217 MiB in 51 packages [2021-03-03T00:36:26.158Z] Removing intermediate container 3e699749d165 [2021-03-03T00:36:26.158Z] ---> 30e4aefc3f67 [2021-03-03T00:36:26.158Z] Step 4/6 : WORKDIR /edgex-go [2021-03-03T00:36:26.158Z] ---> Running in 15341379c6e3 [2021-03-03T00:36:26.431Z] Removing intermediate container 15341379c6e3 [2021-03-03T00:36:26.431Z] ---> 485fc0b9b73b [2021-03-03T00:36:26.431Z] Step 5/6 : COPY go.mod . [2021-03-03T00:36:27.414Z] ---> 6a9de45d8747 [2021-03-03T00:36:27.414Z] Step 6/6 : RUN go mod download [2021-03-03T00:36:27.414Z] ---> Running in 7e185f719ede [2021-03-03T00:36:54.394Z] Removing intermediate container 7e185f719ede [2021-03-03T00:36:54.394Z] ---> 6ac3f2183a96 [2021-03-03T00:36:54.394Z] Successfully built 6ac3f2183a96 [2021-03-03T00:36:54.394Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:36:54.733Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T00:36:54.733Z] . [Pipeline] withDockerContainer [2021-03-03T00:36:54.960Z] prd-ubuntu18.04-docker-arm64-4c-16g-28308 does not seem to be running inside a container [2021-03-03T00:36:55.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-03T00:36:56.487Z] $ docker top e1f11d371741f6e74c253d11a486acccc510cb8f9e394b483b09a5a496bcdb32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:36:57.500Z] + go version [2021-03-03T00:36:57.500Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-03T00:36:57.529Z] $ docker stop --time=1 e1f11d371741f6e74c253d11a486acccc510cb8f9e394b483b09a5a496bcdb32 [2021-03-03T00:36:59.413Z] $ docker rm -f e1f11d371741f6e74c253d11a486acccc510cb8f9e394b483b09a5a496bcdb32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:37:00.389Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T00:37:00.389Z] . [Pipeline] withDockerContainer [2021-03-03T00:37:00.648Z] prd-ubuntu18.04-docker-arm64-4c-16g-28308 does not seem to be running inside a container [2021-03-03T00:37:00.732Z] $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-03T00:37:02.200Z] $ docker top e6ec376adf816b5bdedf0fec309ee6bbf73d6c86891df759f6d856dea9262653 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-03T00:37:02.567Z] ========================================================= [2021-03-03T00:37:02.567Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-03T00:37:02.567Z] ========================================================= [Pipeline] sh [2021-03-03T00:37:03.214Z] + make test [2021-03-03T00:37:03.214Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-03T00:37:25.426Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-03T00:38:12.427Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-03T00:38:15.081Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2 [2021-03-03T00:38:15.081Z] internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-03T00:38:42.178Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] [2021-03-03T00:38:42.178Z] internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent [2021-03-03T00:38:42.178Z] have (string, string) [2021-03-03T00:38:42.178Z] want (string, string, string) [2021-03-03T00:38:44.846Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2021-03-03T00:38:44.846Z] internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-03T00:38:46.300Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.349s coverage: 45.9% of statements [2021-03-03T00:38:46.300Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-03-03T00:38:46.300Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-03-03T00:38:46.300Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.061s coverage: 100.0% of statements [2021-03-03T00:38:46.300Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.109s coverage: 100.0% of statements [2021-03-03T00:38:50.721Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.238s coverage: 65.8% of statements [2021-03-03T00:38:50.721Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-03-03T00:38:57.479Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2021-03-03T00:38:57.479Z] internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-03T00:38:57.479Z] internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-03T00:38:57.479Z] internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-03T00:38:58.082Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.148s coverage: 28.6% of statements [2021-03-03T00:38:58.082Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.185s coverage: 100.0% of statements [2021-03-03T00:38:58.082Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.118s coverage: 100.0% of statements [2021-03-03T00:38:58.082Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.292s coverage: 86.7% of statements [2021-03-03T00:38:58.082Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.323s coverage: 97.5% of statements [2021-03-03T00:38:58.082Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.133s coverage: 78.3% of statements [2021-03-03T00:38:58.082Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-03-03T00:38:58.359Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.054s coverage: 58.8% of statements [2021-03-03T00:39:05.085Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.244s coverage: 0.1% of statements [2021-03-03T00:39:05.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.084s coverage: 45.5% of statements [2021-03-03T00:39:05.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.084s coverage: 79.5% of statements [2021-03-03T00:39:05.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.065s coverage: 94.1% of statements [2021-03-03T00:39:05.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.089s coverage: 96.3% of statements [2021-03-03T00:39:05.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.074s coverage: 87.5% of statements [2021-03-03T00:39:17.505Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.133s coverage: 94.4% of statements [2021-03-03T00:39:17.505Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.050s coverage: 44.8% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.114s coverage: 92.9% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.065s coverage: 77.8% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.044s coverage: 100.0% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.077s coverage: 75.5% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.056s coverage: 80.8% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.136s coverage: 87.2% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.118s coverage: 84.6% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.166s coverage: 91.6% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.545s coverage: 62.4% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.080s coverage: 100.0% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.078s coverage: 91.3% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.064s coverage: 73.7% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.066s coverage: 100.0% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.751s coverage: 69.1% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.357s coverage: 38.4% of statements [2021-03-03T00:39:32.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.102s coverage: 89.5% of statements [2021-03-03T00:39:32.900Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.104s coverage: 84.8% of statements [2021-03-03T00:39:38.312Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.392s coverage: 47.0% of statements [2021-03-03T00:39:38.312Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.133s coverage: 100.0% of statements [2021-03-03T00:39:38.312Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.126s coverage: 100.0% of statements [2021-03-03T00:39:38.591Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.455s coverage: 88.5% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.181s coverage: 29.1% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.212s coverage: 99.0% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.101s coverage: 100.0% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.193s coverage: 94.3% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.045s coverage: 100.0% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.134s coverage: 87.9% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.065s coverage: 100.0% of statements [2021-03-03T00:39:46.884Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.057s coverage: 32.1% of statements [2021-03-03T00:39:47.861Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-03-03T00:39:48.457Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-03-03T00:39:48.491Z] $ docker stop --time=1 e6ec376adf816b5bdedf0fec309ee6bbf73d6c86891df759f6d856dea9262653 [2021-03-03T00:39:50.724Z] $ docker rm -f e6ec376adf816b5bdedf0fec309ee6bbf73d6c86891df759f6d856dea9262653 [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-03-03T00:39:52.547Z] ---> job-cost.sh [2021-03-03T00:39:52.547Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wk2H [2021-03-03T00:40:31.500Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T00:42:38.281Z] lf-activate-venv(): INFO: Adding /tmp/venv-Wk2H/bin to PATH [2021-03-03T00:42:38.281Z] INFO: No Stack... [2021-03-03T00:42:38.281Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-03T00:42:38.281Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T00:42:38.629Z] + cat /w/workspace/edgex-go/3/archives/cost.csv [2021-03-03T00:42:38.629Z] + cut -d, -f6 [Pipeline] lock [2021-03-03T00:42:38.735Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3203-3-stack-cost] [2021-03-03T00:42:38.742Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3203-3-stack-cost] did not exist. Created. [2021-03-03T00:42:38.743Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3203-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T00:42:39.272Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-03T00:42:40.458Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T00:42:40.466Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3203-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-03T00:42:41.041Z] 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-03-03T00:42:42.841Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:42:43.724Z] ---> package-listing.sh [2021-03-03T00:42:43.725Z] ++ facter osfamily [2021-03-03T00:42:43.725Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-03T00:42:43.725Z] + OS_FAMILY=redhat [2021-03-03T00:42:43.725Z] + workspace=/w/workspace/edgex-go/3 [2021-03-03T00:42:43.725Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-03T00:42:43.725Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-03T00:42:43.725Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-03T00:42:43.725Z] + PACKAGES=/tmp/packages_start.txt [2021-03-03T00:42:43.725Z] + '[' /w/workspace/edgex-go/3 ']' [2021-03-03T00:42:43.725Z] + PACKAGES=/tmp/packages_end.txt [2021-03-03T00:42:43.725Z] + case "${OS_FAMILY}" in [2021-03-03T00:42:43.725Z] + rpm -qa [2021-03-03T00:42:43.725Z] + sort [2021-03-03T00:42:49.038Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-03T00:42:49.038Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-03T00:42:49.038Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-03T00:42:49.038Z] + '[' /w/workspace/edgex-go/3 ']' [2021-03-03T00:42:49.038Z] + mkdir -p /w/workspace/edgex-go/3/archives/ [2021-03-03T00:42:49.038Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/3/archives/ [Pipeline] echo [2021-03-03T00:42:49.053Z] 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/3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-03T00:42:49.346Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:42:49.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T00:42:49.656Z] [2021-03-03T00:42:49.656Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:42:50.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T00:42:50.013Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-03T00:42:50.013Z] df20fa9351a1: Pulling fs layer [2021-03-03T00:42:50.013Z] 36b3adc4ff6f: Pulling fs layer [2021-03-03T00:42:50.013Z] 8ad3a11d3b57: Pulling fs layer [2021-03-03T00:42:50.013Z] 46f8f816bc3b: Pulling fs layer [2021-03-03T00:42:50.013Z] 93b61091891f: Pulling fs layer [2021-03-03T00:42:50.013Z] 93b9cdb0e59b: Pulling fs layer [2021-03-03T00:42:50.013Z] 5e14af77c1be: Pulling fs layer [2021-03-03T00:42:50.013Z] 01666e4c0597: Pulling fs layer [2021-03-03T00:42:50.013Z] aa168da1d23b: Pulling fs layer [2021-03-03T00:42:50.013Z] 93b9cdb0e59b: Waiting [2021-03-03T00:42:50.013Z] 5e14af77c1be: Waiting [2021-03-03T00:42:50.013Z] 01666e4c0597: Waiting [2021-03-03T00:42:50.013Z] aa168da1d23b: Waiting [2021-03-03T00:42:50.013Z] 46f8f816bc3b: Waiting [2021-03-03T00:42:50.013Z] 93b61091891f: Waiting [2021-03-03T00:42:50.013Z] 36b3adc4ff6f: Verifying Checksum [2021-03-03T00:42:50.013Z] 36b3adc4ff6f: Download complete [2021-03-03T00:42:50.013Z] 46f8f816bc3b: Verifying Checksum [2021-03-03T00:42:50.013Z] 46f8f816bc3b: Download complete [2021-03-03T00:42:50.288Z] df20fa9351a1: Verifying Checksum [2021-03-03T00:42:50.288Z] 93b9cdb0e59b: Download complete [2021-03-03T00:42:50.288Z] 5e14af77c1be: Verifying Checksum [2021-03-03T00:42:50.288Z] 5e14af77c1be: Download complete [2021-03-03T00:42:50.288Z] 01666e4c0597: Verifying Checksum [2021-03-03T00:42:50.288Z] 01666e4c0597: Download complete [2021-03-03T00:42:50.288Z] 93b61091891f: Verifying Checksum [2021-03-03T00:42:50.288Z] 93b61091891f: Download complete [2021-03-03T00:42:50.288Z] 8ad3a11d3b57: Verifying Checksum [2021-03-03T00:42:50.288Z] 8ad3a11d3b57: Download complete [2021-03-03T00:42:50.559Z] df20fa9351a1: Pull complete [2021-03-03T00:42:50.841Z] 36b3adc4ff6f: Pull complete [2021-03-03T00:42:51.827Z] 8ad3a11d3b57: Pull complete [2021-03-03T00:42:52.407Z] 46f8f816bc3b: Pull complete [2021-03-03T00:42:52.670Z] aa168da1d23b: Verifying Checksum [2021-03-03T00:42:52.670Z] aa168da1d23b: Download complete [2021-03-03T00:42:52.670Z] 93b61091891f: Pull complete [2021-03-03T00:42:52.932Z] 93b9cdb0e59b: Pull complete [2021-03-03T00:42:52.932Z] 5e14af77c1be: Pull complete [2021-03-03T00:42:53.197Z] 01666e4c0597: Pull complete [2021-03-03T00:43:01.443Z] aa168da1d23b: Pull complete [2021-03-03T00:43:01.443Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-03T00:43:01.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T00:43:01.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-03T00:43:01.721Z] prd-centos7-docker-4c-2g-28300 does not seem to be running inside a container [2021-03-03T00:43:01.776Z] $ 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/3/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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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-03-03T00:43:05.166Z] $ docker top c04b3ab380ee63849da71e1d9d7125414a8c9731499e81f76f8dcef00cb38d20 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:43:05.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-03T00:43:06.005Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-03T00:43:06.307Z] + ls /var/log/sa-host [2021-03-03T00:43:06.307Z] + sadf -c /var/log/sa-host/sa03 [2021-03-03T00:43:06.307Z] file_magic: OK [2021-03-03T00:43:06.307Z] HZ: Using current value: 100 [2021-03-03T00:43:06.307Z] file_header: OK [2021-03-03T00:43:06.307Z] 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-03-03T00:43:06.307Z] Statistics: [2021-03-03T00:43:06.307Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-03T00:43:06.307Z] File successfully converted to sysstat format version 12.2.1 [2021-03-03T00:43:06.307Z] + sadf -c /var/log/sa-host/sa23 [2021-03-03T00:43:06.307Z] file_magic: OK [2021-03-03T00:43:06.307Z] HZ: Using current value: 100 [2021-03-03T00:43:06.307Z] file_header: OK [2021-03-03T00:43:06.307Z] 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-03-03T00:43:06.307Z] Statistics: [2021-03-03T00:43:06.307Z] Hnuu...uuuununununu... [2021-03-03T00:43:06.307Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-03T00:43:06.986Z] provisioning config files... [2021-03-03T00:43:07.001Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/3@tmp/config13328691794609989tmp [Pipeline] { [Pipeline] echo [2021-03-03T00:43:07.104Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:43:07.410Z] ---> create-netrc.sh [Pipeline] } [2021-03-03T00:43:07.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-03T00:43:07.503Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:43:07.807Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-03T00:43:07.823Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:43:08.119Z] ---> sudo-logs.sh [2021-03-03T00:43:08.120Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-03T00:43:08.236Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:43:08.539Z] ---> job-cost.sh [2021-03-03T00:43:08.539Z] lf-activate-venv: SKIPPING [2021-03-03T00:43:08.539Z] DEBUG: total: 0.20999999344348907 [2021-03-03T00:43:08.539Z] INFO: Retrieving Stack Cost... [2021-03-03T00:43:09.934Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T00:43:10.197Z] INFO: Archiving Costs [Pipeline] echo [2021-03-03T00:43:10.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:43:10.512Z] ---> logs-deploy.sh [2021-03-03T00:43:10.512Z] lf-activate-venv: SKIPPING [2021-03-03T00:43:10.512Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3203/3 [2021-03-03T00:43:10.512Z] INFO: archiving workspace using pattern(s): [2021-03-03T00:43:11.909Z] Archives upload complete. [2021-03-03T00:43:12.173Z] INFO: archiving logs to Nexus