Branch indexing 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 b96559747f50675b34fdacc2fc1609ae3482ed74 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24458 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/8 [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/8 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 2a4efc596d6299a706f2b1b5ea90705279ab33b1 into PR head commit b96559747f50675b34fdacc2fc1609ae3482ed74 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f b96559747f50675b34fdacc2fc1609ae3482ed74 # 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 Merge succeeded, producing 64e8f128f597cd30a1470da1e95694f8baa7fd50 Checking out Revision 64e8f128f597cd30a1470da1e95694f8baa7fd50 (PR-3045) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64e8f128f597cd30a1470da1e95694f8baa7fd50 # timeout=10 Commit message: "Merge commit '2a4efc596d6299a706f2b1b5ea90705279ab33b1' into HEAD" > git rev-list --no-walk b96559747f50675b34fdacc2fc1609ae3482ed74 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-02T00:30:21.854Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-02T00:30:22.157Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T00:30:22.256Z] ========================================================= [2021-02-02T00:30:22.256Z] EdgeX Global Pipelines Version Info [2021-02-02T00:30:22.256Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:30:23.794Z] ------------------- [2021-02-02T00:30:23.794Z] stable info: [2021-02-02T00:30:23.794Z] ------------------- [2021-02-02T00:30:23.794Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T00:30:23.794Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T00:30:23.794Z] Message: update stable to v1.0.179 [2021-02-02T00:30:24.749Z] ------------------- [2021-02-02T00:30:24.749Z] experimental info: [2021-02-02T00:30:24.749Z] ------------------- [2021-02-02T00:30:24.749Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T00:30:24.749Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T00:30:24.749Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-02T00:30:25.106Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-02-02T00:30:25.199Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-02-02T00:30:25.320Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-02T00:30:25.420Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-02T00:30:25.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-02T00:30:25.610Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-02T00:30:25.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-02T00:30:25.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-02-02T00:30:25.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-02-02T00:30:25.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-02-02T00:30:26.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-02T00:30:26.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-02T00:30:26.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-02T00:30:26.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-02T00:30:26.465Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T00:30:26.549Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T00:30:26.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-02T00:30:26.718Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-02T00:30:26.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-02T00:30:26.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-02T00:30:26.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-02T00:30:27.091Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-02T00:30:27.193Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-02T00:30:27.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo [2021-02-02T00:30:27.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo [2021-02-02T00:30:27.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo [2021-02-02T00:30:27.568Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64e8f128f597cd30a1470da1e95694f8baa7fd50 [Pipeline] echo [2021-02-02T00:30:27.659Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64e8f12 [Pipeline] echo [2021-02-02T00:30:27.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T00:30:27.943Z] provisioning config files... [2021-02-02T00:30:27.984Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config4446060203754446779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:30:28.339Z] ---> docker-login.sh [2021-02-02T00:30:28.339Z] nexus3.edgexfoundry.org:10001 [2021-02-02T00:30:28.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:30:28.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:30:28.864Z] Configure a credential helper to remove this warning. See [2021-02-02T00:30:28.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:30:28.864Z] [2021-02-02T00:30:28.864Z] Login Succeeded [2021-02-02T00:30:28.864Z] nexus3.edgexfoundry.org:10002 [2021-02-02T00:30:28.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:30:28.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:30:28.864Z] Configure a credential helper to remove this warning. See [2021-02-02T00:30:28.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:30:28.864Z] [2021-02-02T00:30:28.864Z] Login Succeeded [2021-02-02T00:30:28.864Z] nexus3.edgexfoundry.org:10003 [2021-02-02T00:30:29.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:30:29.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:30:29.127Z] Configure a credential helper to remove this warning. See [2021-02-02T00:30:29.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:30:29.127Z] [2021-02-02T00:30:29.127Z] Login Succeeded [2021-02-02T00:30:29.127Z] nexus3.edgexfoundry.org:10004 [2021-02-02T00:30:29.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:30:29.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:30:29.392Z] Configure a credential helper to remove this warning. See [2021-02-02T00:30:29.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:30:29.392Z] [2021-02-02T00:30:29.392Z] Login Succeeded [2021-02-02T00:30:29.392Z] docker.io [2021-02-02T00:30:29.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:30:29.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:30:29.656Z] Configure a credential helper to remove this warning. See [2021-02-02T00:30:29.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:30:29.656Z] [2021-02-02T00:30:29.656Z] Login Succeeded [2021-02-02T00:30:29.656Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T00:30:29.666Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T00:30:30.145Z] ++ 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-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/core-command/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo core-command,cmd/core-command/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/core-data/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo core-data,cmd/core-data/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/core-metadata/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/support-notifications/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-02-02T00:30:30.145Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-02T00:30:30.145Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-02-02T00:30:30.145Z] ++ cut -d/ -f2 [2021-02-02T00:30:30.145Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-02-02T00:30:30.220Z] 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-02T00:30:31.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T00:30:31.853Z] [2021-02-02T00:30:31.853Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:30:32.200Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T00:30:32.200Z] latest: Pulling from edgex-devops/git-semver [2021-02-02T00:30:32.200Z] 31603596830f: Pulling fs layer [2021-02-02T00:30:32.200Z] 2a8b12db71e7: Pulling fs layer [2021-02-02T00:30:32.200Z] 6ca5941a6612: Pulling fs layer [2021-02-02T00:30:32.200Z] ecc8261a40a4: Pulling fs layer [2021-02-02T00:30:32.200Z] 2a8b12db71e7: Verifying Checksum [2021-02-02T00:30:32.200Z] 2a8b12db71e7: Download complete [2021-02-02T00:30:32.200Z] 31603596830f: Verifying Checksum [2021-02-02T00:30:32.200Z] 31603596830f: Download complete [2021-02-02T00:30:32.466Z] 6ca5941a6612: Verifying Checksum [2021-02-02T00:30:32.466Z] 6ca5941a6612: Download complete [2021-02-02T00:30:32.466Z] ecc8261a40a4: Verifying Checksum [2021-02-02T00:30:32.466Z] ecc8261a40a4: Download complete [2021-02-02T00:30:32.735Z] 31603596830f: Pull complete [2021-02-02T00:30:32.735Z] 2a8b12db71e7: Pull complete [2021-02-02T00:30:33.692Z] 6ca5941a6612: Pull complete [2021-02-02T00:30:33.954Z] ecc8261a40a4: Pull complete [2021-02-02T00:30:33.954Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-02T00:30:33.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T00:30:33.954Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-02T00:30:34.076Z] prd-centos7-docker-4c-2g-24458 does not seem to be running inside a container [2021-02-02T00:30:34.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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-02T00:30:37.120Z] $ docker top 7778863b16d32e05a66177864c598f6810e654b2d41ec18268bbca8984366ffb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-02T00:30:37.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T00:30:37.453Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T00:30:37.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T00:30:37.686Z] $ docker exec 7778863b16d32e05a66177864c598f6810e654b2d41ec18268bbca8984366ffb ssh-agent [2021-02-02T00:30:37.849Z] SSH_AUTH_SOCK=/tmp/ssh-zvnDRXAWiw5z/agent.11 [2021-02-02T00:30:37.850Z] SSH_AGENT_PID=17 [2021-02-02T00:30:37.861Z] Running ssh-add (command line suppressed) [2021-02-02T00:30:37.977Z] Identity added: /w/workspace/edgex-go/8@tmp/private_key_6224169522780042334.key (/w/workspace/edgex-go/8@tmp/private_key_6224169522780042334.key) [2021-02-02T00:30:38.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T00:30:38.366Z] + git tag --points-at HEAD [Pipeline] } [2021-02-02T00:30:38.390Z] $ docker exec --env ******** --env ******** 7778863b16d32e05a66177864c598f6810e654b2d41ec18268bbca8984366ffb ssh-agent -k [2021-02-02T00:30:38.502Z] unset SSH_AUTH_SOCK; [2021-02-02T00:30:38.503Z] unset SSH_AGENT_PID; [2021-02-02T00:30:38.503Z] echo Agent pid 17 killed; [2021-02-02T00:30:38.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-02T00:30:38.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T00:30:38.682Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T00:30:38.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T00:30:38.854Z] $ docker exec 7778863b16d32e05a66177864c598f6810e654b2d41ec18268bbca8984366ffb ssh-agent [2021-02-02T00:30:39.026Z] SSH_AUTH_SOCK=/tmp/ssh-MjPCAV92oYhx/agent.47 [2021-02-02T00:30:39.026Z] SSH_AGENT_PID=52 [2021-02-02T00:30:39.034Z] Running ssh-add (command line suppressed) [2021-02-02T00:30:39.156Z] Identity added: /w/workspace/edgex-go/8@tmp/private_key_3283298119577075772.key (/w/workspace/edgex-go/8@tmp/private_key_3283298119577075772.key) [2021-02-02T00:30:39.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T00:30:39.579Z] + git semver init [2021-02-02T00:30:39.579Z] # -> Open(): unable to determine branch for HEAD [2021-02-02T00:30:39.579Z] # $GIT_DIR = /w/workspace/edgex-go/8/.git [2021-02-02T00:30:39.579Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/8 [2021-02-02T00:30:39.579Z] # $SEMVER_REMOTE_NAME = origin [2021-02-02T00:30:39.579Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-02T00:30:39.579Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-02T00:30:39.579Z] # $SEMVER_BRANCH = PR-3045 [2021-02-02T00:30:39.579Z] # $SEMVER_TEMP = /tmp/semver-004456138 [2021-02-02T00:30:39.579Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-02-02T00:31:01.676Z] # '/tmp/semver-004456138' -> '/w/workspace/edgex-go/8/.semver' [2021-02-02T00:31:01.676Z] # -> Force: false [2021-02-02T00:31:01.676Z] # $SEMVER_DIR = /w/workspace/edgex-go/8/.semver [Pipeline] } [2021-02-02T00:31:01.693Z] $ docker exec --env ******** --env ******** 7778863b16d32e05a66177864c598f6810e654b2d41ec18268bbca8984366ffb ssh-agent -k [2021-02-02T00:31:01.935Z] unset SSH_AUTH_SOCK; [2021-02-02T00:31:01.935Z] unset SSH_AGENT_PID; [2021-02-02T00:31:01.935Z] echo Agent pid 52 killed; [2021-02-02T00:31:02.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T00:31:02.679Z] + git semver [Pipeline] } [2021-02-02T00:31:02.719Z] $ docker stop --time=1 7778863b16d32e05a66177864c598f6810e654b2d41ec18268bbca8984366ffb [2021-02-02T00:31:04.739Z] $ docker rm -f 7778863b16d32e05a66177864c598f6810e654b2d41ec18268bbca8984366ffb [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T00:31:05.284Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-02T00:31:05.843Z] Stashed 1 file(s) [Pipeline] echo [2021-02-02T00:31:05.846Z] [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-02T00:31:06.763Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:31:07.067Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:31:07.372Z] + sudo service docker restart [2021-02-02T00:31:07.372Z] + true [2021-02-02T00:31:07.372Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-02-02T00:31:07.966Z] ========================================================= [2021-02-02T00:31:07.966Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-02T00:31:07.966Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:31:08.310Z] + 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-02T00:31:11.641Z] Sending build context to Docker daemon 327.5MB [2021-02-02T00:31:11.641Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T00:31:11.641Z] Step 2/6 : FROM ${BASE} [2021-02-02T00:31:11.641Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-02T00:31:11.641Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T00:31:11.641Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T00:31:11.641Z] de9db76c5a1d: Pulling fs layer [2021-02-02T00:31:11.641Z] bca2f99d35d6: Pulling fs layer [2021-02-02T00:31:11.641Z] 93359f2a8cfa: Pulling fs layer [2021-02-02T00:31:11.641Z] 7c6f9722023f: Pulling fs layer [2021-02-02T00:31:11.641Z] a35cf1a2eb13: Pulling fs layer [2021-02-02T00:31:11.641Z] 93359f2a8cfa: Waiting [2021-02-02T00:31:11.641Z] 7c6f9722023f: Waiting [2021-02-02T00:31:11.641Z] a35cf1a2eb13: Waiting [2021-02-02T00:31:11.641Z] bca2f99d35d6: Waiting [2021-02-02T00:31:11.641Z] de9db76c5a1d: Verifying Checksum [2021-02-02T00:31:11.641Z] de9db76c5a1d: Download complete [2021-02-02T00:31:11.641Z] 0ef7d3d256c8: Verifying Checksum [2021-02-02T00:31:11.641Z] 0ef7d3d256c8: Download complete [2021-02-02T00:31:11.641Z] 93359f2a8cfa: Verifying Checksum [2021-02-02T00:31:11.641Z] 93359f2a8cfa: Download complete [2021-02-02T00:31:11.641Z] 7c6f9722023f: Verifying Checksum [2021-02-02T00:31:11.641Z] 7c6f9722023f: Download complete [2021-02-02T00:31:11.641Z] 188c0c94c7c5: Verifying Checksum [2021-02-02T00:31:11.641Z] 188c0c94c7c5: Download complete [2021-02-02T00:31:12.237Z] 188c0c94c7c5: Pull complete [2021-02-02T00:31:12.837Z] 0ef7d3d256c8: Pull complete [2021-02-02T00:31:13.414Z] a35cf1a2eb13: Verifying Checksum [2021-02-02T00:31:13.414Z] a35cf1a2eb13: Download complete [2021-02-02T00:31:13.991Z] de9db76c5a1d: Pull complete [2021-02-02T00:31:14.256Z] bca2f99d35d6: Verifying Checksum [2021-02-02T00:31:14.256Z] bca2f99d35d6: Download complete [2021-02-02T00:31:20.907Z] bca2f99d35d6: Pull complete [2021-02-02T00:31:20.907Z] 93359f2a8cfa: Pull complete [2021-02-02T00:31:20.907Z] 7c6f9722023f: Pull complete [2021-02-02T00:31:21.233Z] Still waiting to schedule task [2021-02-02T00:31:21.233Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24456’ [2021-02-02T00:31:26.230Z] a35cf1a2eb13: Pull complete [2021-02-02T00:31:26.230Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-02T00:31:26.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-02T00:31:26.230Z] ---> a62c8e92a672 [2021-02-02T00:31:26.230Z] 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-02T00:31:26.230Z] ---> Running in a11095047a2b [2021-02-02T00:31:26.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T00:31:27.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T00:31:28.332Z] (1/12) Installing libmagic (5.38-r0) [2021-02-02T00:31:28.332Z] (2/12) Installing file (5.38-r0) [2021-02-02T00:31:28.598Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-02T00:31:28.598Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-02T00:31:40.992Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-02T00:31:40.992Z] (6/12) Installing patch (2.7.6-r6) [2021-02-02T00:31:40.992Z] (7/12) Installing build-base (0.5-r2) [2021-02-02T00:31:40.992Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-02T00:31:40.992Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-02T00:31:40.992Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-02T00:31:40.992Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-02T00:31:40.992Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-02T00:31:40.992Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T00:31:40.992Z] OK: 233 MiB in 51 packages [2021-02-02T00:31:44.310Z] Removing intermediate container a11095047a2b [2021-02-02T00:31:44.310Z] ---> 2e9bc9fced7f [2021-02-02T00:31:44.310Z] Step 4/6 : WORKDIR /edgex-go [2021-02-02T00:31:44.310Z] ---> Running in 70732968fcfb [2021-02-02T00:31:44.573Z] Removing intermediate container 70732968fcfb [2021-02-02T00:31:44.573Z] ---> d9ca31a239e4 [2021-02-02T00:31:44.573Z] Step 5/6 : COPY go.mod . [2021-02-02T00:31:44.838Z] ---> b75b7776c39f [2021-02-02T00:31:44.838Z] Step 6/6 : RUN go mod download [2021-02-02T00:31:44.838Z] ---> Running in 5a7719e8f5d7 [2021-02-02T00:32:06.867Z] Removing intermediate container 5a7719e8f5d7 [2021-02-02T00:32:06.867Z] ---> bb3af1f5b755 [2021-02-02T00:32:06.867Z] Successfully built bb3af1f5b755 [2021-02-02T00:32:06.867Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:32:07.185Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T00:32:07.185Z] . [Pipeline] withDockerContainer [2021-02-02T00:32:07.283Z] prd-centos7-docker-4c-2g-24458 does not seem to be running inside a container [2021-02-02T00:32:07.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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-02T00:32:08.164Z] $ docker top 8036f47627b44e2ef6bc2df48b63db209547de136196e7f23326fd71ab0a99cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:32:08.687Z] + go version [2021-02-02T00:32:08.687Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-02T00:32:08.704Z] $ docker stop --time=1 8036f47627b44e2ef6bc2df48b63db209547de136196e7f23326fd71ab0a99cb [2021-02-02T00:32:10.037Z] $ docker rm -f 8036f47627b44e2ef6bc2df48b63db209547de136196e7f23326fd71ab0a99cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:32:10.926Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T00:32:10.926Z] . [Pipeline] withDockerContainer [2021-02-02T00:32:11.027Z] prd-centos7-docker-4c-2g-24458 does not seem to be running inside a container [2021-02-02T00:32:11.076Z] $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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-02T00:32:11.908Z] $ docker top ab4df4d3a7c2ab141bdfe381fed428f2dd4bd52cc9cf3625053a58fb23eadb3d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-02T00:32:12.152Z] ========================================================= [2021-02-02T00:32:12.152Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-02T00:32:12.152Z] ========================================================= [Pipeline] sh [2021-02-02T00:32:12.445Z] + make test [2021-02-02T00:32:12.445Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T00:32:22.508Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-02-02T00:32:40.774Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-02-02T00:32:40.774Z] internal/pkg/v2/infrastructure/redis/client.go:690:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:32:40.774Z] internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category [2021-02-02T00:32:40.774Z] internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver [2021-02-02T00:32:40.774Z] internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:32:40.774Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-02-02T00:32:42.722Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-02-02T00:32:42.722Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-02-02T00:32:42.723Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-02-02T00:32:42.723Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-02-02T00:32:42.723Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-02-02T00:32:42.723Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-02-02T00:32:48.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.132s coverage: 46.0% of statements [2021-02-02T00:32:48.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.082s coverage: 100.0% of statements [2021-02-02T00:32:48.084Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-02-02T00:32:48.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.032s coverage: 100.0% of statements [2021-02-02T00:32:48.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.041s coverage: 100.0% of statements [2021-02-02T00:32:50.672Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.103s coverage: 65.8% of statements [2021-02-02T00:32:51.267Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.436s coverage: 82.3% of statements [2021-02-02T00:32:51.267Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-02-02T00:32:51.267Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.075s coverage: 100.0% of statements [2021-02-02T00:32:51.267Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.042s coverage: 100.0% of statements [2021-02-02T00:32:51.872Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.091s coverage: 86.7% of statements [2021-02-02T00:32:52.138Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.107s coverage: 97.5% of statements [2021-02-02T00:32:52.138Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.050s coverage: 78.3% of statements [2021-02-02T00:32:52.407Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-02-02T00:32:52.407Z] internal/pkg/v2/infrastructure/redis/client.go:690: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:32:52.407Z] internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category [2021-02-02T00:32:52.407Z] internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver [2021-02-02T00:32:52.407Z] internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:32:54.569Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.380s coverage: 92.8% of statements [2021-02-02T00:32:54.569Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.037s coverage: 58.8% of statements [2021-02-02T00:32:54.569Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-02-02T00:32:54.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.028s coverage: 45.5% of statements [2021-02-02T00:32:54.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.052s coverage: 79.5% of statements [2021-02-02T00:32:54.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.027s coverage: 94.1% of statements [2021-02-02T00:32:54.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.079s coverage: 96.3% of statements [2021-02-02T00:32:54.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.055s coverage: 87.5% of statements [2021-02-02T00:33:06.896Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.051s coverage: 94.4% of statements [2021-02-02T00:33:06.896Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.031s coverage: 44.8% of statements [2021-02-02T00:33:07.480Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-02-02T00:33:07.480Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-02-02T00:33:07.480Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-02-02T00:33:07.480Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-02-02T00:33:07.480Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-02-02T00:33:07.480Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-02-02T00:33:17.552Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.062s coverage: 92.9% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.041s coverage: 87.2% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.043s coverage: 75.5% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.033s coverage: 80.8% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.054s coverage: 87.2% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.048s coverage: 84.2% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.073s coverage: 91.4% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.140s coverage: 63.5% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.045s coverage: 91.3% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.280s coverage: 68.9% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.092s coverage: 37.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.263s coverage: 84.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.037s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.054s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.052s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-02-02T00:33:17.553Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.068s coverage: 99.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.050s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.067s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.021s coverage: 0.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.037s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.043s coverage: 87.9% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.039s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.037s coverage: 32.1% of statements [2021-02-02T00:33:17.553Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements [2021-02-02T00:33:17.553Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-02-02T00:33:17.572Z] $ docker stop --time=1 ab4df4d3a7c2ab141bdfe381fed428f2dd4bd52cc9cf3625053a58fb23eadb3d [2021-02-02T00:33:19.963Z] $ docker rm -f ab4df4d3a7c2ab141bdfe381fed428f2dd4bd52cc9cf3625053a58fb23eadb3d [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-02T00:33:21.795Z] Failed in branch amd64 [2021-02-02T00:34:13.843Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24461 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws [2021-02-02T00:34:13.923Z] Running in /w/workspace/edgex-go/8 [Pipeline] { [Pipeline] checkout [2021-02-02T00:34:18.588Z] using credential edgex-jenkins-ssh [2021-02-02T00:34:18.650Z] Cloning the remote Git repository [2021-02-02T00:34:18.715Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-02-02T00:34:18.819Z] > git init /w/workspace/edgex-go/8 # timeout=10 [2021-02-02T00:34:18.887Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-02T00:34:18.888Z] > git --version # timeout=10 [2021-02-02T00:34:18.913Z] > git --version # 'git version 2.17.1' [2021-02-02T00:34:18.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:34:18.989Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T00:34:34.047Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-02T00:34:34.067Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T00:34:34.101Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-02T00:34:34.144Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-02T00:34:34.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:34:34.167Z] > 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-02T00:34:34.913Z] Merging remotes/origin/master commit 2a4efc596d6299a706f2b1b5ea90705279ab33b1 into PR head commit b96559747f50675b34fdacc2fc1609ae3482ed74 [2021-02-02T00:34:35.766Z] Merge succeeded, producing c45f153d5883e93842c9ad69a2584c4942a3c95c [2021-02-02T00:34:35.766Z] Checking out Revision c45f153d5883e93842c9ad69a2584c4942a3c95c (PR-3045) [2021-02-02T00:34:34.932Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T00:34:34.958Z] > git checkout -f b96559747f50675b34fdacc2fc1609ae3482ed74 # timeout=10 [2021-02-02T00:34:35.275Z] > git remote # timeout=10 [2021-02-02T00:34:35.297Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T00:34:35.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:34:35.369Z] > git merge 2a4efc596d6299a706f2b1b5ea90705279ab33b1 # timeout=10 [2021-02-02T00:34:35.748Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T00:34:35.772Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T00:34:35.783Z] > git checkout -f c45f153d5883e93842c9ad69a2584c4942a3c95c # timeout=10 [2021-02-02T00:34:40.329Z] Commit message: "Merge commit '2a4efc596d6299a706f2b1b5ea90705279ab33b1' into HEAD" [2021-02-02T00:34:40.335Z] > git rev-list --no-walk b96559747f50675b34fdacc2fc1609ae3482ed74 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T00:34:42.118Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:34:42.523Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:34:42.864Z] + sudo service docker restart [2021-02-02T00:34:42.865Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T00:34:45.563Z] provisioning config files... [2021-02-02T00:34:45.602Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config5469356023984648048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:34:46.008Z] ---> docker-login.sh [2021-02-02T00:34:46.008Z] nexus3.edgexfoundry.org:10001 [2021-02-02T00:34:46.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:34:47.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:34:47.209Z] Configure a credential helper to remove this warning. See [2021-02-02T00:34:47.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:34:47.209Z] [2021-02-02T00:34:47.209Z] Login Succeeded [2021-02-02T00:34:47.209Z] nexus3.edgexfoundry.org:10002 [2021-02-02T00:34:47.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:34:47.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:34:47.767Z] Configure a credential helper to remove this warning. See [2021-02-02T00:34:47.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:34:47.767Z] [2021-02-02T00:34:47.767Z] Login Succeeded [2021-02-02T00:34:47.767Z] nexus3.edgexfoundry.org:10003 [2021-02-02T00:34:48.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:34:48.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:34:48.318Z] Configure a credential helper to remove this warning. See [2021-02-02T00:34:48.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:34:48.318Z] [2021-02-02T00:34:48.318Z] Login Succeeded [2021-02-02T00:34:48.318Z] nexus3.edgexfoundry.org:10004 [2021-02-02T00:34:48.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:34:48.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:34:48.867Z] Configure a credential helper to remove this warning. See [2021-02-02T00:34:48.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:34:48.867Z] [2021-02-02T00:34:48.867Z] Login Succeeded [2021-02-02T00:34:48.867Z] docker.io [2021-02-02T00:34:49.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T00:34:49.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T00:34:49.416Z] Configure a credential helper to remove this warning. See [2021-02-02T00:34:49.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T00:34:49.416Z] [2021-02-02T00:34:49.416Z] Login Succeeded [2021-02-02T00:34:49.416Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T00:34:49.444Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T00:34:49.953Z] ========================================================= [2021-02-02T00:34:49.953Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-02T00:34:49.953Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:34:50.336Z] + 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-02T00:34:52.990Z] Sending build context to Docker daemon 166.1MB [2021-02-02T00:34:52.990Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T00:34:52.990Z] Step 2/6 : FROM ${BASE} [2021-02-02T00:34:52.990Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-02T00:34:52.990Z] 5f621e34cdf4: Pulling fs layer [2021-02-02T00:34:52.990Z] a4357932f1b6: Pulling fs layer [2021-02-02T00:34:52.990Z] 18c013af1878: Pulling fs layer [2021-02-02T00:34:52.990Z] 00ac8860ef70: Pulling fs layer [2021-02-02T00:34:52.990Z] 63d7cb157983: Pulling fs layer [2021-02-02T00:34:52.990Z] b116817d02f9: Pulling fs layer [2021-02-02T00:34:52.990Z] 745a02a5169b: Pulling fs layer [2021-02-02T00:34:52.990Z] 00ac8860ef70: Waiting [2021-02-02T00:34:52.990Z] 63d7cb157983: Waiting [2021-02-02T00:34:52.990Z] b116817d02f9: Waiting [2021-02-02T00:34:52.990Z] 745a02a5169b: Waiting [2021-02-02T00:34:53.267Z] 18c013af1878: Verifying Checksum [2021-02-02T00:34:53.267Z] 18c013af1878: Download complete [2021-02-02T00:34:53.267Z] a4357932f1b6: Verifying Checksum [2021-02-02T00:34:53.267Z] a4357932f1b6: Download complete [2021-02-02T00:34:53.267Z] 63d7cb157983: Download complete [2021-02-02T00:34:53.267Z] b116817d02f9: Verifying Checksum [2021-02-02T00:34:53.267Z] b116817d02f9: Download complete [2021-02-02T00:34:53.865Z] 5f621e34cdf4: Verifying Checksum [2021-02-02T00:34:53.865Z] 5f621e34cdf4: Download complete [2021-02-02T00:34:54.466Z] 5f621e34cdf4: Pull complete [2021-02-02T00:34:55.076Z] a4357932f1b6: Pull complete [2021-02-02T00:34:55.678Z] 18c013af1878: Pull complete [2021-02-02T00:34:55.963Z] 745a02a5169b: Verifying Checksum [2021-02-02T00:34:55.963Z] 745a02a5169b: Download complete [2021-02-02T00:34:57.396Z] 00ac8860ef70: Verifying Checksum [2021-02-02T00:34:57.396Z] 00ac8860ef70: Download complete [2021-02-02T00:35:09.800Z] 00ac8860ef70: Pull complete [2021-02-02T00:35:09.800Z] 63d7cb157983: Pull complete [2021-02-02T00:35:09.800Z] b116817d02f9: Pull complete [2021-02-02T00:35:12.441Z] 745a02a5169b: Pull complete [2021-02-02T00:35:12.441Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-02T00:35:12.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-02T00:35:12.441Z] ---> b7e6874047d6 [2021-02-02T00:35:12.441Z] 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-02T00:35:16.210Z] ---> Running in 54346f51c0cf [2021-02-02T00:35:16.811Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T00:35:17.410Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T00:35:18.009Z] (1/12) Installing libmagic (5.38-r0) [2021-02-02T00:35:18.282Z] (2/12) Installing file (5.38-r0) [2021-02-02T00:35:18.282Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-02T00:35:18.282Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-02T00:35:22.586Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-02T00:35:22.586Z] (6/12) Installing patch (2.7.6-r6) [2021-02-02T00:35:22.586Z] (7/12) Installing build-base (0.5-r2) [2021-02-02T00:35:22.586Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-02T00:35:22.586Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-02T00:35:22.586Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-02T00:35:22.586Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-02T00:35:22.586Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-02T00:35:22.859Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T00:35:22.859Z] OK: 217 MiB in 51 packages [2021-02-02T00:35:27.167Z] Removing intermediate container 54346f51c0cf [2021-02-02T00:35:27.167Z] ---> ce7468e9c6fb [2021-02-02T00:35:27.167Z] Step 4/6 : WORKDIR /edgex-go [2021-02-02T00:35:27.167Z] ---> Running in c63624c472b0 [2021-02-02T00:35:27.447Z] Removing intermediate container c63624c472b0 [2021-02-02T00:35:27.447Z] ---> c6fc5b9c0ee4 [2021-02-02T00:35:27.447Z] Step 5/6 : COPY go.mod . [2021-02-02T00:35:28.058Z] ---> 55c1fb0c3e9c [2021-02-02T00:35:28.058Z] Step 6/6 : RUN go mod download [2021-02-02T00:35:28.329Z] ---> Running in 614b46f84e90 [2021-02-02T00:35:55.132Z] Removing intermediate container 614b46f84e90 [2021-02-02T00:35:55.132Z] ---> 37472db8b7e2 [2021-02-02T00:35:55.132Z] Successfully built 37472db8b7e2 [2021-02-02T00:35:55.132Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:35:55.478Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T00:35:55.478Z] . [Pipeline] withDockerContainer [2021-02-02T00:35:55.755Z] prd-ubuntu18.04-docker-arm64-4c-16g-24461 does not seem to be running inside a container [2021-02-02T00:35:55.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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-02T00:35:57.410Z] $ docker top 74f23b15e81facf4cceaa1417a2275321b1ea6e2efbd12f6bc61786bc7f353ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:35:58.445Z] + go version [2021-02-02T00:35:58.445Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-02T00:35:58.466Z] $ docker stop --time=1 74f23b15e81facf4cceaa1417a2275321b1ea6e2efbd12f6bc61786bc7f353ed [2021-02-02T00:36:00.342Z] $ docker rm -f 74f23b15e81facf4cceaa1417a2275321b1ea6e2efbd12f6bc61786bc7f353ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:36:01.316Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T00:36:01.317Z] . [Pipeline] withDockerContainer [2021-02-02T00:36:01.588Z] prd-ubuntu18.04-docker-arm64-4c-16g-24461 does not seem to be running inside a container [2021-02-02T00:36:01.670Z] $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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-02T00:36:03.048Z] $ docker top 05b06ad5ecc924929ddba3a3a488d0735299daaa961c37efc64138a835a31c72 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-02T00:36:03.416Z] ========================================================= [2021-02-02T00:36:03.416Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-02T00:36:03.416Z] ========================================================= [Pipeline] sh [2021-02-02T00:36:04.062Z] + make test [2021-02-02T00:36:04.062Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T00:36:26.229Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-02-02T00:37:13.206Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-02-02T00:37:13.206Z] internal/pkg/v2/infrastructure/redis/client.go:690:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:37:13.206Z] internal/pkg/v2/infrastructure/redis/subscription.go:24:77: undefined: v2.Category [2021-02-02T00:37:13.206Z] internal/pkg/v2/infrastructure/redis/subscription.go:26:77: undefined: v2.Receiver [2021-02-02T00:37:13.206Z] internal/pkg/v2/infrastructure/redis/subscription.go:35:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:37:13.206Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-02-02T00:37:21.515Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-02-02T00:37:21.515Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-02-02T00:37:21.516Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-02-02T00:37:21.516Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-02-02T00:37:21.516Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-02-02T00:37:21.516Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-02-02T00:37:34.046Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-02-02T00:37:34.046Z] internal/pkg/v2/infrastructure/redis/client.go:690: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:37:34.046Z] internal/pkg/v2/infrastructure/redis/subscription.go:24: undefined: v2.Category [2021-02-02T00:37:34.046Z] internal/pkg/v2/infrastructure/redis/subscription.go:26: undefined: v2.Receiver [2021-02-02T00:37:34.046Z] internal/pkg/v2/infrastructure/redis/subscription.go:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Subscription [2021-02-02T00:37:39.514Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.317s coverage: 46.0% of statements [2021-02-02T00:37:39.514Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.152s coverage: 100.0% of statements [2021-02-02T00:37:39.514Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-02-02T00:37:39.514Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.082s coverage: 100.0% of statements [2021-02-02T00:37:39.514Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.075s coverage: 100.0% of statements [2021-02-02T00:37:46.248Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.301s coverage: 65.8% of statements [2021-02-02T00:37:46.848Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.697s coverage: 82.3% of statements [2021-02-02T00:37:46.848Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-02-02T00:37:46.848Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.151s coverage: 100.0% of statements [2021-02-02T00:37:46.848Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.077s coverage: 100.0% of statements [2021-02-02T00:37:48.839Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.390s coverage: 86.7% of statements [2021-02-02T00:37:49.444Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.334s coverage: 97.5% of statements [2021-02-02T00:37:50.048Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.137s coverage: 78.3% of statements [2021-02-02T00:37:58.352Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.120s coverage: 92.8% of statements [2021-02-02T00:37:58.352Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.055s coverage: 58.8% of statements [2021-02-02T00:37:58.352Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-02-02T00:37:58.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.059s coverage: 45.5% of statements [2021-02-02T00:37:58.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.085s coverage: 79.5% of statements [2021-02-02T00:37:58.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.058s coverage: 94.1% of statements [2021-02-02T00:37:58.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.082s coverage: 96.3% of statements [2021-02-02T00:37:58.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.070s coverage: 87.5% of statements [2021-02-02T00:38:10.768Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.100s coverage: 94.4% of statements [2021-02-02T00:38:10.768Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.089s coverage: 44.8% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.138s coverage: 92.9% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.077s coverage: 87.2% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.044s coverage: 100.0% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.081s coverage: 75.5% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.8% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.106s coverage: 87.2% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.150s coverage: 84.2% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.208s coverage: 91.4% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.523s coverage: 63.5% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.057s coverage: 100.0% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.082s coverage: 91.3% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.047s coverage: 100.0% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.085s coverage: 73.7% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.724s coverage: 68.9% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.344s coverage: 37.0% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.531s coverage: 84.0% of statements [2021-02-02T00:38:25.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.106s coverage: 100.0% of statements [2021-02-02T00:38:25.901Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-02-02T00:38:25.901Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-02-02T00:38:25.901Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-02-02T00:38:25.901Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-02-02T00:38:25.901Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-02-02T00:38:25.901Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-02-02T00:38:25.901Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-02-02T00:38:28.541Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.183s coverage: 100.0% of statements [2021-02-02T00:38:28.541Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.132s coverage: 100.0% of statements [2021-02-02T00:38:28.541Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-02-02T00:38:28.541Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-02-02T00:38:30.529Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.176s coverage: 99.0% of statements [2021-02-02T00:38:30.529Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.091s coverage: 100.0% of statements [2021-02-02T00:38:31.980Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.159s coverage: 100.0% of statements [2021-02-02T00:38:31.980Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.039s coverage: 0.0% of statements [2021-02-02T00:38:31.980Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.072s coverage: 100.0% of statements [2021-02-02T00:38:33.438Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.091s coverage: 87.9% of statements [2021-02-02T00:38:33.438Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.083s coverage: 100.0% of statements [2021-02-02T00:38:34.033Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.053s coverage: 32.1% of statements [2021-02-02T00:38:34.629Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 100.0% of statements [2021-02-02T00:38:35.603Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-02-02T00:38:35.622Z] $ docker stop --time=1 05b06ad5ecc924929ddba3a3a488d0735299daaa961c37efc64138a835a31c72 [2021-02-02T00:38:37.848Z] $ docker rm -f 05b06ad5ecc924929ddba3a3a488d0735299daaa961c37efc64138a835a31c72 [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-02T00:38:39.934Z] 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-02T00:38:42.279Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:38:43.162Z] ---> package-listing.sh [2021-02-02T00:38:43.162Z] ++ facter osfamily [2021-02-02T00:38:43.162Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-02T00:38:43.162Z] + OS_FAMILY=redhat [2021-02-02T00:38:43.162Z] + workspace=/w/workspace/edgex-go/8 [2021-02-02T00:38:43.162Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-02T00:38:43.162Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-02T00:38:43.162Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-02T00:38:43.162Z] + PACKAGES=/tmp/packages_start.txt [2021-02-02T00:38:43.162Z] + '[' /w/workspace/edgex-go/8 ']' [2021-02-02T00:38:43.162Z] + PACKAGES=/tmp/packages_end.txt [2021-02-02T00:38:43.162Z] + case "${OS_FAMILY}" in [2021-02-02T00:38:43.162Z] + rpm -qa [2021-02-02T00:38:43.162Z] + sort [2021-02-02T00:38:48.485Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-02T00:38:48.486Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-02T00:38:48.486Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-02T00:38:48.486Z] + '[' /w/workspace/edgex-go/8 ']' [2021-02-02T00:38:48.486Z] + mkdir -p /w/workspace/edgex-go/8/archives/ [2021-02-02T00:38:48.486Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/8/archives/ [Pipeline] echo [2021-02-02T00:38:48.500Z] 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/8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-02T00:38:48.793Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:38:49.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T00:38:49.109Z] [2021-02-02T00:38:49.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:38:49.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T00:38:49.738Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-02T00:38:49.738Z] df20fa9351a1: Pulling fs layer [2021-02-02T00:38:49.738Z] 36b3adc4ff6f: Pulling fs layer [2021-02-02T00:38:49.738Z] 8ad3a11d3b57: Pulling fs layer [2021-02-02T00:38:49.738Z] 46f8f816bc3b: Pulling fs layer [2021-02-02T00:38:49.738Z] 93b61091891f: Pulling fs layer [2021-02-02T00:38:49.739Z] 93b9cdb0e59b: Pulling fs layer [2021-02-02T00:38:49.739Z] 5e14af77c1be: Pulling fs layer [2021-02-02T00:38:49.739Z] 01666e4c0597: Pulling fs layer [2021-02-02T00:38:49.739Z] aa168da1d23b: Pulling fs layer [2021-02-02T00:38:49.739Z] 46f8f816bc3b: Waiting [2021-02-02T00:38:49.739Z] 93b61091891f: Waiting [2021-02-02T00:38:49.739Z] 93b9cdb0e59b: Waiting [2021-02-02T00:38:49.739Z] 5e14af77c1be: Waiting [2021-02-02T00:38:49.739Z] 01666e4c0597: Waiting [2021-02-02T00:38:49.739Z] aa168da1d23b: Waiting [2021-02-02T00:38:49.739Z] 36b3adc4ff6f: Verifying Checksum [2021-02-02T00:38:49.739Z] 36b3adc4ff6f: Download complete [2021-02-02T00:38:49.739Z] 46f8f816bc3b: Verifying Checksum [2021-02-02T00:38:49.739Z] 46f8f816bc3b: Download complete [2021-02-02T00:38:49.739Z] df20fa9351a1: Verifying Checksum [2021-02-02T00:38:49.739Z] df20fa9351a1: Download complete [2021-02-02T00:38:49.739Z] 93b9cdb0e59b: Verifying Checksum [2021-02-02T00:38:49.739Z] 93b9cdb0e59b: Download complete [2021-02-02T00:38:50.003Z] 93b61091891f: Verifying Checksum [2021-02-02T00:38:50.003Z] 93b61091891f: Download complete [2021-02-02T00:38:50.003Z] 5e14af77c1be: Verifying Checksum [2021-02-02T00:38:50.003Z] 5e14af77c1be: Download complete [2021-02-02T00:38:50.003Z] 01666e4c0597: Download complete [2021-02-02T00:38:50.003Z] 8ad3a11d3b57: Verifying Checksum [2021-02-02T00:38:50.003Z] 8ad3a11d3b57: Download complete [2021-02-02T00:38:50.278Z] df20fa9351a1: Pull complete [2021-02-02T00:38:50.547Z] 36b3adc4ff6f: Pull complete [2021-02-02T00:38:51.504Z] 8ad3a11d3b57: Pull complete [2021-02-02T00:38:51.504Z] 46f8f816bc3b: Pull complete [2021-02-02T00:38:52.080Z] aa168da1d23b: Verifying Checksum [2021-02-02T00:38:52.080Z] aa168da1d23b: Download complete [2021-02-02T00:38:52.342Z] 93b61091891f: Pull complete [2021-02-02T00:38:52.342Z] 93b9cdb0e59b: Pull complete [2021-02-02T00:38:52.604Z] 5e14af77c1be: Pull complete [2021-02-02T00:38:52.604Z] 01666e4c0597: Pull complete [2021-02-02T00:38:59.221Z] aa168da1d23b: Pull complete [2021-02-02T00:38:59.221Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-02T00:38:59.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T00:38:59.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-02T00:38:59.570Z] prd-centos7-docker-4c-2g-24458 does not seem to be running inside a container [2021-02-02T00:38:59.629Z] $ 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/8/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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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-02T00:39:02.465Z] $ docker top b1d7fe0990f26bd4d495636b42b11ec3aec459b282e52023fbcc7ee141db4ec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:39:03.008Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-02T00:39:03.308Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-02T00:39:03.608Z] + ls /var/log/sa-host [2021-02-02T00:39:03.608Z] + sadf -c /var/log/sa-host/sa02 [2021-02-02T00:39:03.608Z] file_magic: OK [2021-02-02T00:39:03.608Z] HZ: Using current value: 100 [2021-02-02T00:39:03.608Z] file_header: OK [2021-02-02T00:39:03.608Z] 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-02T00:39:03.608Z] Statistics: [2021-02-02T00:39:03.608Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-02T00:39:03.608Z] File successfully converted to sysstat format version 12.2.1 [2021-02-02T00:39:03.608Z] + sadf -c /var/log/sa-host/sa23 [2021-02-02T00:39:03.608Z] file_magic: OK [2021-02-02T00:39:03.608Z] HZ: Using current value: 100 [2021-02-02T00:39:03.608Z] file_header: OK [2021-02-02T00:39:03.608Z] 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-02T00:39:03.608Z] Statistics: [2021-02-02T00:39:03.608Z] Hnuu...uuuununununu... [2021-02-02T00:39:03.608Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-02T00:39:04.297Z] provisioning config files... [2021-02-02T00:39:04.316Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/8@tmp/config1073703710620268424tmp [Pipeline] { [Pipeline] echo [2021-02-02T00:39:04.393Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:39:04.774Z] ---> create-netrc.sh [Pipeline] } [2021-02-02T00:39:04.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-02T00:39:04.902Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:39:05.208Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-02T00:39:05.219Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:39:05.515Z] ---> sudo-logs.sh [2021-02-02T00:39:05.515Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-02T00:39:05.526Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:39:05.820Z] ---> job-cost.sh [2021-02-02T00:39:05.820Z] lf-activate-venv: SKIPPING [2021-02-02T00:39:05.820Z] INFO: No Stack... [2021-02-02T00:39:06.766Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-02T00:39:07.028Z] INFO: Archiving Costs [Pipeline] echo [2021-02-02T00:39:07.042Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:39:07.340Z] ---> logs-deploy.sh [2021-02-02T00:39:07.340Z] lf-activate-venv: SKIPPING [2021-02-02T00:39:07.340Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/8 [2021-02-02T00:39:07.340Z] INFO: archiving workspace using pattern(s): [2021-02-02T00:39:08.732Z] Archives upload complete. [2021-02-02T00:39:08.732Z] INFO: archiving logs to Nexus