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 df7eaa583f48bd0cefe0e9af00d8477318667731 rather than 004a12ff556a2cc81a63b5584790cddddc8757e6 Obtained Jenkinsfile from df7eaa583f48bd0cefe0e9af00d8477318667731 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-23957 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/6 [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/6 # 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 df7eaa583f48bd0cefe0e9af00d8477318667731 into PR head commit 004a12ff556a2cc81a63b5584790cddddc8757e6 Merge succeeded, producing 004a12ff556a2cc81a63b5584790cddddc8757e6 Checking out Revision 004a12ff556a2cc81a63b5584790cddddc8757e6 (PR-3045) > git config core.sparsecheckout # timeout=10 > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # 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 df7eaa583f48bd0cefe0e9af00d8477318667731 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # timeout=10 Commit message: "feat(notifications): Implement POST /subscription V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-29T11:51:56.495Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-29T11:51:56.819Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-29T11:51:56.936Z] ========================================================= [2021-01-29T11:51:56.936Z] EdgeX Global Pipelines Version Info [2021-01-29T11:51:56.936Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cf5be4e06fcb06106dedf1078321e56268397052 # timeout=10 [2021-01-29T11:51:59.510Z] ------------------- [2021-01-29T11:51:59.510Z] stable info: [2021-01-29T11:51:59.510Z] ------------------- [2021-01-29T11:51:59.510Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T11:51:59.510Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T11:51:59.510Z] Message: update stable to v1.0.179 [2021-01-29T11:52:00.095Z] ------------------- [2021-01-29T11:52:00.095Z] experimental info: [2021-01-29T11:52:00.096Z] ------------------- [2021-01-29T11:52:00.096Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T11:52:00.096Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T11:52:00.096Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-29T11:52:00.419Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-01-29T11:52:00.563Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-01-29T11:52:00.673Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-29T11:52:00.790Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-29T11:52:00.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-29T11:52:00.992Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-29T11:52:01.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-29T11:52:01.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-01-29T11:52:01.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-01-29T11:52:01.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-01-29T11:52:01.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-29T11:52:01.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-29T11:52:01.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-29T11:52:01.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-29T11:52:02.038Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-29T11:52:02.201Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-29T11:52:02.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-29T11:52:02.450Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-29T11:52:02.560Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-29T11:52:02.655Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-29T11:52:02.764Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-29T11:52:02.857Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-29T11:52:02.962Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-29T11:52:03.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo [2021-01-29T11:52:03.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo [2021-01-29T11:52:03.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo [2021-01-29T11:52:03.339Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 004a12ff556a2cc81a63b5584790cddddc8757e6 [Pipeline] echo [2021-01-29T11:52:03.441Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 004a12f [Pipeline] echo [2021-01-29T11:52:03.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-29T11:52:03.744Z] provisioning config files... [2021-01-29T11:52:03.780Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config6591880808404728212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:52:04.153Z] ---> docker-login.sh [2021-01-29T11:52:04.153Z] nexus3.edgexfoundry.org:10001 [2021-01-29T11:52:05.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:52:05.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:52:05.484Z] Configure a credential helper to remove this warning. See [2021-01-29T11:52:05.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:52:05.484Z] [2021-01-29T11:52:05.484Z] Login Succeeded [2021-01-29T11:52:05.484Z] nexus3.edgexfoundry.org:10002 [2021-01-29T11:52:05.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:52:05.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:52:05.762Z] Configure a credential helper to remove this warning. See [2021-01-29T11:52:05.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:52:05.762Z] [2021-01-29T11:52:05.762Z] Login Succeeded [2021-01-29T11:52:05.762Z] nexus3.edgexfoundry.org:10003 [2021-01-29T11:52:06.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:52:06.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:52:06.035Z] Configure a credential helper to remove this warning. See [2021-01-29T11:52:06.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:52:06.035Z] [2021-01-29T11:52:06.035Z] Login Succeeded [2021-01-29T11:52:06.035Z] nexus3.edgexfoundry.org:10004 [2021-01-29T11:52:06.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:52:06.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:52:06.304Z] Configure a credential helper to remove this warning. See [2021-01-29T11:52:06.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:52:06.304Z] [2021-01-29T11:52:06.304Z] Login Succeeded [2021-01-29T11:52:06.304Z] docker.io [2021-01-29T11:52:06.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:52:06.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:52:06.846Z] Configure a credential helper to remove this warning. See [2021-01-29T11:52:06.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:52:06.846Z] [2021-01-29T11:52:06.846Z] Login Succeeded [2021-01-29T11:52:06.846Z] ---> docker-login.sh ends [Pipeline] } [2021-01-29T11:52:06.858Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-29T11:52:07.350Z] ++ 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-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/core-command/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo core-command,cmd/core-command/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/core-data/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo core-data,cmd/core-data/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] ++ dirname cmd/core-metadata/Dockerfile [2021-01-29T11:52:07.351Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/support-notifications/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-01-29T11:52:07.351Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-29T11:52:07.351Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-01-29T11:52:07.351Z] ++ cut -d/ -f2 [2021-01-29T11:52:07.351Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-01-29T11:52:07.461Z] 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-01-29T11:52:09.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T11:52:09.028Z] [2021-01-29T11:52:09.028Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:52:09.396Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T11:52:09.396Z] latest: Pulling from edgex-devops/git-semver [2021-01-29T11:52:09.396Z] 31603596830f: Pulling fs layer [2021-01-29T11:52:09.396Z] 2a8b12db71e7: Pulling fs layer [2021-01-29T11:52:09.396Z] 6ca5941a6612: Pulling fs layer [2021-01-29T11:52:09.397Z] ecc8261a40a4: Pulling fs layer [2021-01-29T11:52:09.397Z] ecc8261a40a4: Waiting [2021-01-29T11:52:09.397Z] 2a8b12db71e7: Verifying Checksum [2021-01-29T11:52:09.397Z] 2a8b12db71e7: Download complete [2021-01-29T11:52:09.704Z] 31603596830f: Verifying Checksum [2021-01-29T11:52:09.704Z] 31603596830f: Download complete [2021-01-29T11:52:09.995Z] 6ca5941a6612: Verifying Checksum [2021-01-29T11:52:09.995Z] 6ca5941a6612: Download complete [2021-01-29T11:52:10.263Z] ecc8261a40a4: Verifying Checksum [2021-01-29T11:52:10.539Z] 31603596830f: Pull complete [2021-01-29T11:52:10.539Z] 2a8b12db71e7: Pull complete [2021-01-29T11:52:12.033Z] 6ca5941a6612: Pull complete [2021-01-29T11:52:12.308Z] ecc8261a40a4: Pull complete [2021-01-29T11:52:12.308Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-29T11:52:12.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T11:52:12.308Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-29T11:52:12.478Z] prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container [2021-01-29T11:52:12.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-29T11:52:15.508Z] $ docker top deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-29T11:52:16.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T11:52:16.126Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T11:52:16.698Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T11:52:16.703Z] $ docker exec deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent [2021-01-29T11:52:17.292Z] SSH_AUTH_SOCK=/tmp/ssh-UK3qlZr2htr5/agent.12 [2021-01-29T11:52:17.292Z] SSH_AGENT_PID=17 [2021-01-29T11:52:17.319Z] Running ssh-add (command line suppressed) [2021-01-29T11:52:17.519Z] Identity added: /w/workspace/edgex-go/6@tmp/private_key_220944224149581996.key (/w/workspace/edgex-go/6@tmp/private_key_220944224149581996.key) [2021-01-29T11:52:17.615Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T11:52:17.987Z] + git tag --points-at HEAD [Pipeline] } [2021-01-29T11:52:18.027Z] $ docker exec --env ******** --env ******** deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent -k [2021-01-29T11:52:18.227Z] unset SSH_AUTH_SOCK; [2021-01-29T11:52:18.227Z] unset SSH_AGENT_PID; [2021-01-29T11:52:18.227Z] echo Agent pid 17 killed; [2021-01-29T11:52:18.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-29T11:52:18.477Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T11:52:18.477Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T11:52:18.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T11:52:18.801Z] $ docker exec deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent [2021-01-29T11:52:19.055Z] SSH_AUTH_SOCK=/tmp/ssh-S1A9x6xW6q2x/agent.47 [2021-01-29T11:52:19.055Z] SSH_AGENT_PID=53 [2021-01-29T11:52:19.065Z] Running ssh-add (command line suppressed) [2021-01-29T11:52:19.289Z] Identity added: /w/workspace/edgex-go/6@tmp/private_key_8634157568534507282.key (/w/workspace/edgex-go/6@tmp/private_key_8634157568534507282.key) [2021-01-29T11:52:19.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T11:52:19.765Z] + git semver init [2021-01-29T11:52:19.765Z] # -> Open(): unable to determine branch for HEAD [2021-01-29T11:52:19.765Z] # $GIT_DIR = /w/workspace/edgex-go/6/.git [2021-01-29T11:52:19.765Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/6 [2021-01-29T11:52:19.765Z] # $SEMVER_REMOTE_NAME = origin [2021-01-29T11:52:19.765Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-29T11:52:19.765Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-29T11:52:19.765Z] # $SEMVER_BRANCH = PR-3045 [2021-01-29T11:52:19.765Z] # $SEMVER_TEMP = /tmp/semver-247611269 [2021-01-29T11:52:19.765Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-01-29T11:52:47.384Z] # '/tmp/semver-247611269' -> '/w/workspace/edgex-go/6/.semver' [2021-01-29T11:52:47.384Z] # -> Force: false [2021-01-29T11:52:47.384Z] # $SEMVER_DIR = /w/workspace/edgex-go/6/.semver [Pipeline] } [2021-01-29T11:52:47.401Z] $ docker exec --env ******** --env ******** deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 ssh-agent -k [2021-01-29T11:52:47.801Z] unset SSH_AUTH_SOCK; [2021-01-29T11:52:47.801Z] unset SSH_AGENT_PID; [2021-01-29T11:52:47.801Z] echo Agent pid 53 killed; [2021-01-29T11:52:47.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-29T11:52:48.773Z] + git semver [Pipeline] } [2021-01-29T11:52:48.811Z] $ docker stop --time=1 deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 [2021-01-29T11:52:50.798Z] $ docker rm -f deb534e22361c438d6edc6b798bc91afe7d82d66f53fba957d9646bae01a5a38 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-29T11:52:51.507Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-29T11:52:52.228Z] Stashed 1 file(s) [Pipeline] echo [2021-01-29T11:52:52.231Z] [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-01-29T11:52:53.169Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-29T11:52:53.493Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T11:52:53.819Z] + true [2021-01-29T11:52:53.819Z] + sudo service docker restart [2021-01-29T11:52:53.819Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-01-29T11:52:54.802Z] ========================================================= [2021-01-29T11:52:54.802Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-29T11:52:54.802Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:52:55.160Z] + 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-01-29T11:53:00.657Z] Sending build context to Docker daemon 327.3MB [2021-01-29T11:53:00.657Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-01-29T11:53:00.657Z] Step 2/6 : FROM ${BASE} [2021-01-29T11:53:00.657Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-29T11:53:00.657Z] 188c0c94c7c5: Pulling fs layer [2021-01-29T11:53:00.657Z] 0ef7d3d256c8: Pulling fs layer [2021-01-29T11:53:00.657Z] de9db76c5a1d: Pulling fs layer [2021-01-29T11:53:00.657Z] bca2f99d35d6: Pulling fs layer [2021-01-29T11:53:00.657Z] 93359f2a8cfa: Pulling fs layer [2021-01-29T11:53:00.657Z] 7c6f9722023f: Pulling fs layer [2021-01-29T11:53:00.657Z] a35cf1a2eb13: Pulling fs layer [2021-01-29T11:53:00.657Z] 93359f2a8cfa: Waiting [2021-01-29T11:53:00.657Z] 7c6f9722023f: Waiting [2021-01-29T11:53:00.657Z] a35cf1a2eb13: Waiting [2021-01-29T11:53:00.657Z] bca2f99d35d6: Waiting [2021-01-29T11:53:00.657Z] de9db76c5a1d: Verifying Checksum [2021-01-29T11:53:00.657Z] de9db76c5a1d: Download complete [2021-01-29T11:53:00.657Z] 0ef7d3d256c8: Verifying Checksum [2021-01-29T11:53:00.657Z] 0ef7d3d256c8: Download complete [2021-01-29T11:53:00.657Z] 93359f2a8cfa: Verifying Checksum [2021-01-29T11:53:00.657Z] 93359f2a8cfa: Download complete [2021-01-29T11:53:00.657Z] 7c6f9722023f: Verifying Checksum [2021-01-29T11:53:00.658Z] 7c6f9722023f: Download complete [2021-01-29T11:53:00.658Z] 188c0c94c7c5: Verifying Checksum [2021-01-29T11:53:00.658Z] 188c0c94c7c5: Download complete [2021-01-29T11:53:01.266Z] 188c0c94c7c5: Pull complete [2021-01-29T11:53:02.325Z] 0ef7d3d256c8: Pull complete [2021-01-29T11:53:02.923Z] de9db76c5a1d: Pull complete [2021-01-29T11:53:04.407Z] a35cf1a2eb13: Verifying Checksum [2021-01-29T11:53:04.407Z] a35cf1a2eb13: Download complete [2021-01-29T11:53:05.389Z] bca2f99d35d6: Verifying Checksum [2021-01-29T11:53:05.389Z] bca2f99d35d6: Download complete [2021-01-29T11:53:07.600Z] Still waiting to schedule task [2021-01-29T11:53:07.600Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-29T11:53:15.561Z] bca2f99d35d6: Pull complete [2021-01-29T11:53:15.561Z] 93359f2a8cfa: Pull complete [2021-01-29T11:53:15.561Z] 7c6f9722023f: Pull complete [2021-01-29T11:53:20.970Z] a35cf1a2eb13: Pull complete [2021-01-29T11:53:20.970Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-29T11:53:20.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-29T11:53:20.970Z] ---> a62c8e92a672 [2021-01-29T11:53:20.970Z] 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-01-29T11:53:20.970Z] ---> Running in e649988f1080 [2021-01-29T11:53:21.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-29T11:53:22.200Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-29T11:53:22.477Z] (1/12) Installing libmagic (5.38-r0) [2021-01-29T11:53:23.071Z] (2/12) Installing file (5.38-r0) [2021-01-29T11:53:23.071Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-01-29T11:53:23.336Z] (4/12) Installing g++ (9.3.0-r2) [2021-01-29T11:53:28.699Z] (5/12) Installing fortify-headers (1.1-r0) [2021-01-29T11:53:28.699Z] (6/12) Installing patch (2.7.6-r6) [2021-01-29T11:53:28.699Z] (7/12) Installing build-base (0.5-r2) [2021-01-29T11:53:28.699Z] (8/12) Installing libsodium (1.0.18-r0) [2021-01-29T11:53:28.699Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-01-29T11:53:28.699Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-01-29T11:53:28.699Z] (11/12) Installing libzmq (4.3.3-r0) [2021-01-29T11:53:28.699Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-01-29T11:53:28.699Z] Executing busybox-1.31.1-r19.trigger [2021-01-29T11:53:28.699Z] OK: 233 MiB in 51 packages [2021-01-29T11:53:32.985Z] Removing intermediate container e649988f1080 [2021-01-29T11:53:32.985Z] ---> 565fb762b3f3 [2021-01-29T11:53:32.985Z] Step 4/6 : WORKDIR /edgex-go [2021-01-29T11:53:32.985Z] ---> Running in 1556207f8617 [2021-01-29T11:53:32.985Z] Removing intermediate container 1556207f8617 [2021-01-29T11:53:32.985Z] ---> 15982d17f7f7 [2021-01-29T11:53:32.985Z] Step 5/6 : COPY go.mod . [2021-01-29T11:53:33.255Z] ---> b7064ebfe628 [2021-01-29T11:53:33.255Z] Step 6/6 : RUN go mod download [2021-01-29T11:53:33.524Z] ---> Running in 69ae0ee21d10 [2021-01-29T11:54:00.340Z] Removing intermediate container 69ae0ee21d10 [2021-01-29T11:54:00.340Z] ---> 047739f87daa [2021-01-29T11:54:00.340Z] Successfully built 047739f87daa [2021-01-29T11:54:00.340Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:54:00.712Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T11:54:00.982Z] . [Pipeline] withDockerContainer [2021-01-29T11:54:01.174Z] prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container [2021-01-29T11:54:01.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-29T11:54:02.801Z] $ docker top 456798908e5cea29cf46ae01bec71cafaf9d2fc3cbafd7cf67f2230be1a22271 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T11:54:03.885Z] + go version [2021-01-29T11:54:03.885Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-29T11:54:03.904Z] $ docker stop --time=1 456798908e5cea29cf46ae01bec71cafaf9d2fc3cbafd7cf67f2230be1a22271 [2021-01-29T11:54:05.420Z] $ docker rm -f 456798908e5cea29cf46ae01bec71cafaf9d2fc3cbafd7cf67f2230be1a22271 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:54:06.279Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T11:54:06.279Z] . [Pipeline] withDockerContainer [2021-01-29T11:54:06.483Z] prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container [2021-01-29T11:54:06.556Z] $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-29T11:54:08.026Z] $ docker top e856c942fd3d32c37622a160410dbee12dc510d7cd5395fa3354bc25fd3ccae1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-29T11:54:08.520Z] ========================================================= [2021-01-29T11:54:08.520Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-01-29T11:54:08.520Z] ========================================================= [Pipeline] sh [2021-01-29T11:54:08.847Z] + make test [2021-01-29T11:54:08.847Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-29T11:54:27.283Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-01-29T11:54:54.373Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-01-29T11:54:54.373Z] internal/pkg/v2/infrastructure/redis/client.go:678:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:54:54.373Z] internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category [2021-01-29T11:54:54.373Z] internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver [2021-01-29T11:54:54.373Z] internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:54:54.373Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-01-29T11:54:57.319Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23958 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws [2021-01-29T11:54:57.387Z] Running in /w/workspace/edgex-go/6 [Pipeline] { [Pipeline] checkout [2021-01-29T11:55:02.185Z] using credential edgex-jenkins-ssh [2021-01-29T11:55:02.249Z] Cloning the remote Git repository [2021-01-29T11:55:02.320Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-01-29T11:55:02.455Z] > git init /w/workspace/edgex-go/6 # timeout=10 [2021-01-29T11:55:03.040Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-01-29T11:55:03.040Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-01-29T11:55:03.040Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-01-29T11:55:03.040Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-01-29T11:55:03.040Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-01-29T11:55:03.040Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-01-29T11:55:02.541Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-01-29T11:55:02.541Z] > git --version # timeout=10 [2021-01-29T11:55:02.565Z] > git --version # 'git version 2.17.1' [2021-01-29T11:55:02.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T11:55:02.662Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T11:55:13.401Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.205s coverage: 46.0% of statements [2021-01-29T11:55:13.401Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.114s coverage: 100.0% of statements [2021-01-29T11:55:13.401Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-01-29T11:55:13.401Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.099s coverage: 100.0% of statements [2021-01-29T11:55:13.401Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.081s coverage: 100.0% of statements [2021-01-29T11:55:16.780Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.167s coverage: 65.8% of statements [2021-01-29T11:55:17.056Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.478s coverage: 82.3% of statements [2021-01-29T11:55:17.056Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-01-29T11:55:17.056Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.166s coverage: 100.0% of statements [2021-01-29T11:55:17.056Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.042s coverage: 100.0% of statements [2021-01-29T11:55:19.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.162s coverage: 86.7% of statements [2021-01-29T11:55:19.352Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.164s coverage: 97.5% of statements [2021-01-29T11:55:19.352Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.090s coverage: 78.3% of statements [2021-01-29T11:55:19.683Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-01-29T11:55:19.683Z] internal/pkg/v2/infrastructure/redis/client.go:678: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:55:19.683Z] internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category [2021-01-29T11:55:19.683Z] internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver [2021-01-29T11:55:19.683Z] internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:55:19.109Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-01-29T11:55:19.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T11:55:19.156Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-01-29T11:55:19.200Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-01-29T11:55:19.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T11:55:19.215Z] > 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-01-29T11:55:20.021Z] Merging remotes/origin/master commit df7eaa583f48bd0cefe0e9af00d8477318667731 into PR head commit 004a12ff556a2cc81a63b5584790cddddc8757e6 [2021-01-29T11:55:20.476Z] Merge succeeded, producing 004a12ff556a2cc81a63b5584790cddddc8757e6 [2021-01-29T11:55:20.476Z] Checking out Revision 004a12ff556a2cc81a63b5584790cddddc8757e6 (PR-3045) [2021-01-29T11:55:20.043Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T11:55:20.073Z] > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # timeout=10 [2021-01-29T11:55:20.377Z] > git remote # timeout=10 [2021-01-29T11:55:20.401Z] > git config --get remote.origin.url # timeout=10 [2021-01-29T11:55:20.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T11:55:20.433Z] > git merge df7eaa583f48bd0cefe0e9af00d8477318667731 # timeout=10 [2021-01-29T11:55:20.458Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-29T11:55:20.484Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T11:55:20.495Z] > git checkout -f 004a12ff556a2cc81a63b5584790cddddc8757e6 # timeout=10 [2021-01-29T11:55:22.409Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.593s coverage: 92.8% of statements [2021-01-29T11:55:22.409Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.034s coverage: 58.8% of statements [2021-01-29T11:55:22.409Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-01-29T11:55:22.409Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.115s coverage: 43.8% of statements [2021-01-29T11:55:22.409Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.205s coverage: 79.5% of statements [2021-01-29T11:55:22.409Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.065s coverage: 94.1% of statements [2021-01-29T11:55:22.707Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.081s coverage: 96.3% of statements [2021-01-29T11:55:23.057Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.043s coverage: 87.5% of statements [2021-01-29T11:55:25.035Z] 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-01-29T11:55:26.716Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-29T11:55:27.196Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T11:55:27.549Z] + sudo service docker restart [2021-01-29T11:55:27.549Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-29T11:55:29.607Z] provisioning config files... [2021-01-29T11:55:29.648Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config5581091537803456529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:55:30.066Z] ---> docker-login.sh [2021-01-29T11:55:30.066Z] nexus3.edgexfoundry.org:10001 [2021-01-29T11:55:31.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:55:31.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:55:31.328Z] Configure a credential helper to remove this warning. See [2021-01-29T11:55:31.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:55:31.328Z] [2021-01-29T11:55:31.328Z] Login Succeeded [2021-01-29T11:55:31.328Z] nexus3.edgexfoundry.org:10002 [2021-01-29T11:55:31.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:55:31.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:55:31.875Z] Configure a credential helper to remove this warning. See [2021-01-29T11:55:31.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:55:31.875Z] [2021-01-29T11:55:31.875Z] Login Succeeded [2021-01-29T11:55:31.875Z] nexus3.edgexfoundry.org:10003 [2021-01-29T11:55:32.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:55:32.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:55:32.425Z] Configure a credential helper to remove this warning. See [2021-01-29T11:55:32.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:55:32.425Z] [2021-01-29T11:55:32.425Z] Login Succeeded [2021-01-29T11:55:32.425Z] nexus3.edgexfoundry.org:10004 [2021-01-29T11:55:32.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:55:32.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:55:32.974Z] Configure a credential helper to remove this warning. See [2021-01-29T11:55:32.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:55:32.974Z] [2021-01-29T11:55:32.974Z] Login Succeeded [2021-01-29T11:55:32.974Z] docker.io [2021-01-29T11:55:33.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T11:55:33.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T11:55:33.514Z] Configure a credential helper to remove this warning. See [2021-01-29T11:55:33.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T11:55:33.514Z] [2021-01-29T11:55:33.514Z] Login Succeeded [2021-01-29T11:55:33.514Z] ---> docker-login.sh ends [Pipeline] } [2021-01-29T11:55:33.531Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-29T11:55:33.967Z] ========================================================= [2021-01-29T11:55:33.967Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-29T11:55:33.967Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:55:34.338Z] + 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-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.056s coverage: 94.4% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.037s coverage: 44.8% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.134s coverage: 87.2% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.063s coverage: 100.0% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.234s coverage: 75.5% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.121s coverage: 80.8% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.096s coverage: 87.2% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.152s coverage: 84.2% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.247s coverage: 91.4% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.355s coverage: 63.5% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.040s coverage: 100.0% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.085s coverage: 91.3% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.120s coverage: 100.0% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.038s coverage: 73.7% of statements [2021-01-29T11:55:35.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.044s coverage: 100.0% of statements [2021-01-29T11:55:36.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.713s coverage: 68.9% of statements [2021-01-29T11:55:36.869Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.408s coverage: 37.0% of statements [2021-01-29T11:55:36.972Z] Sending build context to Docker daemon 166MB [2021-01-29T11:55:36.972Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-01-29T11:55:36.972Z] Step 2/6 : FROM ${BASE} [2021-01-29T11:55:36.972Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-29T11:55:36.972Z] 5f621e34cdf4: Pulling fs layer [2021-01-29T11:55:36.972Z] a4357932f1b6: Pulling fs layer [2021-01-29T11:55:36.972Z] 18c013af1878: Pulling fs layer [2021-01-29T11:55:36.972Z] 00ac8860ef70: Pulling fs layer [2021-01-29T11:55:36.972Z] 63d7cb157983: Pulling fs layer [2021-01-29T11:55:36.972Z] b116817d02f9: Pulling fs layer [2021-01-29T11:55:36.972Z] 745a02a5169b: Pulling fs layer [2021-01-29T11:55:36.972Z] 00ac8860ef70: Waiting [2021-01-29T11:55:36.972Z] 63d7cb157983: Waiting [2021-01-29T11:55:36.972Z] b116817d02f9: Waiting [2021-01-29T11:55:36.972Z] 745a02a5169b: Waiting [2021-01-29T11:55:36.972Z] 18c013af1878: Download complete [2021-01-29T11:55:36.972Z] a4357932f1b6: Verifying Checksum [2021-01-29T11:55:36.972Z] a4357932f1b6: Download complete [2021-01-29T11:55:36.972Z] 63d7cb157983: Verifying Checksum [2021-01-29T11:55:36.972Z] 63d7cb157983: Download complete [2021-01-29T11:55:36.972Z] b116817d02f9: Verifying Checksum [2021-01-29T11:55:36.972Z] b116817d02f9: Download complete [2021-01-29T11:55:36.972Z] 5f621e34cdf4: Verifying Checksum [2021-01-29T11:55:36.972Z] 5f621e34cdf4: Download complete [2021-01-29T11:55:37.574Z] 5f621e34cdf4: Pull complete [2021-01-29T11:55:38.045Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.522s coverage: 84.0% of statements [2021-01-29T11:55:38.045Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.105s coverage: 100.0% of statements [2021-01-29T11:55:38.045Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-01-29T11:55:38.045Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-01-29T11:55:38.045Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-01-29T11:55:38.045Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-01-29T11:55:38.045Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-01-29T11:55:38.045Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-01-29T11:55:38.045Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-01-29T11:55:38.186Z] a4357932f1b6: Pull complete [2021-01-29T11:55:38.462Z] 18c013af1878: Pull complete [2021-01-29T11:55:39.512Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.100s coverage: 100.0% of statements [2021-01-29T11:55:39.512Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.082s coverage: 100.0% of statements [2021-01-29T11:55:39.512Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-01-29T11:55:39.907Z] 745a02a5169b: Verifying Checksum [2021-01-29T11:55:39.908Z] 745a02a5169b: Download complete [2021-01-29T11:55:40.502Z] 00ac8860ef70: Verifying Checksum [2021-01-29T11:55:40.502Z] 00ac8860ef70: Download complete [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.937s coverage: 29.1% of statements [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.206s coverage: 99.0% of statements [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.063s coverage: 100.0% of statements [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.082s coverage: 0.0% of statements [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.050s coverage: 100.0% of statements [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.053s coverage: 87.9% of statements [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.045s coverage: 100.0% of statements [2021-01-29T11:55:43.119Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.069s coverage: 32.1% of statements [2021-01-29T11:55:44.106Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.113s coverage: 100.0% of statements [2021-01-29T11:55:44.374Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-01-29T11:55:44.403Z] $ docker stop --time=1 e856c942fd3d32c37622a160410dbee12dc510d7cd5395fa3354bc25fd3ccae1 [2021-01-29T11:55:47.048Z] $ docker rm -f e856c942fd3d32c37622a160410dbee12dc510d7cd5395fa3354bc25fd3ccae1 [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-01-29T11:55:49.072Z] Failed in branch amd64 [2021-01-29T11:55:50.654Z] 00ac8860ef70: Pull complete [2021-01-29T11:55:50.928Z] 63d7cb157983: Pull complete [2021-01-29T11:55:51.203Z] b116817d02f9: Pull complete [2021-01-29T11:55:55.521Z] 745a02a5169b: Pull complete [2021-01-29T11:55:55.522Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-29T11:55:55.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-29T11:55:55.522Z] ---> b7e6874047d6 [2021-01-29T11:55:55.522Z] 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-01-29T11:55:58.145Z] ---> Running in c941a921a970 [2021-01-29T11:55:59.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-29T11:56:00.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-29T11:56:00.794Z] (1/12) Installing libmagic (5.38-r0) [2021-01-29T11:56:00.794Z] (2/12) Installing file (5.38-r0) [2021-01-29T11:56:01.064Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-01-29T11:56:01.065Z] (4/12) Installing g++ (9.3.0-r2) [2021-01-29T11:56:05.359Z] (5/12) Installing fortify-headers (1.1-r0) [2021-01-29T11:56:05.629Z] (6/12) Installing patch (2.7.6-r6) [2021-01-29T11:56:05.630Z] (7/12) Installing build-base (0.5-r2) [2021-01-29T11:56:05.630Z] (8/12) Installing libsodium (1.0.18-r0) [2021-01-29T11:56:05.902Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-01-29T11:56:05.902Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-01-29T11:56:05.902Z] (11/12) Installing libzmq (4.3.3-r0) [2021-01-29T11:56:06.177Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-01-29T11:56:06.177Z] Executing busybox-1.31.1-r19.trigger [2021-01-29T11:56:06.177Z] OK: 217 MiB in 51 packages [2021-01-29T11:56:10.477Z] Removing intermediate container c941a921a970 [2021-01-29T11:56:10.477Z] ---> b36de5618056 [2021-01-29T11:56:10.477Z] Step 4/6 : WORKDIR /edgex-go [2021-01-29T11:56:10.477Z] ---> Running in e047b8c8395e [2021-01-29T11:56:10.748Z] Removing intermediate container e047b8c8395e [2021-01-29T11:56:10.748Z] ---> 093bee9e02fb [2021-01-29T11:56:10.748Z] Step 5/6 : COPY go.mod . [2021-01-29T11:56:11.726Z] ---> 70e7628ac4db [2021-01-29T11:56:11.726Z] Step 6/6 : RUN go mod download [2021-01-29T11:56:11.726Z] ---> Running in c3a9758a0bb9 [2021-01-29T11:56:38.542Z] Removing intermediate container c3a9758a0bb9 [2021-01-29T11:56:38.542Z] ---> ec531af1603e [2021-01-29T11:56:38.542Z] Successfully built ec531af1603e [2021-01-29T11:56:38.542Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:56:38.884Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T11:56:38.884Z] . [Pipeline] withDockerContainer [2021-01-29T11:56:39.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-23958 does not seem to be running inside a container [2021-01-29T11:56:39.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-29T11:56:40.811Z] $ docker top f364633e0a21ceba62c61ef9ad8d2f3343ca418662a19bddd92fac7e27aeade0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T11:56:41.853Z] + go version [2021-01-29T11:56:41.853Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-29T11:56:41.870Z] $ docker stop --time=1 f364633e0a21ceba62c61ef9ad8d2f3343ca418662a19bddd92fac7e27aeade0 [2021-01-29T11:56:43.856Z] $ docker rm -f f364633e0a21ceba62c61ef9ad8d2f3343ca418662a19bddd92fac7e27aeade0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:56:44.884Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T11:56:44.885Z] . [Pipeline] withDockerContainer [2021-01-29T11:56:45.157Z] prd-ubuntu18.04-docker-arm64-4c-16g-23958 does not seem to be running inside a container [2021-01-29T11:56:45.238Z] $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-29T11:56:46.557Z] $ docker top 2a1bfb36165033b83dc2bc415f129c3ace55a82a3aaa2ba0a8806972749bd22d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-29T11:56:46.924Z] ========================================================= [2021-01-29T11:56:46.924Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-01-29T11:56:46.924Z] ========================================================= [Pipeline] sh [2021-01-29T11:56:47.566Z] + make test [2021-01-29T11:56:47.566Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-29T11:57:09.739Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-01-29T11:57:56.781Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-01-29T11:57:56.781Z] internal/pkg/v2/infrastructure/redis/client.go:678:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:57:56.781Z] internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category [2021-01-29T11:57:56.781Z] internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver [2021-01-29T11:57:56.781Z] internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:57:56.781Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-01-29T11:58:05.212Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-01-29T11:58:05.212Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-01-29T11:58:05.212Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-01-29T11:58:05.212Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-01-29T11:58:05.212Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-01-29T11:58:05.212Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-01-29T11:58:23.575Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.360s coverage: 46.0% of statements [2021-01-29T11:58:23.575Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.140s coverage: 100.0% of statements [2021-01-29T11:58:23.575Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-01-29T11:58:23.575Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.112s coverage: 100.0% of statements [2021-01-29T11:58:23.575Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.077s coverage: 100.0% of statements [2021-01-29T11:58:26.991Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.260s coverage: 65.8% of statements [2021-01-29T11:58:28.993Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.713s coverage: 82.3% of statements [2021-01-29T11:58:28.993Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-01-29T11:58:28.993Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.157s coverage: 100.0% of statements [2021-01-29T11:58:28.993Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.085s coverage: 100.0% of statements [2021-01-29T11:58:32.417Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.324s coverage: 86.7% of statements [2021-01-29T11:58:32.417Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-01-29T11:58:32.417Z] internal/pkg/v2/infrastructure/redis/client.go:678: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:58:32.417Z] internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category [2021-01-29T11:58:32.417Z] internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver [2021-01-29T11:58:32.417Z] internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-01-29T11:58:33.020Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.391s coverage: 97.5% of statements [2021-01-29T11:58:33.020Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.170s coverage: 78.3% of statements [2021-01-29T11:58:41.343Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.284s coverage: 92.8% of statements [2021-01-29T11:58:41.343Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.057s coverage: 58.8% of statements [2021-01-29T11:58:41.343Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-01-29T11:58:41.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.068s coverage: 43.8% of statements [2021-01-29T11:58:41.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.092s coverage: 79.5% of statements [2021-01-29T11:58:41.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.072s coverage: 94.1% of statements [2021-01-29T11:58:41.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.077s coverage: 96.3% of statements [2021-01-29T11:58:41.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.062s coverage: 87.5% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.094s coverage: 94.4% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.072s coverage: 87.2% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.102s coverage: 75.5% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.070s coverage: 80.8% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.119s coverage: 87.2% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.131s coverage: 84.2% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.173s coverage: 91.4% of statements [2021-01-29T11:58:53.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.605s coverage: 63.5% of statements [2021-01-29T11:58:54.046Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.086s coverage: 100.0% of statements [2021-01-29T11:58:55.034Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.084s coverage: 91.3% of statements [2021-01-29T11:58:55.034Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.060s coverage: 100.0% of statements [2021-01-29T11:58:56.477Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.056s coverage: 73.7% of statements [2021-01-29T11:58:56.477Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.061s coverage: 100.0% of statements [2021-01-29T11:59:00.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.857s coverage: 68.9% of statements [2021-01-29T11:59:01.814Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.415s coverage: 37.0% of statements [2021-01-29T11:59:01.815Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-01-29T11:59:01.815Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-01-29T11:59:01.815Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-01-29T11:59:01.815Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-01-29T11:59:01.815Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-01-29T11:59:01.815Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-01-29T11:59:02.804Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.715s coverage: 84.0% of statements [2021-01-29T11:59:02.804Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.076s coverage: 100.0% of statements [2021-01-29T11:59:02.804Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-01-29T11:59:04.792Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.139s coverage: 100.0% of statements [2021-01-29T11:59:05.398Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.134s coverage: 100.0% of statements [2021-01-29T11:59:05.398Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.839s coverage: 29.1% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.203s coverage: 99.0% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.151s coverage: 100.0% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.062s coverage: 100.0% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.105s coverage: 87.9% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.049s coverage: 100.0% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.049s coverage: 32.1% of statements [2021-01-29T11:59:13.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-01-29T11:59:14.002Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-01-29T11:59:14.017Z] $ docker stop --time=1 2a1bfb36165033b83dc2bc415f129c3ace55a82a3aaa2ba0a8806972749bd22d [2021-01-29T11:59:16.334Z] $ docker rm -f 2a1bfb36165033b83dc2bc415f129c3ace55a82a3aaa2ba0a8806972749bd22d [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-01-29T11:59:18.509Z] 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-01-29T11:59:20.928Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:59:22.226Z] ---> package-listing.sh [2021-01-29T11:59:22.226Z] ++ facter osfamily [2021-01-29T11:59:22.226Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-29T11:59:22.492Z] + OS_FAMILY=redhat [2021-01-29T11:59:22.492Z] + workspace=/w/workspace/edgex-go/6 [2021-01-29T11:59:22.492Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-29T11:59:22.492Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-29T11:59:22.492Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-29T11:59:22.492Z] + PACKAGES=/tmp/packages_start.txt [2021-01-29T11:59:22.492Z] + '[' /w/workspace/edgex-go/6 ']' [2021-01-29T11:59:22.492Z] + PACKAGES=/tmp/packages_end.txt [2021-01-29T11:59:22.492Z] + case "${OS_FAMILY}" in [2021-01-29T11:59:22.492Z] + rpm -qa [2021-01-29T11:59:22.492Z] + sort [2021-01-29T11:59:27.870Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-29T11:59:27.870Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-29T11:59:27.870Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-29T11:59:27.870Z] + '[' /w/workspace/edgex-go/6 ']' [2021-01-29T11:59:27.870Z] + mkdir -p /w/workspace/edgex-go/6/archives/ [2021-01-29T11:59:27.870Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/6/archives/ [Pipeline] echo [2021-01-29T11:59:27.888Z] 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/6/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-29T11:59:28.209Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:59:28.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T11:59:29.076Z] [2021-01-29T11:59:29.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-29T11:59:29.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T11:59:29.460Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-29T11:59:29.460Z] df20fa9351a1: Pulling fs layer [2021-01-29T11:59:29.460Z] 36b3adc4ff6f: Pulling fs layer [2021-01-29T11:59:29.460Z] 8ad3a11d3b57: Pulling fs layer [2021-01-29T11:59:29.460Z] 46f8f816bc3b: Pulling fs layer [2021-01-29T11:59:29.460Z] 93b61091891f: Pulling fs layer [2021-01-29T11:59:29.460Z] 93b9cdb0e59b: Pulling fs layer [2021-01-29T11:59:29.460Z] 5e14af77c1be: Pulling fs layer [2021-01-29T11:59:29.460Z] 01666e4c0597: Pulling fs layer [2021-01-29T11:59:29.460Z] aa168da1d23b: Pulling fs layer [2021-01-29T11:59:29.460Z] 93b61091891f: Waiting [2021-01-29T11:59:29.460Z] 93b9cdb0e59b: Waiting [2021-01-29T11:59:29.460Z] 5e14af77c1be: Waiting [2021-01-29T11:59:29.460Z] 01666e4c0597: Waiting [2021-01-29T11:59:29.460Z] aa168da1d23b: Waiting [2021-01-29T11:59:29.460Z] 46f8f816bc3b: Waiting [2021-01-29T11:59:29.729Z] 36b3adc4ff6f: Verifying Checksum [2021-01-29T11:59:29.729Z] 46f8f816bc3b: Verifying Checksum [2021-01-29T11:59:29.729Z] 46f8f816bc3b: Download complete [2021-01-29T11:59:29.729Z] df20fa9351a1: Verifying Checksum [2021-01-29T11:59:29.729Z] df20fa9351a1: Download complete [2021-01-29T11:59:29.729Z] 93b9cdb0e59b: Verifying Checksum [2021-01-29T11:59:29.729Z] 93b9cdb0e59b: Download complete [2021-01-29T11:59:29.729Z] 5e14af77c1be: Verifying Checksum [2021-01-29T11:59:29.729Z] 5e14af77c1be: Download complete [2021-01-29T11:59:29.729Z] 93b61091891f: Verifying Checksum [2021-01-29T11:59:29.729Z] 93b61091891f: Download complete [2021-01-29T11:59:29.729Z] 01666e4c0597: Verifying Checksum [2021-01-29T11:59:29.729Z] 01666e4c0597: Download complete [2021-01-29T11:59:30.012Z] 8ad3a11d3b57: Verifying Checksum [2021-01-29T11:59:30.012Z] 8ad3a11d3b57: Download complete [2021-01-29T11:59:30.309Z] df20fa9351a1: Pull complete [2021-01-29T11:59:30.936Z] 36b3adc4ff6f: Pull complete [2021-01-29T11:59:33.010Z] 8ad3a11d3b57: Pull complete [2021-01-29T11:59:33.010Z] 46f8f816bc3b: Pull complete [2021-01-29T11:59:33.322Z] 93b61091891f: Pull complete [2021-01-29T11:59:33.322Z] 93b9cdb0e59b: Pull complete [2021-01-29T11:59:33.592Z] 5e14af77c1be: Pull complete [2021-01-29T11:59:33.857Z] 01666e4c0597: Pull complete [2021-01-29T11:59:33.857Z] aa168da1d23b: Verifying Checksum [2021-01-29T11:59:33.857Z] aa168da1d23b: Download complete [2021-01-29T11:59:46.349Z] aa168da1d23b: Pull complete [2021-01-29T11:59:46.349Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-29T11:59:46.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T11:59:46.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-29T11:59:46.621Z] prd-centos7-docker-4c-2g-23957 does not seem to be running inside a container [2021-01-29T11:59:46.693Z] $ 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/6/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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-29T11:59:50.343Z] $ docker top 3dfd413623846f07ab8446315b48b8364d1651189c6e2eee3a0007bf50efdf0d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T11:59:51.025Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-29T11:59:51.373Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-29T11:59:51.700Z] + ls /var/log/sa-host [2021-01-29T11:59:51.700Z] + sadf -c /var/log/sa-host/sa23 [2021-01-29T11:59:51.700Z] file_magic: OK [2021-01-29T11:59:51.700Z] HZ: Using current value: 100 [2021-01-29T11:59:51.700Z] file_header: OK [2021-01-29T11:59:51.700Z] 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-01-29T11:59:51.700Z] Statistics: [2021-01-29T11:59:51.700Z] Hnuu...uuuununununu... [2021-01-29T11:59:51.700Z] File successfully converted to sysstat format version 12.2.1 [2021-01-29T11:59:51.700Z] + sadf -c /var/log/sa-host/sa29 [2021-01-29T11:59:51.700Z] file_magic: OK [2021-01-29T11:59:51.700Z] HZ: Using current value: 100 [2021-01-29T11:59:51.700Z] file_header: OK [2021-01-29T11:59:51.700Z] 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-01-29T11:59:51.700Z] Statistics: [2021-01-29T11:59:51.700Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-29T11:59:51.700Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-29T11:59:52.442Z] provisioning config files... [2021-01-29T11:59:52.461Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/6@tmp/config1718936445648841338tmp [Pipeline] { [Pipeline] echo [2021-01-29T11:59:52.538Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:59:53.212Z] ---> create-netrc.sh [Pipeline] } [2021-01-29T11:59:53.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-29T11:59:53.345Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:59:53.661Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-29T11:59:53.674Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:59:54.010Z] ---> sudo-logs.sh [2021-01-29T11:59:54.010Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-29T11:59:54.037Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:59:54.678Z] ---> job-cost.sh [2021-01-29T11:59:54.678Z] lf-activate-venv: SKIPPING [2021-01-29T11:59:54.678Z] INFO: No Stack... [2021-01-29T11:59:55.636Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-29T11:59:56.240Z] INFO: Archiving Costs [Pipeline] echo [2021-01-29T11:59:56.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T11:59:57.044Z] ---> logs-deploy.sh [2021-01-29T11:59:57.044Z] lf-activate-venv: SKIPPING [2021-01-29T11:59:57.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/6 [2021-01-29T11:59:57.045Z] INFO: archiving workspace using pattern(s): [2021-01-29T11:59:59.659Z] Archives upload complete. [2021-01-29T11:59:59.659Z] INFO: archiving logs to Nexus