Pull request #3374 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at c419618f783e51adc3e0be9d68d8defacfb69d2d rather than 538da4ad510f8be08203022bcb619e262bbc0948 Obtained Jenkinsfile from c419618f783e51adc3e0be9d68d8defacfb69d2d 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-484 in /w/workspace/edgexfoundry_edgex-go_PR-3374 [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 c419618f783e51adc3e0be9d68d8defacfb69d2d into PR head commit 538da4ad510f8be08203022bcb619e262bbc0948 > 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/3374/head:refs/remotes/origin/PR-3374 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 538da4ad510f8be08203022bcb619e262bbc0948 # timeout=10 Merge succeeded, producing 538da4ad510f8be08203022bcb619e262bbc0948 Checking out Revision 538da4ad510f8be08203022bcb619e262bbc0948 (PR-3374) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c419618f783e51adc3e0be9d68d8defacfb69d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 538da4ad510f8be08203022bcb619e262bbc0948 # timeout=10 Commit message: "feat(meta): Implement API to get Resource by profile and resource name" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-16T13:50:33.223Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-16T13:50:33.301Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-16T13:50:33.330Z] ========================================================= [2021-04-16T13:50:33.330Z] EdgeX Global Pipelines Version Info [2021-04-16T13:50:33.330Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-16T13:50:34.846Z] ------------------- [2021-04-16T13:50:34.846Z] stable info: [2021-04-16T13:50:34.846Z] ------------------- [2021-04-16T13:50:34.846Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-16T13:50:34.846Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-16T13:50:34.846Z] Message: update stable to v1.0.186 [2021-04-16T13:50:35.795Z] ------------------- [2021-04-16T13:50:35.795Z] experimental info: [2021-04-16T13:50:35.795Z] ------------------- [2021-04-16T13:50:35.795Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-16T13:50:35.795Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-16T13:50:35.795Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-16T13:50:35.909Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-04-16T13:50:35.930Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-04-16T13:50:35.951Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-16T13:50:35.978Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-16T13:50:36.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-16T13:50:36.020Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-16T13:50:36.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-16T13:50:36.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-04-16T13:50:36.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-04-16T13:50:36.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-04-16T13:50:36.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-16T13:50:36.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-16T13:50:36.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-16T13:50:36.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-16T13:50:36.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T13:50:36.242Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T13:50:36.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-16T13:50:36.294Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-16T13:50:36.314Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-16T13:50:36.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-16T13:50:36.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-16T13:50:36.375Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-16T13:50:36.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3374 [Pipeline] echo [2021-04-16T13:50:36.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3374 [Pipeline] echo [2021-04-16T13:50:36.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3374 [Pipeline] echo [2021-04-16T13:50:36.475Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 538da4ad510f8be08203022bcb619e262bbc0948 [Pipeline] echo [2021-04-16T13:50:36.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 538da4a [Pipeline] echo [2021-04-16T13:50:36.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T13:50:36.591Z] provisioning config files... [2021-04-16T13:50:36.629Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config1584677092756620184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T13:50:36.957Z] ---> docker-login.sh [2021-04-16T13:50:36.957Z] nexus3.edgexfoundry.org:10001 [2021-04-16T13:50:37.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:50:37.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:50:37.484Z] Configure a credential helper to remove this warning. See [2021-04-16T13:50:37.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:50:37.484Z] [2021-04-16T13:50:37.484Z] Login Succeeded [2021-04-16T13:50:37.484Z] nexus3.edgexfoundry.org:10002 [2021-04-16T13:50:37.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:50:37.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:50:37.484Z] Configure a credential helper to remove this warning. See [2021-04-16T13:50:37.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:50:37.484Z] [2021-04-16T13:50:37.484Z] Login Succeeded [2021-04-16T13:50:37.484Z] nexus3.edgexfoundry.org:10003 [2021-04-16T13:50:37.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:50:37.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:50:37.746Z] Configure a credential helper to remove this warning. See [2021-04-16T13:50:37.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:50:37.746Z] [2021-04-16T13:50:37.746Z] Login Succeeded [2021-04-16T13:50:37.746Z] nexus3.edgexfoundry.org:10004 [2021-04-16T13:50:38.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:50:38.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:50:38.007Z] Configure a credential helper to remove this warning. See [2021-04-16T13:50:38.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:50:38.007Z] [2021-04-16T13:50:38.007Z] Login Succeeded [2021-04-16T13:50:38.007Z] docker.io [2021-04-16T13:50:38.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:50:38.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:50:38.270Z] Configure a credential helper to remove this warning. See [2021-04-16T13:50:38.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:50:38.270Z] [2021-04-16T13:50:38.270Z] Login Succeeded [2021-04-16T13:50:38.270Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T13:50:38.279Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T13:50:38.609Z] ++ 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-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/core-command/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo core-command,cmd/core-command/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/core-data/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo core-data,cmd/core-data/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/core-metadata/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/support-notifications/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-04-16T13:50:38.609Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T13:50:38.609Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-04-16T13:50:38.609Z] ++ cut -d/ -f2 [2021-04-16T13:50:38.609Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-04-16T13:50:38.690Z] 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-04-16T13:50:39.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T13:50:39.313Z] [2021-04-16T13:50:39.313Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T13:50:39.620Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T13:50:39.620Z] latest: Pulling from edgex-devops/git-semver [2021-04-16T13:50:39.620Z] 31603596830f: Pulling fs layer [2021-04-16T13:50:39.620Z] 2a8b12db71e7: Pulling fs layer [2021-04-16T13:50:39.620Z] 6ca5941a6612: Pulling fs layer [2021-04-16T13:50:39.620Z] ecc8261a40a4: Pulling fs layer [2021-04-16T13:50:39.620Z] ecc8261a40a4: Waiting [2021-04-16T13:50:39.620Z] 2a8b12db71e7: Verifying Checksum [2021-04-16T13:50:39.620Z] 2a8b12db71e7: Download complete [2021-04-16T13:50:39.883Z] 31603596830f: Verifying Checksum [2021-04-16T13:50:39.883Z] 31603596830f: Download complete [2021-04-16T13:50:39.883Z] 6ca5941a6612: Verifying Checksum [2021-04-16T13:50:39.883Z] 6ca5941a6612: Download complete [2021-04-16T13:50:39.883Z] ecc8261a40a4: Verifying Checksum [2021-04-16T13:50:39.883Z] ecc8261a40a4: Download complete [2021-04-16T13:50:40.144Z] 31603596830f: Pull complete [2021-04-16T13:50:40.412Z] 2a8b12db71e7: Pull complete [2021-04-16T13:50:41.357Z] 6ca5941a6612: Pull complete [2021-04-16T13:50:41.357Z] ecc8261a40a4: Pull complete [2021-04-16T13:50:41.357Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-16T13:50:41.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T13:50:41.357Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-16T13:50:41.457Z] prd-centos7-docker-4c-2g-484 does not seem to be running inside a container [2021-04-16T13:50:41.506Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-16T13:50:44.584Z] $ docker top 5717d0b3f6e4aec4396cb5e01f31c616d77f57d99e5700ffc321289532b5ad80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-16T13:50:44.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T13:50:44.793Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T13:50:45.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T13:50:45.063Z] $ docker exec 5717d0b3f6e4aec4396cb5e01f31c616d77f57d99e5700ffc321289532b5ad80 ssh-agent [2021-04-16T13:50:45.258Z] SSH_AUTH_SOCK=/tmp/ssh-oN2V8O1mnPEn/agent.11 [2021-04-16T13:50:45.258Z] SSH_AGENT_PID=17 [2021-04-16T13:50:45.272Z] Running ssh-add (command line suppressed) [2021-04-16T13:50:45.406Z] Identity added: /w/workspace/edgex-go/3@tmp/private_key_3795001233760214278.key (/w/workspace/edgex-go/3@tmp/private_key_3795001233760214278.key) [2021-04-16T13:50:45.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T13:50:45.762Z] + git tag --points-at HEAD [Pipeline] } [2021-04-16T13:50:45.786Z] $ docker exec --env ******** --env ******** 5717d0b3f6e4aec4396cb5e01f31c616d77f57d99e5700ffc321289532b5ad80 ssh-agent -k [2021-04-16T13:50:45.905Z] unset SSH_AUTH_SOCK; [2021-04-16T13:50:45.906Z] unset SSH_AGENT_PID; [2021-04-16T13:50:45.906Z] echo Agent pid 17 killed; [2021-04-16T13:50:45.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-16T13:50:45.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T13:50:45.990Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T13:50:46.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T13:50:46.164Z] $ docker exec 5717d0b3f6e4aec4396cb5e01f31c616d77f57d99e5700ffc321289532b5ad80 ssh-agent [2021-04-16T13:50:46.332Z] SSH_AUTH_SOCK=/tmp/ssh-t18WLVHvZ2rK/agent.45 [2021-04-16T13:50:46.332Z] SSH_AGENT_PID=51 [2021-04-16T13:50:46.338Z] Running ssh-add (command line suppressed) [2021-04-16T13:50:46.455Z] Identity added: /w/workspace/edgex-go/3@tmp/private_key_2526733535071680212.key (/w/workspace/edgex-go/3@tmp/private_key_2526733535071680212.key) [2021-04-16T13:50:46.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T13:50:46.808Z] + git semver init [2021-04-16T13:50:46.809Z] # -> Open(): unable to determine branch for HEAD [2021-04-16T13:50:46.809Z] # $GIT_DIR = /w/workspace/edgex-go/3/.git [2021-04-16T13:50:46.809Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/3 [2021-04-16T13:50:46.809Z] # $SEMVER_REMOTE_NAME = origin [2021-04-16T13:50:46.809Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-16T13:50:46.809Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-16T13:50:46.809Z] # $SEMVER_BRANCH = PR-3374 [2021-04-16T13:50:46.809Z] # $SEMVER_TEMP = /tmp/semver-157423162 [2021-04-16T13:50:46.809Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-04-16T13:51:05.010Z] # '/tmp/semver-157423162' -> '/w/workspace/edgex-go/3/.semver' [2021-04-16T13:51:05.010Z] # -> Force: false [2021-04-16T13:51:05.010Z] # $SEMVER_DIR = /w/workspace/edgex-go/3/.semver [Pipeline] } [2021-04-16T13:51:05.026Z] $ docker exec --env ******** --env ******** 5717d0b3f6e4aec4396cb5e01f31c616d77f57d99e5700ffc321289532b5ad80 ssh-agent -k [2021-04-16T13:51:05.252Z] unset SSH_AUTH_SOCK; [2021-04-16T13:51:05.253Z] unset SSH_AGENT_PID; [2021-04-16T13:51:05.253Z] echo Agent pid 51 killed; [2021-04-16T13:51:05.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T13:51:05.673Z] + git semver [Pipeline] } [2021-04-16T13:51:05.697Z] $ docker stop --time=1 5717d0b3f6e4aec4396cb5e01f31c616d77f57d99e5700ffc321289532b5ad80 [2021-04-16T13:51:07.452Z] $ docker rm -f 5717d0b3f6e4aec4396cb5e01f31c616d77f57d99e5700ffc321289532b5ad80 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T13:51:07.926Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-16T13:51:08.334Z] Stashed 1 file(s) [Pipeline] echo [2021-04-16T13:51:08.338Z] [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-04-16T13:51:09.737Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-16T13:51:10.069Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T13:51:10.425Z] + sudo service docker restart [2021-04-16T13:51:10.425Z] + true [2021-04-16T13:51:10.425Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-04-16T13:51:11.015Z] ========================================================= [2021-04-16T13:51:11.015Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-16T13:51:11.015Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T13:51:11.328Z] + 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-04-16T13:51:15.581Z] Sending build context to Docker daemon 329.4MB [2021-04-16T13:51:15.581Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T13:51:15.581Z] Step 2/6 : FROM ${BASE} [2021-04-16T13:51:15.581Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-16T13:51:15.581Z] 188c0c94c7c5: Pulling fs layer [2021-04-16T13:51:15.581Z] 0ef7d3d256c8: Pulling fs layer [2021-04-16T13:51:15.581Z] de9db76c5a1d: Pulling fs layer [2021-04-16T13:51:15.581Z] bca2f99d35d6: Pulling fs layer [2021-04-16T13:51:15.581Z] 93359f2a8cfa: Pulling fs layer [2021-04-16T13:51:15.581Z] 7c6f9722023f: Pulling fs layer [2021-04-16T13:51:15.581Z] a35cf1a2eb13: Pulling fs layer [2021-04-16T13:51:15.581Z] 93359f2a8cfa: Waiting [2021-04-16T13:51:15.581Z] 7c6f9722023f: Waiting [2021-04-16T13:51:15.581Z] a35cf1a2eb13: Waiting [2021-04-16T13:51:15.581Z] bca2f99d35d6: Waiting [2021-04-16T13:51:15.581Z] de9db76c5a1d: Download complete [2021-04-16T13:51:15.581Z] 0ef7d3d256c8: Download complete [2021-04-16T13:51:15.581Z] 93359f2a8cfa: Download complete [2021-04-16T13:51:15.581Z] 188c0c94c7c5: Verifying Checksum [2021-04-16T13:51:15.581Z] 188c0c94c7c5: Download complete [2021-04-16T13:51:15.581Z] 7c6f9722023f: Verifying Checksum [2021-04-16T13:51:15.581Z] 7c6f9722023f: Download complete [2021-04-16T13:51:15.581Z] 188c0c94c7c5: Pull complete [2021-04-16T13:51:15.843Z] 0ef7d3d256c8: Pull complete [2021-04-16T13:51:15.843Z] de9db76c5a1d: Pull complete [2021-04-16T13:51:17.782Z] a35cf1a2eb13: Verifying Checksum [2021-04-16T13:51:17.782Z] a35cf1a2eb13: Download complete [2021-04-16T13:51:17.782Z] bca2f99d35d6: Verifying Checksum [2021-04-16T13:51:17.782Z] bca2f99d35d6: Download complete [2021-04-16T13:51:23.124Z] bca2f99d35d6: Pull complete [2021-04-16T13:51:23.124Z] 93359f2a8cfa: Pull complete [2021-04-16T13:51:23.124Z] 7c6f9722023f: Pull complete [2021-04-16T13:51:24.376Z] Still waiting to schedule task [2021-04-16T13:51:24.376Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-480’ [2021-04-16T13:51:28.459Z] a35cf1a2eb13: Pull complete [2021-04-16T13:51:28.459Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-16T13:51:28.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-16T13:51:28.459Z] ---> a62c8e92a672 [2021-04-16T13:51:28.459Z] 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-04-16T13:51:28.459Z] ---> Running in d0f17d667814 [2021-04-16T13:51:28.722Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T13:51:29.297Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T13:51:29.560Z] (1/12) Installing libmagic (5.38-r0) [2021-04-16T13:51:29.822Z] (2/12) Installing file (5.38-r0) [2021-04-16T13:51:29.822Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-16T13:51:30.085Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-16T13:51:35.391Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-16T13:51:35.391Z] (6/12) Installing patch (2.7.6-r6) [2021-04-16T13:51:35.391Z] (7/12) Installing build-base (0.5-r2) [2021-04-16T13:51:35.391Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-16T13:51:35.391Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-16T13:51:35.391Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-16T13:51:35.653Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-16T13:51:35.653Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-16T13:51:35.653Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T13:51:35.653Z] OK: 233 MiB in 51 packages [2021-04-16T13:51:39.881Z] Removing intermediate container d0f17d667814 [2021-04-16T13:51:39.881Z] ---> f23957044ea0 [2021-04-16T13:51:39.881Z] Step 4/6 : WORKDIR /edgex-go [2021-04-16T13:51:39.881Z] ---> Running in 2eb37135ccf8 [2021-04-16T13:51:39.881Z] Removing intermediate container 2eb37135ccf8 [2021-04-16T13:51:39.881Z] ---> c7ea66dc89e9 [2021-04-16T13:51:39.881Z] Step 5/6 : COPY go.mod . [2021-04-16T13:51:40.143Z] ---> 2444d50a5a17 [2021-04-16T13:51:40.143Z] Step 6/6 : RUN go mod download [2021-04-16T13:51:40.143Z] ---> Running in 25ed02dff5f2 [2021-04-16T13:52:02.193Z] Removing intermediate container 25ed02dff5f2 [2021-04-16T13:52:02.193Z] ---> 46d74ff430f0 [2021-04-16T13:52:02.193Z] Successfully built 46d74ff430f0 [2021-04-16T13:52:02.193Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T13:52:02.513Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T13:52:02.513Z] . [Pipeline] withDockerContainer [2021-04-16T13:52:02.618Z] prd-centos7-docker-4c-2g-484 does not seem to be running inside a container [2021-04-16T13:52:02.669Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-16T13:52:03.567Z] $ docker top 85e9ffa23b2e6ac4a5ef7218b63878559190665123a2b745feb40af0cea7fb61 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T13:52:03.987Z] + go version [2021-04-16T13:52:03.987Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-16T13:52:04.005Z] $ docker stop --time=1 85e9ffa23b2e6ac4a5ef7218b63878559190665123a2b745feb40af0cea7fb61 [2021-04-16T13:52:05.353Z] $ docker rm -f 85e9ffa23b2e6ac4a5ef7218b63878559190665123a2b745feb40af0cea7fb61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T13:52:05.885Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T13:52:05.885Z] . [Pipeline] withDockerContainer [2021-04-16T13:52:05.991Z] prd-centos7-docker-4c-2g-484 does not seem to be running inside a container [2021-04-16T13:52:06.038Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-16T13:52:06.765Z] $ docker top 5c7eb32681765709010af8a40894a5ea68c4f25464737ac4d7764e989cbc5dc2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-16T13:52:06.937Z] ========================================================= [2021-04-16T13:52:06.937Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-16T13:52:06.937Z] ========================================================= [Pipeline] sh [2021-04-16T13:52:07.231Z] + make test [2021-04-16T13:52:07.232Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T13:52:17.304Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-16T13:52:35.556Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-16T13:52:36.519Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-16T13:52:37.099Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [2021-04-16T13:52:37.099Z] internal/core/metadata/v2/controller/http/deviceresource.go:63:14: undefined: responses.NewDeviceResourceResponse [2021-04-16T13:52:47.217Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.113s coverage: 45.9% of statements [2021-04-16T13:52:47.217Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.069s coverage: 19.8% of statements [2021-04-16T13:52:47.217Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.104s coverage: 100.0% of statements [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.181s coverage: 27.1% of statements [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.064s coverage: 100.0% of statements [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.088s coverage: 100.0% of statements [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.103s coverage: 71.3% of statements [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.152s coverage: 82.9% of statements [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.059s coverage: 78.9% of statements [2021-04-16T13:52:51.502Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.105s coverage: 100.0% of statements [2021-04-16T13:52:51.502Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.080s coverage: 100.0% of statements [2021-04-16T13:52:52.471Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2021-04-16T13:52:52.471Z] internal/core/metadata/v2/controller/http/deviceresource.go:63: undefined: responses.NewDeviceResourceResponse [2021-04-16T13:52:52.471Z] internal/core/metadata/v2/controller/http/deviceresource_test.go:64:48: undefined: v2.ApiDeviceResourceByProfileAndResourceRoute [2021-04-16T13:52:52.471Z] internal/core/metadata/v2/controller/http/deviceresource_test.go:83:13: undefined: responses.DeviceResourceResponse [2021-04-16T13:52:52.742Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.143s coverage: 86.7% of statements [2021-04-16T13:52:53.015Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.147s coverage: 97.5% of statements [2021-04-16T13:52:53.015Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.088s coverage: 78.3% of statements [2021-04-16T13:52:53.015Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-04-16T13:52:53.282Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2021-04-16T13:52:55.225Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.083s coverage: 0.9% of statements [2021-04-16T13:52:55.225Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.068s coverage: 47.1% of statements [2021-04-16T13:52:55.225Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.104s coverage: 79.5% of statements [2021-04-16T13:52:55.225Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.063s coverage: 94.1% of statements [2021-04-16T13:52:55.225Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.087s coverage: 96.3% of statements [2021-04-16T13:52:55.225Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.064s coverage: 87.5% of statements [2021-04-16T13:53:07.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.062s coverage: 94.4% of statements [2021-04-16T13:53:07.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements [2021-04-16T13:53:09.429Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.216s coverage: 81.9% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.093s coverage: 92.9% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 77.8% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.042s coverage: 87.2% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 75.5% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.8% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.085s coverage: 87.2% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.062s coverage: 84.6% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.105s coverage: 91.6% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.192s coverage: 64.4% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.055s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.040s coverage: 91.3% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.027s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.312s coverage: 69.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.114s coverage: 38.4% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.043s coverage: 89.5% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.044s coverage: 84.8% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.142s coverage: 47.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.046s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.060s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.058s coverage: 10.5% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.156s coverage: 87.7% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.753s coverage: 29.1% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.071s coverage: 99.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.084s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.113s coverage: 95.6% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.044s coverage: 87.9% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.033s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.055s coverage: 28.1% of statements [2021-04-16T13:53:21.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements [2021-04-16T13:53:21.761Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-04-16T13:53:21.783Z] $ docker stop --time=1 5c7eb32681765709010af8a40894a5ea68c4f25464737ac4d7764e989cbc5dc2 [2021-04-16T13:53:23.528Z] $ docker rm -f 5c7eb32681765709010af8a40894a5ea68c4f25464737ac4d7764e989cbc5dc2 [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-04-16T13:53:24.073Z] Failed in branch amd64 [2021-04-16T13:55:03.947Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-486 in /w/workspace/edgexfoundry_edgex-go_PR-3374 [Pipeline] { [Pipeline] ws [2021-04-16T13:55:03.963Z] Running in /w/workspace/edgex-go/3 [Pipeline] { [Pipeline] checkout [2021-04-16T13:55:09.735Z] using credential edgex-jenkins-ssh [2021-04-16T13:55:09.754Z] Cloning the remote Git repository [2021-04-16T13:55:09.802Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-04-16T13:55:09.903Z] > git init /w/workspace/edgex-go/3 # timeout=10 [2021-04-16T13:55:10.017Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-16T13:55:10.017Z] > git --version # timeout=10 [2021-04-16T13:55:10.050Z] > git --version # 'git version 2.17.1' [2021-04-16T13:55:10.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T13:55:10.238Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T13:55:26.036Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-16T13:55:26.057Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T13:55:26.082Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-16T13:55:26.121Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-16T13:55:26.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T13:55:26.132Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3374/head:refs/remotes/origin/PR-3374 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T13:55:27.020Z] Merging remotes/origin/master commit c419618f783e51adc3e0be9d68d8defacfb69d2d into PR head commit 538da4ad510f8be08203022bcb619e262bbc0948 [2021-04-16T13:55:27.462Z] Merge succeeded, producing 538da4ad510f8be08203022bcb619e262bbc0948 [2021-04-16T13:55:27.463Z] Checking out Revision 538da4ad510f8be08203022bcb619e262bbc0948 (PR-3374) [2021-04-16T13:55:27.043Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T13:55:27.062Z] > git checkout -f 538da4ad510f8be08203022bcb619e262bbc0948 # timeout=10 [2021-04-16T13:55:27.377Z] > git remote # timeout=10 [2021-04-16T13:55:27.392Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T13:55:27.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T13:55:27.425Z] > git merge c419618f783e51adc3e0be9d68d8defacfb69d2d # timeout=10 [2021-04-16T13:55:27.448Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T13:55:27.471Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T13:55:27.486Z] > git checkout -f 538da4ad510f8be08203022bcb619e262bbc0948 # timeout=10 [2021-04-16T13:55:31.849Z] Commit message: "feat(meta): Implement API to get Resource by profile and resource name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T13:55:33.359Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-16T13:55:33.767Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T13:55:34.131Z] + true [2021-04-16T13:55:34.131Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T13:55:36.801Z] provisioning config files... [2021-04-16T13:55:36.845Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config1553995213246182362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T13:55:37.224Z] ---> docker-login.sh [2021-04-16T13:55:37.224Z] nexus3.edgexfoundry.org:10001 [2021-04-16T13:55:37.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:55:38.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:55:38.430Z] Configure a credential helper to remove this warning. See [2021-04-16T13:55:38.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:55:38.431Z] [2021-04-16T13:55:38.431Z] Login Succeeded [2021-04-16T13:55:38.431Z] nexus3.edgexfoundry.org:10002 [2021-04-16T13:55:38.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:55:38.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:55:38.982Z] Configure a credential helper to remove this warning. See [2021-04-16T13:55:38.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:55:38.982Z] [2021-04-16T13:55:38.982Z] Login Succeeded [2021-04-16T13:55:38.982Z] nexus3.edgexfoundry.org:10003 [2021-04-16T13:55:39.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:55:39.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:55:39.528Z] Configure a credential helper to remove this warning. See [2021-04-16T13:55:39.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:55:39.528Z] [2021-04-16T13:55:39.528Z] Login Succeeded [2021-04-16T13:55:39.528Z] nexus3.edgexfoundry.org:10004 [2021-04-16T13:55:39.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:55:40.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:55:40.081Z] Configure a credential helper to remove this warning. See [2021-04-16T13:55:40.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:55:40.081Z] [2021-04-16T13:55:40.081Z] Login Succeeded [2021-04-16T13:55:40.081Z] docker.io [2021-04-16T13:55:40.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T13:55:40.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T13:55:40.628Z] Configure a credential helper to remove this warning. See [2021-04-16T13:55:40.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T13:55:40.628Z] [2021-04-16T13:55:40.628Z] Login Succeeded [2021-04-16T13:55:40.628Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T13:55:40.644Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T13:55:40.955Z] ========================================================= [2021-04-16T13:55:40.955Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-16T13:55:40.955Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T13:55:41.320Z] + 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-04-16T13:55:43.967Z] Sending build context to Docker daemon 167.3MB [2021-04-16T13:55:43.967Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T13:55:43.967Z] Step 2/6 : FROM ${BASE} [2021-04-16T13:55:43.967Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-16T13:55:43.967Z] 5f621e34cdf4: Pulling fs layer [2021-04-16T13:55:43.967Z] a4357932f1b6: Pulling fs layer [2021-04-16T13:55:43.967Z] 18c013af1878: Pulling fs layer [2021-04-16T13:55:43.967Z] 00ac8860ef70: Pulling fs layer [2021-04-16T13:55:43.967Z] 63d7cb157983: Pulling fs layer [2021-04-16T13:55:43.967Z] b116817d02f9: Pulling fs layer [2021-04-16T13:55:43.967Z] 745a02a5169b: Pulling fs layer [2021-04-16T13:55:43.967Z] 00ac8860ef70: Waiting [2021-04-16T13:55:43.967Z] 63d7cb157983: Waiting [2021-04-16T13:55:43.967Z] b116817d02f9: Waiting [2021-04-16T13:55:43.967Z] 745a02a5169b: Waiting [2021-04-16T13:55:43.967Z] 18c013af1878: Verifying Checksum [2021-04-16T13:55:43.967Z] 18c013af1878: Download complete [2021-04-16T13:55:43.967Z] a4357932f1b6: Verifying Checksum [2021-04-16T13:55:43.967Z] a4357932f1b6: Download complete [2021-04-16T13:55:43.967Z] 63d7cb157983: Verifying Checksum [2021-04-16T13:55:43.967Z] 63d7cb157983: Download complete [2021-04-16T13:55:43.967Z] b116817d02f9: Verifying Checksum [2021-04-16T13:55:43.967Z] b116817d02f9: Download complete [2021-04-16T13:55:43.967Z] 5f621e34cdf4: Verifying Checksum [2021-04-16T13:55:43.967Z] 5f621e34cdf4: Download complete [2021-04-16T13:55:44.581Z] 5f621e34cdf4: Pull complete [2021-04-16T13:55:45.187Z] a4357932f1b6: Pull complete [2021-04-16T13:55:45.458Z] 18c013af1878: Pull complete [2021-04-16T13:55:46.447Z] 745a02a5169b: Verifying Checksum [2021-04-16T13:55:46.447Z] 745a02a5169b: Download complete [2021-04-16T13:55:47.432Z] 00ac8860ef70: Verifying Checksum [2021-04-16T13:55:47.432Z] 00ac8860ef70: Download complete [2021-04-16T13:55:57.607Z] 00ac8860ef70: Pull complete [2021-04-16T13:55:57.607Z] 63d7cb157983: Pull complete [2021-04-16T13:55:57.880Z] b116817d02f9: Pull complete [2021-04-16T13:56:01.284Z] 745a02a5169b: Pull complete [2021-04-16T13:56:01.284Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-16T13:56:01.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-16T13:56:01.284Z] ---> b7e6874047d6 [2021-04-16T13:56:01.284Z] 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-04-16T13:56:04.721Z] ---> Running in 914bbd3b15c4 [2021-04-16T13:56:06.156Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T13:56:06.747Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T13:56:07.349Z] (1/12) Installing libmagic (5.38-r0) [2021-04-16T13:56:07.628Z] (2/12) Installing file (5.38-r0) [2021-04-16T13:56:07.899Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-16T13:56:07.899Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-16T13:56:13.290Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-16T13:56:13.290Z] (6/12) Installing patch (2.7.6-r6) [2021-04-16T13:56:13.290Z] (7/12) Installing build-base (0.5-r2) [2021-04-16T13:56:13.290Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-16T13:56:13.290Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-16T13:56:13.290Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-16T13:56:13.290Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-16T13:56:13.290Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-16T13:56:13.290Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T13:56:13.290Z] OK: 217 MiB in 51 packages [2021-04-16T13:56:17.616Z] Removing intermediate container 914bbd3b15c4 [2021-04-16T13:56:17.616Z] ---> e28253d32237 [2021-04-16T13:56:17.616Z] Step 4/6 : WORKDIR /edgex-go [2021-04-16T13:56:17.616Z] ---> Running in 0649745a6e02 [2021-04-16T13:56:18.216Z] Removing intermediate container 0649745a6e02 [2021-04-16T13:56:18.216Z] ---> 6a53ba5d28e3 [2021-04-16T13:56:18.216Z] Step 5/6 : COPY go.mod . [2021-04-16T13:56:18.809Z] ---> b26c91638ad9 [2021-04-16T13:56:18.809Z] Step 6/6 : RUN go mod download [2021-04-16T13:56:18.809Z] ---> Running in 912234e9b0da [2021-04-16T13:56:46.288Z] Removing intermediate container 912234e9b0da [2021-04-16T13:56:46.288Z] ---> bddb554254f1 [2021-04-16T13:56:46.288Z] Successfully built bddb554254f1 [2021-04-16T13:56:46.288Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T13:56:46.626Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T13:56:46.626Z] . [Pipeline] withDockerContainer [2021-04-16T13:56:46.857Z] prd-ubuntu18.04-docker-arm64-4c-16g-486 does not seem to be running inside a container [2021-04-16T13:56:46.938Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-04-16T13:56:48.424Z] $ docker top 023d548fe15821bc2e27e831704924cf2ab5950ad64e96b71786901aa084655a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T13:56:49.377Z] + go version [2021-04-16T13:56:49.377Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-16T13:56:49.399Z] $ docker stop --time=1 023d548fe15821bc2e27e831704924cf2ab5950ad64e96b71786901aa084655a [2021-04-16T13:56:51.248Z] $ docker rm -f 023d548fe15821bc2e27e831704924cf2ab5950ad64e96b71786901aa084655a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T13:56:51.936Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T13:56:51.936Z] . [Pipeline] withDockerContainer [2021-04-16T13:56:52.166Z] prd-ubuntu18.04-docker-arm64-4c-16g-486 does not seem to be running inside a container [2021-04-16T13:56:52.245Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-04-16T13:56:53.559Z] $ docker top eeb1bc689faf46b5d41a1653a340afa05e24f10db2ebd0a12883ee6b66d611f5 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-16T13:56:53.849Z] ========================================================= [2021-04-16T13:56:53.849Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-16T13:56:53.849Z] ========================================================= [Pipeline] sh [2021-04-16T13:56:54.496Z] + make test [2021-04-16T13:56:54.496Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T13:57:16.690Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-16T13:58:03.697Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-16T13:58:10.462Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-16T13:58:11.901Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [2021-04-16T13:58:11.901Z] internal/core/metadata/v2/controller/http/deviceresource.go:63:14: undefined: responses.NewDeviceResourceResponse [2021-04-16T13:58:38.768Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.291s coverage: 45.9% of statements [2021-04-16T13:58:38.768Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.158s coverage: 19.8% of statements [2021-04-16T13:58:38.768Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.224s coverage: 100.0% of statements [2021-04-16T13:58:44.194Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.561s coverage: 27.1% of statements [2021-04-16T13:58:44.194Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.147s coverage: 100.0% of statements [2021-04-16T13:58:44.194Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.154s coverage: 100.0% of statements [2021-04-16T13:58:45.208Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.279s coverage: 71.3% of statements [2021-04-16T13:58:47.849Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.486s coverage: 82.9% of statements [2021-04-16T13:58:47.849Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.154s coverage: 78.9% of statements [2021-04-16T13:58:47.849Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-04-16T13:58:49.291Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.337s coverage: 100.0% of statements [2021-04-16T13:58:49.291Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.138s coverage: 100.0% of statements [2021-04-16T13:58:51.276Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2021-04-16T13:58:51.276Z] internal/core/metadata/v2/controller/http/deviceresource.go:63: undefined: responses.NewDeviceResourceResponse [2021-04-16T13:58:51.276Z] internal/core/metadata/v2/controller/http/deviceresource_test.go:64:48: undefined: v2.ApiDeviceResourceByProfileAndResourceRoute [2021-04-16T13:58:51.276Z] internal/core/metadata/v2/controller/http/deviceresource_test.go:83:13: undefined: responses.DeviceResourceResponse [2021-04-16T13:58:51.553Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.379s coverage: 86.7% of statements [2021-04-16T13:58:53.566Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.461s coverage: 97.5% of statements [2021-04-16T13:58:53.566Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.213s coverage: 78.3% of statements [2021-04-16T13:58:53.566Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-04-16T13:58:53.566Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.109s coverage: 58.8% of statements [2021-04-16T13:58:59.047Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.237s coverage: 0.9% of statements [2021-04-16T13:58:59.047Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.202s coverage: 47.1% of statements [2021-04-16T13:58:59.047Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.138s coverage: 79.5% of statements [2021-04-16T13:58:59.047Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.120s coverage: 94.1% of statements [2021-04-16T13:59:00.039Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.146s coverage: 96.3% of statements [2021-04-16T13:59:00.640Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.139s coverage: 87.5% of statements [2021-04-16T13:59:13.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.146s coverage: 94.4% of statements [2021-04-16T13:59:13.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.187s coverage: 44.8% of statements [2021-04-16T13:59:19.807Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.514s coverage: 81.9% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.187s coverage: 92.9% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.066s coverage: 77.8% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.076s coverage: 87.2% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.108s coverage: 100.0% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.141s coverage: 75.5% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.136s coverage: 80.8% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.219s coverage: 87.2% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.203s coverage: 84.6% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.245s coverage: 91.6% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.561s coverage: 64.4% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.122s coverage: 100.0% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.087s coverage: 91.3% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.053s coverage: 100.0% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.095s coverage: 73.7% of statements [2021-04-16T13:59:30.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.060s coverage: 100.0% of statements [2021-04-16T13:59:33.424Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.912s coverage: 69.0% of statements [2021-04-16T13:59:35.413Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.438s coverage: 38.4% of statements [2021-04-16T13:59:35.413Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.125s coverage: 89.5% of statements [2021-04-16T13:59:35.413Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.104s coverage: 84.8% of statements [2021-04-16T13:59:42.164Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.382s coverage: 47.0% of statements [2021-04-16T13:59:42.164Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.122s coverage: 100.0% of statements [2021-04-16T13:59:42.164Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.106s coverage: 100.0% of statements [2021-04-16T13:59:42.164Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.124s coverage: 10.5% of statements [2021-04-16T13:59:43.156Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.448s coverage: 87.7% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.235s coverage: 29.1% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.191s coverage: 99.0% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.171s coverage: 100.0% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.291s coverage: 95.6% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.054s coverage: 100.0% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.095s coverage: 87.9% of statements [2021-04-16T13:59:49.891Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.073s coverage: 100.0% of statements [2021-04-16T13:59:50.491Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.138s coverage: 28.1% of statements [2021-04-16T13:59:51.935Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-04-16T13:59:52.912Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-04-16T13:59:52.933Z] $ docker stop --time=1 eeb1bc689faf46b5d41a1653a340afa05e24f10db2ebd0a12883ee6b66d611f5 [2021-04-16T13:59:55.196Z] $ docker rm -f eeb1bc689faf46b5d41a1653a340afa05e24f10db2ebd0a12883ee6b66d611f5 [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-04-16T13:59:56.729Z] ---> job-cost.sh [2021-04-16T13:59:56.729Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-l8Bz [2021-04-16T14:00:35.708Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T14:02:12.489Z] lf-activate-venv(): INFO: Adding /tmp/venv-l8Bz/bin to PATH [2021-04-16T14:02:12.489Z] INFO: No Stack... [2021-04-16T14:02:12.489Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-16T14:02:12.489Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T14:02:12.828Z] + + cutcat -d, -f6 [2021-04-16T14:02:12.828Z] /w/workspace/edgex-go/3/archives/cost.csv [Pipeline] lock [2021-04-16T14:02:13.193Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3374-3-stack-cost] [2021-04-16T14:02:13.205Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3374-3-stack-cost] did not exist. Created. [2021-04-16T14:02:13.205Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3374-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T14:02:13.684Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-16T14:02:14.714Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T14:02:14.723Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3374-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-16T14:02:14.883Z] 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-04-16T14:02:15.628Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T14:02:16.519Z] ---> package-listing.sh [2021-04-16T14:02:16.519Z] ++ facter osfamily [2021-04-16T14:02:16.519Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-16T14:02:16.519Z] + OS_FAMILY=redhat [2021-04-16T14:02:16.519Z] + workspace=/w/workspace/edgex-go/3 [2021-04-16T14:02:16.519Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-16T14:02:16.519Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-16T14:02:16.519Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-16T14:02:16.519Z] + PACKAGES=/tmp/packages_start.txt [2021-04-16T14:02:16.519Z] + '[' /w/workspace/edgex-go/3 ']' [2021-04-16T14:02:16.519Z] + PACKAGES=/tmp/packages_end.txt [2021-04-16T14:02:16.519Z] + case "${OS_FAMILY}" in [2021-04-16T14:02:16.519Z] + rpm -qa [2021-04-16T14:02:16.519Z] + sort [2021-04-16T14:02:21.829Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-16T14:02:21.829Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-16T14:02:21.829Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-16T14:02:21.829Z] + '[' /w/workspace/edgex-go/3 ']' [2021-04-16T14:02:21.829Z] + mkdir -p /w/workspace/edgex-go/3/archives/ [2021-04-16T14:02:21.829Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/3/archives/ [Pipeline] echo [2021-04-16T14:02:21.843Z] 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-04-16T14:02:22.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-16T14:02:22.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T14:02:22.439Z] [2021-04-16T14:02:22.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-16T14:02:22.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T14:02:22.757Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-16T14:02:22.757Z] df20fa9351a1: Pulling fs layer [2021-04-16T14:02:22.757Z] 36b3adc4ff6f: Pulling fs layer [2021-04-16T14:02:22.757Z] 8ad3a11d3b57: Pulling fs layer [2021-04-16T14:02:22.757Z] 46f8f816bc3b: Pulling fs layer [2021-04-16T14:02:22.757Z] 93b61091891f: Pulling fs layer [2021-04-16T14:02:22.757Z] 93b9cdb0e59b: Pulling fs layer [2021-04-16T14:02:22.757Z] 5e14af77c1be: Pulling fs layer [2021-04-16T14:02:22.757Z] 01666e4c0597: Pulling fs layer [2021-04-16T14:02:22.757Z] aa168da1d23b: Pulling fs layer [2021-04-16T14:02:22.757Z] 93b9cdb0e59b: Waiting [2021-04-16T14:02:22.757Z] 5e14af77c1be: Waiting [2021-04-16T14:02:22.757Z] 01666e4c0597: Waiting [2021-04-16T14:02:22.757Z] aa168da1d23b: Waiting [2021-04-16T14:02:22.757Z] 46f8f816bc3b: Waiting [2021-04-16T14:02:22.757Z] 93b61091891f: Waiting [2021-04-16T14:02:23.023Z] 36b3adc4ff6f: Verifying Checksum [2021-04-16T14:02:23.023Z] 36b3adc4ff6f: Download complete [2021-04-16T14:02:23.023Z] 46f8f816bc3b: Download complete [2021-04-16T14:02:23.023Z] df20fa9351a1: Verifying Checksum [2021-04-16T14:02:23.023Z] df20fa9351a1: Download complete [2021-04-16T14:02:23.023Z] 93b9cdb0e59b: Verifying Checksum [2021-04-16T14:02:23.023Z] 93b9cdb0e59b: Download complete [2021-04-16T14:02:23.023Z] 5e14af77c1be: Verifying Checksum [2021-04-16T14:02:23.023Z] 5e14af77c1be: Download complete [2021-04-16T14:02:23.023Z] 93b61091891f: Verifying Checksum [2021-04-16T14:02:23.023Z] 93b61091891f: Download complete [2021-04-16T14:02:23.023Z] 01666e4c0597: Verifying Checksum [2021-04-16T14:02:23.023Z] 01666e4c0597: Download complete [2021-04-16T14:02:23.023Z] 8ad3a11d3b57: Verifying Checksum [2021-04-16T14:02:23.023Z] 8ad3a11d3b57: Download complete [2021-04-16T14:02:23.290Z] df20fa9351a1: Pull complete [2021-04-16T14:02:23.563Z] 36b3adc4ff6f: Pull complete [2021-04-16T14:02:24.530Z] 8ad3a11d3b57: Pull complete [2021-04-16T14:02:24.794Z] 46f8f816bc3b: Pull complete [2021-04-16T14:02:25.057Z] aa168da1d23b: Verifying Checksum [2021-04-16T14:02:25.057Z] aa168da1d23b: Download complete [2021-04-16T14:02:25.319Z] 93b61091891f: Pull complete [2021-04-16T14:02:25.319Z] 93b9cdb0e59b: Pull complete [2021-04-16T14:02:25.581Z] 5e14af77c1be: Pull complete [2021-04-16T14:02:25.581Z] 01666e4c0597: Pull complete [2021-04-16T14:02:33.768Z] aa168da1d23b: Pull complete [2021-04-16T14:02:33.768Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-16T14:02:33.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T14:02:33.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-16T14:02:33.959Z] prd-centos7-docker-4c-2g-484 does not seem to be running inside a container [2021-04-16T14:02:34.019Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-16T14:02:37.872Z] $ docker top 4788a0c30bb5368a424afadfd323a6f500079b403e58c84eaf3eb4fb60bcbf60 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T14:02:38.399Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-16T14:02:38.704Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-16T14:02:39.004Z] + ls /var/log/sa-host [2021-04-16T14:02:39.004Z] + sadf -c /var/log/sa-host/sa16 [2021-04-16T14:02:39.004Z] file_magic: OK [2021-04-16T14:02:39.004Z] HZ: Using current value: 100 [2021-04-16T14:02:39.004Z] file_header: OK [2021-04-16T14:02:39.004Z] 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-04-16T14:02:39.004Z] Statistics: [2021-04-16T14:02:39.004Z] 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-04-16T14:02:39.004Z] File successfully converted to sysstat format version 12.2.1 [2021-04-16T14:02:39.004Z] + sadf -c /var/log/sa-host/sa23 [2021-04-16T14:02:39.004Z] file_magic: OK [2021-04-16T14:02:39.004Z] HZ: Using current value: 100 [2021-04-16T14:02:39.004Z] file_header: OK [2021-04-16T14:02:39.004Z] 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-04-16T14:02:39.004Z] Statistics: [2021-04-16T14:02:39.004Z] Hnuu...uuuununununu... [2021-04-16T14:02:39.004Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-16T14:02:39.194Z] provisioning config files... [2021-04-16T14:02:39.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/3@tmp/config4684792390182647897tmp [Pipeline] { [Pipeline] echo [2021-04-16T14:02:39.254Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T14:02:39.557Z] ---> create-netrc.sh [Pipeline] } [2021-04-16T14:02:39.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-16T14:02:39.595Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T14:02:39.891Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-16T14:02:39.905Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T14:02:40.210Z] ---> sudo-logs.sh [2021-04-16T14:02:40.210Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-16T14:02:40.283Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T14:02:40.580Z] ---> job-cost.sh [2021-04-16T14:02:40.580Z] lf-activate-venv: SKIPPING [2021-04-16T14:02:40.580Z] DEBUG: total: 0.20999999344348907 [2021-04-16T14:02:40.580Z] INFO: Retrieving Stack Cost... [2021-04-16T14:02:41.528Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T14:02:42.104Z] INFO: Archiving Costs [Pipeline] echo [2021-04-16T14:02:42.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T14:02:42.460Z] ---> logs-deploy.sh [2021-04-16T14:02:42.460Z] lf-activate-venv: SKIPPING [2021-04-16T14:02:42.460Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3374/3 [2021-04-16T14:02:42.460Z] INFO: archiving workspace using pattern(s): [2021-04-16T14:02:43.928Z] Archives upload complete. [2021-04-16T14:02:43.928Z] INFO: archiving logs to Nexus