Pull request #3045 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 FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch master at 2a4efc596d6299a706f2b1b5ea90705279ab33b1 rather than 559437349852cd536165913e20adae43b911e452 Obtained Jenkinsfile from 2a4efc596d6299a706f2b1b5ea90705279ab33b1 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24511 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/9 [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/9 # 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/3045/head:refs/remotes/origin/PR-3045 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2a4efc596d6299a706f2b1b5ea90705279ab33b1 into PR head commit 559437349852cd536165913e20adae43b911e452 Merge succeeded, producing 559437349852cd536165913e20adae43b911e452 Checking out Revision 559437349852cd536165913e20adae43b911e452 (PR-3045) > git config core.sparsecheckout # timeout=10 > git checkout -f 559437349852cd536165913e20adae43b911e452 # 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 2a4efc596d6299a706f2b1b5ea90705279ab33b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 559437349852cd536165913e20adae43b911e452 # timeout=10 Commit message: "feat(notifications): Implement POST /subscription V2 API" First time build. Skipping changelog. > git rev-list --no-walk 64e8f128f597cd30a1470da1e95694f8baa7fd50 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-02T05:18:21.594Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-02T05:18:21.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T05:18:21.946Z] ========================================================= [2021-02-02T05:18:21.946Z] EdgeX Global Pipelines Version Info [2021-02-02T05:18:21.946Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:18:23.492Z] ------------------- [2021-02-02T05:18:23.492Z] stable info: [2021-02-02T05:18:23.492Z] ------------------- [2021-02-02T05:18:23.492Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T05:18:23.492Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T05:18:23.492Z] Message: update stable to v1.0.179 [2021-02-02T05:18:24.437Z] ------------------- [2021-02-02T05:18:24.437Z] experimental info: [2021-02-02T05:18:24.437Z] ------------------- [2021-02-02T05:18:24.437Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T05:18:24.437Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T05:18:24.437Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-02T05:18:24.713Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-02-02T05:18:24.812Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-02-02T05:18:24.935Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-02T05:18:25.033Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-02T05:18:25.151Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-02T05:18:25.240Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-02T05:18:25.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-02T05:18:25.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-02-02T05:18:25.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-02-02T05:18:25.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-02-02T05:18:25.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-02T05:18:25.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-02T05:18:25.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-02T05:18:26.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-02T05:18:26.110Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T05:18:26.197Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T05:18:26.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-02T05:18:26.394Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-02T05:18:26.480Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-02T05:18:26.568Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-02T05:18:26.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-02T05:18:26.748Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-02T05:18:26.834Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-02T05:18:26.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo [2021-02-02T05:18:27.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo [2021-02-02T05:18:27.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo [2021-02-02T05:18:27.178Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 559437349852cd536165913e20adae43b911e452 [Pipeline] echo [2021-02-02T05:18:27.260Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5594373 [Pipeline] echo [2021-02-02T05:18:27.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T05:18:27.508Z] provisioning config files... [2021-02-02T05:18:27.540Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config3901949035116418413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:18:27.891Z] ---> docker-login.sh [2021-02-02T05:18:27.891Z] nexus3.edgexfoundry.org:10001 [2021-02-02T05:18:28.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:18:28.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:18:28.418Z] Configure a credential helper to remove this warning. See [2021-02-02T05:18:28.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:18:28.418Z] [2021-02-02T05:18:28.418Z] Login Succeeded [2021-02-02T05:18:28.418Z] nexus3.edgexfoundry.org:10002 [2021-02-02T05:18:28.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:18:28.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:18:28.687Z] Configure a credential helper to remove this warning. See [2021-02-02T05:18:28.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:18:28.687Z] [2021-02-02T05:18:28.687Z] Login Succeeded [2021-02-02T05:18:28.687Z] nexus3.edgexfoundry.org:10003 [2021-02-02T05:18:28.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:18:28.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:18:28.953Z] Configure a credential helper to remove this warning. See [2021-02-02T05:18:28.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:18:28.953Z] [2021-02-02T05:18:28.953Z] Login Succeeded [2021-02-02T05:18:28.953Z] nexus3.edgexfoundry.org:10004 [2021-02-02T05:18:28.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:18:29.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:18:29.216Z] Configure a credential helper to remove this warning. See [2021-02-02T05:18:29.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:18:29.216Z] [2021-02-02T05:18:29.216Z] Login Succeeded [2021-02-02T05:18:29.216Z] docker.io [2021-02-02T05:18:29.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:18:29.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:18:29.480Z] Configure a credential helper to remove this warning. See [2021-02-02T05:18:29.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:18:29.480Z] [2021-02-02T05:18:29.480Z] Login Succeeded [2021-02-02T05:18:29.480Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T05:18:29.490Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T05:18:29.964Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/core-command/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo core-command,cmd/core-command/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/core-data/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo core-data,cmd/core-data/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/core-metadata/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/support-notifications/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-02-02T05:18:29.964Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T05:18:29.964Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-02-02T05:18:29.964Z] ++ cut -d/ -f2 [2021-02-02T05:18:29.964Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-02-02T05:18:30.076Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:18:31.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T05:18:31.034Z] [2021-02-02T05:18:31.034Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:18:31.390Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T05:18:31.390Z] latest: Pulling from edgex-devops/git-semver [2021-02-02T05:18:31.390Z] 31603596830f: Pulling fs layer [2021-02-02T05:18:31.390Z] 2a8b12db71e7: Pulling fs layer [2021-02-02T05:18:31.390Z] 6ca5941a6612: Pulling fs layer [2021-02-02T05:18:31.390Z] ecc8261a40a4: Pulling fs layer [2021-02-02T05:18:31.390Z] ecc8261a40a4: Waiting [2021-02-02T05:18:31.390Z] 2a8b12db71e7: Verifying Checksum [2021-02-02T05:18:31.390Z] 2a8b12db71e7: Download complete [2021-02-02T05:18:31.656Z] 31603596830f: Verifying Checksum [2021-02-02T05:18:31.656Z] 31603596830f: Download complete [2021-02-02T05:18:31.656Z] ecc8261a40a4: Verifying Checksum [2021-02-02T05:18:31.656Z] ecc8261a40a4: Download complete [2021-02-02T05:18:31.656Z] 6ca5941a6612: Verifying Checksum [2021-02-02T05:18:31.656Z] 6ca5941a6612: Download complete [2021-02-02T05:18:31.918Z] 31603596830f: Pull complete [2021-02-02T05:18:32.186Z] 2a8b12db71e7: Pull complete [2021-02-02T05:18:33.157Z] 6ca5941a6612: Pull complete [2021-02-02T05:18:33.427Z] ecc8261a40a4: Pull complete [2021-02-02T05:18:33.427Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-02T05:18:33.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T05:18:33.427Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-02T05:18:33.550Z] prd-centos7-docker-4c-2g-24511 does not seem to be running inside a container [2021-02-02T05:18:33.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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-02-02T05:18:36.339Z] $ docker top 83c595c61651a93c8ef93e719d7dcae54bb86a8e8c8d3784ac807be87ef6566e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-02T05:18:36.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T05:18:36.661Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T05:18:36.901Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T05:18:36.906Z] $ docker exec 83c595c61651a93c8ef93e719d7dcae54bb86a8e8c8d3784ac807be87ef6566e ssh-agent [2021-02-02T05:18:37.099Z] SSH_AUTH_SOCK=/tmp/ssh-ufnJ2dT76XYa/agent.12 [2021-02-02T05:18:37.099Z] SSH_AGENT_PID=17 [2021-02-02T05:18:37.117Z] Running ssh-add (command line suppressed) [2021-02-02T05:18:37.246Z] Identity added: /w/workspace/edgex-go/9@tmp/private_key_8188368258849919500.key (/w/workspace/edgex-go/9@tmp/private_key_8188368258849919500.key) [2021-02-02T05:18:37.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T05:18:37.646Z] + git tag --points-at HEAD [Pipeline] } [2021-02-02T05:18:37.674Z] $ docker exec --env ******** --env ******** 83c595c61651a93c8ef93e719d7dcae54bb86a8e8c8d3784ac807be87ef6566e ssh-agent -k [2021-02-02T05:18:37.812Z] unset SSH_AUTH_SOCK; [2021-02-02T05:18:37.812Z] unset SSH_AGENT_PID; [2021-02-02T05:18:37.812Z] echo Agent pid 17 killed; [2021-02-02T05:18:37.870Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-02T05:18:38.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T05:18:38.006Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T05:18:38.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T05:18:38.198Z] $ docker exec 83c595c61651a93c8ef93e719d7dcae54bb86a8e8c8d3784ac807be87ef6566e ssh-agent [2021-02-02T05:18:38.381Z] SSH_AUTH_SOCK=/tmp/ssh-asUyvoaSFyNV/agent.45 [2021-02-02T05:18:38.381Z] SSH_AGENT_PID=50 [2021-02-02T05:18:38.389Z] Running ssh-add (command line suppressed) [2021-02-02T05:18:38.521Z] Identity added: /w/workspace/edgex-go/9@tmp/private_key_8133569559378682743.key (/w/workspace/edgex-go/9@tmp/private_key_8133569559378682743.key) [2021-02-02T05:18:38.593Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T05:18:38.980Z] + git semver init [2021-02-02T05:18:38.980Z] # -> Open(): unable to determine branch for HEAD [2021-02-02T05:18:38.980Z] # $GIT_DIR = /w/workspace/edgex-go/9/.git [2021-02-02T05:18:38.980Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/9 [2021-02-02T05:18:38.980Z] # $SEMVER_REMOTE_NAME = origin [2021-02-02T05:18:38.980Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-02T05:18:38.980Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-02T05:18:38.980Z] # $SEMVER_BRANCH = PR-3045 [2021-02-02T05:18:38.980Z] # $SEMVER_TEMP = /tmp/semver-129538905 [2021-02-02T05:18:38.980Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-02-02T05:18:57.311Z] # '/tmp/semver-129538905' -> '/w/workspace/edgex-go/9/.semver' [2021-02-02T05:18:57.311Z] # -> Force: false [2021-02-02T05:18:57.311Z] # $SEMVER_DIR = /w/workspace/edgex-go/9/.semver [Pipeline] } [2021-02-02T05:18:57.591Z] $ docker exec --env ******** --env ******** 83c595c61651a93c8ef93e719d7dcae54bb86a8e8c8d3784ac807be87ef6566e ssh-agent -k [2021-02-02T05:18:57.843Z] unset SSH_AUTH_SOCK; [2021-02-02T05:18:57.843Z] unset SSH_AGENT_PID; [2021-02-02T05:18:57.843Z] echo Agent pid 50 killed; [2021-02-02T05:18:57.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T05:18:58.443Z] + git semver [Pipeline] } [2021-02-02T05:18:58.461Z] $ docker stop --time=1 83c595c61651a93c8ef93e719d7dcae54bb86a8e8c8d3784ac807be87ef6566e [2021-02-02T05:19:00.098Z] $ docker rm -f 83c595c61651a93c8ef93e719d7dcae54bb86a8e8c8d3784ac807be87ef6566e [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T05:19:00.616Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-02T05:19:01.135Z] Stashed 1 file(s) [Pipeline] echo [2021-02-02T05:19:01.138Z] [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-02-02T05:19:02.111Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-02T05:19:02.415Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T05:19:02.714Z] + sudo service docker restart [2021-02-02T05:19:02.715Z] + true [2021-02-02T05:19:02.715Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-02-02T05:19:03.308Z] ========================================================= [2021-02-02T05:19:03.308Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-02T05:19:03.308Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:19:03.661Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-02T05:19:07.924Z] Sending build context to Docker daemon 327.5MB [2021-02-02T05:19:07.925Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T05:19:07.925Z] Step 2/6 : FROM ${BASE} [2021-02-02T05:19:07.925Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-02T05:19:07.925Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T05:19:07.925Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T05:19:07.925Z] de9db76c5a1d: Pulling fs layer [2021-02-02T05:19:07.925Z] bca2f99d35d6: Pulling fs layer [2021-02-02T05:19:07.925Z] 93359f2a8cfa: Pulling fs layer [2021-02-02T05:19:07.925Z] 7c6f9722023f: Pulling fs layer [2021-02-02T05:19:07.925Z] a35cf1a2eb13: Pulling fs layer [2021-02-02T05:19:07.925Z] 7c6f9722023f: Waiting [2021-02-02T05:19:07.925Z] a35cf1a2eb13: Waiting [2021-02-02T05:19:07.925Z] bca2f99d35d6: Waiting [2021-02-02T05:19:07.925Z] 93359f2a8cfa: Waiting [2021-02-02T05:19:07.925Z] de9db76c5a1d: Verifying Checksum [2021-02-02T05:19:07.925Z] de9db76c5a1d: Download complete [2021-02-02T05:19:07.925Z] 0ef7d3d256c8: Download complete [2021-02-02T05:19:07.925Z] 93359f2a8cfa: Verifying Checksum [2021-02-02T05:19:07.925Z] 93359f2a8cfa: Download complete [2021-02-02T05:19:07.925Z] 188c0c94c7c5: Verifying Checksum [2021-02-02T05:19:07.925Z] 188c0c94c7c5: Download complete [2021-02-02T05:19:07.925Z] 7c6f9722023f: Verifying Checksum [2021-02-02T05:19:07.925Z] 7c6f9722023f: Download complete [2021-02-02T05:19:08.191Z] 188c0c94c7c5: Pull complete [2021-02-02T05:19:08.455Z] 0ef7d3d256c8: Pull complete [2021-02-02T05:19:08.455Z] de9db76c5a1d: Pull complete [2021-02-02T05:19:10.384Z] a35cf1a2eb13: Verifying Checksum [2021-02-02T05:19:10.384Z] a35cf1a2eb13: Download complete [2021-02-02T05:19:10.649Z] bca2f99d35d6: Verifying Checksum [2021-02-02T05:19:10.649Z] bca2f99d35d6: Download complete [2021-02-02T05:19:16.562Z] Still waiting to schedule task [2021-02-02T05:19:16.562Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-02T05:19:17.308Z] bca2f99d35d6: Pull complete [2021-02-02T05:19:17.308Z] 93359f2a8cfa: Pull complete [2021-02-02T05:19:17.573Z] 7c6f9722023f: Pull complete [2021-02-02T05:19:21.864Z] a35cf1a2eb13: Pull complete [2021-02-02T05:19:21.864Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-02T05:19:21.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-02T05:19:21.864Z] ---> a62c8e92a672 [2021-02-02T05:19:21.864Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-02-02T05:19:22.141Z] ---> Running in d14356ae82f5 [2021-02-02T05:19:23.097Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T05:19:23.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T05:19:23.938Z] (1/12) Installing libmagic (5.38-r0) [2021-02-02T05:19:24.889Z] (2/12) Installing file (5.38-r0) [2021-02-02T05:19:24.889Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-02T05:19:25.154Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-02T05:19:29.382Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-02T05:19:29.382Z] (6/12) Installing patch (2.7.6-r6) [2021-02-02T05:19:29.382Z] (7/12) Installing build-base (0.5-r2) [2021-02-02T05:19:29.382Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-02T05:19:29.382Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-02T05:19:29.382Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-02T05:19:29.645Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-02T05:19:29.645Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-02T05:19:29.645Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T05:19:29.645Z] OK: 233 MiB in 51 packages [2021-02-02T05:19:32.967Z] Removing intermediate container d14356ae82f5 [2021-02-02T05:19:32.967Z] ---> 565910a97734 [2021-02-02T05:19:32.967Z] Step 4/6 : WORKDIR /edgex-go [2021-02-02T05:19:32.967Z] ---> Running in 014bf5cd8a93 [2021-02-02T05:19:32.967Z] Removing intermediate container 014bf5cd8a93 [2021-02-02T05:19:32.967Z] ---> a78efd1a50e6 [2021-02-02T05:19:32.967Z] Step 5/6 : COPY go.mod . [2021-02-02T05:19:33.232Z] ---> c0679a0fea7f [2021-02-02T05:19:33.232Z] Step 6/6 : RUN go mod download [2021-02-02T05:19:33.232Z] ---> Running in 1e8c5833794b [2021-02-02T05:19:55.267Z] Removing intermediate container 1e8c5833794b [2021-02-02T05:19:55.267Z] ---> de706bc78625 [2021-02-02T05:19:55.267Z] Successfully built de706bc78625 [2021-02-02T05:19:55.267Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:19:55.588Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T05:19:55.588Z] . [Pipeline] withDockerContainer [2021-02-02T05:19:55.709Z] prd-centos7-docker-4c-2g-24511 does not seem to be running inside a container [2021-02-02T05:19:55.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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-02-02T05:19:56.675Z] $ docker top dfb79243cb2575526f2ea4e6a3ac5c53dec4fb22abf9605c7bca812c8391a641 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T05:19:57.163Z] + go version [2021-02-02T05:19:57.163Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-02T05:19:57.178Z] $ docker stop --time=1 dfb79243cb2575526f2ea4e6a3ac5c53dec4fb22abf9605c7bca812c8391a641 [2021-02-02T05:19:58.587Z] $ docker rm -f dfb79243cb2575526f2ea4e6a3ac5c53dec4fb22abf9605c7bca812c8391a641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:19:59.431Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T05:19:59.431Z] . [Pipeline] withDockerContainer [2021-02-02T05:19:59.540Z] prd-centos7-docker-4c-2g-24511 does not seem to be running inside a container [2021-02-02T05:19:59.593Z] $ 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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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-02-02T05:20:00.287Z] $ docker top 883cc059e62ae4545128412d457bd7815b8b0f1251fcd41f7fd8b9f5971c6530 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-02T05:20:00.511Z] ========================================================= [2021-02-02T05:20:00.511Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-02T05:20:00.511Z] ========================================================= [Pipeline] sh [2021-02-02T05:20:00.821Z] + make test [2021-02-02T05:20:00.821Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T05:20:13.216Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-02-02T05:20:31.605Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-02-02T05:20:31.605Z] internal/pkg/v2/infrastructure/redis/client.go:690:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:20:31.605Z] internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category [2021-02-02T05:20:31.605Z] internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver [2021-02-02T05:20:31.605Z] internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:20:31.605Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-02-02T05:20:39.876Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-02-02T05:20:39.876Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-02-02T05:20:39.876Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-02-02T05:20:39.876Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-02-02T05:20:39.876Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-02-02T05:20:39.876Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-02-02T05:20:48.144Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.185s coverage: 46.0% of statements [2021-02-02T05:20:48.144Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.090s coverage: 100.0% of statements [2021-02-02T05:20:48.144Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-02-02T05:20:48.144Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.054s coverage: 100.0% of statements [2021-02-02T05:20:48.144Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.091s coverage: 100.0% of statements [2021-02-02T05:20:50.760Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.134s coverage: 65.8% of statements [2021-02-02T05:20:51.363Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.576s coverage: 82.3% of statements [2021-02-02T05:20:51.363Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-02-02T05:20:51.363Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.083s coverage: 100.0% of statements [2021-02-02T05:20:51.363Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.045s coverage: 100.0% of statements [2021-02-02T05:20:52.772Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.143s coverage: 86.7% of statements [2021-02-02T05:20:53.048Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.155s coverage: 97.5% of statements [2021-02-02T05:20:53.048Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.076s coverage: 78.3% of statements [2021-02-02T05:20:53.325Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-02-02T05:20:53.325Z] internal/pkg/v2/infrastructure/redis/client.go:690: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:20:53.325Z] internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category [2021-02-02T05:20:53.325Z] internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver [2021-02-02T05:20:53.325Z] internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:20:55.931Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.438s coverage: 92.8% of statements [2021-02-02T05:20:55.931Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.064s coverage: 58.8% of statements [2021-02-02T05:20:55.931Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-02-02T05:20:55.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.065s coverage: 45.5% of statements [2021-02-02T05:20:55.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.074s coverage: 79.5% of statements [2021-02-02T05:20:55.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.034s coverage: 94.1% of statements [2021-02-02T05:20:55.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.107s coverage: 96.3% of statements [2021-02-02T05:20:55.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.055s coverage: 87.5% of statements [2021-02-02T05:21:08.260Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.057s coverage: 94.4% of statements [2021-02-02T05:21:08.260Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.030s coverage: 44.8% of statements [2021-02-02T05:21:09.102Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24512 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws [2021-02-02T05:21:09.192Z] Running in /w/workspace/edgex-go/9 [Pipeline] { [Pipeline] checkout [2021-02-02T05:21:11.085Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-02-02T05:21:11.085Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-02-02T05:21:11.086Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-02-02T05:21:11.086Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-02-02T05:21:11.086Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-02-02T05:21:11.086Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-02-02T05:21:14.053Z] using credential edgex-jenkins-ssh [2021-02-02T05:21:14.125Z] Cloning the remote Git repository [2021-02-02T05:21:14.190Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-02-02T05:21:14.302Z] > git init /w/workspace/edgex-go/9 # timeout=10 [2021-02-02T05:21:14.377Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-02T05:21:14.378Z] > git --version # timeout=10 [2021-02-02T05:21:14.395Z] > git --version # 'git version 2.17.1' [2021-02-02T05:21:14.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T05:21:14.491Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.086s coverage: 92.9% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.056s coverage: 87.2% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.047s coverage: 75.5% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.034s coverage: 80.8% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.083s coverage: 84.2% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.162s coverage: 91.4% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.212s coverage: 63.5% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.041s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.069s coverage: 91.3% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.034s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.051s coverage: 73.7% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.044s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.453s coverage: 68.9% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.120s coverage: 37.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.399s coverage: 84.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.061s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.056s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-02-02T05:21:18.468Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.121s coverage: 99.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.058s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.077s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.039s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.060s coverage: 87.9% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.051s coverage: 32.1% of statements [2021-02-02T05:21:18.468Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.056s coverage: 100.0% of statements [2021-02-02T05:21:18.732Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-02-02T05:21:18.754Z] $ docker stop --time=1 883cc059e62ae4545128412d457bd7815b8b0f1251fcd41f7fd8b9f5971c6530 [2021-02-02T05:21:21.129Z] $ docker rm -f 883cc059e62ae4545128412d457bd7815b8b0f1251fcd41f7fd8b9f5971c6530 [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-02-02T05:21:22.743Z] Failed in branch amd64 [2021-02-02T05:21:32.687Z] Merging remotes/origin/master commit 2a4efc596d6299a706f2b1b5ea90705279ab33b1 into PR head commit 559437349852cd536165913e20adae43b911e452 [2021-02-02T05:21:33.198Z] Merge succeeded, producing 559437349852cd536165913e20adae43b911e452 [2021-02-02T05:21:33.198Z] Checking out Revision 559437349852cd536165913e20adae43b911e452 (PR-3045) [2021-02-02T05:21:31.828Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-02T05:21:31.844Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T05:21:31.872Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-02T05:21:31.914Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-02T05:21:31.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T05:21:31.925Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3045/head:refs/remotes/origin/PR-3045 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T05:21:32.724Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T05:21:32.764Z] > git checkout -f 559437349852cd536165913e20adae43b911e452 # timeout=10 [2021-02-02T05:21:33.080Z] > git remote # timeout=10 [2021-02-02T05:21:33.096Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T05:21:33.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T05:21:33.147Z] > git merge 2a4efc596d6299a706f2b1b5ea90705279ab33b1 # timeout=10 [2021-02-02T05:21:33.175Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T05:21:33.211Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T05:21:33.236Z] > git checkout -f 559437349852cd536165913e20adae43b911e452 # timeout=10 [2021-02-02T05:21:37.565Z] Commit message: "feat(notifications): Implement POST /subscription V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T05:21:39.201Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-02T05:21:39.607Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T05:21:39.949Z] + sudo service docker restart [2021-02-02T05:21:39.949Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T05:21:42.042Z] provisioning config files... [2021-02-02T05:21:42.101Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config2675659753810700805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:21:42.510Z] ---> docker-login.sh [2021-02-02T05:21:42.510Z] nexus3.edgexfoundry.org:10001 [2021-02-02T05:21:43.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:21:43.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:21:43.710Z] Configure a credential helper to remove this warning. See [2021-02-02T05:21:43.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:21:43.710Z] [2021-02-02T05:21:43.710Z] Login Succeeded [2021-02-02T05:21:43.710Z] nexus3.edgexfoundry.org:10002 [2021-02-02T05:21:43.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:21:44.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:21:44.262Z] Configure a credential helper to remove this warning. See [2021-02-02T05:21:44.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:21:44.262Z] [2021-02-02T05:21:44.262Z] Login Succeeded [2021-02-02T05:21:44.262Z] nexus3.edgexfoundry.org:10003 [2021-02-02T05:21:44.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:21:44.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:21:44.544Z] Configure a credential helper to remove this warning. See [2021-02-02T05:21:44.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:21:44.544Z] [2021-02-02T05:21:44.544Z] Login Succeeded [2021-02-02T05:21:44.544Z] nexus3.edgexfoundry.org:10004 [2021-02-02T05:21:45.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:21:45.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:21:45.142Z] Configure a credential helper to remove this warning. See [2021-02-02T05:21:45.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:21:45.142Z] [2021-02-02T05:21:45.142Z] Login Succeeded [2021-02-02T05:21:45.142Z] docker.io [2021-02-02T05:21:45.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:21:45.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:21:45.690Z] Configure a credential helper to remove this warning. See [2021-02-02T05:21:45.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:21:45.690Z] [2021-02-02T05:21:45.690Z] Login Succeeded [2021-02-02T05:21:45.690Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T05:21:45.706Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T05:21:46.149Z] ========================================================= [2021-02-02T05:21:46.149Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-02T05:21:46.149Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:21:46.520Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-02T05:21:49.166Z] Sending build context to Docker daemon 166.1MB [2021-02-02T05:21:49.166Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T05:21:49.166Z] Step 2/6 : FROM ${BASE} [2021-02-02T05:21:49.166Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-02T05:21:49.166Z] 5f621e34cdf4: Pulling fs layer [2021-02-02T05:21:49.166Z] a4357932f1b6: Pulling fs layer [2021-02-02T05:21:49.166Z] 18c013af1878: Pulling fs layer [2021-02-02T05:21:49.166Z] 00ac8860ef70: Pulling fs layer [2021-02-02T05:21:49.166Z] 63d7cb157983: Pulling fs layer [2021-02-02T05:21:49.166Z] b116817d02f9: Pulling fs layer [2021-02-02T05:21:49.166Z] 745a02a5169b: Pulling fs layer [2021-02-02T05:21:49.166Z] 00ac8860ef70: Waiting [2021-02-02T05:21:49.166Z] 63d7cb157983: Waiting [2021-02-02T05:21:49.166Z] b116817d02f9: Waiting [2021-02-02T05:21:49.166Z] 745a02a5169b: Waiting [2021-02-02T05:21:49.166Z] 18c013af1878: Verifying Checksum [2021-02-02T05:21:49.166Z] 18c013af1878: Download complete [2021-02-02T05:21:49.166Z] a4357932f1b6: Verifying Checksum [2021-02-02T05:21:49.166Z] a4357932f1b6: Download complete [2021-02-02T05:21:49.166Z] 63d7cb157983: Verifying Checksum [2021-02-02T05:21:49.166Z] 63d7cb157983: Download complete [2021-02-02T05:21:50.155Z] b116817d02f9: Verifying Checksum [2021-02-02T05:21:50.155Z] b116817d02f9: Download complete [2021-02-02T05:21:50.155Z] 5f621e34cdf4: Verifying Checksum [2021-02-02T05:21:50.155Z] 5f621e34cdf4: Download complete [2021-02-02T05:21:50.430Z] 5f621e34cdf4: Pull complete [2021-02-02T05:21:51.034Z] a4357932f1b6: Pull complete [2021-02-02T05:21:51.632Z] 18c013af1878: Pull complete [2021-02-02T05:21:52.616Z] 745a02a5169b: Verifying Checksum [2021-02-02T05:21:52.616Z] 745a02a5169b: Download complete [2021-02-02T05:21:53.221Z] 00ac8860ef70: Verifying Checksum [2021-02-02T05:21:53.221Z] 00ac8860ef70: Download complete [2021-02-02T05:22:03.398Z] 00ac8860ef70: Pull complete [2021-02-02T05:22:03.398Z] 63d7cb157983: Pull complete [2021-02-02T05:22:03.995Z] b116817d02f9: Pull complete [2021-02-02T05:22:08.325Z] 745a02a5169b: Pull complete [2021-02-02T05:22:08.325Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-02T05:22:08.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-02T05:22:08.325Z] ---> b7e6874047d6 [2021-02-02T05:22:08.325Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-02-02T05:22:10.946Z] ---> Running in d9e1a7c97cd6 [2021-02-02T05:22:11.938Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T05:22:12.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T05:22:13.904Z] (1/12) Installing libmagic (5.38-r0) [2021-02-02T05:22:14.174Z] (2/12) Installing file (5.38-r0) [2021-02-02T05:22:14.174Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-02T05:22:14.174Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-02T05:22:26.579Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-02T05:22:26.579Z] (6/12) Installing patch (2.7.6-r6) [2021-02-02T05:22:26.579Z] (7/12) Installing build-base (0.5-r2) [2021-02-02T05:22:26.579Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-02T05:22:26.579Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-02T05:22:26.579Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-02T05:22:26.579Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-02T05:22:26.579Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-02T05:22:26.579Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T05:22:26.579Z] OK: 217 MiB in 51 packages [2021-02-02T05:22:30.884Z] Removing intermediate container d9e1a7c97cd6 [2021-02-02T05:22:30.884Z] ---> 0556069450d9 [2021-02-02T05:22:30.884Z] Step 4/6 : WORKDIR /edgex-go [2021-02-02T05:22:30.884Z] ---> Running in 50409f375647 [2021-02-02T05:22:30.884Z] Removing intermediate container 50409f375647 [2021-02-02T05:22:30.884Z] ---> 273e8e74ad58 [2021-02-02T05:22:30.884Z] Step 5/6 : COPY go.mod . [2021-02-02T05:22:31.475Z] ---> a28f3536ef7e [2021-02-02T05:22:31.475Z] Step 6/6 : RUN go mod download [2021-02-02T05:22:31.748Z] ---> Running in 056a11b39e3b [2021-02-02T05:22:58.589Z] Removing intermediate container 056a11b39e3b [2021-02-02T05:22:58.589Z] ---> dd7e6dcea86f [2021-02-02T05:22:58.589Z] Successfully built dd7e6dcea86f [2021-02-02T05:22:58.589Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:22:58.935Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T05:22:58.935Z] . [Pipeline] withDockerContainer [2021-02-02T05:22:59.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-24512 does not seem to be running inside a container [2021-02-02T05:22:59.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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-arm64 cat [2021-02-02T05:23:00.736Z] $ docker top 1bd119bb4b077b5284957ff6bc792fe1cdb368bea17afec43570cfe4a2cd0eac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T05:23:01.822Z] + go version [2021-02-02T05:23:01.822Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-02T05:23:01.857Z] $ docker stop --time=1 1bd119bb4b077b5284957ff6bc792fe1cdb368bea17afec43570cfe4a2cd0eac [2021-02-02T05:23:03.864Z] $ docker rm -f 1bd119bb4b077b5284957ff6bc792fe1cdb368bea17afec43570cfe4a2cd0eac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:23:04.869Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T05:23:04.869Z] . [Pipeline] withDockerContainer [2021-02-02T05:23:05.095Z] prd-ubuntu18.04-docker-arm64-4c-16g-24512 does not seem to be running inside a container [2021-02-02T05:23:05.183Z] $ 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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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-arm64 cat [2021-02-02T05:23:06.511Z] $ docker top b03d580a95a2cec1de7ea38dcbf2474d88f8b60df4738b4718c0f8ee8f2fc17d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-02T05:23:06.867Z] ========================================================= [2021-02-02T05:23:06.867Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-02T05:23:06.867Z] ========================================================= [Pipeline] sh [2021-02-02T05:23:07.509Z] + make test [2021-02-02T05:23:07.509Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T05:23:29.699Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-02-02T05:24:16.737Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-02-02T05:24:16.737Z] internal/pkg/v2/infrastructure/redis/client.go:690:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:24:16.737Z] internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category [2021-02-02T05:24:16.737Z] internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver [2021-02-02T05:24:16.737Z] internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:24:16.737Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-02-02T05:24:23.478Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-02-02T05:24:23.478Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-02-02T05:24:23.478Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-02-02T05:24:23.478Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-02-02T05:24:23.478Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-02-02T05:24:23.478Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-02-02T05:24:42.327Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.311s coverage: 46.0% of statements [2021-02-02T05:24:42.327Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.148s coverage: 100.0% of statements [2021-02-02T05:24:42.327Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-02-02T05:24:42.327Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.054s coverage: 100.0% of statements [2021-02-02T05:24:42.327Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.080s coverage: 100.0% of statements [2021-02-02T05:24:47.759Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.260s coverage: 65.8% of statements [2021-02-02T05:24:48.755Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.700s coverage: 82.3% of statements [2021-02-02T05:24:48.755Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-02-02T05:24:48.755Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.149s coverage: 100.0% of statements [2021-02-02T05:24:48.755Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.089s coverage: 100.0% of statements [2021-02-02T05:24:52.162Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.309s coverage: 86.7% of statements [2021-02-02T05:24:52.440Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-02-02T05:24:52.440Z] internal/pkg/v2/infrastructure/redis/client.go:690: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:24:52.440Z] internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category [2021-02-02T05:24:52.440Z] internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver [2021-02-02T05:24:52.440Z] internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T05:24:52.715Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.339s coverage: 97.5% of statements [2021-02-02T05:24:52.715Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.151s coverage: 78.3% of statements [2021-02-02T05:25:01.025Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.284s coverage: 92.8% of statements [2021-02-02T05:25:01.025Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.057s coverage: 58.8% of statements [2021-02-02T05:25:01.025Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-02-02T05:25:01.025Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.059s coverage: 45.5% of statements [2021-02-02T05:25:01.025Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.066s coverage: 79.5% of statements [2021-02-02T05:25:01.025Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.057s coverage: 94.1% of statements [2021-02-02T05:25:01.025Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.085s coverage: 96.3% of statements [2021-02-02T05:25:01.025Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.068s coverage: 87.5% of statements [2021-02-02T05:25:13.438Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.078s coverage: 94.4% of statements [2021-02-02T05:25:13.438Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.146s coverage: 92.9% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.078s coverage: 87.2% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.047s coverage: 100.0% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.088s coverage: 75.5% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.056s coverage: 80.8% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.116s coverage: 87.2% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.129s coverage: 84.2% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.151s coverage: 91.4% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.481s coverage: 63.5% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.061s coverage: 100.0% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.082s coverage: 91.3% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.049s coverage: 100.0% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.057s coverage: 73.7% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.065s coverage: 100.0% of statements [2021-02-02T05:25:28.564Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.748s coverage: 68.9% of statements [2021-02-02T05:25:28.841Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.421s coverage: 37.0% of statements [2021-02-02T05:25:28.841Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.712s coverage: 84.0% of statements [2021-02-02T05:25:28.841Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-02-02T05:25:28.841Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-02-02T05:25:28.841Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-02-02T05:25:28.841Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-02-02T05:25:28.841Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-02-02T05:25:28.841Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-02-02T05:25:29.451Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.121s coverage: 100.0% of statements [2021-02-02T05:25:29.451Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-02-02T05:25:31.462Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.127s coverage: 100.0% of statements [2021-02-02T05:25:32.459Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.117s coverage: 100.0% of statements [2021-02-02T05:25:32.460Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-02-02T05:25:32.460Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-02-02T05:25:35.103Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.206s coverage: 99.0% of statements [2021-02-02T05:25:35.103Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.089s coverage: 100.0% of statements [2021-02-02T05:25:35.103Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.146s coverage: 100.0% of statements [2021-02-02T05:25:35.103Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.039s coverage: 0.0% of statements [2021-02-02T05:25:36.096Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.082s coverage: 100.0% of statements [2021-02-02T05:25:36.699Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.101s coverage: 87.9% of statements [2021-02-02T05:25:37.300Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.062s coverage: 100.0% of statements [2021-02-02T05:25:37.903Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.056s coverage: 32.1% of statements [2021-02-02T05:25:39.879Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-02-02T05:25:40.151Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-02-02T05:25:40.200Z] $ docker stop --time=1 b03d580a95a2cec1de7ea38dcbf2474d88f8b60df4738b4718c0f8ee8f2fc17d [2021-02-02T05:25:42.386Z] $ docker rm -f b03d580a95a2cec1de7ea38dcbf2474d88f8b60df4738b4718c0f8ee8f2fc17d [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-02T05:25:44.544Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:25:47.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:25:47.920Z] ---> package-listing.sh [2021-02-02T05:25:47.920Z] ++ facter osfamily [2021-02-02T05:25:47.920Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-02T05:25:47.920Z] + OS_FAMILY=redhat [2021-02-02T05:25:47.920Z] + workspace=/w/workspace/edgex-go/9 [2021-02-02T05:25:47.920Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-02T05:25:47.920Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-02T05:25:47.920Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-02T05:25:47.920Z] + PACKAGES=/tmp/packages_start.txt [2021-02-02T05:25:47.920Z] + '[' /w/workspace/edgex-go/9 ']' [2021-02-02T05:25:47.920Z] + PACKAGES=/tmp/packages_end.txt [2021-02-02T05:25:47.920Z] + case "${OS_FAMILY}" in [2021-02-02T05:25:47.920Z] + rpm -qa [2021-02-02T05:25:47.920Z] + sort [2021-02-02T05:25:53.251Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-02T05:25:53.251Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-02T05:25:53.251Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-02T05:25:53.251Z] + '[' /w/workspace/edgex-go/9 ']' [2021-02-02T05:25:53.251Z] + mkdir -p /w/workspace/edgex-go/9/archives/ [2021-02-02T05:25:53.251Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/9/archives/ [Pipeline] echo [2021-02-02T05:25:53.268Z] 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/9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-02T05:25:53.569Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:25:53.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T05:25:53.898Z] [2021-02-02T05:25:53.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-02T05:25:54.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T05:25:54.261Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-02T05:25:54.261Z] df20fa9351a1: Pulling fs layer [2021-02-02T05:25:54.261Z] 36b3adc4ff6f: Pulling fs layer [2021-02-02T05:25:54.261Z] 8ad3a11d3b57: Pulling fs layer [2021-02-02T05:25:54.261Z] 46f8f816bc3b: Pulling fs layer [2021-02-02T05:25:54.261Z] 93b61091891f: Pulling fs layer [2021-02-02T05:25:54.261Z] 93b9cdb0e59b: Pulling fs layer [2021-02-02T05:25:54.261Z] 5e14af77c1be: Pulling fs layer [2021-02-02T05:25:54.261Z] 01666e4c0597: Pulling fs layer [2021-02-02T05:25:54.261Z] aa168da1d23b: Pulling fs layer [2021-02-02T05:25:54.261Z] 5e14af77c1be: Waiting [2021-02-02T05:25:54.261Z] 46f8f816bc3b: Waiting [2021-02-02T05:25:54.261Z] 01666e4c0597: Waiting [2021-02-02T05:25:54.261Z] 93b61091891f: Waiting [2021-02-02T05:25:54.261Z] 93b9cdb0e59b: Waiting [2021-02-02T05:25:54.261Z] aa168da1d23b: Waiting [2021-02-02T05:25:54.261Z] 36b3adc4ff6f: Verifying Checksum [2021-02-02T05:25:54.261Z] 36b3adc4ff6f: Download complete [2021-02-02T05:25:54.261Z] 46f8f816bc3b: Verifying Checksum [2021-02-02T05:25:54.261Z] 46f8f816bc3b: Download complete [2021-02-02T05:25:54.261Z] df20fa9351a1: Verifying Checksum [2021-02-02T05:25:54.261Z] df20fa9351a1: Download complete [2021-02-02T05:25:54.261Z] 93b9cdb0e59b: Verifying Checksum [2021-02-02T05:25:54.261Z] 93b9cdb0e59b: Download complete [2021-02-02T05:25:54.531Z] 5e14af77c1be: Download complete [2021-02-02T05:25:54.531Z] 93b61091891f: Verifying Checksum [2021-02-02T05:25:54.531Z] 93b61091891f: Download complete [2021-02-02T05:25:54.531Z] 01666e4c0597: Verifying Checksum [2021-02-02T05:25:54.531Z] 01666e4c0597: Download complete [2021-02-02T05:25:54.531Z] 8ad3a11d3b57: Verifying Checksum [2021-02-02T05:25:54.531Z] 8ad3a11d3b57: Download complete [2021-02-02T05:25:54.795Z] df20fa9351a1: Pull complete [2021-02-02T05:25:55.070Z] 36b3adc4ff6f: Pull complete [2021-02-02T05:25:56.500Z] aa168da1d23b: Verifying Checksum [2021-02-02T05:25:56.500Z] aa168da1d23b: Download complete [2021-02-02T05:25:56.500Z] 8ad3a11d3b57: Pull complete [2021-02-02T05:25:56.765Z] 46f8f816bc3b: Pull complete [2021-02-02T05:25:57.031Z] 93b61091891f: Pull complete [2021-02-02T05:25:57.295Z] 93b9cdb0e59b: Pull complete [2021-02-02T05:25:57.295Z] 5e14af77c1be: Pull complete [2021-02-02T05:25:57.562Z] 01666e4c0597: Pull complete [2021-02-02T05:26:05.777Z] aa168da1d23b: Pull complete [2021-02-02T05:26:05.777Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-02T05:26:05.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T05:26:05.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-02T05:26:06.032Z] prd-centos7-docker-4c-2g-24511 does not seem to be running inside a container [2021-02-02T05:26:06.091Z] $ 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/9/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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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-02-02T05:26:10.085Z] $ docker top c420afc522dc2c5f7e4fa910060e7029f2b9a7501aa8b84899efdc5e14edb674 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T05:26:10.647Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-02T05:26:10.957Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-02T05:26:11.263Z] + ls /var/log/sa-host [2021-02-02T05:26:11.263Z] + sadf -c /var/log/sa-host/sa02 [2021-02-02T05:26:11.263Z] file_magic: OK [2021-02-02T05:26:11.263Z] HZ: Using current value: 100 [2021-02-02T05:26:11.263Z] file_header: OK [2021-02-02T05:26:11.263Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-02T05:26:11.263Z] Statistics: [2021-02-02T05:26:11.263Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-02T05:26:11.263Z] File successfully converted to sysstat format version 12.2.1 [2021-02-02T05:26:11.263Z] + sadf -c /var/log/sa-host/sa23 [2021-02-02T05:26:11.263Z] file_magic: OK [2021-02-02T05:26:11.263Z] HZ: Using current value: 100 [2021-02-02T05:26:11.263Z] file_header: OK [2021-02-02T05:26:11.263Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-02T05:26:11.263Z] Statistics: [2021-02-02T05:26:11.263Z] Hnuu...uuuununununu... [2021-02-02T05:26:11.263Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-02T05:26:11.507Z] provisioning config files... [2021-02-02T05:26:11.562Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/9@tmp/config4826216693636178392tmp [Pipeline] { [Pipeline] echo [2021-02-02T05:26:11.621Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:26:11.923Z] ---> create-netrc.sh [Pipeline] } [2021-02-02T05:26:11.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-02T05:26:12.033Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:26:12.344Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-02T05:26:12.358Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:26:12.665Z] ---> sudo-logs.sh [2021-02-02T05:26:12.665Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-02T05:26:12.678Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:26:12.986Z] ---> job-cost.sh [2021-02-02T05:26:12.986Z] lf-activate-venv: SKIPPING [2021-02-02T05:26:12.986Z] INFO: No Stack... [2021-02-02T05:26:13.936Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-02T05:26:14.512Z] INFO: Archiving Costs [Pipeline] echo [2021-02-02T05:26:14.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:26:14.827Z] ---> logs-deploy.sh [2021-02-02T05:26:14.827Z] lf-activate-venv: SKIPPING [2021-02-02T05:26:14.827Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/9 [2021-02-02T05:26:14.827Z] INFO: archiving workspace using pattern(s): [2021-02-02T05:26:16.754Z] Archives upload complete. [2021-02-02T05:26:16.754Z] INFO: archiving logs to Nexus