Pull request #3045 opened 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 cc81cd9a60941bde415ebdc6eaf205dd7f209524 rather than 810375c38b70d1cb23f4c6fde8bb96941618178c Obtained Jenkinsfile from cc81cd9a60941bde415ebdc6eaf205dd7f209524 Running in Durability level: MAX_SURVIVABILITY 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3045/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3045/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20986 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # 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 cc81cd9a60941bde415ebdc6eaf205dd7f209524 into PR head commit 810375c38b70d1cb23f4c6fde8bb96941618178c Merge succeeded, producing 810375c38b70d1cb23f4c6fde8bb96941618178c Checking out Revision 810375c38b70d1cb23f4c6fde8bb96941618178c (PR-3045) > git config core.sparsecheckout # timeout=10 > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # 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 cc81cd9a60941bde415ebdc6eaf205dd7f209524 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 Commit message: "feat(notifications): Implement POST /subscription V2 API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-18T16:11:23.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-18T16:11:24.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-18T16:11:24.491Z] ========================================================= [2021-01-18T16:11:24.491Z] EdgeX Global Pipelines Version Info [2021-01-18T16:11:24.491Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:11:27.533Z] ------------------- [2021-01-18T16:11:27.533Z] stable info: [2021-01-18T16:11:27.533Z] ------------------- [2021-01-18T16:11:27.533Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-18T16:11:27.533Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-18T16:11:27.533Z] Message: update stable to v1.0.177 [2021-01-18T16:11:28.504Z] ------------------- [2021-01-18T16:11:28.504Z] experimental info: [2021-01-18T16:11:28.504Z] ------------------- [2021-01-18T16:11:28.504Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-18T16:11:28.504Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-18T16:11:28.504Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-18T16:11:29.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-01-18T16:11:29.203Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-01-18T16:11:29.328Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-18T16:11:29.458Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-18T16:11:29.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-18T16:11:29.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-18T16:11:29.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-18T16:11:29.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-01-18T16:11:30.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-01-18T16:11:30.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-01-18T16:11:30.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-18T16:11:30.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-18T16:11:30.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-18T16:11:30.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-18T16:11:30.986Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T16:11:31.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T16:11:31.268Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-18T16:11:31.389Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-18T16:11:31.514Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-18T16:11:31.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-18T16:11:31.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-18T16:11:31.962Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-18T16:11:32.089Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-18T16:11:32.239Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo [2021-01-18T16:11:32.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo [2021-01-18T16:11:32.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo [2021-01-18T16:11:32.626Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 810375c38b70d1cb23f4c6fde8bb96941618178c [Pipeline] echo [2021-01-18T16:11:32.748Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 810375c [Pipeline] echo [2021-01-18T16:11:32.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T16:11:33.147Z] provisioning config files... [2021-01-18T16:11:33.193Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config8272190816834708135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:11:33.723Z] ---> docker-login.sh [2021-01-18T16:11:33.723Z] nexus3.edgexfoundry.org:10001 [2021-01-18T16:11:34.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:11:35.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:11:35.370Z] Configure a credential helper to remove this warning. See [2021-01-18T16:11:35.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:11:35.370Z] [2021-01-18T16:11:35.370Z] Login Succeeded [2021-01-18T16:11:35.370Z] nexus3.edgexfoundry.org:10002 [2021-01-18T16:11:35.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:11:35.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:11:35.642Z] Configure a credential helper to remove this warning. See [2021-01-18T16:11:35.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:11:35.642Z] [2021-01-18T16:11:35.642Z] Login Succeeded [2021-01-18T16:11:35.642Z] nexus3.edgexfoundry.org:10003 [2021-01-18T16:11:35.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:11:36.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:11:36.211Z] Configure a credential helper to remove this warning. See [2021-01-18T16:11:36.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:11:36.211Z] [2021-01-18T16:11:36.211Z] Login Succeeded [2021-01-18T16:11:36.211Z] nexus3.edgexfoundry.org:10004 [2021-01-18T16:11:36.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:11:36.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:11:36.484Z] Configure a credential helper to remove this warning. See [2021-01-18T16:11:36.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:11:36.484Z] [2021-01-18T16:11:36.484Z] Login Succeeded [2021-01-18T16:11:36.484Z] docker.io [2021-01-18T16:11:36.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:11:37.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:11:37.028Z] Configure a credential helper to remove this warning. See [2021-01-18T16:11:37.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:11:37.028Z] [2021-01-18T16:11:37.028Z] Login Succeeded [2021-01-18T16:11:37.028Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T16:11:37.058Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T16:11:37.649Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/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-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] ++ dirname cmd/core-command/Dockerfile [2021-01-18T16:11:37.649Z] + echo core-command,cmd/core-command/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ dirname cmd/core-data/Dockerfile [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] + echo core-data,cmd/core-data/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ dirname cmd/core-metadata/Dockerfile [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] ++ dirname cmd/support-notifications/Dockerfile [2021-01-18T16:11:37.649Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-01-18T16:11:37.649Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-01-18T16:11:37.649Z] + for file in '`ls cmd/**/Dockerfile`' [2021-01-18T16:11:37.649Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-01-18T16:11:37.649Z] ++ cut -d/ -f2 [2021-01-18T16:11:37.649Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-01-18T16:11:37.859Z] 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-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/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-18T16:11:39.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T16:11:39.681Z] [2021-01-18T16:11:39.681Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:11:40.152Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T16:11:40.446Z] latest: Pulling from edgex-devops/git-semver [2021-01-18T16:11:40.446Z] 31603596830f: Pulling fs layer [2021-01-18T16:11:40.446Z] 2a8b12db71e7: Pulling fs layer [2021-01-18T16:11:40.446Z] 6ca5941a6612: Pulling fs layer [2021-01-18T16:11:40.446Z] ecc8261a40a4: Pulling fs layer [2021-01-18T16:11:40.446Z] ecc8261a40a4: Waiting [2021-01-18T16:11:40.446Z] 2a8b12db71e7: Download complete [2021-01-18T16:11:40.733Z] 31603596830f: Verifying Checksum [2021-01-18T16:11:40.733Z] 31603596830f: Download complete [2021-01-18T16:11:41.360Z] 6ca5941a6612: Verifying Checksum [2021-01-18T16:11:41.360Z] 6ca5941a6612: Download complete [2021-01-18T16:11:41.360Z] ecc8261a40a4: Verifying Checksum [2021-01-18T16:11:41.360Z] ecc8261a40a4: Download complete [2021-01-18T16:11:41.633Z] 31603596830f: Pull complete [2021-01-18T16:11:41.921Z] 2a8b12db71e7: Pull complete [2021-01-18T16:11:43.484Z] 6ca5941a6612: Pull complete [2021-01-18T16:11:44.087Z] ecc8261a40a4: Pull complete [2021-01-18T16:11:44.087Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-18T16:11:44.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T16:11:44.087Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-18T16:11:44.300Z] prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container [2021-01-18T16:11:44.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T16:11:47.354Z] $ docker top 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T16:11:47.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T16:11:47.843Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T16:11:48.420Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T16:11:48.424Z] $ docker exec 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent [2021-01-18T16:11:49.100Z] SSH_AUTH_SOCK=/tmp/ssh-3H51QOrSkrTz/agent.11 [2021-01-18T16:11:49.100Z] SSH_AGENT_PID=16 [2021-01-18T16:11:49.132Z] Running ssh-add (command line suppressed) [2021-01-18T16:11:49.461Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_3172059551431344391.key (/w/workspace/edgex-go/1@tmp/private_key_3172059551431344391.key) [2021-01-18T16:11:49.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T16:11:50.062Z] + git tag --points-at HEAD [Pipeline] } [2021-01-18T16:11:50.164Z] $ docker exec --env ******** --env ******** 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent -k [2021-01-18T16:11:50.422Z] unset SSH_AUTH_SOCK; [2021-01-18T16:11:50.423Z] unset SSH_AGENT_PID; [2021-01-18T16:11:50.423Z] echo Agent pid 16 killed; [2021-01-18T16:11:50.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-18T16:11:50.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T16:11:50.825Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T16:11:51.189Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T16:11:51.194Z] $ docker exec 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent [2021-01-18T16:11:51.569Z] SSH_AUTH_SOCK=/tmp/ssh-DYdjJ1CEQiZo/agent.46 [2021-01-18T16:11:51.569Z] SSH_AGENT_PID=51 [2021-01-18T16:11:51.603Z] Running ssh-add (command line suppressed) [2021-01-18T16:11:51.832Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4182761511262247039.key (/w/workspace/edgex-go/1@tmp/private_key_4182761511262247039.key) [2021-01-18T16:11:51.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T16:11:52.651Z] + git semver init [2021-01-18T16:11:52.651Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T16:11:52.651Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-01-18T16:11:52.651Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-01-18T16:11:52.651Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T16:11:52.651Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T16:11:52.651Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T16:11:52.651Z] # $SEMVER_BRANCH = PR-3045 [2021-01-18T16:11:52.651Z] # $SEMVER_TEMP = /tmp/semver-112523523 [2021-01-18T16:11:52.651Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-01-18T16:12:19.999Z] # '/tmp/semver-112523523' -> '/w/workspace/edgex-go/1/.semver' [2021-01-18T16:12:19.999Z] # -> Force: false [2021-01-18T16:12:19.999Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-01-18T16:12:20.032Z] $ docker exec --env ******** --env ******** 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 ssh-agent -k [2021-01-18T16:12:20.410Z] unset SSH_AUTH_SOCK; [2021-01-18T16:12:20.410Z] unset SSH_AGENT_PID; [2021-01-18T16:12:20.411Z] echo Agent pid 51 killed; [2021-01-18T16:12:20.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T16:12:21.514Z] + git semver [Pipeline] } [2021-01-18T16:12:21.593Z] $ docker stop --time=1 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 [2021-01-18T16:12:23.659Z] $ docker rm -f 9666149f58f5a6b6eec3231f36ff7d35bc0ec2c5cf37d9102c887f2e4df18f85 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T16:12:24.374Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-18T16:12:25.651Z] Stashed 1 file(s) [Pipeline] echo [2021-01-18T16:12:25.673Z] [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-18T16:12:27.046Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-18T16:12:27.499Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T16:12:27.977Z] + true [2021-01-18T16:12:27.977Z] + sudo service docker restart [2021-01-18T16:12:27.977Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-01-18T16:12:29.442Z] ========================================================= [2021-01-18T16:12:29.442Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-18T16:12:29.442Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:12:29.858Z] + 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-18T16:12:36.616Z] Sending build context to Docker daemon 326.7MB [2021-01-18T16:12:36.616Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T16:12:36.616Z] Step 2/6 : FROM ${BASE} [2021-01-18T16:12:36.616Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-18T16:12:36.616Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T16:12:36.616Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T16:12:36.616Z] de9db76c5a1d: Pulling fs layer [2021-01-18T16:12:36.616Z] bca2f99d35d6: Pulling fs layer [2021-01-18T16:12:36.616Z] 93359f2a8cfa: Pulling fs layer [2021-01-18T16:12:36.616Z] 7c6f9722023f: Pulling fs layer [2021-01-18T16:12:36.616Z] a35cf1a2eb13: Pulling fs layer [2021-01-18T16:12:36.616Z] 93359f2a8cfa: Waiting [2021-01-18T16:12:36.616Z] 7c6f9722023f: Waiting [2021-01-18T16:12:36.616Z] a35cf1a2eb13: Waiting [2021-01-18T16:12:36.616Z] bca2f99d35d6: Waiting [2021-01-18T16:12:36.616Z] de9db76c5a1d: Verifying Checksum [2021-01-18T16:12:36.616Z] de9db76c5a1d: Download complete [2021-01-18T16:12:36.616Z] 0ef7d3d256c8: Download complete [2021-01-18T16:12:36.616Z] 93359f2a8cfa: Verifying Checksum [2021-01-18T16:12:36.616Z] 93359f2a8cfa: Download complete [2021-01-18T16:12:37.228Z] 7c6f9722023f: Verifying Checksum [2021-01-18T16:12:37.228Z] 7c6f9722023f: Download complete [2021-01-18T16:12:37.228Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T16:12:37.228Z] 188c0c94c7c5: Download complete [2021-01-18T16:12:37.838Z] 188c0c94c7c5: Pull complete [2021-01-18T16:12:38.461Z] 0ef7d3d256c8: Pull complete [2021-01-18T16:12:38.743Z] de9db76c5a1d: Pull complete [2021-01-18T16:12:41.343Z] Still waiting to schedule task [2021-01-18T16:12:41.343Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-18T16:12:41.722Z] a35cf1a2eb13: Verifying Checksum [2021-01-18T16:12:41.722Z] a35cf1a2eb13: Download complete [2021-01-18T16:12:44.549Z] bca2f99d35d6: Verifying Checksum [2021-01-18T16:12:44.549Z] bca2f99d35d6: Download complete [2021-01-18T16:12:57.386Z] bca2f99d35d6: Pull complete [2021-01-18T16:12:57.386Z] 93359f2a8cfa: Pull complete [2021-01-18T16:12:57.386Z] 7c6f9722023f: Pull complete [2021-01-18T16:13:01.768Z] a35cf1a2eb13: Pull complete [2021-01-18T16:13:01.768Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-18T16:13:01.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-18T16:13:01.768Z] ---> a62c8e92a672 [2021-01-18T16:13:01.768Z] 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-18T16:13:02.372Z] ---> Running in 447b2d231421 [2021-01-18T16:13:03.918Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T16:13:04.189Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T16:13:04.862Z] (1/12) Installing libmagic (5.38-r0) [2021-01-18T16:13:05.827Z] (2/12) Installing file (5.38-r0) [2021-01-18T16:13:05.827Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-01-18T16:13:05.827Z] (4/12) Installing g++ (9.3.0-r2) [2021-01-18T16:13:09.276Z] (5/12) Installing fortify-headers (1.1-r0) [2021-01-18T16:13:09.276Z] (6/12) Installing patch (2.7.6-r6) [2021-01-18T16:13:09.276Z] (7/12) Installing build-base (0.5-r2) [2021-01-18T16:13:09.276Z] (8/12) Installing libsodium (1.0.18-r0) [2021-01-18T16:13:09.566Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-01-18T16:13:09.566Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-01-18T16:13:09.566Z] (11/12) Installing libzmq (4.3.3-r0) [2021-01-18T16:13:09.884Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-01-18T16:13:09.884Z] Executing busybox-1.31.1-r19.trigger [2021-01-18T16:13:09.884Z] OK: 233 MiB in 51 packages [2021-01-18T16:13:14.238Z] Removing intermediate container 447b2d231421 [2021-01-18T16:13:14.238Z] ---> 94e55aab1356 [2021-01-18T16:13:14.238Z] Step 4/6 : WORKDIR /edgex-go [2021-01-18T16:13:14.238Z] ---> Running in da4c71fbdda4 [2021-01-18T16:13:14.238Z] Removing intermediate container da4c71fbdda4 [2021-01-18T16:13:14.238Z] ---> 1d926accbb48 [2021-01-18T16:13:14.238Z] Step 5/6 : COPY go.mod . [2021-01-18T16:13:14.529Z] ---> 3c9eb7d8c8c9 [2021-01-18T16:13:14.529Z] Step 6/6 : RUN go mod download [2021-01-18T16:13:14.806Z] ---> Running in dc6565c05a8f [2021-01-18T16:13:47.416Z] Removing intermediate container dc6565c05a8f [2021-01-18T16:13:47.416Z] ---> 2f9b0fb84a4a [2021-01-18T16:13:47.416Z] Successfully built 2f9b0fb84a4a [2021-01-18T16:13:47.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:13:47.808Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T16:13:48.116Z] . [Pipeline] withDockerContainer [2021-01-18T16:13:48.591Z] prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container [2021-01-18T16:13:48.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T16:13:49.975Z] $ docker top 79c0f259443d2f48e6e82c20317d98515ee67a1af19e34a7786dd420feef3462 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T16:13:50.668Z] + go version [2021-01-18T16:13:50.668Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-18T16:13:50.745Z] $ docker stop --time=1 79c0f259443d2f48e6e82c20317d98515ee67a1af19e34a7786dd420feef3462 [2021-01-18T16:13:53.263Z] $ docker rm -f 79c0f259443d2f48e6e82c20317d98515ee67a1af19e34a7786dd420feef3462 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:13:54.592Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T16:13:54.592Z] . [Pipeline] withDockerContainer [2021-01-18T16:13:54.861Z] prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container [2021-01-18T16:13:55.147Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T16:13:57.006Z] $ docker top fc6e960c4af8f9188fa6556dce36d5c46e02a69c74fed45b1556efb1211dcd89 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-18T16:13:57.461Z] ========================================================= [2021-01-18T16:13:57.461Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-01-18T16:13:57.461Z] ========================================================= [Pipeline] sh [2021-01-18T16:13:58.198Z] + make test [2021-01-18T16:13:58.198Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T16:14:13.485Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-01-18T16:14:25.014Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20987 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws [2021-01-18T16:14:25.115Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-01-18T16:14:30.179Z] using credential edgex-jenkins-ssh [2021-01-18T16:14:30.240Z] Cloning the remote Git repository [2021-01-18T16:14:30.317Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-01-18T16:14:30.430Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-01-18T16:14:30.530Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-01-18T16:14:30.531Z] > git --version # timeout=10 [2021-01-18T16:14:30.555Z] > git --version # 'git version 2.17.1' [2021-01-18T16:14:30.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T16:14:30.629Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T16:14:46.257Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-01-18T16:14:46.257Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-01-18T16:14:46.257Z] internal/pkg/v2/infrastructure/redis/client.go:655:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:14:46.257Z] internal/pkg/v2/infrastructure/redis/subscription.go:23:77: undefined: v2.Category [2021-01-18T16:14:46.257Z] internal/pkg/v2/infrastructure/redis/subscription.go:25:77: undefined: v2.Receiver [2021-01-18T16:14:46.257Z] internal/pkg/v2/infrastructure/redis/subscription.go:34:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:14:48.884Z] Merging remotes/origin/master commit cc81cd9a60941bde415ebdc6eaf205dd7f209524 into PR head commit 810375c38b70d1cb23f4c6fde8bb96941618178c [2021-01-18T16:14:49.335Z] Merge succeeded, producing 810375c38b70d1cb23f4c6fde8bb96941618178c [2021-01-18T16:14:49.335Z] Checking out Revision 810375c38b70d1cb23f4c6fde8bb96941618178c (PR-3045) [2021-01-18T16:14:47.958Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-01-18T16:14:47.979Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T16:14:48.006Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-01-18T16:14:48.044Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-01-18T16:14:48.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T16:14:48.070Z] > 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-18T16:14:48.909Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T16:14:48.925Z] > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 [2021-01-18T16:14:49.213Z] > git remote # timeout=10 [2021-01-18T16:14:49.237Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T16:14:49.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T16:14:49.265Z] > git merge cc81cd9a60941bde415ebdc6eaf205dd7f209524 # timeout=10 [2021-01-18T16:14:49.288Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T16:14:49.347Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T16:14:49.364Z] > git checkout -f 810375c38b70d1cb23f4c6fde8bb96941618178c # timeout=10 [2021-01-18T16:14:52.076Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-01-18T16:14:52.076Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-01-18T16:14:52.076Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-01-18T16:14:52.076Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-01-18T16:14:52.076Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-01-18T16:14:52.076Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-01-18T16:14:53.744Z] Commit message: "feat(notifications): Implement POST /subscription V2 API" [2021-01-18T16:14:53.798Z] > git --version # timeout=10 [2021-01-18T16:14:53.807Z] > git --version # 'git version 2.17.1' [2021-01-18T16:14:53.818Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T16:14:55.656Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-18T16:14:56.093Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T16:14:56.465Z] + sudo service docker restart [2021-01-18T16:14:56.465Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T16:14:58.595Z] provisioning config files... [2021-01-18T16:14:58.638Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7249420520252872876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:14:59.115Z] ---> docker-login.sh [2021-01-18T16:14:59.115Z] nexus3.edgexfoundry.org:10001 [2021-01-18T16:15:00.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:15:00.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:15:00.372Z] Configure a credential helper to remove this warning. See [2021-01-18T16:15:00.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:15:00.372Z] [2021-01-18T16:15:00.372Z] Login Succeeded [2021-01-18T16:15:00.372Z] nexus3.edgexfoundry.org:10002 [2021-01-18T16:15:00.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:15:00.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:15:00.643Z] Configure a credential helper to remove this warning. See [2021-01-18T16:15:00.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:15:00.643Z] [2021-01-18T16:15:00.643Z] Login Succeeded [2021-01-18T16:15:00.643Z] nexus3.edgexfoundry.org:10003 [2021-01-18T16:15:01.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:15:01.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:15:01.242Z] Configure a credential helper to remove this warning. See [2021-01-18T16:15:01.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:15:01.242Z] [2021-01-18T16:15:01.242Z] Login Succeeded [2021-01-18T16:15:01.242Z] nexus3.edgexfoundry.org:10004 [2021-01-18T16:15:01.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:15:01.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:15:01.807Z] Configure a credential helper to remove this warning. See [2021-01-18T16:15:01.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:15:01.807Z] [2021-01-18T16:15:01.807Z] Login Succeeded [2021-01-18T16:15:01.807Z] docker.io [2021-01-18T16:15:02.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T16:15:02.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T16:15:02.373Z] Configure a credential helper to remove this warning. See [2021-01-18T16:15:02.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T16:15:02.373Z] [2021-01-18T16:15:02.373Z] Login Succeeded [2021-01-18T16:15:02.373Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T16:15:02.417Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T16:15:03.047Z] ========================================================= [2021-01-18T16:15:03.047Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-18T16:15:03.047Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:15:03.508Z] + 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-18T16:15:05.131Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.148s coverage: 46.6% of statements [2021-01-18T16:15:05.131Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-01-18T16:15:05.131Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.083s coverage: 100.0% of statements [2021-01-18T16:15:05.131Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.102s coverage: 100.0% of statements [2021-01-18T16:15:05.131Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.333s coverage: 67.9% of statements [2021-01-18T16:15:06.160Z] Sending build context to Docker daemon 165.6MB [2021-01-18T16:15:06.160Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T16:15:06.160Z] Step 2/6 : FROM ${BASE} [2021-01-18T16:15:06.160Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-18T16:15:06.160Z] 5f621e34cdf4: Pulling fs layer [2021-01-18T16:15:06.160Z] a4357932f1b6: Pulling fs layer [2021-01-18T16:15:06.160Z] 18c013af1878: Pulling fs layer [2021-01-18T16:15:06.160Z] 00ac8860ef70: Pulling fs layer [2021-01-18T16:15:06.160Z] 63d7cb157983: Pulling fs layer [2021-01-18T16:15:06.160Z] b116817d02f9: Pulling fs layer [2021-01-18T16:15:06.160Z] 745a02a5169b: Pulling fs layer [2021-01-18T16:15:06.160Z] 00ac8860ef70: Waiting [2021-01-18T16:15:06.160Z] 63d7cb157983: Waiting [2021-01-18T16:15:06.160Z] b116817d02f9: Waiting [2021-01-18T16:15:06.160Z] 745a02a5169b: Waiting [2021-01-18T16:15:06.160Z] 18c013af1878: Verifying Checksum [2021-01-18T16:15:06.160Z] 18c013af1878: Download complete [2021-01-18T16:15:06.160Z] a4357932f1b6: Verifying Checksum [2021-01-18T16:15:06.160Z] a4357932f1b6: Download complete [2021-01-18T16:15:06.160Z] 63d7cb157983: Verifying Checksum [2021-01-18T16:15:06.160Z] 63d7cb157983: Download complete [2021-01-18T16:15:06.160Z] b116817d02f9: Verifying Checksum [2021-01-18T16:15:06.160Z] b116817d02f9: Download complete [2021-01-18T16:15:06.160Z] 5f621e34cdf4: Verifying Checksum [2021-01-18T16:15:06.160Z] 5f621e34cdf4: Download complete [2021-01-18T16:15:06.763Z] 5f621e34cdf4: Pull complete [2021-01-18T16:15:07.368Z] a4357932f1b6: Pull complete [2021-01-18T16:15:07.965Z] 18c013af1878: Pull complete [2021-01-18T16:15:08.078Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.533s coverage: 82.3% of statements [2021-01-18T16:15:08.078Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-01-18T16:15:08.078Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.217s coverage: 100.0% of statements [2021-01-18T16:15:08.078Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.087s coverage: 100.0% of statements [2021-01-18T16:15:08.566Z] 745a02a5169b: Verifying Checksum [2021-01-18T16:15:08.567Z] 745a02a5169b: Download complete [2021-01-18T16:15:09.549Z] 00ac8860ef70: Verifying Checksum [2021-01-18T16:15:09.549Z] 00ac8860ef70: Download complete [2021-01-18T16:15:10.976Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.168s coverage: 86.7% of statements [2021-01-18T16:15:11.704Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.238s coverage: 97.5% of statements [2021-01-18T16:15:11.704Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.152s coverage: 78.3% of statements [2021-01-18T16:15:12.899Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-01-18T16:15:12.899Z] internal/pkg/v2/infrastructure/redis/client.go:655: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:15:12.899Z] internal/pkg/v2/infrastructure/redis/subscription.go:23: undefined: v2.Category [2021-01-18T16:15:12.899Z] internal/pkg/v2/infrastructure/redis/subscription.go:25: undefined: v2.Receiver [2021-01-18T16:15:12.900Z] internal/pkg/v2/infrastructure/redis/subscription.go:34: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:15:16.846Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.869s coverage: 92.8% of statements [2021-01-18T16:15:16.846Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.111s coverage: 58.8% of statements [2021-01-18T16:15:16.846Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-01-18T16:15:16.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements [2021-01-18T16:15:16.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.170s coverage: 75.5% of statements [2021-01-18T16:15:16.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.084s coverage: 80.8% of statements [2021-01-18T16:15:16.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.135s coverage: 87.2% of statements [2021-01-18T16:15:16.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.156s coverage: 84.2% of statements [2021-01-18T16:15:17.887Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.202s coverage: 91.4% of statements [2021-01-18T16:15:19.433Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.388s coverage: 63.5% of statements [2021-01-18T16:15:19.433Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.062s coverage: 100.0% of statements [2021-01-18T16:15:19.433Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.068s coverage: 91.3% of statements [2021-01-18T16:15:19.433Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.090s coverage: 100.0% of statements [2021-01-18T16:15:19.755Z] 00ac8860ef70: Pull complete [2021-01-18T16:15:19.755Z] 63d7cb157983: Pull complete [2021-01-18T16:15:19.755Z] b116817d02f9: Pull complete [2021-01-18T16:15:19.765Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.070s coverage: 73.7% of statements [2021-01-18T16:15:20.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.093s coverage: 100.0% of statements [2021-01-18T16:15:23.180Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.800s coverage: 68.9% of statements [2021-01-18T16:15:23.833Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.225s coverage: 37.0% of statements [2021-01-18T16:15:24.149Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.780s coverage: 84.0% of statements [2021-01-18T16:15:24.149Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.106s coverage: 100.0% of statements [2021-01-18T16:15:24.149Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-01-18T16:15:24.149Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-01-18T16:15:24.149Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-01-18T16:15:24.149Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-01-18T16:15:24.149Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-01-18T16:15:24.149Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-01-18T16:15:24.438Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-01-18T16:15:25.199Z] 745a02a5169b: Pull complete [2021-01-18T16:15:25.200Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-18T16:15:25.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-18T16:15:25.200Z] ---> b7e6874047d6 [2021-01-18T16:15:25.200Z] 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-18T16:15:25.938Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.069s coverage: 100.0% of statements [2021-01-18T16:15:25.938Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.079s coverage: 100.0% of statements [2021-01-18T16:15:25.938Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-01-18T16:15:28.590Z] ---> Running in 2a5cc4597ee7 [2021-01-18T16:15:30.027Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 1.539s coverage: 29.1% of statements [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.191s coverage: 99.0% of statements [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.065s coverage: 100.0% of statements [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.087s coverage: 0.0% of statements [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.060s coverage: 100.0% of statements [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.105s coverage: 87.9% of statements [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.060s coverage: 100.0% of statements [2021-01-18T16:15:30.371Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.055s coverage: 32.1% of statements [2021-01-18T16:15:30.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T16:15:31.220Z] (1/12) Installing libmagic (5.38-r0) [2021-01-18T16:15:31.396Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.083s coverage: 100.0% of statements [2021-01-18T16:15:31.491Z] (2/12) Installing file (5.38-r0) [2021-01-18T16:15:31.491Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-01-18T16:15:31.491Z] (4/12) Installing g++ (9.3.0-r2) [2021-01-18T16:15:32.025Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-01-18T16:15:32.227Z] $ docker stop --time=1 fc6e960c4af8f9188fa6556dce36d5c46e02a69c74fed45b1556efb1211dcd89 [2021-01-18T16:15:34.841Z] $ docker rm -f fc6e960c4af8f9188fa6556dce36d5c46e02a69c74fed45b1556efb1211dcd89 [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] } [2021-01-18T16:15:36.872Z] (5/12) Installing fortify-headers (1.1-r0) [2021-01-18T16:15:36.872Z] (6/12) Installing patch (2.7.6-r6) [2021-01-18T16:15:36.872Z] (7/12) Installing build-base (0.5-r2) [2021-01-18T16:15:36.872Z] (8/12) Installing libsodium (1.0.18-r0) [2021-01-18T16:15:36.872Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-01-18T16:15:36.872Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-01-18T16:15:36.872Z] (11/12) Installing libzmq (4.3.3-r0) [2021-01-18T16:15:36.872Z] (12/12) Installing zeromq-dev (4.3.3-r0) [Pipeline] // stage [Pipeline] } [2021-01-18T16:15:37.021Z] Failed in branch amd64 [2021-01-18T16:15:37.148Z] Executing busybox-1.31.1-r19.trigger [2021-01-18T16:15:37.148Z] OK: 217 MiB in 51 packages [2021-01-18T16:15:41.469Z] Removing intermediate container 2a5cc4597ee7 [2021-01-18T16:15:41.469Z] ---> 38a44bc15f9a [2021-01-18T16:15:41.469Z] Step 4/6 : WORKDIR /edgex-go [2021-01-18T16:15:41.469Z] ---> Running in 69f5826207f9 [2021-01-18T16:15:41.742Z] Removing intermediate container 69f5826207f9 [2021-01-18T16:15:41.742Z] ---> 41a73c704e8b [2021-01-18T16:15:41.742Z] Step 5/6 : COPY go.mod . [2021-01-18T16:15:42.341Z] ---> 075cafbb0de5 [2021-01-18T16:15:42.341Z] Step 6/6 : RUN go mod download [2021-01-18T16:15:42.618Z] ---> Running in 3a2c2280ac96 [2021-01-18T16:16:09.442Z] Removing intermediate container 3a2c2280ac96 [2021-01-18T16:16:09.442Z] ---> 48291c81df5e [2021-01-18T16:16:09.442Z] Successfully built 48291c81df5e [2021-01-18T16:16:09.442Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:16:09.826Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T16:16:09.826Z] . [Pipeline] withDockerContainer [2021-01-18T16:16:10.094Z] prd-ubuntu18.04-docker-arm64-4c-16g-20987 does not seem to be running inside a container [2021-01-18T16:16:10.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat [2021-01-18T16:16:11.753Z] $ docker top c260aa4b8c3ca5b714630b7566b85dc6ded32021921894800c7acdb3dcc36094 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T16:16:12.825Z] + go version [2021-01-18T16:16:12.825Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-18T16:16:12.865Z] $ docker stop --time=1 c260aa4b8c3ca5b714630b7566b85dc6ded32021921894800c7acdb3dcc36094 [2021-01-18T16:16:14.830Z] $ docker rm -f c260aa4b8c3ca5b714630b7566b85dc6ded32021921894800c7acdb3dcc36094 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:16:16.051Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T16:16:16.051Z] . [Pipeline] withDockerContainer [2021-01-18T16:16:16.323Z] prd-ubuntu18.04-docker-arm64-4c-16g-20987 does not seem to be running inside a container [2021-01-18T16:16:16.423Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat [2021-01-18T16:16:17.841Z] $ docker top b6477b7ea6e6a062f70fe57a5e2eb8d6b3f03fb4dfd7b027af3f64a700bdb9f1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-18T16:16:18.239Z] ========================================================= [2021-01-18T16:16:18.239Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-01-18T16:16:18.239Z] ========================================================= [Pipeline] sh [2021-01-18T16:16:18.901Z] + make test [2021-01-18T16:16:18.901Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T16:16:41.086Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-01-18T16:17:28.116Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-01-18T16:17:28.116Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [2021-01-18T16:17:28.116Z] internal/pkg/v2/infrastructure/redis/client.go:655:47: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:17:28.116Z] internal/pkg/v2/infrastructure/redis/subscription.go:23:77: undefined: v2.Category [2021-01-18T16:17:28.116Z] internal/pkg/v2/infrastructure/redis/subscription.go:25:77: undefined: v2.Receiver [2021-01-18T16:17:28.116Z] internal/pkg/v2/infrastructure/redis/subscription.go:34:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:17:33.569Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [2021-01-18T16:17:33.569Z] internal/support/notifications/v2/infrastructure/interfaces/db.go:16:20: undefined: models.Subscription [2021-01-18T16:17:33.569Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [2021-01-18T16:17:33.569Z] internal/support/notifications/v2/io/subscription.go:18:50: undefined: requests.AddSubscriptionRequest [2021-01-18T16:17:33.569Z] internal/support/notifications/v2/io/subscription.go:35:79: undefined: requests.AddSubscriptionRequest [2021-01-18T16:17:33.569Z] internal/support/notifications/v2/io/subscription.go:36:25: undefined: requests.AddSubscriptionRequest [2021-01-18T16:17:48.698Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.206s coverage: 46.6% of statements [2021-01-18T16:17:48.698Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-01-18T16:17:48.698Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.078s coverage: 100.0% of statements [2021-01-18T16:17:48.698Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.087s coverage: 100.0% of statements [2021-01-18T16:17:51.345Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.260s coverage: 67.9% of statements [2021-01-18T16:17:55.693Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.646s coverage: 82.3% of statements [2021-01-18T16:17:55.693Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-01-18T16:17:55.693Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.157s coverage: 100.0% of statements [2021-01-18T16:17:55.693Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.094s coverage: 100.0% of statements [2021-01-18T16:17:57.687Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.297s coverage: 86.7% of statements [2021-01-18T16:17:57.967Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.361s coverage: 97.5% of statements [2021-01-18T16:17:57.967Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.165s coverage: 78.3% of statements [2021-01-18T16:17:58.569Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] [2021-01-18T16:17:58.569Z] internal/pkg/v2/infrastructure/redis/client.go:655: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:17:58.569Z] internal/pkg/v2/infrastructure/redis/subscription.go:23: undefined: v2.Category [2021-01-18T16:17:58.569Z] internal/pkg/v2/infrastructure/redis/subscription.go:25: undefined: v2.Receiver [2021-01-18T16:17:58.569Z] internal/pkg/v2/infrastructure/redis/subscription.go:34: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Subscription [2021-01-18T16:18:06.893Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.117s coverage: 92.8% of statements [2021-01-18T16:18:06.893Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.079s coverage: 58.8% of statements [2021-01-18T16:18:06.893Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-01-18T16:18:06.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.061s coverage: 100.0% of statements [2021-01-18T16:18:06.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.083s coverage: 75.5% of statements [2021-01-18T16:18:06.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.8% of statements [2021-01-18T16:18:06.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.151s coverage: 87.2% of statements [2021-01-18T16:18:06.894Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.118s coverage: 84.2% of statements [2021-01-18T16:18:07.176Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.214s coverage: 91.4% of statements [2021-01-18T16:18:09.829Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.645s coverage: 63.5% of statements [2021-01-18T16:18:09.829Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.088s coverage: 100.0% of statements [2021-01-18T16:18:09.829Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.096s coverage: 91.3% of statements [2021-01-18T16:18:10.440Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.048s coverage: 100.0% of statements [2021-01-18T16:18:11.439Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.077s coverage: 73.7% of statements [2021-01-18T16:18:11.718Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.072s coverage: 100.0% of statements [2021-01-18T16:18:15.140Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.811s coverage: 68.9% of statements [2021-01-18T16:18:17.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.442s coverage: 37.0% of statements [2021-01-18T16:18:17.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.687s coverage: 84.0% of statements [2021-01-18T16:18:17.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.078s coverage: 100.0% of statements [2021-01-18T16:18:17.793Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-01-18T16:18:17.793Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [2021-01-18T16:18:17.793Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:19:39: undefined: models.Subscription [2021-01-18T16:18:17.793Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:22:9: undefined: models.Subscription [2021-01-18T16:18:17.793Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:23:32: undefined: models.Subscription [2021-01-18T16:18:17.793Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:26:20: undefined: models.Subscription [2021-01-18T16:18:17.793Z] internal/support/notifications/v2/infrastructure/interfaces/mocks/DBClient.go:30:32: undefined: models.Subscription [2021-01-18T16:18:19.784Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.128s coverage: 100.0% of statements [2021-01-18T16:18:20.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.120s coverage: 100.0% of statements [2021-01-18T16:18:20.408Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.839s coverage: 29.1% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.170s coverage: 99.0% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.130s coverage: 100.0% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.065s coverage: 100.0% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.075s coverage: 87.9% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.061s coverage: 100.0% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.097s coverage: 32.1% of statements [2021-01-18T16:18:28.854Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-01-18T16:18:29.443Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-01-18T16:18:29.499Z] $ docker stop --time=1 b6477b7ea6e6a062f70fe57a5e2eb8d6b3f03fb4dfd7b027af3f64a700bdb9f1 [2021-01-18T16:18:31.721Z] $ docker rm -f b6477b7ea6e6a062f70fe57a5e2eb8d6b3f03fb4dfd7b027af3f64a700bdb9f1 [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-18T16:18:34.477Z] 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-18T16:18:37.904Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:18:38.541Z] ---> package-listing.sh [2021-01-18T16:18:38.542Z] ++ facter osfamily [2021-01-18T16:18:38.542Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-18T16:18:38.809Z] + OS_FAMILY=redhat [2021-01-18T16:18:38.809Z] + workspace=/w/workspace/edgex-go/1 [2021-01-18T16:18:38.809Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-18T16:18:38.809Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-18T16:18:38.809Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-18T16:18:38.809Z] + PACKAGES=/tmp/packages_start.txt [2021-01-18T16:18:38.809Z] + '[' /w/workspace/edgex-go/1 ']' [2021-01-18T16:18:38.809Z] + PACKAGES=/tmp/packages_end.txt [2021-01-18T16:18:38.809Z] + case "${OS_FAMILY}" in [2021-01-18T16:18:38.809Z] + rpm -qa [2021-01-18T16:18:38.809Z] + sort [2021-01-18T16:18:45.551Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-18T16:18:45.551Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-18T16:18:45.551Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-18T16:18:45.551Z] + '[' /w/workspace/edgex-go/1 ']' [2021-01-18T16:18:45.551Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-01-18T16:18:45.551Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-01-18T16:18:45.587Z] 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-18T16:18:45.914Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:18:46.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T16:18:46.729Z] [2021-01-18T16:18:46.729Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-18T16:18:47.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T16:18:47.550Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-18T16:18:47.550Z] df20fa9351a1: Pulling fs layer [2021-01-18T16:18:47.550Z] 36b3adc4ff6f: Pulling fs layer [2021-01-18T16:18:47.550Z] 8ad3a11d3b57: Pulling fs layer [2021-01-18T16:18:47.550Z] 46f8f816bc3b: Pulling fs layer [2021-01-18T16:18:47.550Z] 93b61091891f: Pulling fs layer [2021-01-18T16:18:47.550Z] 93b9cdb0e59b: Pulling fs layer [2021-01-18T16:18:47.550Z] 5e14af77c1be: Pulling fs layer [2021-01-18T16:18:47.550Z] 01666e4c0597: Pulling fs layer [2021-01-18T16:18:47.550Z] aa168da1d23b: Pulling fs layer [2021-01-18T16:18:47.550Z] 46f8f816bc3b: Waiting [2021-01-18T16:18:47.550Z] 93b61091891f: Waiting [2021-01-18T16:18:47.550Z] 93b9cdb0e59b: Waiting [2021-01-18T16:18:47.550Z] 5e14af77c1be: Waiting [2021-01-18T16:18:47.550Z] 01666e4c0597: Waiting [2021-01-18T16:18:47.550Z] aa168da1d23b: Waiting [2021-01-18T16:18:47.550Z] 36b3adc4ff6f: Verifying Checksum [2021-01-18T16:18:47.550Z] 36b3adc4ff6f: Download complete [2021-01-18T16:18:47.550Z] 46f8f816bc3b: Verifying Checksum [2021-01-18T16:18:47.550Z] 46f8f816bc3b: Download complete [2021-01-18T16:18:47.843Z] df20fa9351a1: Download complete [2021-01-18T16:18:47.843Z] 93b9cdb0e59b: Verifying Checksum [2021-01-18T16:18:47.843Z] 93b9cdb0e59b: Download complete [2021-01-18T16:18:47.843Z] 5e14af77c1be: Verifying Checksum [2021-01-18T16:18:47.843Z] 5e14af77c1be: Download complete [2021-01-18T16:18:47.843Z] 93b61091891f: Download complete [2021-01-18T16:18:47.844Z] 01666e4c0597: Verifying Checksum [2021-01-18T16:18:47.844Z] 01666e4c0597: Download complete [2021-01-18T16:18:48.452Z] df20fa9351a1: Pull complete [2021-01-18T16:18:49.062Z] 8ad3a11d3b57: Verifying Checksum [2021-01-18T16:18:49.062Z] 8ad3a11d3b57: Download complete [2021-01-18T16:18:49.062Z] 36b3adc4ff6f: Pull complete [2021-01-18T16:18:50.102Z] 8ad3a11d3b57: Pull complete [2021-01-18T16:18:50.391Z] 46f8f816bc3b: Pull complete [2021-01-18T16:18:51.037Z] 93b61091891f: Pull complete [2021-01-18T16:18:51.037Z] 93b9cdb0e59b: Pull complete [2021-01-18T16:18:51.786Z] 5e14af77c1be: Pull complete [2021-01-18T16:18:52.109Z] 01666e4c0597: Pull complete [2021-01-18T16:18:55.782Z] aa168da1d23b: Verifying Checksum [2021-01-18T16:18:55.783Z] aa168da1d23b: Download complete [2021-01-18T16:19:08.402Z] aa168da1d23b: Pull complete [2021-01-18T16:19:08.402Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-18T16:19:08.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T16:19:08.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-18T16:19:08.880Z] prd-centos7-docker-4c-2g-20986 does not seem to be running inside a container [2021-01-18T16:19:08.967Z] $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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:10003/edgex-lftools-log-publisher:alpine cat [2021-01-18T16:19:13.115Z] $ docker top d0fbaf9a3a38113d233866aba3ff6de498d167cce2cfc0c72f58529892681393 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T16:19:14.033Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-18T16:19:14.929Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-18T16:19:15.337Z] + ls /var/log/sa-host [2021-01-18T16:19:15.338Z] + sadf -c /var/log/sa-host/sa18 [2021-01-18T16:19:15.338Z] file_magic: OK [2021-01-18T16:19:15.338Z] HZ: Using current value: 100 [2021-01-18T16:19:15.338Z] file_header: OK [2021-01-18T16:19:15.338Z] 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-18T16:19:15.338Z] Statistics: [2021-01-18T16:19:15.385Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-18T16:19:15.385Z] File successfully converted to sysstat format version 12.2.1 [2021-01-18T16:19:15.385Z] + sadf -c /var/log/sa-host/sa23 [2021-01-18T16:19:15.385Z] file_magic: OK [2021-01-18T16:19:15.385Z] HZ: Using current value: 100 [2021-01-18T16:19:15.385Z] file_header: OK [2021-01-18T16:19:15.385Z] 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-18T16:19:15.385Z] Statistics: [2021-01-18T16:19:15.385Z] Hnuu...uuuununununu... [2021-01-18T16:19:15.385Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T16:19:16.103Z] provisioning config files... [2021-01-18T16:19:16.124Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config5428491520247581499tmp [Pipeline] { [Pipeline] echo [2021-01-18T16:19:16.243Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:19:16.935Z] ---> create-netrc.sh [Pipeline] } [2021-01-18T16:19:16.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-18T16:19:17.113Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:19:17.496Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-18T16:19:17.540Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:19:17.908Z] ---> sudo-logs.sh [2021-01-18T16:19:17.908Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-18T16:19:17.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:19:18.657Z] ---> job-cost.sh [2021-01-18T16:19:18.657Z] lf-activate-venv: SKIPPING [2021-01-18T16:19:18.657Z] INFO: No Stack... [2021-01-18T16:19:19.636Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-18T16:19:20.220Z] INFO: Archiving Costs [Pipeline] echo [2021-01-18T16:19:20.260Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T16:19:20.667Z] ---> logs-deploy.sh [2021-01-18T16:19:20.667Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/1 [2021-01-18T16:19:20.667Z] INFO: archiving workspace using pattern(s): [2021-01-18T16:19:23.345Z] Archives upload complete. [2021-01-18T16:19:23.345Z] INFO: archiving logs to Nexus