Pull request #2969 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014+bbb161aa59ef099937232867751a09afbb087fa9 (6e72cf714aba5097ce204cd7dd23dd613ecc28d2) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-2969/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-2969/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-17047 in /w/workspace/edgexfoundry_edgex-go_PR-2969 [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 bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 Merge succeeded, producing dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 Checking out Revision dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 (PR-2969) > 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/2969/head:refs/remotes/origin/PR-2969 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 # 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 bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T07:28:15.554Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T07:28:15.892Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T07:28:16.098Z] ========================================================= [2020-12-21T07:28:16.098Z] EdgeX Global Pipelines Version Info [2020-12-21T07:28:16.098Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:28:17.829Z] ------------------- [2020-12-21T07:28:17.829Z] stable info: [2020-12-21T07:28:17.829Z] ------------------- [2020-12-21T07:28:17.829Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T07:28:17.829Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:28:17.829Z] Message: update stable to v1.0.173 [2020-12-21T07:28:18.864Z] ------------------- [2020-12-21T07:28:18.865Z] experimental info: [2020-12-21T07:28:18.865Z] ------------------- [2020-12-21T07:28:18.865Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T07:28:18.865Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:28:18.865Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T07:28:19.186Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-21T07:28:19.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-21T07:28:19.431Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T07:28:19.552Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T07:28:19.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T07:28:19.800Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T07:28:19.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T07:28:20.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-21T07:28:20.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-21T07:28:20.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-21T07:28:20.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T07:28:20.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T07:28:20.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T07:28:20.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T07:28:21.002Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T07:28:21.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T07:28:21.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T07:28:21.398Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T07:28:21.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T07:28:21.629Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-21T07:28:21.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-21T07:28:21.880Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T07:28:22.053Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T07:28:22.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2969 [Pipeline] echo [2020-12-21T07:28:22.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2969 [Pipeline] echo [2020-12-21T07:28:22.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2969 [Pipeline] echo [2020-12-21T07:28:22.569Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 [Pipeline] echo [2020-12-21T07:28:22.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfc9fd7 [Pipeline] echo [2020-12-21T07:28:22.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T07:28:23.125Z] provisioning config files... [2020-12-21T07:28:23.164Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config8175303823425572125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:28:23.626Z] ---> docker-login.sh [2020-12-21T07:28:23.626Z] nexus3.edgexfoundry.org:10001 [2020-12-21T07:28:24.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:28:24.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:28:24.514Z] Configure a credential helper to remove this warning. See [2020-12-21T07:28:24.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:28:24.514Z] [2020-12-21T07:28:24.514Z] Login Succeeded [2020-12-21T07:28:24.514Z] nexus3.edgexfoundry.org:10002 [2020-12-21T07:28:24.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:28:24.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:28:24.782Z] Configure a credential helper to remove this warning. See [2020-12-21T07:28:24.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:28:24.783Z] [2020-12-21T07:28:24.783Z] Login Succeeded [2020-12-21T07:28:25.047Z] nexus3.edgexfoundry.org:10003 [2020-12-21T07:28:25.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:28:25.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:28:25.047Z] Configure a credential helper to remove this warning. See [2020-12-21T07:28:25.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:28:25.047Z] [2020-12-21T07:28:25.047Z] Login Succeeded [2020-12-21T07:28:25.047Z] nexus3.edgexfoundry.org:10004 [2020-12-21T07:28:25.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:28:25.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:28:25.327Z] Configure a credential helper to remove this warning. See [2020-12-21T07:28:25.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:28:25.327Z] [2020-12-21T07:28:25.327Z] Login Succeeded [2020-12-21T07:28:25.327Z] docker.io [2020-12-21T07:28:25.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:28:25.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:28:25.864Z] Configure a credential helper to remove this warning. See [2020-12-21T07:28:25.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:28:25.864Z] [2020-12-21T07:28:25.864Z] Login Succeeded [2020-12-21T07:28:25.864Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T07:28:25.890Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T07:28:26.453Z] ++ 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 [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] ++ dirname cmd/core-command/Dockerfile [2020-12-21T07:28:26.453Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] ++ dirname cmd/core-data/Dockerfile [2020-12-21T07:28:26.453Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-21T07:28:26.453Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-21T07:28:26.453Z] ++ cut -d/ -f2 [2020-12-21T07:28:26.453Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-21T07:28:26.453Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-21T07:28:26.566Z] 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 [2020-12-21T07:28:27.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:28:27.568Z] [2020-12-21T07:28:27.568Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:28:28.026Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:28:28.026Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T07:28:28.026Z] 31603596830f: Pulling fs layer [2020-12-21T07:28:28.026Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T07:28:28.026Z] 6ca5941a6612: Pulling fs layer [2020-12-21T07:28:28.026Z] ecc8261a40a4: Pulling fs layer [2020-12-21T07:28:28.026Z] ecc8261a40a4: Waiting [2020-12-21T07:28:28.026Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T07:28:28.026Z] 2a8b12db71e7: Download complete [2020-12-21T07:28:28.669Z] 31603596830f: Verifying Checksum [2020-12-21T07:28:28.669Z] 31603596830f: Download complete [2020-12-21T07:28:28.950Z] ecc8261a40a4: Verifying Checksum [2020-12-21T07:28:28.950Z] ecc8261a40a4: Download complete [2020-12-21T07:28:28.950Z] 6ca5941a6612: Download complete [2020-12-21T07:28:29.223Z] 31603596830f: Pull complete [2020-12-21T07:28:29.509Z] 2a8b12db71e7: Pull complete [2020-12-21T07:28:30.499Z] 6ca5941a6612: Pull complete [2020-12-21T07:28:31.143Z] ecc8261a40a4: Pull complete [2020-12-21T07:28:31.143Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T07:28:31.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:28:31.143Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T07:28:31.473Z] prd-centos7-docker-4c-2g-17047 does not seem to be running inside a container [2020-12-21T07:28:31.551Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-21T07:28:34.419Z] $ docker top 17593c5b1c5916318ebd33cea9051aba9a1e27cff18765d8bbb8b56c424920fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T07:28:34.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T07:28:34.980Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T07:28:35.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T07:28:35.376Z] $ docker exec 17593c5b1c5916318ebd33cea9051aba9a1e27cff18765d8bbb8b56c424920fe ssh-agent [2020-12-21T07:28:35.642Z] SSH_AUTH_SOCK=/tmp/ssh-gX1bRQHu47IY/agent.13 [2020-12-21T07:28:35.642Z] SSH_AGENT_PID=18 [2020-12-21T07:28:35.667Z] Running ssh-add (command line suppressed) [2020-12-21T07:28:35.892Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_47218080359837571.key (/w/workspace/edgex-go/1@tmp/private_key_47218080359837571.key) [2020-12-21T07:28:35.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T07:28:36.397Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T07:28:36.472Z] $ docker exec --env ******** --env ******** 17593c5b1c5916318ebd33cea9051aba9a1e27cff18765d8bbb8b56c424920fe ssh-agent -k [2020-12-21T07:28:36.701Z] unset SSH_AUTH_SOCK; [2020-12-21T07:28:36.702Z] unset SSH_AGENT_PID; [2020-12-21T07:28:36.702Z] echo Agent pid 18 killed; [2020-12-21T07:28:36.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T07:28:36.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T07:28:36.960Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T07:28:37.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T07:28:37.279Z] $ docker exec 17593c5b1c5916318ebd33cea9051aba9a1e27cff18765d8bbb8b56c424920fe ssh-agent [2020-12-21T07:28:37.594Z] SSH_AUTH_SOCK=/tmp/ssh-mhwU4ctE3SlJ/agent.47 [2020-12-21T07:28:37.594Z] SSH_AGENT_PID=52 [2020-12-21T07:28:37.610Z] Running ssh-add (command line suppressed) [2020-12-21T07:28:37.856Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2168831020561772370.key (/w/workspace/edgex-go/1@tmp/private_key_2168831020561772370.key) [2020-12-21T07:28:37.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T07:28:38.427Z] + git semver init [2020-12-21T07:28:38.427Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T07:28:38.427Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2020-12-21T07:28:38.427Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2020-12-21T07:28:38.427Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T07:28:38.427Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T07:28:38.427Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T07:28:38.427Z] # $SEMVER_BRANCH = PR-2969 [2020-12-21T07:28:38.427Z] # $SEMVER_TEMP = /tmp/semver-918528222 [2020-12-21T07:28:38.427Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-21T07:29:10.985Z] # '/tmp/semver-918528222' -> '/w/workspace/edgex-go/1/.semver' [2020-12-21T07:29:10.986Z] # -> Force: false [2020-12-21T07:29:10.986Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2020-12-21T07:29:11.018Z] $ docker exec --env ******** --env ******** 17593c5b1c5916318ebd33cea9051aba9a1e27cff18765d8bbb8b56c424920fe ssh-agent -k [2020-12-21T07:29:11.517Z] unset SSH_AUTH_SOCK; [2020-12-21T07:29:11.517Z] unset SSH_AGENT_PID; [2020-12-21T07:29:11.517Z] echo Agent pid 52 killed; [2020-12-21T07:29:11.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T07:29:12.244Z] + git semver [Pipeline] } [2020-12-21T07:29:12.288Z] $ docker stop --time=1 17593c5b1c5916318ebd33cea9051aba9a1e27cff18765d8bbb8b56c424920fe [2020-12-21T07:29:13.989Z] $ docker rm -f 17593c5b1c5916318ebd33cea9051aba9a1e27cff18765d8bbb8b56c424920fe [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T07:29:14.719Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T07:29:15.640Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T07:29:15.662Z] [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 [2020-12-21T07:29:17.136Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:29:17.481Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:29:17.894Z] + sudo service docker restart [2020-12-21T07:29:17.894Z] + true [2020-12-21T07:29:17.894Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-21T07:29:18.935Z] ========================================================= [2020-12-21T07:29:18.935Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T07:29:18.935Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:29:19.353Z] + 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 . [2020-12-21T07:29:24.777Z] Sending build context to Docker daemon 326.1MB [2020-12-21T07:29:25.060Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-21T07:29:25.060Z] Step 2/7 : FROM ${BASE} [2020-12-21T07:29:25.060Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T07:29:25.060Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T07:29:25.060Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T07:29:25.061Z] de9db76c5a1d: Pulling fs layer [2020-12-21T07:29:25.061Z] bca2f99d35d6: Pulling fs layer [2020-12-21T07:29:25.061Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T07:29:25.061Z] 7c6f9722023f: Pulling fs layer [2020-12-21T07:29:25.061Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T07:29:25.061Z] 93359f2a8cfa: Waiting [2020-12-21T07:29:25.061Z] 7c6f9722023f: Waiting [2020-12-21T07:29:25.061Z] a35cf1a2eb13: Waiting [2020-12-21T07:29:25.061Z] bca2f99d35d6: Waiting [2020-12-21T07:29:25.061Z] de9db76c5a1d: Verifying Checksum [2020-12-21T07:29:25.061Z] de9db76c5a1d: Download complete [2020-12-21T07:29:25.061Z] 0ef7d3d256c8: Download complete [2020-12-21T07:29:25.347Z] 93359f2a8cfa: Download complete [2020-12-21T07:29:25.347Z] 7c6f9722023f: Verifying Checksum [2020-12-21T07:29:25.347Z] 7c6f9722023f: Download complete [2020-12-21T07:29:25.347Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T07:29:25.347Z] 188c0c94c7c5: Download complete [2020-12-21T07:29:26.004Z] 188c0c94c7c5: Pull complete [2020-12-21T07:29:26.297Z] 0ef7d3d256c8: Pull complete [2020-12-21T07:29:26.574Z] de9db76c5a1d: Pull complete [2020-12-21T07:29:29.249Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T07:29:29.249Z] a35cf1a2eb13: Download complete [2020-12-21T07:29:29.743Z] bca2f99d35d6: Verifying Checksum [2020-12-21T07:29:29.743Z] bca2f99d35d6: Download complete [2020-12-21T07:29:31.418Z] Still waiting to schedule task [2020-12-21T07:29:31.418Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-17048’ is offline [2020-12-21T07:29:40.096Z] bca2f99d35d6: Pull complete [2020-12-21T07:29:40.096Z] 93359f2a8cfa: Pull complete [2020-12-21T07:29:40.096Z] 7c6f9722023f: Pull complete [2020-12-21T07:29:44.466Z] a35cf1a2eb13: Pull complete [2020-12-21T07:29:44.466Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T07:29:44.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T07:29:44.466Z] ---> a62c8e92a672 [2020-12-21T07:29:44.466Z] Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2020-12-21T07:29:44.738Z] ---> Running in 6454a5fa7297 [2020-12-21T07:29:45.714Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T07:29:46.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T07:29:46.886Z] (1/12) Installing libmagic (5.38-r0) [2020-12-21T07:29:47.150Z] (2/12) Installing file (5.38-r0) [2020-12-21T07:29:47.426Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-21T07:29:47.426Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-21T07:29:55.709Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-21T07:29:55.709Z] (6/12) Installing patch (2.7.6-r6) [2020-12-21T07:29:55.709Z] (7/12) Installing build-base (0.5-r2) [2020-12-21T07:29:55.709Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-21T07:29:55.709Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-21T07:29:55.709Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-21T07:29:55.709Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-21T07:29:55.709Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-21T07:29:55.709Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T07:29:55.709Z] OK: 233 MiB in 51 packages [2020-12-21T07:30:00.196Z] Removing intermediate container 6454a5fa7297 [2020-12-21T07:30:00.196Z] ---> 9c3f55c004c4 [2020-12-21T07:30:00.196Z] Step 4/7 : WORKDIR /edgex-go [2020-12-21T07:30:00.196Z] ---> Running in 696a1556b321 [2020-12-21T07:30:00.573Z] Removing intermediate container 696a1556b321 [2020-12-21T07:30:00.573Z] ---> 173ee0f24398 [2020-12-21T07:30:00.573Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-21T07:30:01.179Z] latest: Pulling from library/docker [2020-12-21T07:30:01.795Z] 801bfaa63ef2: Pulling fs layer [2020-12-21T07:30:01.795Z] 4f7dc993c79e: Pulling fs layer [2020-12-21T07:30:01.795Z] d39d95e4997f: Pulling fs layer [2020-12-21T07:30:01.795Z] 1cda4b703d87: Pulling fs layer [2020-12-21T07:30:01.795Z] 54e5375350ea: Pulling fs layer [2020-12-21T07:30:01.795Z] f08cd1b3bb1b: Pulling fs layer [2020-12-21T07:30:01.795Z] 8e17d04e0c68: Pulling fs layer [2020-12-21T07:30:01.795Z] 54e5375350ea: Waiting [2020-12-21T07:30:01.795Z] f08cd1b3bb1b: Waiting [2020-12-21T07:30:01.795Z] 8e17d04e0c68: Waiting [2020-12-21T07:30:01.795Z] 1cda4b703d87: Waiting [2020-12-21T07:30:01.795Z] d39d95e4997f: Verifying Checksum [2020-12-21T07:30:01.795Z] d39d95e4997f: Download complete [2020-12-21T07:30:01.795Z] 801bfaa63ef2: Verifying Checksum [2020-12-21T07:30:01.795Z] 4f7dc993c79e: Verifying Checksum [2020-12-21T07:30:01.795Z] 4f7dc993c79e: Download complete [2020-12-21T07:30:02.213Z] 54e5375350ea: Verifying Checksum [2020-12-21T07:30:02.213Z] 54e5375350ea: Download complete [2020-12-21T07:30:02.213Z] f08cd1b3bb1b: Verifying Checksum [2020-12-21T07:30:02.213Z] f08cd1b3bb1b: Download complete [2020-12-21T07:30:02.567Z] 8e17d04e0c68: Verifying Checksum [2020-12-21T07:30:02.567Z] 8e17d04e0c68: Download complete [2020-12-21T07:30:02.897Z] 801bfaa63ef2: Pull complete [2020-12-21T07:30:03.986Z] 4f7dc993c79e: Pull complete [2020-12-21T07:30:04.260Z] 1cda4b703d87: Verifying Checksum [2020-12-21T07:30:04.260Z] 1cda4b703d87: Download complete [2020-12-21T07:30:04.528Z] d39d95e4997f: Pull complete [2020-12-21T07:30:11.337Z] 1cda4b703d87: Pull complete [2020-12-21T07:30:11.337Z] 54e5375350ea: Pull complete [2020-12-21T07:30:11.613Z] f08cd1b3bb1b: Pull complete [2020-12-21T07:30:11.613Z] 8e17d04e0c68: Pull complete [2020-12-21T07:30:11.905Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-21T07:30:11.905Z] Status: Downloaded newer image for docker:latest [2020-12-21T07:30:14.009Z] ---> ad0beeea707c [2020-12-21T07:30:14.009Z] Step 6/7 : COPY go.mod . [2020-12-21T07:30:14.636Z] ---> 781bad50627d [2020-12-21T07:30:14.636Z] Step 7/7 : RUN go mod download [2020-12-21T07:30:14.636Z] ---> Running in a01b1ad8f2fc [2020-12-21T07:30:47.246Z] Removing intermediate container a01b1ad8f2fc [2020-12-21T07:30:47.246Z] ---> 604b8e1ddd52 [2020-12-21T07:30:47.246Z] Successfully built 604b8e1ddd52 [2020-12-21T07:30:47.246Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:30:47.694Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T07:30:48.006Z] . [Pipeline] withDockerContainer [2020-12-21T07:30:48.495Z] prd-centos7-docker-4c-2g-17047 does not seem to be running inside a container [2020-12-21T07:30: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 ******** ci-base-image-x86_64 cat [2020-12-21T07:30:50.560Z] $ docker top 01fae3002e3bf3f34d8db9dca53728d0771c6c34afd779bd3cb25ac30e18002d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:30:51.593Z] + go version [2020-12-21T07:30:51.593Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T07:30:51.651Z] $ docker stop --time=1 01fae3002e3bf3f34d8db9dca53728d0771c6c34afd779bd3cb25ac30e18002d [2020-12-21T07:30:53.766Z] $ docker rm -f 01fae3002e3bf3f34d8db9dca53728d0771c6c34afd779bd3cb25ac30e18002d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:30:55.213Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T07:30:55.213Z] . [Pipeline] withDockerContainer [2020-12-21T07:30:55.969Z] prd-centos7-docker-4c-2g-17047 does not seem to be running inside a container [2020-12-21T07:30:56.139Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-21T07:30:57.594Z] $ docker top faee77a3f9bf083607398a04a4b4695e6f409f055e77da55ef887c9b9f110ee4 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-21T07:30:58.157Z] ========================================================= [2020-12-21T07:30:58.157Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-21T07:30:58.157Z] ========================================================= [Pipeline] sh [2020-12-21T07:30:58.918Z] + make test [2020-12-21T07:30:58.919Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T07:31:01.092Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:31:01.092Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:31:01.466Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [2020-12-21T07:31:01.847Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [2020-12-21T07:31:07.415Z] internal/core/command/main.go:30:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:31:07.415Z] internal/core/command/main.go:31:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:31:07.415Z] internal/core/command/main.go:32:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [2020-12-21T07:31:07.415Z] internal/core/command/main.go:33:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [2020-12-21T07:31:07.415Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2020-12-21T07:31:07.502Z] $ docker stop --time=1 faee77a3f9bf083607398a04a4b4695e6f409f055e77da55ef887c9b9f110ee4 [2020-12-21T07:31:09.749Z] $ docker rm -f faee77a3f9bf083607398a04a4b4695e6f409f055e77da55ef887c9b9f110ee4 [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] } [2020-12-21T07:31:11.866Z] Failed in branch amd64 [2020-12-21T07:32:33.893Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17050 in /w/workspace/edgexfoundry_edgex-go_PR-2969 [Pipeline] { [Pipeline] ws [2020-12-21T07:32:33.986Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T07:32:39.149Z] using credential edgex-jenkins-ssh [2020-12-21T07:32:39.217Z] Cloning the remote Git repository [2020-12-21T07:32:39.294Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-21T07:32:39.411Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2020-12-21T07:32:39.491Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-21T07:32:39.492Z] > git --version # timeout=10 [2020-12-21T07:32:39.516Z] > git --version # 'git version 2.17.1' [2020-12-21T07:32:39.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:32:39.612Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:32:55.453Z] Merging remotes/origin/master commit bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 [2020-12-21T07:32:55.857Z] Merge succeeded, producing dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 [2020-12-21T07:32:55.858Z] Checking out Revision dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 (PR-2969) [2020-12-21T07:32:54.604Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-21T07:32:54.628Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:32:54.654Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-21T07:32:54.687Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-21T07:32:54.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:32:54.700Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2969/head:refs/remotes/origin/PR-2969 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T07:32:55.477Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:32:55.489Z] > git checkout -f dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 # timeout=10 [2020-12-21T07:32:55.778Z] > git remote # timeout=10 [2020-12-21T07:32:55.800Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T07:32:55.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:32:55.824Z] > git merge bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 [2020-12-21T07:32:55.849Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T07:32:55.869Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:32:55.878Z] > git checkout -f dfc9fd7f28cc7e683cc1d86a5772cdfb2327f014 # timeout=10 [2020-12-21T07:33:00.229Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap" [2020-12-21T07:33:00.286Z] > git --version # timeout=10 [2020-12-21T07:33:00.295Z] > git --version # 'git version 2.17.1' [2020-12-21T07:33:00.308Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T07:33:02.254Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:33:02.668Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:33:03.021Z] + sudo service docker+ restart [2020-12-21T07:33:03.021Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T07:33:05.147Z] provisioning config files... [2020-12-21T07:33:05.189Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1307032925739618997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:33:05.630Z] ---> docker-login.sh [2020-12-21T07:33:05.630Z] nexus3.edgexfoundry.org:10001 [2020-12-21T07:33:06.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:33:06.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:33:06.826Z] Configure a credential helper to remove this warning. See [2020-12-21T07:33:06.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:33:06.826Z] [2020-12-21T07:33:06.826Z] Login Succeeded [2020-12-21T07:33:06.826Z] nexus3.edgexfoundry.org:10002 [2020-12-21T07:33:07.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:33:07.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:33:07.378Z] Configure a credential helper to remove this warning. See [2020-12-21T07:33:07.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:33:07.378Z] [2020-12-21T07:33:07.378Z] Login Succeeded [2020-12-21T07:33:07.378Z] nexus3.edgexfoundry.org:10003 [2020-12-21T07:33:07.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:33:07.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:33:07.925Z] Configure a credential helper to remove this warning. See [2020-12-21T07:33:07.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:33:07.925Z] [2020-12-21T07:33:07.925Z] Login Succeeded [2020-12-21T07:33:07.925Z] nexus3.edgexfoundry.org:10004 [2020-12-21T07:33:08.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:33:08.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:33:08.474Z] Configure a credential helper to remove this warning. See [2020-12-21T07:33:08.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:33:08.474Z] [2020-12-21T07:33:08.474Z] Login Succeeded [2020-12-21T07:33:08.474Z] docker.io [2020-12-21T07:33:09.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:33:09.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:33:09.339Z] Configure a credential helper to remove this warning. See [2020-12-21T07:33:09.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:33:09.340Z] [2020-12-21T07:33:09.340Z] Login Succeeded [2020-12-21T07:33:09.340Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T07:33:09.380Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T07:33:09.906Z] ========================================================= [2020-12-21T07:33:09.906Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T07:33:09.906Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:33:10.321Z] + 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 . [2020-12-21T07:33:12.316Z] Sending build context to Docker daemon 165.3MB [2020-12-21T07:33:12.316Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-21T07:33:12.316Z] Step 2/7 : FROM ${BASE} [2020-12-21T07:33:12.596Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T07:33:12.596Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T07:33:12.596Z] a4357932f1b6: Pulling fs layer [2020-12-21T07:33:12.596Z] 18c013af1878: Pulling fs layer [2020-12-21T07:33:12.596Z] 00ac8860ef70: Pulling fs layer [2020-12-21T07:33:12.596Z] 63d7cb157983: Pulling fs layer [2020-12-21T07:33:12.596Z] b116817d02f9: Pulling fs layer [2020-12-21T07:33:12.596Z] 745a02a5169b: Pulling fs layer [2020-12-21T07:33:12.596Z] 00ac8860ef70: Waiting [2020-12-21T07:33:12.596Z] 63d7cb157983: Waiting [2020-12-21T07:33:12.596Z] b116817d02f9: Waiting [2020-12-21T07:33:12.596Z] 745a02a5169b: Waiting [2020-12-21T07:33:12.596Z] 18c013af1878: Verifying Checksum [2020-12-21T07:33:12.596Z] 18c013af1878: Download complete [2020-12-21T07:33:12.596Z] a4357932f1b6: Verifying Checksum [2020-12-21T07:33:12.596Z] a4357932f1b6: Download complete [2020-12-21T07:33:12.596Z] 63d7cb157983: Verifying Checksum [2020-12-21T07:33:12.596Z] 63d7cb157983: Download complete [2020-12-21T07:33:12.872Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T07:33:12.872Z] 5f621e34cdf4: Download complete [2020-12-21T07:33:12.872Z] b116817d02f9: Download complete [2020-12-21T07:33:13.471Z] 5f621e34cdf4: Pull complete [2020-12-21T07:33:14.071Z] a4357932f1b6: Pull complete [2020-12-21T07:33:14.345Z] 18c013af1878: Pull complete [2020-12-21T07:33:15.325Z] 745a02a5169b: Verifying Checksum [2020-12-21T07:33:15.325Z] 745a02a5169b: Download complete [2020-12-21T07:33:16.303Z] 00ac8860ef70: Verifying Checksum [2020-12-21T07:33:16.303Z] 00ac8860ef70: Download complete [2020-12-21T07:33:26.477Z] 00ac8860ef70: Pull complete [2020-12-21T07:33:26.477Z] 63d7cb157983: Pull complete [2020-12-21T07:33:27.088Z] b116817d02f9: Pull complete [2020-12-21T07:33:30.488Z] 745a02a5169b: Pull complete [2020-12-21T07:33:30.488Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T07:33:30.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T07:33:30.488Z] ---> b7e6874047d6 [2020-12-21T07:33:30.488Z] Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2020-12-21T07:33:34.809Z] ---> Running in b7b5e73ce9b5 [2020-12-21T07:33:35.409Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T07:33:36.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T07:33:37.360Z] (1/12) Installing libmagic (5.38-r0) [2020-12-21T07:33:37.632Z] (2/12) Installing file (5.38-r0) [2020-12-21T07:33:37.903Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-21T07:33:37.903Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-21T07:33:46.166Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-21T07:33:46.166Z] (6/12) Installing patch (2.7.6-r6) [2020-12-21T07:33:46.166Z] (7/12) Installing build-base (0.5-r2) [2020-12-21T07:33:46.166Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-21T07:33:46.166Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-21T07:33:46.166Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-21T07:33:46.438Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-21T07:33:46.438Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-21T07:33:46.438Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T07:33:46.438Z] OK: 217 MiB in 51 packages [2020-12-21T07:33:50.745Z] Removing intermediate container b7b5e73ce9b5 [2020-12-21T07:33:50.746Z] ---> fb63400b1ca9 [2020-12-21T07:33:50.746Z] Step 4/7 : WORKDIR /edgex-go [2020-12-21T07:33:50.746Z] ---> Running in 1cea7dd95003 [2020-12-21T07:33:51.339Z] Removing intermediate container 1cea7dd95003 [2020-12-21T07:33:51.339Z] ---> d90c579f4e52 [2020-12-21T07:33:51.339Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-21T07:33:51.945Z] latest: Pulling from library/docker [2020-12-21T07:33:51.945Z] 159e5727ea61: Pulling fs layer [2020-12-21T07:33:51.945Z] 687389c36290: Pulling fs layer [2020-12-21T07:33:51.945Z] 94e28978939c: Pulling fs layer [2020-12-21T07:33:51.945Z] ea42096754a7: Pulling fs layer [2020-12-21T07:33:51.945Z] bd61cee6920e: Pulling fs layer [2020-12-21T07:33:51.945Z] 87c4ece4675c: Pulling fs layer [2020-12-21T07:33:51.945Z] 90ca8b2ff088: Pulling fs layer [2020-12-21T07:33:51.945Z] bd61cee6920e: Waiting [2020-12-21T07:33:51.945Z] 87c4ece4675c: Waiting [2020-12-21T07:33:51.945Z] 90ca8b2ff088: Waiting [2020-12-21T07:33:51.945Z] ea42096754a7: Waiting [2020-12-21T07:33:51.945Z] 94e28978939c: Verifying Checksum [2020-12-21T07:33:51.945Z] 94e28978939c: Download complete [2020-12-21T07:33:52.221Z] 687389c36290: Verifying Checksum [2020-12-21T07:33:52.221Z] 687389c36290: Download complete [2020-12-21T07:33:52.221Z] 159e5727ea61: Download complete [2020-12-21T07:33:52.221Z] bd61cee6920e: Verifying Checksum [2020-12-21T07:33:52.221Z] bd61cee6920e: Download complete [2020-12-21T07:33:52.221Z] 87c4ece4675c: Download complete [2020-12-21T07:33:52.503Z] 90ca8b2ff088: Verifying Checksum [2020-12-21T07:33:52.503Z] 90ca8b2ff088: Download complete [2020-12-21T07:33:52.781Z] 159e5727ea61: Pull complete [2020-12-21T07:33:53.386Z] 687389c36290: Pull complete [2020-12-21T07:33:53.986Z] ea42096754a7: Verifying Checksum [2020-12-21T07:33:53.986Z] ea42096754a7: Download complete [2020-12-21T07:33:53.986Z] 94e28978939c: Pull complete [2020-12-21T07:33:58.306Z] ea42096754a7: Pull complete [2020-12-21T07:33:58.306Z] bd61cee6920e: Pull complete [2020-12-21T07:33:58.306Z] 87c4ece4675c: Pull complete [2020-12-21T07:33:58.583Z] 90ca8b2ff088: Pull complete [2020-12-21T07:33:58.583Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-21T07:33:58.583Z] Status: Downloaded newer image for docker:latest [2020-12-21T07:34:01.990Z] ---> f0aedb9e84d8 [2020-12-21T07:34:01.990Z] Step 6/7 : COPY go.mod . [2020-12-21T07:34:02.970Z] ---> 7f821b841c00 [2020-12-21T07:34:02.970Z] Step 7/7 : RUN go mod download [2020-12-21T07:34:02.970Z] ---> Running in ed06b1a2fca3 [2020-12-21T07:34:29.764Z] Removing intermediate container ed06b1a2fca3 [2020-12-21T07:34:29.764Z] ---> 7299ffbba938 [2020-12-21T07:34:29.764Z] Successfully built 7299ffbba938 [2020-12-21T07:34:29.764Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:34:30.152Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T07:34:30.152Z] . [Pipeline] withDockerContainer [2020-12-21T07:34:30.408Z] prd-ubuntu18.04-docker-arm64-4c-16g-17050 does not seem to be running inside a container [2020-12-21T07:34:30.498Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-21T07:34:31.935Z] $ docker top e9310d2ed18bc570055d7b836f52ccec71d20eab75a42d432e33348c3f755c85 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:34:32.956Z] + go version [2020-12-21T07:34:32.957Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T07:34:32.997Z] $ docker stop --time=1 e9310d2ed18bc570055d7b836f52ccec71d20eab75a42d432e33348c3f755c85 [2020-12-21T07:34:34.881Z] $ docker rm -f e9310d2ed18bc570055d7b836f52ccec71d20eab75a42d432e33348c3f755c85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:34:36.120Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T07:34:36.120Z] . [Pipeline] withDockerContainer [2020-12-21T07:34:36.365Z] prd-ubuntu18.04-docker-arm64-4c-16g-17050 does not seem to be running inside a container [2020-12-21T07:34:36.459Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-21T07:34:37.680Z] $ docker top e5e22ebbfd479b72254e6b4e435bcaa23215dacde9e21dfdd72264cd78ede854 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-21T07:34:38.038Z] ========================================================= [2020-12-21T07:34:38.038Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-21T07:34:38.038Z] ========================================================= [Pipeline] sh [2020-12-21T07:34:38.368Z] + make test [2020-12-21T07:34:38.676Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T07:34:39.350Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [2020-12-21T07:34:39.350Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:34:39.350Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [2020-12-21T07:34:39.627Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:34:41.092Z] internal/core/command/main.go:30:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:34:41.093Z] internal/core/command/main.go:31:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:34:41.093Z] internal/core/command/main.go:32:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [2020-12-21T07:34:41.093Z] internal/core/command/main.go:33:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [2020-12-21T07:34:41.093Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2020-12-21T07:34:41.148Z] $ docker stop --time=1 e5e22ebbfd479b72254e6b4e435bcaa23215dacde9e21dfdd72264cd78ede854 [2020-12-21T07:34:43.088Z] $ docker rm -f e5e22ebbfd479b72254e6b4e435bcaa23215dacde9e21dfdd72264cd78ede854 [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] } [2020-12-21T07:34:45.343Z] 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 [2020-12-21T07:34:50.004Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:34:50.669Z] ---> package-listing.sh [2020-12-21T07:34:50.669Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T07:34:50.669Z] ++ facter osfamily [2020-12-21T07:34:50.935Z] + OS_FAMILY=redhat [2020-12-21T07:34:50.935Z] + workspace=/w/workspace/edgex-go/1 [2020-12-21T07:34:50.935Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T07:34:50.935Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T07:34:50.935Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T07:34:50.935Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T07:34:50.935Z] + '[' /w/workspace/edgex-go/1 ']' [2020-12-21T07:34:50.935Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T07:34:50.935Z] + case "${OS_FAMILY}" in [2020-12-21T07:34:50.935Z] + rpm -qa [2020-12-21T07:34:50.935Z] + sort [2020-12-21T07:34:56.310Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T07:34:56.310Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T07:34:56.310Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T07:34:56.310Z] + '[' /w/workspace/edgex-go/1 ']' [2020-12-21T07:34:56.310Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2020-12-21T07:34:56.310Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2020-12-21T07:34:56.353Z] 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 [2020-12-21T07:34:56.693Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:34:57.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:34:57.621Z] [2020-12-21T07:34:57.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:34:58.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:34:58.058Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T07:34:58.058Z] df20fa9351a1: Pulling fs layer [2020-12-21T07:34:58.058Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T07:34:58.058Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T07:34:58.058Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T07:34:58.058Z] 93b61091891f: Pulling fs layer [2020-12-21T07:34:58.058Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T07:34:58.058Z] 5e14af77c1be: Pulling fs layer [2020-12-21T07:34:58.058Z] 01666e4c0597: Pulling fs layer [2020-12-21T07:34:58.058Z] aa168da1d23b: Pulling fs layer [2020-12-21T07:34:58.058Z] 93b9cdb0e59b: Waiting [2020-12-21T07:34:58.058Z] 5e14af77c1be: Waiting [2020-12-21T07:34:58.058Z] 01666e4c0597: Waiting [2020-12-21T07:34:58.058Z] aa168da1d23b: Waiting [2020-12-21T07:34:58.058Z] 46f8f816bc3b: Waiting [2020-12-21T07:34:58.058Z] 93b61091891f: Waiting [2020-12-21T07:34:58.058Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T07:34:58.058Z] 36b3adc4ff6f: Download complete [2020-12-21T07:34:58.343Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T07:34:58.343Z] 46f8f816bc3b: Download complete [2020-12-21T07:34:58.343Z] df20fa9351a1: Verifying Checksum [2020-12-21T07:34:58.343Z] df20fa9351a1: Download complete [2020-12-21T07:34:58.343Z] 93b9cdb0e59b: Verifying Checksum [2020-12-21T07:34:58.343Z] 93b9cdb0e59b: Download complete [2020-12-21T07:34:58.343Z] 93b61091891f: Verifying Checksum [2020-12-21T07:34:58.343Z] 93b61091891f: Download complete [2020-12-21T07:34:58.343Z] 01666e4c0597: Verifying Checksum [2020-12-21T07:34:58.343Z] 01666e4c0597: Download complete [2020-12-21T07:34:58.343Z] 5e14af77c1be: Download complete [2020-12-21T07:34:59.388Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T07:34:59.388Z] 8ad3a11d3b57: Download complete [2020-12-21T07:34:59.388Z] df20fa9351a1: Pull complete [2020-12-21T07:34:59.669Z] 36b3adc4ff6f: Pull complete [2020-12-21T07:35:01.704Z] 8ad3a11d3b57: Pull complete [2020-12-21T07:35:01.704Z] 46f8f816bc3b: Pull complete [2020-12-21T07:35:02.747Z] 93b61091891f: Pull complete [2020-12-21T07:35:03.338Z] 93b9cdb0e59b: Pull complete [2020-12-21T07:35:03.606Z] aa168da1d23b: Verifying Checksum [2020-12-21T07:35:03.606Z] aa168da1d23b: Download complete [2020-12-21T07:35:03.606Z] 5e14af77c1be: Pull complete [2020-12-21T07:35:04.048Z] 01666e4c0597: Pull complete [2020-12-21T07:35:16.664Z] aa168da1d23b: Pull complete [2020-12-21T07:35:16.664Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T07:35:16.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:35:16.664Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T07:35:16.931Z] prd-centos7-docker-4c-2g-17047 does not seem to be running inside a container [2020-12-21T07:35:17.031Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-21T07:35:20.832Z] $ docker top 28b3cedb2c248aee8cfa6477f81fef1ea01a50edd093007dd89529baba90ff84 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:35:21.694Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T07:35:22.380Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T07:35:22.730Z] + ls /var/log/sa-host [2020-12-21T07:35:22.730Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T07:35:22.730Z] file_magic: OK [2020-12-21T07:35:22.730Z] HZ: Using current value: 100 [2020-12-21T07:35:22.730Z] file_header: OK [2020-12-21T07:35:22.730Z] 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 [2020-12-21T07:35:22.730Z] Statistics: [2020-12-21T07:35:22.730Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T07:35:22.730Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T07:35:22.730Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T07:35:22.730Z] file_magic: OK [2020-12-21T07:35:22.730Z] HZ: Using current value: 100 [2020-12-21T07:35:22.730Z] file_header: OK [2020-12-21T07:35:22.730Z] 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 [2020-12-21T07:35:22.730Z] Statistics: [2020-12-21T07:35:22.730Z] Hnuu...uuuununununu... [2020-12-21T07:35:22.730Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T07:35:23.398Z] provisioning config files... [2020-12-21T07:35:23.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2323088857904110497tmp [Pipeline] { [Pipeline] echo [2020-12-21T07:35:23.601Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:35:23.967Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T07:35:23.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T07:35:24.145Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:35:24.508Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T07:35:24.549Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:35:24.967Z] ---> sudo-logs.sh [2020-12-21T07:35:24.968Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T07:35:25.271Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:35:25.688Z] ---> job-cost.sh [2020-12-21T07:35:25.688Z] lf-activate-venv: SKIPPING [2020-12-21T07:35:25.688Z] INFO: No Stack... [2020-12-21T07:35:26.673Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T07:35:27.258Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T07:35:27.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:35:28.015Z] ---> logs-deploy.sh [2020-12-21T07:35:28.015Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2969/1 [2020-12-21T07:35:28.015Z] INFO: archiving workspace using pattern(s): [2020-12-21T07:35:30.042Z] Archives upload complete. [2020-12-21T07:35:30.341Z] INFO: archiving logs to Nexus