Pull request #3356 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 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 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 ‘prd-centos7-docker-4c-2g-457’ Running on prd-centos7-docker-4c-2g-460 in /w/workspace/edgexfoundry_edgex-go_PR-3356 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/12 [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/12 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3356/head:refs/remotes/origin/PR-3356 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c419618f783e51adc3e0be9d68d8defacfb69d2d into PR head commit 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 Merge succeeded, producing 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 Checking out Revision 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 (PR-3356) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 # 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 c419618f783e51adc3e0be9d68d8defacfb69d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 # timeout=10 Commit message: "feat: Add unit test for scheduler manager" First time build. Skipping changelog. > git rev-list --no-walk 4a95dbf5210281006b266969dfbb87fb04fc10ee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-16T08:47:44.604Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-16T08:47:44.682Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-16T08:47:44.707Z] ========================================================= [2021-04-16T08:47:44.707Z] EdgeX Global Pipelines Version Info [2021-04-16T08:47:44.707Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:47:46.279Z] ------------------- [2021-04-16T08:47:46.279Z] stable info: [2021-04-16T08:47:46.279Z] ------------------- [2021-04-16T08:47:46.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-16T08:47:46.279Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-16T08:47:46.279Z] Message: update stable to v1.0.186 [2021-04-16T08:47:47.231Z] ------------------- [2021-04-16T08:47:47.231Z] experimental info: [2021-04-16T08:47:47.231Z] ------------------- [2021-04-16T08:47:47.231Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-16T08:47:47.231Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-16T08:47:47.231Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-16T08:47:47.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-04-16T08:47:47.369Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-04-16T08:47:47.391Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-16T08:47:47.412Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-16T08:47:47.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-16T08:47:47.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-16T08:47:47.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-16T08:47:47.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-04-16T08:47:47.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-04-16T08:47:47.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-04-16T08:47:47.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-16T08:47:47.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-16T08:47:47.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-16T08:47:47.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-16T08:47:47.697Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T08:47:47.717Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T08:47:47.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-16T08:47:47.759Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-16T08:47:47.798Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-16T08:47:47.830Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-16T08:47:47.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-16T08:47:47.872Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-16T08:47:47.892Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3356 [Pipeline] echo [2021-04-16T08:47:47.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3356 [Pipeline] echo [2021-04-16T08:47:47.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3356 [Pipeline] echo [2021-04-16T08:47:47.984Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 [Pipeline] echo [2021-04-16T08:47:48.005Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f7afae [Pipeline] echo [2021-04-16T08:47:48.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T08:47:48.105Z] provisioning config files... [2021-04-16T08:47:48.139Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/12@tmp/config2195736359973910495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:47:48.471Z] ---> docker-login.sh [2021-04-16T08:47:48.471Z] nexus3.edgexfoundry.org:10001 [2021-04-16T08:47:48.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:48.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:48.737Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:48.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:48.737Z] [2021-04-16T08:47:48.737Z] Login Succeeded [2021-04-16T08:47:48.737Z] nexus3.edgexfoundry.org:10002 [2021-04-16T08:47:49.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:49.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:49.000Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:49.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:49.000Z] [2021-04-16T08:47:49.000Z] Login Succeeded [2021-04-16T08:47:49.000Z] nexus3.edgexfoundry.org:10003 [2021-04-16T08:47:49.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:49.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:49.263Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:49.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:49.263Z] [2021-04-16T08:47:49.263Z] Login Succeeded [2021-04-16T08:47:49.263Z] nexus3.edgexfoundry.org:10004 [2021-04-16T08:47:49.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:49.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:49.786Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:49.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:49.786Z] [2021-04-16T08:47:49.786Z] Login Succeeded [2021-04-16T08:47:49.786Z] docker.io [2021-04-16T08:47:49.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:50.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:50.048Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:50.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:50.048Z] [2021-04-16T08:47:50.048Z] Login Succeeded [2021-04-16T08:47:50.048Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T08:47:50.057Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T08:47:50.395Z] ++ 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-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/core-command/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo core-command,cmd/core-command/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/core-data/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo core-data,cmd/core-data/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/core-metadata/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/support-notifications/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-04-16T08:47:50.395Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.395Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-04-16T08:47:50.395Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-16T08:47:50.395Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-04-16T08:47:50.396Z] ++ cut -d/ -f2 [2021-04-16T08:47:50.396Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-04-16T08:47:50.472Z] 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-16T08:47:51.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T08:47:51.123Z] [2021-04-16T08:47:51.123Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:47:51.434Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T08:47:51.435Z] latest: Pulling from edgex-devops/git-semver [2021-04-16T08:47:51.435Z] 31603596830f: Pulling fs layer [2021-04-16T08:47:51.435Z] 2a8b12db71e7: Pulling fs layer [2021-04-16T08:47:51.435Z] 6ca5941a6612: Pulling fs layer [2021-04-16T08:47:51.435Z] ecc8261a40a4: Pulling fs layer [2021-04-16T08:47:51.435Z] ecc8261a40a4: Waiting [2021-04-16T08:47:51.435Z] 2a8b12db71e7: Verifying Checksum [2021-04-16T08:47:51.435Z] 2a8b12db71e7: Download complete [2021-04-16T08:47:51.699Z] 31603596830f: Download complete [2021-04-16T08:47:51.699Z] 6ca5941a6612: Verifying Checksum [2021-04-16T08:47:51.699Z] 6ca5941a6612: Download complete [2021-04-16T08:47:51.962Z] ecc8261a40a4: Verifying Checksum [2021-04-16T08:47:51.963Z] ecc8261a40a4: Download complete [2021-04-16T08:47:51.963Z] 31603596830f: Pull complete [2021-04-16T08:47:51.963Z] 2a8b12db71e7: Pull complete [2021-04-16T08:47:52.914Z] 6ca5941a6612: Pull complete [2021-04-16T08:47:53.176Z] ecc8261a40a4: Pull complete [2021-04-16T08:47:53.176Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-16T08:47:53.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T08:47:53.176Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-16T08:47:53.302Z] prd-centos7-docker-4c-2g-460 does not seem to be running inside a container [2021-04-16T08:47:53.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/12 -v /w/workspace/edgex-go/12:/w/workspace/edgex-go/12:rw,z -v /w/workspace/edgex-go/12@tmp:/w/workspace/edgex-go/12@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-16T08:47:55.709Z] $ docker top 08e3fa51cdc4c907c46ded7e69a6974689a3957c2e115b925247e09144581ccc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-16T08:47:55.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T08:47:55.870Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T08:47:56.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T08:47:56.087Z] $ docker exec 08e3fa51cdc4c907c46ded7e69a6974689a3957c2e115b925247e09144581ccc ssh-agent [2021-04-16T08:47:56.270Z] SSH_AUTH_SOCK=/tmp/ssh-I3o4FMdFaVKk/agent.13 [2021-04-16T08:47:56.270Z] SSH_AGENT_PID=18 [2021-04-16T08:47:56.279Z] Running ssh-add (command line suppressed) [2021-04-16T08:47:56.409Z] Identity added: /w/workspace/edgex-go/12@tmp/private_key_3819470474429879356.key (/w/workspace/edgex-go/12@tmp/private_key_3819470474429879356.key) [2021-04-16T08:47:56.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T08:47:56.778Z] + git tag --points-at HEAD [Pipeline] } [2021-04-16T08:47:56.800Z] $ docker exec --env ******** --env ******** 08e3fa51cdc4c907c46ded7e69a6974689a3957c2e115b925247e09144581ccc ssh-agent -k [2021-04-16T08:47:56.918Z] unset SSH_AUTH_SOCK; [2021-04-16T08:47:56.919Z] unset SSH_AGENT_PID; [2021-04-16T08:47:56.919Z] echo Agent pid 18 killed; [2021-04-16T08:47:56.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-16T08:47:57.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T08:47:57.008Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T08:47:57.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T08:47:57.178Z] $ docker exec 08e3fa51cdc4c907c46ded7e69a6974689a3957c2e115b925247e09144581ccc ssh-agent [2021-04-16T08:47:57.340Z] SSH_AUTH_SOCK=/tmp/ssh-zGE66fNfST5T/agent.49 [2021-04-16T08:47:57.340Z] SSH_AGENT_PID=54 [2021-04-16T08:47:57.346Z] Running ssh-add (command line suppressed) [2021-04-16T08:47:57.474Z] Identity added: /w/workspace/edgex-go/12@tmp/private_key_5289838097455609875.key (/w/workspace/edgex-go/12@tmp/private_key_5289838097455609875.key) [2021-04-16T08:47:57.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T08:47:57.822Z] + git semver init [2021-04-16T08:47:57.822Z] # -> Open(): unable to determine branch for HEAD [2021-04-16T08:47:57.822Z] # $GIT_DIR = /w/workspace/edgex-go/12/.git [2021-04-16T08:47:57.822Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/12 [2021-04-16T08:47:57.822Z] # $SEMVER_REMOTE_NAME = origin [2021-04-16T08:47:57.822Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-16T08:47:57.822Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-16T08:47:57.822Z] # $SEMVER_BRANCH = PR-3356 [2021-04-16T08:47:57.822Z] # $SEMVER_TEMP = /tmp/semver-190380603 [2021-04-16T08:47:57.822Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-04-16T08:48:19.835Z] # '/tmp/semver-190380603' -> '/w/workspace/edgex-go/12/.semver' [2021-04-16T08:48:19.835Z] # -> Force: false [2021-04-16T08:48:19.835Z] # $SEMVER_DIR = /w/workspace/edgex-go/12/.semver [Pipeline] } [2021-04-16T08:48:19.852Z] $ docker exec --env ******** --env ******** 08e3fa51cdc4c907c46ded7e69a6974689a3957c2e115b925247e09144581ccc ssh-agent -k [2021-04-16T08:48:20.100Z] unset SSH_AUTH_SOCK; [2021-04-16T08:48:20.100Z] unset SSH_AGENT_PID; [2021-04-16T08:48:20.100Z] echo Agent pid 54 killed; [2021-04-16T08:48:20.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T08:48:20.504Z] + git semver [Pipeline] } [2021-04-16T08:48:20.524Z] $ docker stop --time=1 08e3fa51cdc4c907c46ded7e69a6974689a3957c2e115b925247e09144581ccc [2021-04-16T08:48:22.082Z] $ docker rm -f 08e3fa51cdc4c907c46ded7e69a6974689a3957c2e115b925247e09144581ccc [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T08:48:22.540Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-16T08:48:22.965Z] Stashed 1 file(s) [Pipeline] echo [2021-04-16T08:48:22.968Z] [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-16T08:48:23.498Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:48:23.800Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:48:24.098Z] + sudo service docker restart [2021-04-16T08:48:24.098Z] + true [2021-04-16T08:48:24.098Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-04-16T08:48:24.775Z] ========================================================= [2021-04-16T08:48:24.775Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-16T08:48:24.775Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:48:25.107Z] + 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-16T08:48:28.459Z] Sending build context to Docker daemon 329.5MB [2021-04-16T08:48:28.459Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T08:48:28.459Z] Step 2/6 : FROM ${BASE} [2021-04-16T08:48:28.733Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-16T08:48:28.733Z] 188c0c94c7c5: Pulling fs layer [2021-04-16T08:48:28.733Z] 0ef7d3d256c8: Pulling fs layer [2021-04-16T08:48:28.733Z] de9db76c5a1d: Pulling fs layer [2021-04-16T08:48:28.733Z] bca2f99d35d6: Pulling fs layer [2021-04-16T08:48:28.733Z] 93359f2a8cfa: Pulling fs layer [2021-04-16T08:48:28.733Z] 7c6f9722023f: Pulling fs layer [2021-04-16T08:48:28.733Z] a35cf1a2eb13: Pulling fs layer [2021-04-16T08:48:28.733Z] 7c6f9722023f: Waiting [2021-04-16T08:48:28.733Z] bca2f99d35d6: Waiting [2021-04-16T08:48:28.733Z] 93359f2a8cfa: Waiting [2021-04-16T08:48:28.733Z] a35cf1a2eb13: Waiting [2021-04-16T08:48:28.733Z] de9db76c5a1d: Verifying Checksum [2021-04-16T08:48:28.733Z] de9db76c5a1d: Download complete [2021-04-16T08:48:28.733Z] 0ef7d3d256c8: Verifying Checksum [2021-04-16T08:48:28.733Z] 0ef7d3d256c8: Download complete [2021-04-16T08:48:28.733Z] 93359f2a8cfa: Download complete [2021-04-16T08:48:28.733Z] 188c0c94c7c5: Verifying Checksum [2021-04-16T08:48:28.733Z] 188c0c94c7c5: Download complete [2021-04-16T08:48:28.733Z] 7c6f9722023f: Verifying Checksum [2021-04-16T08:48:28.733Z] 7c6f9722023f: Download complete [2021-04-16T08:48:29.320Z] 188c0c94c7c5: Pull complete [2021-04-16T08:48:29.589Z] 0ef7d3d256c8: Pull complete [2021-04-16T08:48:29.589Z] de9db76c5a1d: Pull complete [2021-04-16T08:48:30.987Z] a35cf1a2eb13: Verifying Checksum [2021-04-16T08:48:30.987Z] a35cf1a2eb13: Download complete [2021-04-16T08:48:31.257Z] bca2f99d35d6: Verifying Checksum [2021-04-16T08:48:31.257Z] bca2f99d35d6: Download complete [2021-04-16T08:48:37.877Z] bca2f99d35d6: Pull complete [2021-04-16T08:48:37.877Z] 93359f2a8cfa: Pull complete [2021-04-16T08:48:37.877Z] 7c6f9722023f: Pull complete [2021-04-16T08:48:38.135Z] Still waiting to schedule task [2021-04-16T08:48:38.135Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-458’ [2021-04-16T08:48:42.115Z] a35cf1a2eb13: Pull complete [2021-04-16T08:48:42.115Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-16T08:48:42.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-16T08:48:42.115Z] ---> a62c8e92a672 [2021-04-16T08:48:42.115Z] 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-16T08:48:42.115Z] ---> Running in 7561b0f6da1b [2021-04-16T08:48:42.698Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T08:48:43.276Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T08:48:43.539Z] (1/12) Installing libmagic (5.38-r0) [2021-04-16T08:48:44.115Z] (2/12) Installing file (5.38-r0) [2021-04-16T08:48:44.378Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-16T08:48:44.378Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-16T08:48:56.634Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-16T08:48:56.634Z] (6/12) Installing patch (2.7.6-r6) [2021-04-16T08:48:56.634Z] (7/12) Installing build-base (0.5-r2) [2021-04-16T08:48:56.634Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-16T08:48:56.634Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-16T08:48:56.634Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-16T08:48:56.634Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-16T08:48:56.634Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-16T08:48:56.634Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T08:48:56.634Z] OK: 233 MiB in 51 packages [2021-04-16T08:48:59.208Z] Removing intermediate container 7561b0f6da1b [2021-04-16T08:48:59.208Z] ---> 077a0f89a7cc [2021-04-16T08:48:59.208Z] Step 4/6 : WORKDIR /edgex-go [2021-04-16T08:48:59.208Z] ---> Running in d0ae0ef65f50 [2021-04-16T08:48:59.208Z] Removing intermediate container d0ae0ef65f50 [2021-04-16T08:48:59.208Z] ---> aa0bd25d64d5 [2021-04-16T08:48:59.208Z] Step 5/6 : COPY go.mod . [2021-04-16T08:48:59.470Z] ---> 6b33e5ec1ab0 [2021-04-16T08:48:59.470Z] Step 6/6 : RUN go mod download [2021-04-16T08:48:59.735Z] ---> Running in fef94605aadc [2021-04-16T08:49:21.760Z] Removing intermediate container fef94605aadc [2021-04-16T08:49:21.760Z] ---> 4ec2e733604d [2021-04-16T08:49:21.760Z] Successfully built 4ec2e733604d [2021-04-16T08:49:21.760Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:49:22.077Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T08:49:22.077Z] . [Pipeline] withDockerContainer [2021-04-16T08:49:22.191Z] prd-centos7-docker-4c-2g-460 does not seem to be running inside a container [2021-04-16T08:49:22.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/12 -v /w/workspace/edgex-go/12:/w/workspace/edgex-go/12:rw,z -v /w/workspace/edgex-go/12@tmp:/w/workspace/edgex-go/12@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 ******** -e ******** ci-base-image-x86_64 cat [2021-04-16T08:49:23.647Z] $ docker top 767dc8dfd056fcb0c4a3af60bd741a859d7a273726e855f4c261ff3f4015bdf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T08:49:24.121Z] + go version [2021-04-16T08:49:24.122Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-16T08:49:24.141Z] $ docker stop --time=1 767dc8dfd056fcb0c4a3af60bd741a859d7a273726e855f4c261ff3f4015bdf7 [2021-04-16T08:49:25.512Z] $ docker rm -f 767dc8dfd056fcb0c4a3af60bd741a859d7a273726e855f4c261ff3f4015bdf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:49:26.021Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T08:49:26.021Z] . [Pipeline] withDockerContainer [2021-04-16T08:49:26.120Z] prd-centos7-docker-4c-2g-460 does not seem to be running inside a container [2021-04-16T08:49:26.171Z] $ 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/12 -v /w/workspace/edgex-go/12:/w/workspace/edgex-go/12:rw,z -v /w/workspace/edgex-go/12@tmp:/w/workspace/edgex-go/12@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 ******** -e ******** ci-base-image-x86_64 cat [2021-04-16T08:49:27.009Z] $ docker top e16cff21a73820d4eb911b22d96ebf528e8c0f0ebc491a27784c0a2cf5a3f1e6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-16T08:49:27.137Z] ========================================================= [2021-04-16T08:49:27.137Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-16T08:49:27.137Z] ========================================================= [Pipeline] sh [2021-04-16T08:49:27.434Z] + make test [2021-04-16T08:49:27.434Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T08:49:37.500Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-16T08:49:48.100Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-04-16T08:49:48.100Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-04-16T08:49:48.100Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-04-16T08:49:48.100Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-04-16T08:49:48.101Z] internal/pkg/v2/utils/restaddress.go:83:18: undefined: clients.ContentLength [2021-04-16T08:50:03.124Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-04-16T08:50:04.533Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.062s coverage: 19.8% of statements [2021-04-16T08:50:04.533Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-04-16T08:50:04.533Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-04-16T08:50:04.813Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.072s coverage: 100.0% of statements [2021-04-16T08:50:04.813Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.055s coverage: 100.0% of statements [2021-04-16T08:50:04.813Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-04-16T08:50:04.813Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-04-16T08:50:05.419Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.065s coverage: 78.9% of statements [2021-04-16T08:50:05.419Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-04-16T08:50:06.015Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.079s coverage: 100.0% of statements [2021-04-16T08:50:06.015Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.054s coverage: 100.0% of statements [2021-04-16T08:50:07.009Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.146s coverage: 86.7% of statements [2021-04-16T08:50:07.605Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.137s coverage: 97.5% of statements [2021-04-16T08:50:07.605Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.083s coverage: 78.3% of statements [2021-04-16T08:50:07.605Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-04-16T08:50:07.605Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.060s coverage: 58.8% of statements [2021-04-16T08:50:07.605Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-04-16T08:50:08.206Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.060s coverage: 47.1% of statements [2021-04-16T08:50:08.206Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.074s coverage: 79.5% of statements [2021-04-16T08:50:08.482Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.074s coverage: 94.1% of statements [2021-04-16T08:50:09.073Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.096s coverage: 96.3% of statements [2021-04-16T08:50:09.073Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.066s coverage: 87.5% of statements [2021-04-16T08:50:21.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.066s coverage: 94.4% of statements [2021-04-16T08:50:21.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.051s coverage: 44.8% of statements [2021-04-16T08:50:23.910Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.219s coverage: 81.9% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.084s coverage: 92.9% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.029s coverage: 77.8% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.047s coverage: 87.2% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 75.5% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.067s coverage: 80.8% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.101s coverage: 87.2% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.074s coverage: 84.6% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.110s coverage: 91.6% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.202s coverage: 64.4% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.047s coverage: 91.3% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.035s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.036s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.323s coverage: 69.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.113s coverage: 38.4% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.044s coverage: 89.5% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.044s coverage: 84.8% of statements [2021-04-16T08:50:33.982Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.051s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.042s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.047s coverage: 10.5% of statements [2021-04-16T08:50:33.982Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-04-16T08:50:33.982Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.074s coverage: 99.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.063s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-04-16T08:50:33.982Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.029s coverage: 0.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.046s coverage: 87.9% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.034s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.054s coverage: 28.1% of statements [2021-04-16T08:50:33.982Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2021-04-16T08:50:33.982Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-04-16T08:50:34.005Z] $ docker stop --time=1 e16cff21a73820d4eb911b22d96ebf528e8c0f0ebc491a27784c0a2cf5a3f1e6 [2021-04-16T08:50:36.428Z] $ docker rm -f e16cff21a73820d4eb911b22d96ebf528e8c0f0ebc491a27784c0a2cf5a3f1e6 [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-16T08:50:37.013Z] Failed in branch amd64 [2021-04-16T08:52:12.434Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-461 in /w/workspace/edgexfoundry_edgex-go_PR-3356 [Pipeline] { [Pipeline] ws [2021-04-16T08:52:12.455Z] Running in /w/workspace/edgex-go/12 [Pipeline] { [Pipeline] checkout [2021-04-16T08:52:18.081Z] using credential edgex-jenkins-ssh [2021-04-16T08:52:18.101Z] Cloning the remote Git repository [2021-04-16T08:52:18.154Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-04-16T08:52:18.274Z] > git init /w/workspace/edgex-go/12 # timeout=10 [2021-04-16T08:52:18.429Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-16T08:52:18.429Z] > git --version # timeout=10 [2021-04-16T08:52:18.484Z] > git --version # 'git version 2.17.1' [2021-04-16T08:52:18.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:52:18.599Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T08:52:34.819Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-16T08:52:34.852Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T08:52:35.909Z] Merging remotes/origin/master commit c419618f783e51adc3e0be9d68d8defacfb69d2d into PR head commit 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 [2021-04-16T08:52:36.352Z] Merge succeeded, producing 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 [2021-04-16T08:52:36.353Z] Checking out Revision 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 (PR-3356) [2021-04-16T08:52:34.876Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-16T08:52:34.917Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-16T08:52:34.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:52:34.930Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3356/head:refs/remotes/origin/PR-3356 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T08:52:35.919Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T08:52:35.941Z] > git checkout -f 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 # timeout=10 [2021-04-16T08:52:36.256Z] > git remote # timeout=10 [2021-04-16T08:52:36.276Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T08:52:36.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:52:36.307Z] > git merge c419618f783e51adc3e0be9d68d8defacfb69d2d # timeout=10 [2021-04-16T08:52:36.329Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T08:52:36.351Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T08:52:36.361Z] > git checkout -f 7f7afaeb25365cec08ac0c892c28647ec1a9ae43 # timeout=10 [2021-04-16T08:52:41.331Z] Commit message: "feat: Add unit test for scheduler manager" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T08:52:42.690Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:52:43.096Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:52:43.435Z] + sudo service docker+ restart [2021-04-16T08:52:43.436Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T08:52:45.453Z] provisioning config files... [2021-04-16T08:52:45.497Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/12@tmp/config3942458330352416446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:52:45.879Z] ---> docker-login.sh [2021-04-16T08:52:45.879Z] nexus3.edgexfoundry.org:10001 [2021-04-16T08:52:46.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:52:47.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:52:47.135Z] Configure a credential helper to remove this warning. See [2021-04-16T08:52:47.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:52:47.135Z] [2021-04-16T08:52:47.135Z] Login Succeeded [2021-04-16T08:52:47.135Z] nexus3.edgexfoundry.org:10002 [2021-04-16T08:52:47.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:52:47.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:52:47.680Z] Configure a credential helper to remove this warning. See [2021-04-16T08:52:47.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:52:47.680Z] [2021-04-16T08:52:47.680Z] Login Succeeded [2021-04-16T08:52:47.680Z] nexus3.edgexfoundry.org:10003 [2021-04-16T08:52:47.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:52:48.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:52:48.227Z] Configure a credential helper to remove this warning. See [2021-04-16T08:52:48.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:52:48.228Z] [2021-04-16T08:52:48.228Z] Login Succeeded [2021-04-16T08:52:48.228Z] nexus3.edgexfoundry.org:10004 [2021-04-16T08:52:48.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:52:48.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:52:48.780Z] Configure a credential helper to remove this warning. See [2021-04-16T08:52:48.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:52:48.780Z] [2021-04-16T08:52:48.780Z] Login Succeeded [2021-04-16T08:52:48.780Z] docker.io [2021-04-16T08:52:49.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:52:49.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:52:49.328Z] Configure a credential helper to remove this warning. See [2021-04-16T08:52:49.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:52:49.328Z] [2021-04-16T08:52:49.328Z] Login Succeeded [2021-04-16T08:52:49.599Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T08:52:49.617Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T08:52:49.951Z] ========================================================= [2021-04-16T08:52:49.951Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-16T08:52:49.951Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:52:50.302Z] + 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-16T08:52:52.923Z] Sending build context to Docker daemon 167.4MB [2021-04-16T08:52:52.923Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T08:52:52.923Z] Step 2/6 : FROM ${BASE} [2021-04-16T08:52:52.923Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-16T08:52:52.923Z] 5f621e34cdf4: Pulling fs layer [2021-04-16T08:52:52.923Z] a4357932f1b6: Pulling fs layer [2021-04-16T08:52:52.923Z] 18c013af1878: Pulling fs layer [2021-04-16T08:52:52.923Z] 00ac8860ef70: Pulling fs layer [2021-04-16T08:52:52.923Z] 63d7cb157983: Pulling fs layer [2021-04-16T08:52:52.923Z] b116817d02f9: Pulling fs layer [2021-04-16T08:52:52.923Z] 745a02a5169b: Pulling fs layer [2021-04-16T08:52:52.923Z] 63d7cb157983: Waiting [2021-04-16T08:52:52.923Z] 745a02a5169b: Waiting [2021-04-16T08:52:52.923Z] 00ac8860ef70: Waiting [2021-04-16T08:52:52.923Z] b116817d02f9: Waiting [2021-04-16T08:52:52.923Z] 18c013af1878: Verifying Checksum [2021-04-16T08:52:52.923Z] 18c013af1878: Download complete [2021-04-16T08:52:52.923Z] a4357932f1b6: Verifying Checksum [2021-04-16T08:52:52.923Z] a4357932f1b6: Download complete [2021-04-16T08:52:52.923Z] 63d7cb157983: Verifying Checksum [2021-04-16T08:52:52.923Z] 63d7cb157983: Download complete [2021-04-16T08:52:52.923Z] 5f621e34cdf4: Download complete [2021-04-16T08:52:52.923Z] b116817d02f9: Verifying Checksum [2021-04-16T08:52:52.923Z] b116817d02f9: Download complete [2021-04-16T08:52:53.521Z] 5f621e34cdf4: Pull complete [2021-04-16T08:52:54.115Z] a4357932f1b6: Pull complete [2021-04-16T08:52:54.390Z] 18c013af1878: Pull complete [2021-04-16T08:52:55.369Z] 745a02a5169b: Verifying Checksum [2021-04-16T08:52:55.369Z] 745a02a5169b: Download complete [2021-04-16T08:52:56.350Z] 00ac8860ef70: Verifying Checksum [2021-04-16T08:52:56.350Z] 00ac8860ef70: Download complete [2021-04-16T08:53:06.534Z] 00ac8860ef70: Pull complete [2021-04-16T08:53:06.811Z] 63d7cb157983: Pull complete [2021-04-16T08:53:07.085Z] b116817d02f9: Pull complete [2021-04-16T08:53:11.399Z] 745a02a5169b: Pull complete [2021-04-16T08:53:11.399Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-16T08:53:11.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-16T08:53:11.399Z] ---> b7e6874047d6 [2021-04-16T08:53:11.399Z] 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-16T08:53:14.821Z] ---> Running in ac23e41046a8 [2021-04-16T08:53:15.804Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T08:53:16.401Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T08:53:16.997Z] (1/12) Installing libmagic (5.38-r0) [2021-04-16T08:53:17.270Z] (2/12) Installing file (5.38-r0) [2021-04-16T08:53:17.544Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-16T08:53:17.544Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-16T08:53:21.845Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-16T08:53:21.845Z] (6/12) Installing patch (2.7.6-r6) [2021-04-16T08:53:21.845Z] (7/12) Installing build-base (0.5-r2) [2021-04-16T08:53:21.845Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-16T08:53:21.845Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-16T08:53:21.845Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-16T08:53:21.845Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-16T08:53:22.118Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-16T08:53:22.118Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T08:53:22.118Z] OK: 217 MiB in 51 packages [2021-04-16T08:53:26.443Z] Removing intermediate container ac23e41046a8 [2021-04-16T08:53:26.443Z] ---> bc17f6ee21fd [2021-04-16T08:53:26.443Z] Step 4/6 : WORKDIR /edgex-go [2021-04-16T08:53:26.443Z] ---> Running in 9a3d3b48de03 [2021-04-16T08:53:26.725Z] Removing intermediate container 9a3d3b48de03 [2021-04-16T08:53:26.725Z] ---> 7b9a03ea77be [2021-04-16T08:53:26.725Z] Step 5/6 : COPY go.mod . [2021-04-16T08:53:27.707Z] ---> e161d0e9fd7d [2021-04-16T08:53:27.707Z] Step 6/6 : RUN go mod download [2021-04-16T08:53:27.707Z] ---> Running in 767e208ab070 [2021-04-16T08:53:54.515Z] Removing intermediate container 767e208ab070 [2021-04-16T08:53:54.515Z] ---> 9b6b22fe5f71 [2021-04-16T08:53:54.515Z] Successfully built 9b6b22fe5f71 [2021-04-16T08:53:54.515Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:53:54.860Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T08:53:54.860Z] . [Pipeline] withDockerContainer [2021-04-16T08:53:55.129Z] prd-ubuntu18.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2021-04-16T08:53:55.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/12 -v /w/workspace/edgex-go/12:/w/workspace/edgex-go/12:rw,z -v /w/workspace/edgex-go/12@tmp:/w/workspace/edgex-go/12@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-16T08:53:56.709Z] $ docker top 048d882b2cd6e6c475bc79d8c585f96089559666bb6089a82725b51ef1fb531b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T08:53:57.698Z] + go version [2021-04-16T08:53:57.698Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-16T08:53:57.692Z] $ docker stop --time=1 048d882b2cd6e6c475bc79d8c585f96089559666bb6089a82725b51ef1fb531b [2021-04-16T08:53:59.667Z] $ docker rm -f 048d882b2cd6e6c475bc79d8c585f96089559666bb6089a82725b51ef1fb531b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:54:00.371Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T08:54:00.372Z] . [Pipeline] withDockerContainer [2021-04-16T08:54:00.630Z] prd-ubuntu18.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2021-04-16T08:54:00.679Z] $ 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/12 -v /w/workspace/edgex-go/12:/w/workspace/edgex-go/12:rw,z -v /w/workspace/edgex-go/12@tmp:/w/workspace/edgex-go/12@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-16T08:54:02.093Z] $ docker top bec74712ee2f4489df7794d0190399e1ea7a55d44c77f4d9dacaf7c3987eb8b3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-16T08:54:02.435Z] ========================================================= [2021-04-16T08:54:02.435Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-16T08:54:02.435Z] ========================================================= [Pipeline] sh [2021-04-16T08:54:03.085Z] + make test [2021-04-16T08:54:03.086Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T08:54:25.273Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-16T08:54:57.666Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-04-16T08:54:57.666Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-04-16T08:54:57.666Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-04-16T08:54:57.666Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-04-16T08:54:57.666Z] internal/pkg/v2/utils/restaddress.go:83:18: undefined: clients.ContentLength [2021-04-16T08:55:37.177Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-04-16T08:55:38.635Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.129s coverage: 19.8% of statements [2021-04-16T08:55:38.635Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-04-16T08:55:38.635Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-04-16T08:55:40.105Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.124s coverage: 100.0% of statements [2021-04-16T08:55:40.384Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.171s coverage: 100.0% of statements [2021-04-16T08:55:40.384Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-04-16T08:55:40.384Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-04-16T08:55:41.836Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.155s coverage: 78.9% of statements [2021-04-16T08:55:41.836Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-04-16T08:55:45.234Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.303s coverage: 100.0% of statements [2021-04-16T08:55:45.234Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.135s coverage: 100.0% of statements [2021-04-16T08:55:47.858Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.396s coverage: 86.7% of statements [2021-04-16T08:55:47.858Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.374s coverage: 97.5% of statements [2021-04-16T08:55:48.135Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.204s coverage: 78.3% of statements [2021-04-16T08:55:48.135Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-04-16T08:55:49.129Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.110s coverage: 58.8% of statements [2021-04-16T08:55:49.129Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-04-16T08:55:51.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.138s coverage: 47.1% of statements [2021-04-16T08:55:51.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.165s coverage: 79.5% of statements [2021-04-16T08:55:51.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.122s coverage: 94.1% of statements [2021-04-16T08:55:52.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.163s coverage: 96.3% of statements [2021-04-16T08:55:54.669Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.207s coverage: 87.5% of statements [2021-04-16T08:56:07.077Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.146s coverage: 94.4% of statements [2021-04-16T08:56:07.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.161s coverage: 44.8% of statements [2021-04-16T08:56:12.505Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.520s coverage: 81.9% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.200s coverage: 92.9% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 77.8% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.073s coverage: 87.2% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.160s coverage: 75.5% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.133s coverage: 80.8% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.194s coverage: 87.2% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.208s coverage: 84.6% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.262s coverage: 91.6% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.638s coverage: 64.4% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.132s coverage: 100.0% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.080s coverage: 91.3% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.070s coverage: 100.0% of statements [2021-04-16T08:56:22.730Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.061s coverage: 73.7% of statements [2021-04-16T08:56:23.712Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.088s coverage: 100.0% of statements [2021-04-16T08:56:27.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.866s coverage: 69.0% of statements [2021-04-16T08:56:27.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.521s coverage: 38.4% of statements [2021-04-16T08:56:27.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.104s coverage: 89.5% of statements [2021-04-16T08:56:27.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.098s coverage: 84.8% of statements [2021-04-16T08:56:27.728Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-04-16T08:56:30.355Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.164s coverage: 100.0% of statements [2021-04-16T08:56:31.337Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.112s coverage: 100.0% of statements [2021-04-16T08:56:31.938Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.188s coverage: 10.5% of statements [2021-04-16T08:56:31.939Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-04-16T08:56:31.939Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-04-16T08:56:34.565Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.161s coverage: 99.0% of statements [2021-04-16T08:56:34.565Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.147s coverage: 100.0% of statements [2021-04-16T08:56:34.565Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-04-16T08:56:34.565Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-04-16T08:56:34.565Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.058s coverage: 0.0% of statements [2021-04-16T08:56:34.839Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.096s coverage: 100.0% of statements [2021-04-16T08:56:35.452Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.102s coverage: 87.9% of statements [2021-04-16T08:56:37.459Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.062s coverage: 100.0% of statements [2021-04-16T08:56:37.459Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.108s coverage: 28.1% of statements [2021-04-16T08:56:38.054Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.079s coverage: 100.0% of statements [2021-04-16T08:56:39.029Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-04-16T08:56:38.981Z] $ docker stop --time=1 bec74712ee2f4489df7794d0190399e1ea7a55d44c77f4d9dacaf7c3987eb8b3 [2021-04-16T08:56:41.335Z] $ docker rm -f bec74712ee2f4489df7794d0190399e1ea7a55d44c77f4d9dacaf7c3987eb8b3 [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-16T08:56:42.733Z] ---> job-cost.sh [2021-04-16T08:56:42.733Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cMEN [2021-04-16T08:57:21.682Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T08:58:58.426Z] lf-activate-venv(): INFO: Adding /tmp/venv-cMEN/bin to PATH [2021-04-16T08:58:58.426Z] INFO: No Stack... [2021-04-16T08:58:58.426Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-16T08:58:58.426Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T08:58:58.790Z] + + cut -d,cat -f6 [2021-04-16T08:58:58.790Z] /w/workspace/edgex-go/12/archives/cost.csv [Pipeline] lock [2021-04-16T08:58:59.158Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3356-12-stack-cost] [2021-04-16T08:58:59.167Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3356-12-stack-cost] did not exist. Created. [2021-04-16T08:58:59.167Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3356-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T08:58:59.548Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-16T08:59:00.446Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T08:59:00.454Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3356-12-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-16T08:59:00.601Z] 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-16T08:59:01.368Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:59:02.461Z] ---> package-listing.sh [2021-04-16T08:59:02.461Z] ++ facter osfamily [2021-04-16T08:59:02.461Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-16T08:59:02.461Z] + OS_FAMILY=redhat [2021-04-16T08:59:02.461Z] + workspace=/w/workspace/edgex-go/12 [2021-04-16T08:59:02.461Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-16T08:59:02.461Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-16T08:59:02.461Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-16T08:59:02.461Z] + PACKAGES=/tmp/packages_start.txt [2021-04-16T08:59:02.461Z] + '[' /w/workspace/edgex-go/12 ']' [2021-04-16T08:59:02.461Z] + PACKAGES=/tmp/packages_end.txt [2021-04-16T08:59:02.461Z] + case "${OS_FAMILY}" in [2021-04-16T08:59:02.461Z] + rpm -qa [2021-04-16T08:59:02.461Z] + sort [2021-04-16T08:59:07.839Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-16T08:59:07.839Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-16T08:59:07.839Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-16T08:59:07.839Z] + '[' /w/workspace/edgex-go/12 ']' [2021-04-16T08:59:07.839Z] + mkdir -p /w/workspace/edgex-go/12/archives/ [2021-04-16T08:59:07.839Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/12/archives/ [Pipeline] echo [2021-04-16T08:59:07.854Z] 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/12/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-16T08:59:08.152Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:59:08.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T08:59:08.465Z] [2021-04-16T08:59:08.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:59:08.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T08:59:08.785Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-16T08:59:08.785Z] df20fa9351a1: Pulling fs layer [2021-04-16T08:59:08.785Z] 36b3adc4ff6f: Pulling fs layer [2021-04-16T08:59:08.785Z] 8ad3a11d3b57: Pulling fs layer [2021-04-16T08:59:08.785Z] 46f8f816bc3b: Pulling fs layer [2021-04-16T08:59:08.785Z] 93b61091891f: Pulling fs layer [2021-04-16T08:59:08.785Z] 93b9cdb0e59b: Pulling fs layer [2021-04-16T08:59:08.785Z] 5e14af77c1be: Pulling fs layer [2021-04-16T08:59:08.785Z] 01666e4c0597: Pulling fs layer [2021-04-16T08:59:08.785Z] aa168da1d23b: Pulling fs layer [2021-04-16T08:59:08.785Z] 46f8f816bc3b: Waiting [2021-04-16T08:59:08.785Z] 93b61091891f: Waiting [2021-04-16T08:59:08.785Z] 93b9cdb0e59b: Waiting [2021-04-16T08:59:08.785Z] 5e14af77c1be: Waiting [2021-04-16T08:59:08.785Z] 01666e4c0597: Waiting [2021-04-16T08:59:08.785Z] aa168da1d23b: Waiting [2021-04-16T08:59:08.785Z] 36b3adc4ff6f: Download complete [2021-04-16T08:59:09.051Z] 46f8f816bc3b: Verifying Checksum [2021-04-16T08:59:09.051Z] 46f8f816bc3b: Download complete [2021-04-16T08:59:09.051Z] df20fa9351a1: Verifying Checksum [2021-04-16T08:59:09.051Z] df20fa9351a1: Download complete [2021-04-16T08:59:09.051Z] 93b9cdb0e59b: Verifying Checksum [2021-04-16T08:59:09.051Z] 93b9cdb0e59b: Download complete [2021-04-16T08:59:09.051Z] 5e14af77c1be: Verifying Checksum [2021-04-16T08:59:09.051Z] 5e14af77c1be: Download complete [2021-04-16T08:59:09.051Z] 93b61091891f: Verifying Checksum [2021-04-16T08:59:09.051Z] 93b61091891f: Download complete [2021-04-16T08:59:09.051Z] 8ad3a11d3b57: Verifying Checksum [2021-04-16T08:59:09.051Z] 8ad3a11d3b57: Download complete [2021-04-16T08:59:09.051Z] 01666e4c0597: Download complete [2021-04-16T08:59:09.314Z] df20fa9351a1: Pull complete [2021-04-16T08:59:09.585Z] 36b3adc4ff6f: Pull complete [2021-04-16T08:59:10.540Z] 8ad3a11d3b57: Pull complete [2021-04-16T08:59:10.540Z] 46f8f816bc3b: Pull complete [2021-04-16T08:59:11.119Z] 93b61091891f: Pull complete [2021-04-16T08:59:11.119Z] 93b9cdb0e59b: Pull complete [2021-04-16T08:59:11.381Z] aa168da1d23b: Verifying Checksum [2021-04-16T08:59:11.381Z] aa168da1d23b: Download complete [2021-04-16T08:59:11.381Z] 5e14af77c1be: Pull complete [2021-04-16T08:59:11.381Z] 01666e4c0597: Pull complete [2021-04-16T08:59:18.030Z] aa168da1d23b: Pull complete [2021-04-16T08:59:18.293Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-16T08:59:18.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T08:59:18.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-16T08:59:18.487Z] prd-centos7-docker-4c-2g-460 does not seem to be running inside a container [2021-04-16T08:59:18.539Z] $ 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/12/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/12 -v /w/workspace/edgex-go/12:/w/workspace/edgex-go/12:rw,z -v /w/workspace/edgex-go/12@tmp:/w/workspace/edgex-go/12@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-16T08:59:21.994Z] $ docker top 1f2804f0e47b27d3036441203daf363adc1c2a10009ca854b68e3d44f829f283 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T08:59:22.412Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-16T08:59:22.708Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-16T08:59:23.010Z] + ls /var/log/sa-host [2021-04-16T08:59:23.010Z] + sadf -c /var/log/sa-host/sa16 [2021-04-16T08:59:23.010Z] file_magic: OK [2021-04-16T08:59:23.010Z] HZ: Using current value: 100 [2021-04-16T08:59:23.010Z] file_header: OK [2021-04-16T08:59:23.010Z] 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-16T08:59:23.010Z] Statistics: [2021-04-16T08:59:23.010Z] HRHnuu...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-16T08:59:23.010Z] File successfully converted to sysstat format version 12.2.1 [2021-04-16T08:59:23.010Z] + sadf -c /var/log/sa-host/sa23 [2021-04-16T08:59:23.010Z] file_magic: OK [2021-04-16T08:59:23.010Z] HZ: Using current value: 100 [2021-04-16T08:59:23.010Z] file_header: OK [2021-04-16T08:59:23.010Z] 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-16T08:59:23.010Z] Statistics: [2021-04-16T08:59:23.010Z] Hnuu...uuuununununu... [2021-04-16T08:59:23.010Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-16T08:59:23.176Z] provisioning config files... [2021-04-16T08:59:23.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/12@tmp/config4746843318179686493tmp [Pipeline] { [Pipeline] echo [2021-04-16T08:59:23.214Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:59:23.519Z] ---> create-netrc.sh [Pipeline] } [2021-04-16T08:59:23.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-16T08:59:23.552Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:59:23.849Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-16T08:59:23.861Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:59:24.158Z] ---> sudo-logs.sh [2021-04-16T08:59:24.158Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-16T08:59:24.225Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:59:24.523Z] ---> job-cost.sh [2021-04-16T08:59:24.524Z] lf-activate-venv: SKIPPING [2021-04-16T08:59:24.524Z] DEBUG: total: 0.20999999344348907 [2021-04-16T08:59:24.524Z] INFO: Retrieving Stack Cost... [2021-04-16T08:59:25.472Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T08:59:26.047Z] INFO: Archiving Costs [Pipeline] echo [2021-04-16T08:59:26.061Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:59:26.378Z] ---> logs-deploy.sh [2021-04-16T08:59:26.378Z] lf-activate-venv: SKIPPING [2021-04-16T08:59:26.378Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3356/12 [2021-04-16T08:59:26.378Z] INFO: archiving workspace using pattern(s): [2021-04-16T08:59:27.765Z] Archives upload complete. [2021-04-16T08:59:28.027Z] INFO: archiving logs to Nexus [2021-04-16T08:59:28.969Z] ---> uname -a: [2021-04-16T08:59:28.969Z] Linux prd-centos7-docker-4c-2g-460.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] ---> lscpu: [2021-04-16T08:59:28.969Z] Architecture: x86_64 [2021-04-16T08:59:28.969Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-16T08:59:28.969Z] Byte Order: Little Endian [2021-04-16T08:59:28.969Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-16T08:59:28.969Z] CPU(s): 4 [2021-04-16T08:59:28.969Z] On-line CPU(s) list: 0-3 [2021-04-16T08:59:28.969Z] Thread(s) per core: 1 [2021-04-16T08:59:28.969Z] Core(s) per socket: 1 [2021-04-16T08:59:28.969Z] Socket(s): 4 [2021-04-16T08:59:28.969Z] NUMA node(s): 1 [2021-04-16T08:59:28.969Z] Vendor ID: GenuineIntel [2021-04-16T08:59:28.969Z] CPU family: 6 [2021-04-16T08:59:28.969Z] Model: 44 [2021-04-16T08:59:28.969Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-16T08:59:28.969Z] Stepping: 1 [2021-04-16T08:59:28.969Z] CPU MHz: 2933.438 [2021-04-16T08:59:28.969Z] BogoMIPS: 5866.87 [2021-04-16T08:59:28.969Z] Virtualization: VT-x [2021-04-16T08:59:28.969Z] Hypervisor vendor: KVM [2021-04-16T08:59:28.969Z] Virtualization type: full [2021-04-16T08:59:28.969Z] L1d cache: 128 KiB [2021-04-16T08:59:28.969Z] L1i cache: 128 KiB [2021-04-16T08:59:28.969Z] L2 cache: 16 MiB [2021-04-16T08:59:28.969Z] L3 cache: 64 MiB [2021-04-16T08:59:28.969Z] NUMA node0 CPU(s): 0-3 [2021-04-16T08:59:28.969Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-16T08:59:28.969Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-16T08:59:28.969Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-16T08:59:28.969Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-16T08:59:28.969Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-16T08:59:28.969Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-16T08:59:28.969Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-16T08:59:28.969Z] Vulnerability Srbds: Not affected [2021-04-16T08:59:28.969Z] Vulnerability Tsx async abort: Not affected [2021-04-16T08:59:28.969Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] ---> nproc: [2021-04-16T08:59:28.969Z] 4 [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] ---> df -h: [2021-04-16T08:59:28.969Z] Filesystem Size Used Available Use% Mounted on [2021-04-16T08:59:28.969Z] overlay 50.0G 8.2G 41.7G 16% / [2021-04-16T08:59:28.969Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-04-16T08:59:28.969Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-04-16T08:59:28.969Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /facter-os [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /etc/resolv.conf [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /etc/hostname [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /etc/hosts [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/sa-host [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/secure [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/auth.log [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /run/cloud-init/result.json [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /w/workspace/edgex-go/12 [2021-04-16T08:59:28.969Z] /dev/vda1 50.0G 8.2G 41.7G 16% /w/workspace/edgex-go/12@tmp [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] ---> free -m: [2021-04-16T08:59:28.969Z] total used free shared buff/cache available [2021-04-16T08:59:28.969Z] Mem: 1837 770 138 0 928 974 [2021-04-16T08:59:28.969Z] Swap: 1023 3 1020 [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z] ---> ip addr: [2021-04-16T08:59:28.969Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-04-16T08:59:28.969Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-04-16T08:59:28.969Z] inet 127.0.0.1/8 scope host lo [2021-04-16T08:59:28.969Z] valid_lft forever preferred_lft forever [2021-04-16T08:59:28.969Z] inet6 ::1/128 scope host [2021-04-16T08:59:28.969Z] valid_lft forever preferred_lft forever [2021-04-16T08:59:28.969Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-04-16T08:59:28.969Z] link/ether fa:16:3e:c1:71:f5 brd ff:ff:ff:ff:ff:ff [2021-04-16T08:59:28.969Z] inet 10.30.122.52/23 brd 10.30.123.255 scope global dynamic eth0 [2021-04-16T08:59:28.969Z] valid_lft 85655sec preferred_lft 85655sec [2021-04-16T08:59:28.969Z] inet6 fe80::f816:3eff:fec1:71f5/64 scope link [2021-04-16T08:59:28.969Z] valid_lft forever preferred_lft forever [2021-04-16T08:59:28.969Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-04-16T08:59:28.969Z] link/ether 02:42:51:75:a5:e1 brd ff:ff:ff:ff:ff:ff [2021-04-16T08:59:28.969Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-04-16T08:59:28.969Z] valid_lft forever preferred_lft forever [2021-04-16T08:59:28.969Z] inet6 fe80::42:51ff:fe75:a5e1/64 scope link [2021-04-16T08:59:28.969Z] valid_lft forever preferred_lft forever [2021-04-16T08:59:28.969Z] [2021-04-16T08:59:28.969Z]