Pull request #3209 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f449589684537117749158b8f5baa0c9171f70e9+f0a5054a805e8aad79e6fefc9c847f3d46b91de1 (a6c8dd7f660b1baec1a294ea6133064dd096f3a9) 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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-3209/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e395d696b4e6122b6a4fdab5d2b3787aeaccfdce # timeout=10 Commit message: "Merge pull request #320 from ernestojeda/fix-email" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-3209/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28174 in /w/workspace/edgexfoundry_edgex-go_PR-3209 [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 Merging remotes/origin/master commit f0a5054a805e8aad79e6fefc9c847f3d46b91de1 into PR head commit f449589684537117749158b8f5baa0c9171f70e9 Merge succeeded, producing f449589684537117749158b8f5baa0c9171f70e9 Checking out Revision f449589684537117749158b8f5baa0c9171f70e9 (PR-3209) > 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/3209/head:refs/remotes/origin/PR-3209 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # 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 f0a5054a805e8aad79e6fefc9c847f3d46b91de1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-02T05:50:09.930Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-02T05:50:10.284Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-02T05:50:10.479Z] ========================================================= [2021-03-02T05:50:10.480Z] EdgeX Global Pipelines Version Info [2021-03-02T05:50:10.480Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:50:12.018Z] ------------------- [2021-03-02T05:50:12.018Z] stable info: [2021-03-02T05:50:12.018Z] ------------------- [2021-03-02T05:50:12.018Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-02T05:50:12.018Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T05:50:12.018Z] Message: update stable to v1.0.183 [2021-03-02T05:50:12.973Z] ------------------- [2021-03-02T05:50:12.973Z] experimental info: [2021-03-02T05:50:12.973Z] ------------------- [2021-03-02T05:50:12.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-02T05:50:12.973Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T05:50:12.974Z] Message: update experimental to v1.0.183 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-02T05:50:13.410Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-03-02T05:50:13.530Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-03-02T05:50:13.648Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-02T05:50:13.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-02T05:50:13.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-02T05:50:14.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-02T05:50:14.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-02T05:50:14.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-03-02T05:50:14.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-03-02T05:50:14.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-03-02T05:50:14.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-02T05:50:15.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-02T05:50:15.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-02T05:50:15.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-02T05:50:15.574Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-02T05:50:15.700Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-02T05:50:15.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-02T05:50:15.955Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-02T05:50:16.150Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-02T05:50:16.298Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-02T05:50:16.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-03-02T05:50:16.586Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-02T05:50:16.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3209 [Pipeline] echo [2021-03-02T05:50:16.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3209 [Pipeline] echo [2021-03-02T05:50:17.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3209 [Pipeline] echo [2021-03-02T05:50:17.161Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f449589684537117749158b8f5baa0c9171f70e9 [Pipeline] echo [2021-03-02T05:50:17.278Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f449589 [Pipeline] echo [2021-03-02T05:50:17.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-02T05:50:17.663Z] provisioning config files... [2021-03-02T05:50:17.732Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6644305435821783411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:50:18.137Z] ---> docker-login.sh [2021-03-02T05:50:18.138Z] nexus3.edgexfoundry.org:10001 [2021-03-02T05:50:18.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:50:18.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:50:18.677Z] Configure a credential helper to remove this warning. See [2021-03-02T05:50:18.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:50:18.677Z] [2021-03-02T05:50:18.677Z] Login Succeeded [2021-03-02T05:50:18.677Z] nexus3.edgexfoundry.org:10002 [2021-03-02T05:50:18.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:50:18.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:50:18.677Z] Configure a credential helper to remove this warning. See [2021-03-02T05:50:18.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:50:18.677Z] [2021-03-02T05:50:18.677Z] Login Succeeded [2021-03-02T05:50:18.677Z] nexus3.edgexfoundry.org:10003 [2021-03-02T05:50:18.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:50:18.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:50:18.948Z] Configure a credential helper to remove this warning. See [2021-03-02T05:50:18.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:50:18.948Z] [2021-03-02T05:50:18.948Z] Login Succeeded [2021-03-02T05:50:18.948Z] nexus3.edgexfoundry.org:10004 [2021-03-02T05:50:18.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:50:19.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:50:19.218Z] Configure a credential helper to remove this warning. See [2021-03-02T05:50:19.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:50:19.218Z] [2021-03-02T05:50:19.218Z] Login Succeeded [2021-03-02T05:50:19.218Z] docker.io [2021-03-02T05:50:19.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:50:19.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:50:19.481Z] Configure a credential helper to remove this warning. See [2021-03-02T05:50:19.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:50:19.481Z] [2021-03-02T05:50:19.481Z] Login Succeeded [2021-03-02T05:50:19.481Z] ---> docker-login.sh ends [Pipeline] } [2021-03-02T05:50:19.506Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-02T05:50:20.141Z] ++ 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-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/core-command/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo core-command,cmd/core-command/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/core-data/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo core-data,cmd/core-data/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/core-metadata/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/support-notifications/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-03-02T05:50:20.141Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T05:50:20.141Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-03-02T05:50:20.141Z] ++ cut -d/ -f2 [2021-03-02T05:50:20.141Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-03-02T05:50:20.238Z] 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-03-02T05:50:21.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T05:50:21.351Z] [2021-03-02T05:50:21.351Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:50:21.741Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T05:50:21.741Z] latest: Pulling from edgex-devops/git-semver [2021-03-02T05:50:21.741Z] 31603596830f: Pulling fs layer [2021-03-02T05:50:21.741Z] 2a8b12db71e7: Pulling fs layer [2021-03-02T05:50:21.741Z] 6ca5941a6612: Pulling fs layer [2021-03-02T05:50:21.741Z] ecc8261a40a4: Pulling fs layer [2021-03-02T05:50:21.741Z] ecc8261a40a4: Waiting [2021-03-02T05:50:21.741Z] 2a8b12db71e7: Verifying Checksum [2021-03-02T05:50:21.741Z] 2a8b12db71e7: Download complete [2021-03-02T05:50:22.005Z] 31603596830f: Verifying Checksum [2021-03-02T05:50:22.005Z] 31603596830f: Download complete [2021-03-02T05:50:22.005Z] 6ca5941a6612: Verifying Checksum [2021-03-02T05:50:22.005Z] 6ca5941a6612: Download complete [2021-03-02T05:50:22.005Z] ecc8261a40a4: Download complete [2021-03-02T05:50:22.266Z] 31603596830f: Pull complete [2021-03-02T05:50:22.266Z] 2a8b12db71e7: Pull complete [2021-03-02T05:50:23.230Z] 6ca5941a6612: Pull complete [2021-03-02T05:50:23.492Z] ecc8261a40a4: Pull complete [2021-03-02T05:50:23.492Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-02T05:50:23.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T05:50:23.492Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-02T05:50:23.629Z] prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container [2021-03-02T05:50:23.760Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-02T05:50:26.363Z] $ docker top f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-02T05:50:26.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T05:50:26.886Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T05:50:27.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T05:50:27.118Z] $ docker exec f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent [2021-03-02T05:50:27.288Z] SSH_AUTH_SOCK=/tmp/ssh-NhVusvZ4VCcv/agent.11 [2021-03-02T05:50:27.288Z] SSH_AGENT_PID=16 [2021-03-02T05:50:27.302Z] Running ssh-add (command line suppressed) [2021-03-02T05:50:27.423Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_6309061411355169767.key (/w/workspace/edgex-go/1@tmp/private_key_6309061411355169767.key) [2021-03-02T05:50:27.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T05:50:27.862Z] + git tag --points-at HEAD [Pipeline] } [2021-03-02T05:50:27.892Z] $ docker exec --env ******** --env ******** f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent -k [2021-03-02T05:50:28.019Z] unset SSH_AUTH_SOCK; [2021-03-02T05:50:28.020Z] unset SSH_AGENT_PID; [2021-03-02T05:50:28.020Z] echo Agent pid 16 killed; [2021-03-02T05:50:28.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-02T05:50:28.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T05:50:28.275Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T05:50:28.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T05:50:28.462Z] $ docker exec f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent [2021-03-02T05:50:28.681Z] SSH_AUTH_SOCK=/tmp/ssh-4DxGzOexieNQ/agent.45 [2021-03-02T05:50:28.681Z] SSH_AGENT_PID=50 [2021-03-02T05:50:28.688Z] Running ssh-add (command line suppressed) [2021-03-02T05:50:28.806Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2193025921197905008.key (/w/workspace/edgex-go/1@tmp/private_key_2193025921197905008.key) [2021-03-02T05:50:28.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T05:50:29.243Z] + git semver init [2021-03-02T05:50:29.243Z] # -> Open(): unable to determine branch for HEAD [2021-03-02T05:50:29.243Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-03-02T05:50:29.243Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-03-02T05:50:29.243Z] # $SEMVER_REMOTE_NAME = origin [2021-03-02T05:50:29.243Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-02T05:50:29.243Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-02T05:50:29.243Z] # $SEMVER_BRANCH = PR-3209 [2021-03-02T05:50:29.243Z] # $SEMVER_TEMP = /tmp/semver-189880752 [2021-03-02T05:50:29.243Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-03-02T05:51:01.401Z] # '/tmp/semver-189880752' -> '/w/workspace/edgex-go/1/.semver' [2021-03-02T05:51:01.401Z] # -> Force: false [2021-03-02T05:51:01.401Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-03-02T05:51:01.423Z] $ docker exec --env ******** --env ******** f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent -k [2021-03-02T05:51:01.762Z] unset SSH_AUTH_SOCK; [2021-03-02T05:51:01.763Z] unset SSH_AGENT_PID; [2021-03-02T05:51:01.763Z] echo Agent pid 50 killed; [2021-03-02T05:51:01.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-02T05:51:02.513Z] + git semver [Pipeline] } [2021-03-02T05:51:02.542Z] $ docker stop --time=1 f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 [2021-03-02T05:51:04.090Z] $ docker rm -f f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-02T05:51:04.698Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-02T05:51:05.317Z] Stashed 1 file(s) [Pipeline] echo [2021-03-02T05:51:05.342Z] [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-03-02T05:51:06.641Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-02T05:51:06.961Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T05:51:07.283Z] + sudo service docker restart [2021-03-02T05:51:07.284Z] + true [2021-03-02T05:51:07.284Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-03-02T05:51:07.896Z] ========================================================= [2021-03-02T05:51:07.896Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-02T05:51:07.896Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:51:08.283Z] + 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-03-02T05:51:11.615Z] Sending build context to Docker daemon 328.1MB [2021-03-02T05:51:11.615Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T05:51:11.615Z] Step 2/6 : FROM ${BASE} [2021-03-02T05:51:11.615Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-02T05:51:11.615Z] 188c0c94c7c5: Pulling fs layer [2021-03-02T05:51:11.615Z] 0ef7d3d256c8: Pulling fs layer [2021-03-02T05:51:11.615Z] de9db76c5a1d: Pulling fs layer [2021-03-02T05:51:11.615Z] bca2f99d35d6: Pulling fs layer [2021-03-02T05:51:11.615Z] 93359f2a8cfa: Pulling fs layer [2021-03-02T05:51:11.615Z] 7c6f9722023f: Pulling fs layer [2021-03-02T05:51:11.615Z] a35cf1a2eb13: Pulling fs layer [2021-03-02T05:51:11.615Z] 93359f2a8cfa: Waiting [2021-03-02T05:51:11.615Z] a35cf1a2eb13: Waiting [2021-03-02T05:51:11.615Z] bca2f99d35d6: Waiting [2021-03-02T05:51:11.615Z] 7c6f9722023f: Waiting [2021-03-02T05:51:11.615Z] 0ef7d3d256c8: Download complete [2021-03-02T05:51:11.615Z] de9db76c5a1d: Verifying Checksum [2021-03-02T05:51:11.615Z] de9db76c5a1d: Download complete [2021-03-02T05:51:11.615Z] 93359f2a8cfa: Verifying Checksum [2021-03-02T05:51:11.615Z] 93359f2a8cfa: Download complete [2021-03-02T05:51:11.615Z] 188c0c94c7c5: Download complete [2021-03-02T05:51:11.615Z] 7c6f9722023f: Verifying Checksum [2021-03-02T05:51:11.615Z] 7c6f9722023f: Download complete [2021-03-02T05:51:12.188Z] 188c0c94c7c5: Pull complete [2021-03-02T05:51:12.451Z] 0ef7d3d256c8: Pull complete [2021-03-02T05:51:12.451Z] de9db76c5a1d: Pull complete [2021-03-02T05:51:15.016Z] bca2f99d35d6: Verifying Checksum [2021-03-02T05:51:15.016Z] bca2f99d35d6: Download complete [2021-03-02T05:51:15.289Z] a35cf1a2eb13: Verifying Checksum [2021-03-02T05:51:15.289Z] a35cf1a2eb13: Download complete [2021-03-02T05:51:20.620Z] bca2f99d35d6: Pull complete [2021-03-02T05:51:20.620Z] 93359f2a8cfa: Pull complete [2021-03-02T05:51:20.620Z] 7c6f9722023f: Pull complete [2021-03-02T05:51:20.988Z] Still waiting to schedule task [2021-03-02T05:51:20.988Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-02T05:51:25.947Z] a35cf1a2eb13: Pull complete [2021-03-02T05:51:25.947Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-02T05:51:25.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-02T05:51:25.947Z] ---> a62c8e92a672 [2021-03-02T05:51:25.947Z] 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-03-02T05:51:25.947Z] ---> Running in 2050abb11754 [2021-03-02T05:51:25.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-02T05:51:27.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-02T05:51:28.291Z] (1/12) Installing libmagic (5.38-r0) [2021-03-02T05:51:28.867Z] (2/12) Installing file (5.38-r0) [2021-03-02T05:51:28.867Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-02T05:51:28.867Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-02T05:51:50.868Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-02T05:51:50.868Z] (6/12) Installing patch (2.7.6-r6) [2021-03-02T05:51:50.868Z] (7/12) Installing build-base (0.5-r2) [2021-03-02T05:51:50.868Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-02T05:51:50.868Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-02T05:51:50.868Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-02T05:51:50.868Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-02T05:51:51.131Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-02T05:51:51.395Z] Executing busybox-1.31.1-r19.trigger [2021-03-02T05:51:51.395Z] OK: 233 MiB in 51 packages [2021-03-02T05:51:54.720Z] Removing intermediate container 2050abb11754 [2021-03-02T05:51:54.720Z] ---> b27a1dc6628d [2021-03-02T05:51:54.720Z] Step 4/6 : WORKDIR /edgex-go [2021-03-02T05:51:54.720Z] ---> Running in 244779ada787 [2021-03-02T05:51:54.983Z] Removing intermediate container 244779ada787 [2021-03-02T05:51:54.983Z] ---> 817a2b13ed83 [2021-03-02T05:51:54.983Z] Step 5/6 : COPY go.mod . [2021-03-02T05:51:55.247Z] ---> 15ce3849880e [2021-03-02T05:51:55.247Z] Step 6/6 : RUN go mod download [2021-03-02T05:51:55.247Z] ---> Running in 8957c1ac212b [2021-03-02T05:52:17.274Z] Removing intermediate container 8957c1ac212b [2021-03-02T05:52:17.274Z] ---> 6ab814b4b4c4 [2021-03-02T05:52:17.274Z] Successfully built 6ab814b4b4c4 [2021-03-02T05:52:17.274Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:52:17.626Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T05:52:17.626Z] . [Pipeline] withDockerContainer [2021-03-02T05:52:17.749Z] prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container [2021-03-02T05:52:17.799Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-02T05:52:18.582Z] $ docker top f63551ba9bc434f74fa45b6a51cf2f05f47198b381edf66483a9ae2b2728cb94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T05:52:19.200Z] + go version [2021-03-02T05:52:19.200Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-02T05:52:19.494Z] $ docker stop --time=1 f63551ba9bc434f74fa45b6a51cf2f05f47198b381edf66483a9ae2b2728cb94 [2021-03-02T05:52:20.924Z] $ docker rm -f f63551ba9bc434f74fa45b6a51cf2f05f47198b381edf66483a9ae2b2728cb94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:52:22.009Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T05:52:22.009Z] . [Pipeline] withDockerContainer [2021-03-02T05:52:22.140Z] prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container [2021-03-02T05:52:22.188Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-02T05:52:22.903Z] $ docker top 9b587faf17e453a60f71effd205b994dd5090d9cf0b588699335689b5f0e7230 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-02T05:52:23.151Z] ========================================================= [2021-03-02T05:52:23.151Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-02T05:52:23.151Z] ========================================================= [Pipeline] sh [2021-03-02T05:52:23.466Z] + make test [2021-03-02T05:52:23.466Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-02T05:52:33.541Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-02T05:52:49.038Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-02T05:52:53.346Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2 [2021-03-02T05:52:53.346Z] internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T05:53:01.568Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] [2021-03-02T05:53:01.568Z] internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent [2021-03-02T05:53:01.568Z] have (string, string) [2021-03-02T05:53:01.568Z] want (string, string, string) [2021-03-02T05:53:01.846Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2021-03-02T05:53:01.846Z] internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T05:53:02.435Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.103s coverage: 45.9% of statements [2021-03-02T05:53:02.435Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-03-02T05:53:02.435Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-03-02T05:53:02.435Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.038s coverage: 100.0% of statements [2021-03-02T05:53:02.435Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.041s coverage: 100.0% of statements [2021-03-02T05:53:04.387Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.095s coverage: 65.8% of statements [2021-03-02T05:53:04.387Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-03-02T05:53:05.790Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.346s coverage: 28.6% of statements [2021-03-02T05:53:05.790Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.364s coverage: 100.0% of statements [2021-03-02T05:53:05.790Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.040s coverage: 100.0% of statements [2021-03-02T05:53:06.064Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.107s coverage: 86.7% of statements [2021-03-02T05:53:06.337Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.114s coverage: 97.5% of statements [2021-03-02T05:53:06.337Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.063s coverage: 78.3% of statements [2021-03-02T05:53:06.337Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2021-03-02T05:53:06.337Z] internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T05:53:06.337Z] internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T05:53:06.337Z] internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T05:53:06.337Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-03-02T05:53:06.613Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.033s coverage: 58.8% of statements [2021-03-02T05:53:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.058s coverage: 0.1% of statements [2021-03-02T05:53:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.034s coverage: 45.5% of statements [2021-03-02T05:53:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.058s coverage: 79.5% of statements [2021-03-02T05:53:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.037s coverage: 94.1% of statements [2021-03-02T05:53:08.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.044s coverage: 96.3% of statements [2021-03-02T05:53:08.294Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.031s coverage: 87.5% of statements [2021-03-02T05:53:23.265Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.042s coverage: 94.4% of statements [2021-03-02T05:53:23.265Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.039s coverage: 44.8% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.074s coverage: 92.9% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.038s coverage: 77.8% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.042s coverage: 87.2% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.043s coverage: 75.5% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.032s coverage: 80.8% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.6% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.6% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.157s coverage: 62.4% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.032s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.042s coverage: 91.3% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.285s coverage: 69.1% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.097s coverage: 38.4% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.045s coverage: 89.5% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.035s coverage: 84.8% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.129s coverage: 47.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.047s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.043s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.119s coverage: 89.4% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.764s coverage: 29.1% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.065s coverage: 99.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.046s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.063s coverage: 94.3% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.030s coverage: 0.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.035s coverage: 87.9% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.034s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements [2021-03-02T05:53:31.454Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2021-03-02T05:53:31.454Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-03-02T05:53:31.510Z] $ docker stop --time=1 9b587faf17e453a60f71effd205b994dd5090d9cf0b588699335689b5f0e7230 [2021-03-02T05:53:33.153Z] $ docker rm -f 9b587faf17e453a60f71effd205b994dd5090d9cf0b588699335689b5f0e7230 [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-03-02T05:53:35.147Z] Failed in branch amd64 [2021-03-02T05:54:27.505Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28177 in /w/workspace/edgexfoundry_edgex-go_PR-3209 [Pipeline] { [Pipeline] ws [2021-03-02T05:54:27.609Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-03-02T05:54:32.783Z] using credential edgex-jenkins-ssh [2021-03-02T05:54:32.892Z] Cloning the remote Git repository [2021-03-02T05:54:32.951Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-03-02T05:54:33.062Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-03-02T05:54:33.132Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-02T05:54:33.133Z] > git --version # timeout=10 [2021-03-02T05:54:33.152Z] > git --version # 'git version 2.17.1' [2021-03-02T05:54:33.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:54:33.239Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T05:54:49.992Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-02T05:54:50.018Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T05:54:50.051Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-02T05:54:50.728Z] Merging remotes/origin/master commit f0a5054a805e8aad79e6fefc9c847f3d46b91de1 into PR head commit f449589684537117749158b8f5baa0c9171f70e9 [2021-03-02T05:54:51.233Z] Merge succeeded, producing f449589684537117749158b8f5baa0c9171f70e9 [2021-03-02T05:54:51.234Z] Checking out Revision f449589684537117749158b8f5baa0c9171f70e9 (PR-3209) [2021-03-02T05:54:50.088Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-02T05:54:50.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:54:50.101Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3209/head:refs/remotes/origin/PR-3209 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-02T05:54:50.752Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T05:54:50.811Z] > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # timeout=10 [2021-03-02T05:54:51.137Z] > git remote # timeout=10 [2021-03-02T05:54:51.157Z] > git config --get remote.origin.url # timeout=10 [2021-03-02T05:54:51.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:54:51.185Z] > git merge f0a5054a805e8aad79e6fefc9c847f3d46b91de1 # timeout=10 [2021-03-02T05:54:51.223Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-02T05:54:51.242Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T05:54:51.251Z] > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # timeout=10 [2021-03-02T05:54:55.518Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-02T05:54:55.578Z] > git --version # timeout=10 [2021-03-02T05:54:55.590Z] > git --version # 'git version 2.17.1' [2021-03-02T05:54:55.601Z] fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-02T05:54:57.364Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-02T05:54:57.824Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T05:54:58.184Z] + true [2021-03-02T05:54:58.184Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-02T05:55:00.376Z] provisioning config files... [2021-03-02T05:55:00.420Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6520607311233188001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:55:00.884Z] ---> docker-login.sh [2021-03-02T05:55:00.885Z] nexus3.edgexfoundry.org:10001 [2021-03-02T05:55:01.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:55:02.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:55:02.161Z] Configure a credential helper to remove this warning. See [2021-03-02T05:55:02.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:55:02.161Z] [2021-03-02T05:55:02.161Z] Login Succeeded [2021-03-02T05:55:02.161Z] nexus3.edgexfoundry.org:10002 [2021-03-02T05:55:02.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:55:02.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:55:02.711Z] Configure a credential helper to remove this warning. See [2021-03-02T05:55:02.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:55:02.711Z] [2021-03-02T05:55:02.711Z] Login Succeeded [2021-03-02T05:55:02.711Z] nexus3.edgexfoundry.org:10003 [2021-03-02T05:55:02.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:55:03.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:55:03.257Z] Configure a credential helper to remove this warning. See [2021-03-02T05:55:03.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:55:03.257Z] [2021-03-02T05:55:03.257Z] Login Succeeded [2021-03-02T05:55:03.257Z] nexus3.edgexfoundry.org:10004 [2021-03-02T05:55:03.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:55:03.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:55:03.812Z] Configure a credential helper to remove this warning. See [2021-03-02T05:55:03.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:55:03.812Z] [2021-03-02T05:55:03.812Z] Login Succeeded [2021-03-02T05:55:03.812Z] docker.io [2021-03-02T05:55:04.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T05:55:04.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T05:55:04.357Z] Configure a credential helper to remove this warning. See [2021-03-02T05:55:04.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T05:55:04.357Z] [2021-03-02T05:55:04.357Z] Login Succeeded [2021-03-02T05:55:04.630Z] ---> docker-login.sh ends [Pipeline] } [2021-03-02T05:55:04.662Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-02T05:55:05.209Z] ========================================================= [2021-03-02T05:55:05.209Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-02T05:55:05.209Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:55:05.641Z] + 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-03-02T05:55:08.286Z] Sending build context to Docker daemon 166.4MB [2021-03-02T05:55:08.286Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T05:55:08.286Z] Step 2/6 : FROM ${BASE} [2021-03-02T05:55:08.286Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-02T05:55:08.286Z] 5f621e34cdf4: Pulling fs layer [2021-03-02T05:55:08.286Z] a4357932f1b6: Pulling fs layer [2021-03-02T05:55:08.286Z] 18c013af1878: Pulling fs layer [2021-03-02T05:55:08.286Z] 00ac8860ef70: Pulling fs layer [2021-03-02T05:55:08.286Z] 63d7cb157983: Pulling fs layer [2021-03-02T05:55:08.286Z] b116817d02f9: Pulling fs layer [2021-03-02T05:55:08.286Z] 745a02a5169b: Pulling fs layer [2021-03-02T05:55:08.286Z] 63d7cb157983: Waiting [2021-03-02T05:55:08.286Z] b116817d02f9: Waiting [2021-03-02T05:55:08.286Z] 00ac8860ef70: Waiting [2021-03-02T05:55:08.286Z] 745a02a5169b: Waiting [2021-03-02T05:55:08.286Z] 18c013af1878: Download complete [2021-03-02T05:55:08.286Z] a4357932f1b6: Download complete [2021-03-02T05:55:08.286Z] 63d7cb157983: Verifying Checksum [2021-03-02T05:55:08.286Z] 63d7cb157983: Download complete [2021-03-02T05:55:08.286Z] b116817d02f9: Verifying Checksum [2021-03-02T05:55:08.286Z] b116817d02f9: Download complete [2021-03-02T05:55:08.286Z] 5f621e34cdf4: Verifying Checksum [2021-03-02T05:55:08.286Z] 5f621e34cdf4: Download complete [2021-03-02T05:55:09.274Z] 5f621e34cdf4: Pull complete [2021-03-02T05:55:09.551Z] a4357932f1b6: Pull complete [2021-03-02T05:55:10.153Z] 18c013af1878: Pull complete [2021-03-02T05:55:11.129Z] 745a02a5169b: Verifying Checksum [2021-03-02T05:55:11.129Z] 745a02a5169b: Download complete [2021-03-02T05:55:11.725Z] 00ac8860ef70: Verifying Checksum [2021-03-02T05:55:11.725Z] 00ac8860ef70: Download complete [2021-03-02T05:55:21.890Z] 00ac8860ef70: Pull complete [2021-03-02T05:55:21.890Z] 63d7cb157983: Pull complete [2021-03-02T05:55:22.164Z] b116817d02f9: Pull complete [2021-03-02T05:55:26.494Z] 745a02a5169b: Pull complete [2021-03-02T05:55:26.494Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-02T05:55:26.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-02T05:55:26.494Z] ---> b7e6874047d6 [2021-03-02T05:55:26.494Z] 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-03-02T05:55:29.118Z] ---> Running in 0d710d510b6e [2021-03-02T05:55:30.568Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-02T05:55:31.166Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-02T05:55:32.140Z] (1/12) Installing libmagic (5.38-r0) [2021-03-02T05:55:32.140Z] (2/12) Installing file (5.38-r0) [2021-03-02T05:55:32.411Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-02T05:55:32.411Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-02T05:55:35.791Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-02T05:55:35.791Z] (6/12) Installing patch (2.7.6-r6) [2021-03-02T05:55:35.791Z] (7/12) Installing build-base (0.5-r2) [2021-03-02T05:55:35.791Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-02T05:55:36.062Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-02T05:55:36.062Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-02T05:55:36.337Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-02T05:55:36.337Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-02T05:55:36.337Z] Executing busybox-1.31.1-r19.trigger [2021-03-02T05:55:36.337Z] OK: 217 MiB in 51 packages [2021-03-02T05:55:40.646Z] Removing intermediate container 0d710d510b6e [2021-03-02T05:55:40.646Z] ---> e6ee05a844c8 [2021-03-02T05:55:40.646Z] Step 4/6 : WORKDIR /edgex-go [2021-03-02T05:55:40.646Z] ---> Running in 8fead4389ec2 [2021-03-02T05:55:40.919Z] Removing intermediate container 8fead4389ec2 [2021-03-02T05:55:40.919Z] ---> 4770bf45e7d1 [2021-03-02T05:55:40.919Z] Step 5/6 : COPY go.mod . [2021-03-02T05:55:41.520Z] ---> a52206e90f28 [2021-03-02T05:55:41.520Z] Step 6/6 : RUN go mod download [2021-03-02T05:55:41.795Z] ---> Running in 502fc1b8cae1 [2021-03-02T05:56:08.612Z] Removing intermediate container 502fc1b8cae1 [2021-03-02T05:56:08.612Z] ---> 48cf0e415d36 [2021-03-02T05:56:08.883Z] Successfully built 48cf0e415d36 [2021-03-02T05:56:08.883Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:56:09.257Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T05:56:09.257Z] . [Pipeline] withDockerContainer [2021-03-02T05:56:09.550Z] prd-ubuntu18.04-docker-arm64-4c-16g-28177 does not seem to be running inside a container [2021-03-02T05:56:09.637Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-02T05:56:11.168Z] $ docker top 6cf88f5b4bcf940a24ee14fc979f6fa50fbc775bbafbce13949fd5b8fa44eba0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T05:56:12.223Z] + go version [2021-03-02T05:56:12.223Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-02T05:56:12.262Z] $ docker stop --time=1 6cf88f5b4bcf940a24ee14fc979f6fa50fbc775bbafbce13949fd5b8fa44eba0 [2021-03-02T05:56:14.197Z] $ docker rm -f 6cf88f5b4bcf940a24ee14fc979f6fa50fbc775bbafbce13949fd5b8fa44eba0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:56:15.419Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T05:56:15.419Z] . [Pipeline] withDockerContainer [2021-03-02T05:56:15.697Z] prd-ubuntu18.04-docker-arm64-4c-16g-28177 does not seem to be running inside a container [2021-03-02T05:56:15.782Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-02T05:56:17.219Z] $ docker top 0bc6a51ba1bfd74931bc2de3cd3ef136d1ae25d828ee853b693c2aaf0e8f3125 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-02T05:56:17.634Z] ========================================================= [2021-03-02T05:56:17.634Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-02T05:56:17.634Z] ========================================================= [Pipeline] sh [2021-03-02T05:56:18.298Z] + make test [2021-03-02T05:56:18.298Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-02T05:56:40.478Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-02T05:57:27.660Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-02T05:57:30.309Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2 [2021-03-02T05:57:30.309Z] internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T05:58:02.827Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] [2021-03-02T05:58:02.827Z] internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent [2021-03-02T05:58:02.827Z] have (string, string) [2021-03-02T05:58:02.827Z] want (string, string, string) [2021-03-02T05:58:02.827Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2021-03-02T05:58:02.827Z] internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T05:58:02.827Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.318s coverage: 45.9% of statements [2021-03-02T05:58:02.827Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-03-02T05:58:02.827Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-03-02T05:58:02.827Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.093s coverage: 100.0% of statements [2021-03-02T05:58:02.827Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.083s coverage: 100.0% of statements [2021-03-02T05:58:06.245Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.272s coverage: 65.8% of statements [2021-03-02T05:58:06.245Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-03-02T05:58:11.687Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2021-03-02T05:58:11.687Z] internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T05:58:11.687Z] internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T05:58:11.687Z] internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T05:58:13.150Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.293s coverage: 28.6% of statements [2021-03-02T05:58:13.151Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.129s coverage: 100.0% of statements [2021-03-02T05:58:13.151Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.075s coverage: 100.0% of statements [2021-03-02T05:58:13.151Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.337s coverage: 86.7% of statements [2021-03-02T05:58:13.151Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.346s coverage: 97.5% of statements [2021-03-02T05:58:13.151Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.190s coverage: 78.3% of statements [2021-03-02T05:58:13.151Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-03-02T05:58:13.151Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.059s coverage: 58.8% of statements [2021-03-02T05:58:18.579Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.191s coverage: 0.1% of statements [2021-03-02T05:58:18.579Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.130s coverage: 45.5% of statements [2021-03-02T05:58:18.579Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.101s coverage: 79.5% of statements [2021-03-02T05:58:18.579Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.055s coverage: 94.1% of statements [2021-03-02T05:58:18.861Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.143s coverage: 96.3% of statements [2021-03-02T05:58:19.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements [2021-03-02T05:58:31.583Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.075s coverage: 94.4% of statements [2021-03-02T05:58:31.583Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.050s coverage: 44.8% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.140s coverage: 92.9% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.053s coverage: 77.8% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.089s coverage: 87.2% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.046s coverage: 100.0% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.078s coverage: 75.5% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.068s coverage: 80.8% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.118s coverage: 87.2% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.150s coverage: 84.6% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.151s coverage: 91.6% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.472s coverage: 62.4% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.071s coverage: 100.0% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 91.3% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.055s coverage: 100.0% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.074s coverage: 73.7% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.058s coverage: 100.0% of statements [2021-03-02T05:58:46.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.809s coverage: 69.1% of statements [2021-03-02T05:58:47.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.396s coverage: 38.4% of statements [2021-03-02T05:58:47.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.088s coverage: 89.5% of statements [2021-03-02T05:58:48.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.093s coverage: 84.8% of statements [2021-03-02T05:58:53.500Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.448s coverage: 47.0% of statements [2021-03-02T05:58:53.500Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.127s coverage: 100.0% of statements [2021-03-02T05:58:53.500Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.134s coverage: 100.0% of statements [2021-03-02T05:58:53.500Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.316s coverage: 89.4% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.952s coverage: 29.1% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.178s coverage: 99.0% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.107s coverage: 100.0% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.153s coverage: 94.3% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.072s coverage: 100.0% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.124s coverage: 87.9% of statements [2021-03-02T05:59:01.816Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.067s coverage: 100.0% of statements [2021-03-02T05:59:02.096Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.047s coverage: 32.1% of statements [2021-03-02T05:59:03.071Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.080s coverage: 100.0% of statements [2021-03-02T05:59:03.673Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-03-02T05:59:03.729Z] $ docker stop --time=1 0bc6a51ba1bfd74931bc2de3cd3ef136d1ae25d828ee853b693c2aaf0e8f3125 [2021-03-02T05:59:05.991Z] $ docker rm -f 0bc6a51ba1bfd74931bc2de3cd3ef136d1ae25d828ee853b693c2aaf0e8f3125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:59:08.488Z] ---> job-cost.sh [2021-03-02T05:59:08.488Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Fypu [2021-03-02T05:59:47.450Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-02T06:02:09.277Z] lf-activate-venv(): INFO: Adding /tmp/venv-Fypu/bin to PATH [2021-03-02T06:02:09.277Z] INFO: No Stack... [2021-03-02T06:02:09.277Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-02T06:02:09.277Z] INFO: Archiving Costs [Pipeline] sh [2021-03-02T06:02:09.632Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-03-02T06:02:09.632Z] + cut -d, -f6 [Pipeline] lock [2021-03-02T06:02:09.764Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] [2021-03-02T06:02:09.771Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] did not exist. Created. [2021-03-02T06:02:09.771Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-02T06:02:10.403Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-02T06:02:11.492Z] Stashed 1 file(s) [Pipeline] } [2021-03-02T06:02:11.514Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-02T06:02:12.613Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-02T06:02:15.628Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T06:02:16.556Z] ---> package-listing.sh [2021-03-02T06:02:16.556Z] ++ facter osfamily [2021-03-02T06:02:16.556Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-02T06:02:16.556Z] + OS_FAMILY=redhat [2021-03-02T06:02:16.556Z] + workspace=/w/workspace/edgex-go/1 [2021-03-02T06:02:16.556Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-02T06:02:16.557Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-02T06:02:16.557Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-02T06:02:16.557Z] + PACKAGES=/tmp/packages_start.txt [2021-03-02T06:02:16.557Z] + '[' /w/workspace/edgex-go/1 ']' [2021-03-02T06:02:16.557Z] + PACKAGES=/tmp/packages_end.txt [2021-03-02T06:02:16.557Z] + case "${OS_FAMILY}" in [2021-03-02T06:02:16.557Z] + rpm -qa [2021-03-02T06:02:16.557Z] + sort [2021-03-02T06:02:21.881Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-02T06:02:21.881Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-02T06:02:21.881Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-02T06:02:21.881Z] + '[' /w/workspace/edgex-go/1 ']' [2021-03-02T06:02:21.881Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-03-02T06:02:21.881Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-03-02T06:02:21.922Z] 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-03-02T06:02:22.239Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-02T06:02:22.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T06:02:22.597Z] [2021-03-02T06:02:22.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-02T06:02:23.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T06:02:23.016Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-02T06:02:23.016Z] df20fa9351a1: Pulling fs layer [2021-03-02T06:02:23.016Z] 36b3adc4ff6f: Pulling fs layer [2021-03-02T06:02:23.016Z] 8ad3a11d3b57: Pulling fs layer [2021-03-02T06:02:23.016Z] 46f8f816bc3b: Pulling fs layer [2021-03-02T06:02:23.016Z] 93b61091891f: Pulling fs layer [2021-03-02T06:02:23.016Z] 93b9cdb0e59b: Pulling fs layer [2021-03-02T06:02:23.016Z] 5e14af77c1be: Pulling fs layer [2021-03-02T06:02:23.016Z] 01666e4c0597: Pulling fs layer [2021-03-02T06:02:23.016Z] aa168da1d23b: Pulling fs layer [2021-03-02T06:02:23.016Z] 93b9cdb0e59b: Waiting [2021-03-02T06:02:23.016Z] 5e14af77c1be: Waiting [2021-03-02T06:02:23.016Z] 01666e4c0597: Waiting [2021-03-02T06:02:23.016Z] aa168da1d23b: Waiting [2021-03-02T06:02:23.016Z] 46f8f816bc3b: Waiting [2021-03-02T06:02:23.016Z] 36b3adc4ff6f: Verifying Checksum [2021-03-02T06:02:23.016Z] 36b3adc4ff6f: Download complete [2021-03-02T06:02:23.016Z] df20fa9351a1: Verifying Checksum [2021-03-02T06:02:23.016Z] df20fa9351a1: Download complete [2021-03-02T06:02:23.288Z] 93b61091891f: Verifying Checksum [2021-03-02T06:02:23.288Z] 93b61091891f: Download complete [2021-03-02T06:02:23.288Z] 93b9cdb0e59b: Verifying Checksum [2021-03-02T06:02:23.288Z] 93b9cdb0e59b: Download complete [2021-03-02T06:02:23.288Z] 5e14af77c1be: Verifying Checksum [2021-03-02T06:02:23.288Z] 5e14af77c1be: Download complete [2021-03-02T06:02:23.288Z] 46f8f816bc3b: Verifying Checksum [2021-03-02T06:02:23.288Z] 46f8f816bc3b: Download complete [2021-03-02T06:02:23.288Z] 01666e4c0597: Verifying Checksum [2021-03-02T06:02:23.288Z] 01666e4c0597: Download complete [2021-03-02T06:02:23.288Z] 8ad3a11d3b57: Verifying Checksum [2021-03-02T06:02:23.288Z] 8ad3a11d3b57: Download complete [2021-03-02T06:02:23.558Z] df20fa9351a1: Pull complete [2021-03-02T06:02:23.826Z] 36b3adc4ff6f: Pull complete [2021-03-02T06:02:24.410Z] 8ad3a11d3b57: Pull complete [2021-03-02T06:02:25.012Z] 46f8f816bc3b: Pull complete [2021-03-02T06:02:25.598Z] 93b61091891f: Pull complete [2021-03-02T06:02:25.598Z] 93b9cdb0e59b: Pull complete [2021-03-02T06:02:25.598Z] aa168da1d23b: Verifying Checksum [2021-03-02T06:02:25.598Z] 5e14af77c1be: Pull complete [2021-03-02T06:02:25.864Z] 01666e4c0597: Pull complete [2021-03-02T06:02:34.090Z] aa168da1d23b: Pull complete [2021-03-02T06:02:34.090Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-02T06:02:34.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T06:02:34.090Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-02T06:02:34.248Z] prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container [2021-03-02T06:02:34.293Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-02T06:02:37.473Z] $ docker top 7841e98c948ca904ee2f5a59b1a92554a058459f0e9d9d1113d2e0665506a023 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T06:02:38.034Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-02T06:02:38.356Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-02T06:02:38.674Z] + ls /var/log/sa-host [2021-03-02T06:02:38.674Z] + sadf -c /var/log/sa-host/sa02 [2021-03-02T06:02:38.674Z] file_magic: OK [2021-03-02T06:02:38.674Z] HZ: Using current value: 100 [2021-03-02T06:02:38.674Z] file_header: OK [2021-03-02T06:02:38.674Z] 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-03-02T06:02:38.674Z] Statistics: [2021-03-02T06:02:38.674Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-02T06:02:38.674Z] File successfully converted to sysstat format version 12.2.1 [2021-03-02T06:02:38.674Z] + sadf -c /var/log/sa-host/sa23 [2021-03-02T06:02:38.674Z] file_magic: OK [2021-03-02T06:02:38.674Z] HZ: Using current value: 100 [2021-03-02T06:02:38.674Z] file_header: OK [2021-03-02T06:02:38.674Z] 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-03-02T06:02:38.674Z] Statistics: [2021-03-02T06:02:38.674Z] Hnuu...uuuununununu... [2021-03-02T06:02:38.674Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-02T06:02:39.396Z] provisioning config files... [2021-03-02T06:02:39.412Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2901601311284842509tmp [Pipeline] { [Pipeline] echo [2021-03-02T06:02:39.526Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T06:02:39.861Z] ---> create-netrc.sh [Pipeline] } [2021-03-02T06:02:39.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-02T06:02:40.030Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T06:02:40.363Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-02T06:02:40.394Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T06:02:40.727Z] ---> sudo-logs.sh [2021-03-02T06:02:40.727Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-02T06:02:40.835Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T06:02:41.161Z] ---> job-cost.sh [2021-03-02T06:02:41.161Z] lf-activate-venv: SKIPPING [2021-03-02T06:02:41.161Z] DEBUG: total: 0.20999999344348907 [2021-03-02T06:02:41.161Z] INFO: Retrieving Stack Cost... [2021-03-02T06:02:42.113Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-02T06:02:42.693Z] INFO: Archiving Costs [Pipeline] echo [2021-03-02T06:02:42.744Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T06:02:43.081Z] ---> logs-deploy.sh [2021-03-02T06:02:43.082Z] lf-activate-venv: SKIPPING [2021-03-02T06:02:43.082Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3209/1 [2021-03-02T06:02:43.082Z] INFO: archiving workspace using pattern(s): [2021-03-02T06:02:44.475Z] Archives upload complete. [2021-03-02T06:02:44.476Z] INFO: archiving logs to Nexus