Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3+f0a5054a805e8aad79e6fefc9c847f3d46b91de1 (57a1af10f520c32eaaa115a733b5ed5ba254126e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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-28131 in /w/workspace/edgexfoundry_edgex-go_PR-3203 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3203/head:refs/remotes/origin/PR-3203 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f0a5054a805e8aad79e6fefc9c847f3d46b91de1 into PR head commit 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 Merge succeeded, producing c42de1973084ce1ab8bdbda522e13618a0fa1213 Checking out Revision c42de1973084ce1ab8bdbda522e13618a0fa1213 (PR-3203) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 # 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 c42de1973084ce1ab8bdbda522e13618a0fa1213 # timeout=10 Commit message: "Merge commit 'f0a5054a805e8aad79e6fefc9c847f3d46b91de1' into HEAD" > git rev-list --no-walk 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-02T00:30:38.701Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-02T00:30:38.948Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-02T00:30:39.040Z] ========================================================= [2021-03-02T00:30:39.040Z] EdgeX Global Pipelines Version Info [2021-03-02T00:30:39.040Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:30:40.514Z] ------------------- [2021-03-02T00:30:40.514Z] stable info: [2021-03-02T00:30:40.514Z] ------------------- [2021-03-02T00:30:40.514Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-02T00:30:40.514Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T00:30:40.514Z] Message: update stable to v1.0.183 [2021-03-02T00:30:41.462Z] ------------------- [2021-03-02T00:30:41.462Z] experimental info: [2021-03-02T00:30:41.462Z] ------------------- [2021-03-02T00:30:41.462Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-02T00:30:41.462Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T00:30:41.462Z] Message: update experimental to v1.0.183 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-02T00:30:41.772Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-03-02T00:30:41.860Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-03-02T00:30:41.953Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-02T00:30:42.044Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-02T00:30:42.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-02T00:30:42.225Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-02T00:30:42.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-02T00:30:42.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-03-02T00:30:42.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-03-02T00:30:42.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-03-02T00:30:42.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-02T00:30:42.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-02T00:30:42.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-02T00:30:42.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-02T00:30:43.036Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-02T00:30:43.147Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-02T00:30:43.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-02T00:30:43.328Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-02T00:30:43.505Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-02T00:30:43.586Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-02T00:30:43.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-03-02T00:30:43.855Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-02T00:30:43.990Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3203 [Pipeline] echo [2021-03-02T00:30:44.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3203 [Pipeline] echo [2021-03-02T00:30:44.162Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3203 [Pipeline] echo [2021-03-02T00:30:44.245Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c42de1973084ce1ab8bdbda522e13618a0fa1213 [Pipeline] echo [2021-03-02T00:30:44.333Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c42de19 [Pipeline] echo [2021-03-02T00:30:44.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-02T00:30:44.667Z] provisioning config files... [2021-03-02T00:30:44.706Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8693415409055380798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:30:45.055Z] ---> docker-login.sh [2021-03-02T00:30:45.055Z] nexus3.edgexfoundry.org:10001 [2021-03-02T00:30:45.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:30:45.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:30:45.587Z] Configure a credential helper to remove this warning. See [2021-03-02T00:30:45.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:30:45.587Z] [2021-03-02T00:30:45.587Z] Login Succeeded [2021-03-02T00:30:45.587Z] nexus3.edgexfoundry.org:10002 [2021-03-02T00:30:45.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:30:45.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:30:45.849Z] Configure a credential helper to remove this warning. See [2021-03-02T00:30:45.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:30:45.849Z] [2021-03-02T00:30:45.849Z] Login Succeeded [2021-03-02T00:30:45.849Z] nexus3.edgexfoundry.org:10003 [2021-03-02T00:30:45.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:30:45.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:30:45.849Z] Configure a credential helper to remove this warning. See [2021-03-02T00:30:45.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:30:45.849Z] [2021-03-02T00:30:45.849Z] Login Succeeded [2021-03-02T00:30:45.849Z] nexus3.edgexfoundry.org:10004 [2021-03-02T00:30:46.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:30:46.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:30:46.112Z] Configure a credential helper to remove this warning. See [2021-03-02T00:30:46.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:30:46.112Z] [2021-03-02T00:30:46.112Z] Login Succeeded [2021-03-02T00:30:46.112Z] docker.io [2021-03-02T00:30:46.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:30:46.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:30:46.638Z] Configure a credential helper to remove this warning. See [2021-03-02T00:30:46.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:30:46.638Z] [2021-03-02T00:30:46.638Z] Login Succeeded [2021-03-02T00:30:46.638Z] ---> docker-login.sh ends [Pipeline] } [2021-03-02T00:30:46.648Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-02T00:30:47.136Z] ++ 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-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ dirname cmd/core-command/Dockerfile [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] + echo core-command,cmd/core-command/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ dirname cmd/core-data/Dockerfile [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] + echo core-data,cmd/core-data/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] ++ dirname cmd/core-metadata/Dockerfile [2021-03-02T00:30:47.136Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-03-02T00:30:47.136Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ dirname cmd/support-notifications/Dockerfile [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-03-02T00:30:47.136Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-03-02T00:30:47.136Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-02T00:30:47.136Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-03-02T00:30:47.136Z] ++ cut -d/ -f2 [2021-03-02T00:30:47.136Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-03-02T00:30:47.219Z] 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-02T00:30:48.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T00:30:48.531Z] [2021-03-02T00:30:48.531Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:30:48.891Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T00:30:48.891Z] latest: Pulling from edgex-devops/git-semver [2021-03-02T00:30:48.891Z] 31603596830f: Pulling fs layer [2021-03-02T00:30:48.891Z] 2a8b12db71e7: Pulling fs layer [2021-03-02T00:30:48.891Z] 6ca5941a6612: Pulling fs layer [2021-03-02T00:30:48.891Z] ecc8261a40a4: Pulling fs layer [2021-03-02T00:30:48.891Z] ecc8261a40a4: Waiting [2021-03-02T00:30:48.891Z] 2a8b12db71e7: Verifying Checksum [2021-03-02T00:30:48.891Z] 2a8b12db71e7: Download complete [2021-03-02T00:30:48.891Z] 31603596830f: Download complete [2021-03-02T00:30:49.159Z] 6ca5941a6612: Verifying Checksum [2021-03-02T00:30:49.159Z] 6ca5941a6612: Download complete [2021-03-02T00:30:49.159Z] ecc8261a40a4: Download complete [2021-03-02T00:30:49.421Z] 31603596830f: Pull complete [2021-03-02T00:30:49.421Z] 2a8b12db71e7: Pull complete [2021-03-02T00:30:50.395Z] 6ca5941a6612: Pull complete [2021-03-02T00:30:50.664Z] ecc8261a40a4: Pull complete [2021-03-02T00:30:50.664Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-02T00:30:50.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T00:30:50.664Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-02T00:30:50.773Z] prd-centos7-docker-4c-2g-28131 does not seem to be running inside a container [2021-03-02T00:30:50.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-02T00:30:53.597Z] $ docker top d0fa9ccc9ca9126674410c5fa4e861b6ae20e2390e258935918cd4238c7149bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-02T00:30:53.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T00:30:53.967Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T00:30:54.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T00:30:54.222Z] $ docker exec d0fa9ccc9ca9126674410c5fa4e861b6ae20e2390e258935918cd4238c7149bb ssh-agent [2021-03-02T00:30:54.405Z] SSH_AUTH_SOCK=/tmp/ssh-FkeCBanpF6JA/agent.11 [2021-03-02T00:30:54.405Z] SSH_AGENT_PID=16 [2021-03-02T00:30:54.426Z] Running ssh-add (command line suppressed) [2021-03-02T00:30:54.556Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_3736149044291908765.key (/w/workspace/edgex-go/2@tmp/private_key_3736149044291908765.key) [2021-03-02T00:30:54.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T00:30:54.947Z] + git tag --points-at HEAD [Pipeline] } [2021-03-02T00:30:54.973Z] $ docker exec --env ******** --env ******** d0fa9ccc9ca9126674410c5fa4e861b6ae20e2390e258935918cd4238c7149bb ssh-agent -k [2021-03-02T00:30:55.094Z] unset SSH_AUTH_SOCK; [2021-03-02T00:30:55.094Z] unset SSH_AGENT_PID; [2021-03-02T00:30:55.094Z] echo Agent pid 16 killed; [2021-03-02T00:30:55.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-02T00:30:55.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T00:30:55.278Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T00:30:55.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T00:30:55.471Z] $ docker exec d0fa9ccc9ca9126674410c5fa4e861b6ae20e2390e258935918cd4238c7149bb ssh-agent [2021-03-02T00:30:55.641Z] SSH_AUTH_SOCK=/tmp/ssh-ph4ur1ve5QZO/agent.45 [2021-03-02T00:30:55.641Z] SSH_AGENT_PID=50 [2021-03-02T00:30:55.649Z] Running ssh-add (command line suppressed) [2021-03-02T00:30:55.775Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_6377183407369577190.key (/w/workspace/edgex-go/2@tmp/private_key_6377183407369577190.key) [2021-03-02T00:30:55.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T00:30:56.190Z] + git semver init [2021-03-02T00:30:56.190Z] # -> Open(): unable to determine branch for HEAD [2021-03-02T00:30:56.190Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2021-03-02T00:30:56.190Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2021-03-02T00:30:56.190Z] # $SEMVER_REMOTE_NAME = origin [2021-03-02T00:30:56.190Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-02T00:30:56.190Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-02T00:30:56.190Z] # $SEMVER_BRANCH = PR-3203 [2021-03-02T00:30:56.190Z] # $SEMVER_TEMP = /tmp/semver-225950377 [2021-03-02T00:30:56.190Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-03-02T00:31:14.395Z] # '/tmp/semver-225950377' -> '/w/workspace/edgex-go/2/.semver' [2021-03-02T00:31:14.395Z] # -> Force: false [2021-03-02T00:31:14.395Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2021-03-02T00:31:14.416Z] $ docker exec --env ******** --env ******** d0fa9ccc9ca9126674410c5fa4e861b6ae20e2390e258935918cd4238c7149bb ssh-agent -k [2021-03-02T00:31:14.694Z] unset SSH_AUTH_SOCK; [2021-03-02T00:31:14.694Z] unset SSH_AGENT_PID; [2021-03-02T00:31:14.695Z] echo Agent pid 50 killed; [2021-03-02T00:31:14.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-02T00:31:15.218Z] + git semver [Pipeline] } [2021-03-02T00:31:15.238Z] $ docker stop --time=1 d0fa9ccc9ca9126674410c5fa4e861b6ae20e2390e258935918cd4238c7149bb [2021-03-02T00:31:16.838Z] $ docker rm -f d0fa9ccc9ca9126674410c5fa4e861b6ae20e2390e258935918cd4238c7149bb [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-02T00:31:17.459Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-02T00:31:18.072Z] Stashed 1 file(s) [Pipeline] echo [2021-03-02T00:31:18.076Z] [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-02T00:31:19.649Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-02T00:31:19.962Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T00:31:20.288Z] + sudo service docker restart [2021-03-02T00:31:20.288Z] + true [2021-03-02T00:31:20.288Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-03-02T00:31:20.890Z] ========================================================= [2021-03-02T00:31:20.890Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-02T00:31:20.890Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:31:21.265Z] + 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-02T00:31:25.517Z] Sending build context to Docker daemon 328.1MB [2021-03-02T00:31:25.517Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T00:31:25.517Z] Step 2/6 : FROM ${BASE} [2021-03-02T00:31:25.517Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-02T00:31:25.517Z] 188c0c94c7c5: Pulling fs layer [2021-03-02T00:31:25.517Z] 0ef7d3d256c8: Pulling fs layer [2021-03-02T00:31:25.517Z] de9db76c5a1d: Pulling fs layer [2021-03-02T00:31:25.517Z] bca2f99d35d6: Pulling fs layer [2021-03-02T00:31:25.517Z] 93359f2a8cfa: Pulling fs layer [2021-03-02T00:31:25.517Z] 7c6f9722023f: Pulling fs layer [2021-03-02T00:31:25.517Z] a35cf1a2eb13: Pulling fs layer [2021-03-02T00:31:25.517Z] 93359f2a8cfa: Waiting [2021-03-02T00:31:25.517Z] 7c6f9722023f: Waiting [2021-03-02T00:31:25.517Z] a35cf1a2eb13: Waiting [2021-03-02T00:31:25.517Z] bca2f99d35d6: Waiting [2021-03-02T00:31:25.517Z] de9db76c5a1d: Download complete [2021-03-02T00:31:25.517Z] 0ef7d3d256c8: Verifying Checksum [2021-03-02T00:31:25.517Z] 0ef7d3d256c8: Download complete [2021-03-02T00:31:25.517Z] 93359f2a8cfa: Verifying Checksum [2021-03-02T00:31:25.517Z] 93359f2a8cfa: Download complete [2021-03-02T00:31:25.517Z] 7c6f9722023f: Verifying Checksum [2021-03-02T00:31:25.517Z] 7c6f9722023f: Download complete [2021-03-02T00:31:25.517Z] 188c0c94c7c5: Verifying Checksum [2021-03-02T00:31:25.517Z] 188c0c94c7c5: Download complete [2021-03-02T00:31:25.517Z] 188c0c94c7c5: Pull complete [2021-03-02T00:31:26.489Z] 0ef7d3d256c8: Pull complete [2021-03-02T00:31:27.069Z] a35cf1a2eb13: Verifying Checksum [2021-03-02T00:31:27.647Z] de9db76c5a1d: Pull complete [2021-03-02T00:31:27.912Z] bca2f99d35d6: Verifying Checksum [2021-03-02T00:31:27.912Z] bca2f99d35d6: Download complete [2021-03-02T00:31:33.832Z] Still waiting to schedule task [2021-03-02T00:31:33.832Z] ‘prd-centos7-docker-4c-2g-28126’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-28130’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-28134’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-28132’ is offline [2021-03-02T00:31:34.198Z] bca2f99d35d6: Pull complete [2021-03-02T00:31:34.198Z] 93359f2a8cfa: Pull complete [2021-03-02T00:31:34.198Z] 7c6f9722023f: Pull complete [2021-03-02T00:31:38.456Z] a35cf1a2eb13: Pull complete [2021-03-02T00:31:38.456Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-02T00:31:38.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-02T00:31:38.456Z] ---> a62c8e92a672 [2021-03-02T00:31:38.456Z] 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-02T00:31:38.456Z] ---> Running in 39da7dc6659e [2021-03-02T00:31:39.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-02T00:31:39.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-02T00:31:40.244Z] (1/12) Installing libmagic (5.38-r0) [2021-03-02T00:31:40.509Z] (2/12) Installing file (5.38-r0) [2021-03-02T00:31:40.774Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-02T00:31:40.774Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-02T00:31:53.081Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-02T00:31:53.081Z] (6/12) Installing patch (2.7.6-r6) [2021-03-02T00:31:53.081Z] (7/12) Installing build-base (0.5-r2) [2021-03-02T00:31:53.081Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-02T00:31:53.081Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-02T00:31:53.343Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-02T00:31:53.343Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-02T00:31:54.292Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-02T00:31:54.292Z] Executing busybox-1.31.1-r19.trigger [2021-03-02T00:31:54.292Z] OK: 233 MiB in 51 packages [2021-03-02T00:31:57.623Z] Removing intermediate container 39da7dc6659e [2021-03-02T00:31:57.623Z] ---> 5ad19cf54e34 [2021-03-02T00:31:57.623Z] Step 4/6 : WORKDIR /edgex-go [2021-03-02T00:31:57.623Z] ---> Running in 34721ac5ae1d [2021-03-02T00:31:57.887Z] Removing intermediate container 34721ac5ae1d [2021-03-02T00:31:57.887Z] ---> ce6793d4792e [2021-03-02T00:31:57.887Z] Step 5/6 : COPY go.mod . [2021-03-02T00:31:58.151Z] ---> ee99dd90de46 [2021-03-02T00:31:58.151Z] Step 6/6 : RUN go mod download [2021-03-02T00:31:58.151Z] ---> Running in 93a3e2ccb490 [2021-03-02T00:32:24.794Z] Removing intermediate container 93a3e2ccb490 [2021-03-02T00:32:24.794Z] ---> 0c534b44d0b2 [2021-03-02T00:32:24.794Z] Successfully built 0c534b44d0b2 [2021-03-02T00:32:24.794Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:32:25.114Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T00:32:25.114Z] . [Pipeline] withDockerContainer [2021-03-02T00:32:25.230Z] prd-centos7-docker-4c-2g-28131 does not seem to be running inside a container [2021-03-02T00:32:25.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-02T00:32:26.250Z] $ docker top 0e36bd81f0f98072cbe1a522fcb7e1dfafaa13430018709d0acb2545712e9dc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T00:32:26.781Z] + go version [2021-03-02T00:32:26.781Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-02T00:32:26.797Z] $ docker stop --time=1 0e36bd81f0f98072cbe1a522fcb7e1dfafaa13430018709d0acb2545712e9dc1 [2021-03-02T00:32:28.178Z] $ docker rm -f 0e36bd81f0f98072cbe1a522fcb7e1dfafaa13430018709d0acb2545712e9dc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:32:29.009Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T00:32:29.009Z] . [Pipeline] withDockerContainer [2021-03-02T00:32:29.104Z] prd-centos7-docker-4c-2g-28131 does not seem to be running inside a container [2021-03-02T00:32:29.165Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-02T00:32:29.905Z] $ docker top 61ad96405c56be1a16238d4ea7576312e5264ff725d81a5e6bf91e7ca83749ad -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-02T00:32:30.146Z] ========================================================= [2021-03-02T00:32:30.146Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-02T00:32:30.146Z] ========================================================= [Pipeline] sh [2021-03-02T00:32:30.441Z] + make test [2021-03-02T00:32:30.441Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-02T00:32:40.505Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-02T00:32:58.777Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-02T00:33:02.592Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2 [2021-03-02T00:33:02.592Z] internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T00:33:09.268Z] # 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-02T00:33:09.268Z] internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent [2021-03-02T00:33:09.268Z] have (string, string) [2021-03-02T00:33:09.268Z] want (string, string, string) [2021-03-02T00:33:10.670Z] # 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-02T00:33:10.670Z] internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T00:33:11.636Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.102s coverage: 45.9% of statements [2021-03-02T00:33:11.636Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-03-02T00:33:11.636Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-03-02T00:33:11.636Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.042s coverage: 100.0% of statements [2021-03-02T00:33:11.636Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.043s coverage: 100.0% of statements [2021-03-02T00:33:13.595Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.129s coverage: 65.8% of statements [2021-03-02T00:33:13.595Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-03-02T00:33:15.022Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.460s coverage: 28.6% of statements [2021-03-02T00:33:15.022Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.070s coverage: 100.0% of statements [2021-03-02T00:33:15.022Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.034s coverage: 100.0% of statements [2021-03-02T00:33:15.610Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.107s coverage: 86.7% of statements [2021-03-02T00:33:15.875Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.136s coverage: 97.5% of statements [2021-03-02T00:33:15.876Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.054s coverage: 78.3% of statements [2021-03-02T00:33:15.876Z] # 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-02T00:33:15.876Z] internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T00:33:15.876Z] internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T00:33:15.876Z] internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T00:33:15.876Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-03-02T00:33:16.142Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.033s coverage: 58.8% of statements [2021-03-02T00:33:17.550Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.062s coverage: 0.1% of statements [2021-03-02T00:33:17.550Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.038s coverage: 45.5% of statements [2021-03-02T00:33:17.550Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.084s coverage: 79.5% of statements [2021-03-02T00:33:17.550Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.049s coverage: 94.1% of statements [2021-03-02T00:33:18.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.079s coverage: 96.3% of statements [2021-03-02T00:33:18.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.032s coverage: 87.5% of statements [2021-03-02T00:33:30.431Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.041s coverage: 94.4% of statements [2021-03-02T00:33:30.431Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.036s coverage: 44.8% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.070s coverage: 92.9% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.029s coverage: 77.8% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.048s coverage: 87.2% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.034s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.044s coverage: 75.5% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.036s coverage: 80.8% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.045s coverage: 84.6% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.089s coverage: 91.6% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.170s coverage: 62.4% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.032s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.045s coverage: 91.3% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.285s coverage: 69.1% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.092s coverage: 38.4% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.046s coverage: 89.5% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.046s coverage: 84.8% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.148s coverage: 47.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.049s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.121s coverage: 89.4% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.773s coverage: 29.1% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.063s coverage: 99.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.055s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.079s coverage: 94.3% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.028s coverage: 0.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.050s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.050s coverage: 87.9% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.035s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.035s coverage: 32.1% of statements [2021-03-02T00:33:42.867Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.045s coverage: 100.0% of statements [2021-03-02T00:33:42.867Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-03-02T00:33:42.888Z] $ docker stop --time=1 61ad96405c56be1a16238d4ea7576312e5264ff725d81a5e6bf91e7ca83749ad [2021-03-02T00:33:44.657Z] $ docker rm -f 61ad96405c56be1a16238d4ea7576312e5264ff725d81a5e6bf91e7ca83749ad [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-02T00:33:45.999Z] Failed in branch amd64 [2021-03-02T00:34:25.815Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28136 in /w/workspace/edgexfoundry_edgex-go_PR-3203 [Pipeline] { [Pipeline] ws [2021-03-02T00:34:25.888Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2021-03-02T00:34:30.660Z] using credential edgex-jenkins-ssh [2021-03-02T00:34:30.735Z] Cloning the remote Git repository [2021-03-02T00:34:30.798Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-03-02T00:34:30.951Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2021-03-02T00:34:31.051Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-02T00:34:31.055Z] > git --version # timeout=10 [2021-03-02T00:34:31.077Z] > git --version # 'git version 2.17.1' [2021-03-02T00:34:31.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T00:34:31.155Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T00:34:45.769Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-02T00:34:45.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T00:34:45.825Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-02T00:34:45.859Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-02T00:34:45.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T00:34:45.870Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3203/head:refs/remotes/origin/PR-3203 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-02T00:34:46.505Z] Merging remotes/origin/master commit f0a5054a805e8aad79e6fefc9c847f3d46b91de1 into PR head commit 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 [2021-03-02T00:34:47.185Z] Merge succeeded, producing 63b7e90f3380a15580732961f5bc57a5079f7ece [2021-03-02T00:34:47.185Z] Checking out Revision 63b7e90f3380a15580732961f5bc57a5079f7ece (PR-3203) [2021-03-02T00:34:46.525Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T00:34:46.539Z] > git checkout -f 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 # timeout=10 [2021-03-02T00:34:46.855Z] > git remote # timeout=10 [2021-03-02T00:34:46.871Z] > git config --get remote.origin.url # timeout=10 [2021-03-02T00:34:46.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T00:34:46.891Z] > git merge f0a5054a805e8aad79e6fefc9c847f3d46b91de1 # timeout=10 [2021-03-02T00:34:47.142Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-02T00:34:47.195Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T00:34:47.216Z] > git checkout -f 63b7e90f3380a15580732961f5bc57a5079f7ece # timeout=10 [2021-03-02T00:34:51.448Z] Commit message: "Merge commit 'f0a5054a805e8aad79e6fefc9c847f3d46b91de1' into HEAD" [2021-03-02T00:34:51.461Z] > git rev-list --no-walk 9d0bf21f4d89c5849296d0ec96db51ca61a02dd3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-02T00:34:52.900Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-02T00:34:53.306Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T00:34:53.678Z] + sudo service docker restart [2021-03-02T00:34:53.678Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-02T00:34:55.734Z] provisioning config files... [2021-03-02T00:34:55.776Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config4625477584960030597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:34:56.180Z] ---> docker-login.sh [2021-03-02T00:34:56.180Z] nexus3.edgexfoundry.org:10001 [2021-03-02T00:34:57.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:34:57.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:34:57.436Z] Configure a credential helper to remove this warning. See [2021-03-02T00:34:57.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:34:57.436Z] [2021-03-02T00:34:57.436Z] Login Succeeded [2021-03-02T00:34:57.436Z] nexus3.edgexfoundry.org:10002 [2021-03-02T00:34:57.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:34:57.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:34:57.982Z] Configure a credential helper to remove this warning. See [2021-03-02T00:34:57.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:34:57.982Z] [2021-03-02T00:34:57.982Z] Login Succeeded [2021-03-02T00:34:57.982Z] nexus3.edgexfoundry.org:10003 [2021-03-02T00:34:58.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:34:58.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:34:58.253Z] Configure a credential helper to remove this warning. See [2021-03-02T00:34:58.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:34:58.253Z] [2021-03-02T00:34:58.253Z] Login Succeeded [2021-03-02T00:34:58.253Z] nexus3.edgexfoundry.org:10004 [2021-03-02T00:34:58.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:34:58.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:34:58.796Z] Configure a credential helper to remove this warning. See [2021-03-02T00:34:58.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:34:58.796Z] [2021-03-02T00:34:58.796Z] Login Succeeded [2021-03-02T00:34:58.796Z] docker.io [2021-03-02T00:34:59.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T00:34:59.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T00:34:59.342Z] Configure a credential helper to remove this warning. See [2021-03-02T00:34:59.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T00:34:59.342Z] [2021-03-02T00:34:59.342Z] Login Succeeded [2021-03-02T00:34:59.342Z] ---> docker-login.sh ends [Pipeline] } [2021-03-02T00:34:59.359Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-02T00:34:59.804Z] ========================================================= [2021-03-02T00:34:59.804Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-02T00:34:59.804Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:35:00.192Z] + 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-02T00:35:02.222Z] Sending build context to Docker daemon 166.4MB [2021-03-02T00:35:02.222Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T00:35:02.222Z] Step 2/6 : FROM ${BASE} [2021-03-02T00:35:02.515Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-02T00:35:02.515Z] 5f621e34cdf4: Pulling fs layer [2021-03-02T00:35:02.515Z] a4357932f1b6: Pulling fs layer [2021-03-02T00:35:02.515Z] 18c013af1878: Pulling fs layer [2021-03-02T00:35:02.515Z] 00ac8860ef70: Pulling fs layer [2021-03-02T00:35:02.515Z] 63d7cb157983: Pulling fs layer [2021-03-02T00:35:02.515Z] b116817d02f9: Pulling fs layer [2021-03-02T00:35:02.515Z] 745a02a5169b: Pulling fs layer [2021-03-02T00:35:02.515Z] 00ac8860ef70: Waiting [2021-03-02T00:35:02.515Z] 63d7cb157983: Waiting [2021-03-02T00:35:02.515Z] 745a02a5169b: Waiting [2021-03-02T00:35:02.515Z] 18c013af1878: Verifying Checksum [2021-03-02T00:35:02.515Z] 18c013af1878: Download complete [2021-03-02T00:35:02.515Z] a4357932f1b6: Verifying Checksum [2021-03-02T00:35:02.515Z] a4357932f1b6: Download complete [2021-03-02T00:35:02.515Z] 63d7cb157983: Verifying Checksum [2021-03-02T00:35:02.515Z] 63d7cb157983: Download complete [2021-03-02T00:35:02.515Z] b116817d02f9: Download complete [2021-03-02T00:35:02.515Z] 5f621e34cdf4: Verifying Checksum [2021-03-02T00:35:02.515Z] 5f621e34cdf4: Download complete [2021-03-02T00:35:03.115Z] 5f621e34cdf4: Pull complete [2021-03-02T00:35:03.717Z] a4357932f1b6: Pull complete [2021-03-02T00:35:03.990Z] 18c013af1878: Pull complete [2021-03-02T00:35:05.425Z] 745a02a5169b: Verifying Checksum [2021-03-02T00:35:05.425Z] 745a02a5169b: Download complete [2021-03-02T00:35:06.016Z] 00ac8860ef70: Verifying Checksum [2021-03-02T00:35:06.016Z] 00ac8860ef70: Download complete [2021-03-02T00:35:16.154Z] 00ac8860ef70: Pull complete [2021-03-02T00:35:16.155Z] 63d7cb157983: Pull complete [2021-03-02T00:35:16.155Z] b116817d02f9: Pull complete [2021-03-02T00:35:18.774Z] 745a02a5169b: Pull complete [2021-03-02T00:35:18.774Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-02T00:35:18.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-02T00:35:18.774Z] ---> b7e6874047d6 [2021-03-02T00:35:18.774Z] 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-02T00:35:22.148Z] ---> Running in e49b40b22607 [2021-03-02T00:35:22.739Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-02T00:35:23.716Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-02T00:35:24.308Z] (1/12) Installing libmagic (5.38-r0) [2021-03-02T00:35:24.578Z] (2/12) Installing file (5.38-r0) [2021-03-02T00:35:24.579Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-02T00:35:24.579Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-02T00:35:31.270Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-02T00:35:31.270Z] (6/12) Installing patch (2.7.6-r6) [2021-03-02T00:35:31.270Z] (7/12) Installing build-base (0.5-r2) [2021-03-02T00:35:31.270Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-02T00:35:31.270Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-02T00:35:31.270Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-02T00:35:31.270Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-02T00:35:31.270Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-02T00:35:31.270Z] Executing busybox-1.31.1-r19.trigger [2021-03-02T00:35:31.270Z] OK: 217 MiB in 51 packages [2021-03-02T00:35:35.576Z] Removing intermediate container e49b40b22607 [2021-03-02T00:35:35.576Z] ---> 13c589187a16 [2021-03-02T00:35:35.576Z] Step 4/6 : WORKDIR /edgex-go [2021-03-02T00:35:35.576Z] ---> Running in 4cf0639bd23e [2021-03-02T00:35:35.850Z] Removing intermediate container 4cf0639bd23e [2021-03-02T00:35:35.850Z] ---> f70ed0269eb8 [2021-03-02T00:35:35.850Z] Step 5/6 : COPY go.mod . [2021-03-02T00:35:36.445Z] ---> 5c46cc842946 [2021-03-02T00:35:36.445Z] Step 6/6 : RUN go mod download [2021-03-02T00:35:36.730Z] ---> Running in d55eaf56dec6 [2021-03-02T00:36:03.521Z] Removing intermediate container d55eaf56dec6 [2021-03-02T00:36:03.521Z] ---> e7984d385e08 [2021-03-02T00:36:03.521Z] Successfully built e7984d385e08 [2021-03-02T00:36:03.521Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:36:03.861Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T00:36:03.861Z] . [Pipeline] withDockerContainer [2021-03-02T00:36:04.141Z] prd-ubuntu18.04-docker-arm64-4c-16g-28136 does not seem to be running inside a container [2021-03-02T00:36:04.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-03-02T00:36:05.774Z] $ docker top c3c92dc6c1734d6dec2dbc9035ca7eed7390ae73d40bda3efc543c75de3c28e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T00:36:06.844Z] + go version [2021-03-02T00:36:06.844Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-02T00:36:06.869Z] $ docker stop --time=1 c3c92dc6c1734d6dec2dbc9035ca7eed7390ae73d40bda3efc543c75de3c28e1 [2021-03-02T00:36:08.823Z] $ docker rm -f c3c92dc6c1734d6dec2dbc9035ca7eed7390ae73d40bda3efc543c75de3c28e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:36:09.946Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T00:36:09.946Z] . [Pipeline] withDockerContainer [2021-03-02T00:36:10.229Z] prd-ubuntu18.04-docker-arm64-4c-16g-28136 does not seem to be running inside a container [2021-03-02T00:36:10.313Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-03-02T00:36:11.660Z] $ docker top 6bc6ec73ea9ecdd42d74479fc4400fe223f197009b6e2a56537de70273436a9f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-02T00:36:12.041Z] ========================================================= [2021-03-02T00:36:12.041Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-02T00:36:12.041Z] ========================================================= [Pipeline] sh [2021-03-02T00:36:12.720Z] + make test [2021-03-02T00:36:12.720Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-02T00:36:35.656Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-02T00:37:32.270Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-02T00:37:32.270Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2 [2021-03-02T00:37:32.270Z] internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T00:37:54.459Z] # 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-02T00:37:54.459Z] internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent [2021-03-02T00:37:54.459Z] have (string, string) [2021-03-02T00:37:54.459Z] want (string, string, string) [2021-03-02T00:37:57.094Z] # 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-02T00:37:57.094Z] internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute [2021-03-02T00:37:58.679Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.374s coverage: 45.9% of statements [2021-03-02T00:37:58.679Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-03-02T00:37:58.679Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-03-02T00:37:58.679Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.057s coverage: 100.0% of statements [2021-03-02T00:37:58.679Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.073s coverage: 100.0% of statements [2021-03-02T00:38:03.185Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.271s coverage: 65.8% of statements [2021-03-02T00:38:03.185Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-03-02T00:38:09.911Z] # 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-02T00:38:09.911Z] internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T00:38:09.911Z] internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T00:38:09.911Z] internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent [2021-03-02T00:38:10.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.204s coverage: 28.6% of statements [2021-03-02T00:38:10.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.154s coverage: 100.0% of statements [2021-03-02T00:38:10.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.076s coverage: 100.0% of statements [2021-03-02T00:38:10.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.398s coverage: 86.7% of statements [2021-03-02T00:38:10.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.311s coverage: 97.5% of statements [2021-03-02T00:38:10.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.151s coverage: 78.3% of statements [2021-03-02T00:38:10.899Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-03-02T00:38:10.899Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.075s coverage: 58.8% of statements [2021-03-02T00:38:16.321Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.197s coverage: 0.1% of statements [2021-03-02T00:38:16.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.075s coverage: 45.5% of statements [2021-03-02T00:38:16.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.138s coverage: 79.5% of statements [2021-03-02T00:38:16.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.106s coverage: 94.1% of statements [2021-03-02T00:38:16.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.107s coverage: 96.3% of statements [2021-03-02T00:38:16.924Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.054s coverage: 87.5% of statements [2021-03-02T00:38:29.342Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.078s coverage: 94.4% of statements [2021-03-02T00:38:29.342Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.055s coverage: 44.8% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.121s coverage: 92.9% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.062s coverage: 77.8% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.097s coverage: 87.2% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.055s coverage: 100.0% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.078s coverage: 75.5% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.067s coverage: 80.8% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.118s coverage: 87.2% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.128s coverage: 84.6% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.158s coverage: 91.6% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.610s coverage: 62.4% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.066s coverage: 100.0% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.081s coverage: 91.3% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.061s coverage: 100.0% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.052s coverage: 73.7% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.079s coverage: 100.0% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.756s coverage: 69.1% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.359s coverage: 38.4% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.098s coverage: 89.5% of statements [2021-03-02T00:38:44.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.071s coverage: 84.8% of statements [2021-03-02T00:38:51.242Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.456s coverage: 47.0% of statements [2021-03-02T00:38:51.242Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.151s coverage: 100.0% of statements [2021-03-02T00:38:51.242Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.104s coverage: 100.0% of statements [2021-03-02T00:38:51.242Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.419s coverage: 89.4% of statements [2021-03-02T00:38:59.545Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.977s coverage: 29.1% of statements [2021-03-02T00:38:59.545Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.203s coverage: 99.0% of statements [2021-03-02T00:38:59.545Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.089s coverage: 100.0% of statements [2021-03-02T00:38:59.545Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.195s coverage: 94.3% of statements [2021-03-02T00:38:59.545Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.042s coverage: 0.0% of statements [2021-03-02T00:38:59.545Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.061s coverage: 100.0% of statements [2021-03-02T00:38:59.546Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.101s coverage: 87.9% of statements [2021-03-02T00:38:59.546Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.074s coverage: 100.0% of statements [2021-03-02T00:38:59.546Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.058s coverage: 32.1% of statements [2021-03-02T00:38:59.546Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-03-02T00:39:00.520Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-03-02T00:39:00.545Z] $ docker stop --time=1 6bc6ec73ea9ecdd42d74479fc4400fe223f197009b6e2a56537de70273436a9f [2021-03-02T00:39:02.888Z] $ docker rm -f 6bc6ec73ea9ecdd42d74479fc4400fe223f197009b6e2a56537de70273436a9f [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-02T00:39:04.982Z] ---> job-cost.sh [2021-03-02T00:39:04.983Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vH03 [2021-03-02T00:39:43.934Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-02T00:42:06.969Z] lf-activate-venv(): INFO: Adding /tmp/venv-vH03/bin to PATH [2021-03-02T00:42:06.969Z] INFO: No Stack... [2021-03-02T00:42:06.969Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-02T00:42:06.969Z] INFO: Archiving Costs [Pipeline] sh [2021-03-02T00:42:07.308Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2021-03-02T00:42:07.309Z] + cut -d, -f6 [Pipeline] lock [2021-03-02T00:42:07.420Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3203-2-stack-cost] [2021-03-02T00:42:07.430Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3203-2-stack-cost] did not exist. Created. [2021-03-02T00:42:07.430Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-02T00:42:07.870Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-02T00:42:08.996Z] Stashed 1 file(s) [Pipeline] } [2021-03-02T00:42:09.004Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3203-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-02T00:42:09.615Z] 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-02T00:42:11.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:42:12.604Z] ---> package-listing.sh [2021-03-02T00:42:12.604Z] ++ facter osfamily [2021-03-02T00:42:12.604Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-02T00:42:12.604Z] + OS_FAMILY=redhat [2021-03-02T00:42:12.604Z] + workspace=/w/workspace/edgex-go/2 [2021-03-02T00:42:12.604Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-02T00:42:12.604Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-02T00:42:12.604Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-02T00:42:12.604Z] + PACKAGES=/tmp/packages_start.txt [2021-03-02T00:42:12.604Z] + '[' /w/workspace/edgex-go/2 ']' [2021-03-02T00:42:12.604Z] + PACKAGES=/tmp/packages_end.txt [2021-03-02T00:42:12.604Z] + case "${OS_FAMILY}" in [2021-03-02T00:42:12.604Z] + rpm -qa [2021-03-02T00:42:12.604Z] + sort [2021-03-02T00:42:17.919Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-02T00:42:17.919Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-02T00:42:17.919Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-02T00:42:17.919Z] + '[' /w/workspace/edgex-go/2 ']' [2021-03-02T00:42:17.919Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2021-03-02T00:42:17.919Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2021-03-02T00:42:17.933Z] 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-02T00:42:18.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:42:18.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T00:42:18.537Z] [2021-03-02T00:42:18.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-02T00:42:18.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T00:42:18.896Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-02T00:42:18.896Z] df20fa9351a1: Pulling fs layer [2021-03-02T00:42:18.896Z] 36b3adc4ff6f: Pulling fs layer [2021-03-02T00:42:18.896Z] 8ad3a11d3b57: Pulling fs layer [2021-03-02T00:42:18.896Z] 46f8f816bc3b: Pulling fs layer [2021-03-02T00:42:18.896Z] 93b61091891f: Pulling fs layer [2021-03-02T00:42:18.896Z] 93b9cdb0e59b: Pulling fs layer [2021-03-02T00:42:18.896Z] 5e14af77c1be: Pulling fs layer [2021-03-02T00:42:18.896Z] 01666e4c0597: Pulling fs layer [2021-03-02T00:42:18.896Z] aa168da1d23b: Pulling fs layer [2021-03-02T00:42:18.896Z] 46f8f816bc3b: Waiting [2021-03-02T00:42:18.896Z] 93b61091891f: Waiting [2021-03-02T00:42:18.896Z] aa168da1d23b: Waiting [2021-03-02T00:42:18.896Z] 93b9cdb0e59b: Waiting [2021-03-02T00:42:18.896Z] 01666e4c0597: Waiting [2021-03-02T00:42:18.896Z] 36b3adc4ff6f: Verifying Checksum [2021-03-02T00:42:18.896Z] 36b3adc4ff6f: Download complete [2021-03-02T00:42:19.160Z] df20fa9351a1: Verifying Checksum [2021-03-02T00:42:19.160Z] df20fa9351a1: Download complete [2021-03-02T00:42:19.160Z] 93b61091891f: Verifying Checksum [2021-03-02T00:42:19.160Z] 93b61091891f: Download complete [2021-03-02T00:42:19.160Z] 93b9cdb0e59b: Verifying Checksum [2021-03-02T00:42:19.160Z] 93b9cdb0e59b: Download complete [2021-03-02T00:42:19.160Z] 8ad3a11d3b57: Verifying Checksum [2021-03-02T00:42:19.160Z] 8ad3a11d3b57: Download complete [2021-03-02T00:42:19.160Z] 5e14af77c1be: Verifying Checksum [2021-03-02T00:42:19.160Z] 5e14af77c1be: Download complete [2021-03-02T00:42:19.160Z] 01666e4c0597: Verifying Checksum [2021-03-02T00:42:19.160Z] 01666e4c0597: Download complete [2021-03-02T00:42:19.160Z] 46f8f816bc3b: Verifying Checksum [2021-03-02T00:42:19.160Z] 46f8f816bc3b: Download complete [2021-03-02T00:42:19.423Z] df20fa9351a1: Pull complete [2021-03-02T00:42:19.688Z] 36b3adc4ff6f: Pull complete [2021-03-02T00:42:20.651Z] 8ad3a11d3b57: Pull complete [2021-03-02T00:42:20.651Z] 46f8f816bc3b: Pull complete [2021-03-02T00:42:21.609Z] aa168da1d23b: Verifying Checksum [2021-03-02T00:42:21.609Z] aa168da1d23b: Download complete [2021-03-02T00:42:21.609Z] 93b61091891f: Pull complete [2021-03-02T00:42:21.874Z] 93b9cdb0e59b: Pull complete [2021-03-02T00:42:22.136Z] 5e14af77c1be: Pull complete [2021-03-02T00:42:22.136Z] 01666e4c0597: Pull complete [2021-03-02T00:42:30.319Z] aa168da1d23b: Pull complete [2021-03-02T00:42:30.319Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-02T00:42:30.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T00:42:30.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-02T00:42:30.522Z] prd-centos7-docker-4c-2g-28131 does not seem to be running inside a container [2021-03-02T00:42:30.569Z] $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-02T00:42:33.736Z] $ docker top b854560c39b08218b87d5d3430a1e0b34b1b80a040c6d134f2a07832d0d1b98d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T00:42:34.258Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-02T00:42:34.561Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-02T00:42:34.883Z] + ls /var/log/sa-host [2021-03-02T00:42:34.883Z] + sadf -c /var/log/sa-host/sa02 [2021-03-02T00:42:34.883Z] file_magic: OK [2021-03-02T00:42:34.883Z] HZ: Using current value: 100 [2021-03-02T00:42:34.883Z] file_header: OK [2021-03-02T00:42:34.883Z] 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-02T00:42:34.883Z] Statistics: [2021-03-02T00:42:34.883Z] HRHnuu...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-02T00:42:34.883Z] File successfully converted to sysstat format version 12.2.1 [2021-03-02T00:42:34.883Z] + sadf -c /var/log/sa-host/sa23 [2021-03-02T00:42:34.883Z] file_magic: OK [2021-03-02T00:42:34.883Z] HZ: Using current value: 100 [2021-03-02T00:42:34.883Z] file_header: OK [2021-03-02T00:42:34.883Z] 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-02T00:42:34.883Z] Statistics: [2021-03-02T00:42:34.883Z] Hnuu...uuuununununu... [2021-03-02T00:42:34.883Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-02T00:42:35.570Z] provisioning config files... [2021-03-02T00:42:35.598Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config9188015439427791569tmp [Pipeline] { [Pipeline] echo [2021-03-02T00:42:35.673Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:42:35.976Z] ---> create-netrc.sh [Pipeline] } [2021-03-02T00:42:35.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-02T00:42:36.088Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:42:36.392Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-02T00:42:36.405Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:42:36.703Z] ---> sudo-logs.sh [2021-03-02T00:42:36.703Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-02T00:42:36.854Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:42:37.157Z] ---> job-cost.sh [2021-03-02T00:42:37.157Z] lf-activate-venv: SKIPPING [2021-03-02T00:42:37.157Z] DEBUG: total: 0.20999999344348907 [2021-03-02T00:42:37.157Z] INFO: Retrieving Stack Cost... [2021-03-02T00:42:38.549Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-02T00:42:39.158Z] INFO: Archiving Costs [Pipeline] echo [2021-03-02T00:42:39.173Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T00:42:39.471Z] ---> logs-deploy.sh [2021-03-02T00:42:39.471Z] lf-activate-venv: SKIPPING [2021-03-02T00:42:39.471Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3203/2 [2021-03-02T00:42:39.471Z] INFO: archiving workspace using pattern(s): [2021-03-02T00:42:41.503Z] Archives upload complete. [2021-03-02T00:42:41.503Z] INFO: archiving logs to Nexus