Pull request #3528 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 83f67a97a962f4a7f359fff4a950aadfd01c8779+e6c052569f26998dcb3a7df84d37141e1787d2eb (9484746ad0661296250c3c4993f295596506a326) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1804706637338820839.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7450950370718771968.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git 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-3528/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3528/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6633299697297634465.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3528/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5582201074198522938.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6504228765985395007.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE 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-3528/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3528/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh754919299189341522.key > 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 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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/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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: 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/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1709 in /w/workspace/edgexfoundry_edgex-go_PR-3528 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh1362618683385276859.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e6c052569f26998dcb3a7df84d37141e1787d2eb into PR head commit 83f67a97a962f4a7f359fff4a950aadfd01c8779 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh3788612611247462396.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3528/head:refs/remotes/origin/PR-3528 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83f67a97a962f4a7f359fff4a950aadfd01c8779 # timeout=10 Merge succeeded, producing 83f67a97a962f4a7f359fff4a950aadfd01c8779 Checking out Revision 83f67a97a962f4a7f359fff4a950aadfd01c8779 (PR-3528) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh8209562017672817140.key > git merge e6c052569f26998dcb3a7df84d37141e1787d2eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83f67a97a962f4a7f359fff4a950aadfd01c8779 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-31T06:19:30.610Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-31T06:19:30.799Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-31T06:19:30.913Z] ========================================================= [2021-05-31T06:19:30.913Z] EdgeX Global Pipelines Version Info [2021-05-31T06:19:30.913Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:19:34.482Z] ------------------- [2021-05-31T06:19:34.482Z] stable info: [2021-05-31T06:19:34.482Z] ------------------- [2021-05-31T06:19:34.482Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-31T06:19:34.482Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T06:19:34.482Z] Message: update stable to v1.0.192 [2021-05-31T06:19:35.059Z] ------------------- [2021-05-31T06:19:35.059Z] experimental info: [2021-05-31T06:19:35.059Z] ------------------- [2021-05-31T06:19:35.059Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-31T06:19:35.059Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T06:19:35.059Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-31T06:19:35.298Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-31T06:19:35.354Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-31T06:19:35.411Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-31T06:19:35.483Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-31T06:19:35.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-31T06:19:35.607Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-31T06:19:35.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-31T06:19:35.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-31T06:19:35.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-05-31T06:19:35.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-05-31T06:19:35.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-31T06:19:35.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-31T06:19:36.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-31T06:19:36.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-31T06:19:36.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T06:19:36.197Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T06:19:36.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-31T06:19:38.237Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-31T06:19:38.293Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-31T06:19:38.352Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-05-31T06:19:38.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-31T06:19:38.457Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-31T06:19:38.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3528 [Pipeline] echo [2021-05-31T06:19:38.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3528 [Pipeline] echo [2021-05-31T06:19:38.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3528 [Pipeline] echo [2021-05-31T06:19:38.685Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83f67a97a962f4a7f359fff4a950aadfd01c8779 [Pipeline] echo [2021-05-31T06:19:38.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83f67a9 [Pipeline] echo [2021-05-31T06:19:38.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T06:19:38.951Z] provisioning config files... [2021-05-31T06:19:38.967Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config97236130910548296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:19:39.359Z] ---> docker-login.sh [2021-05-31T06:19:39.359Z] nexus3.edgexfoundry.org:10001 [2021-05-31T06:19:39.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:19:39.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:19:39.971Z] Configure a credential helper to remove this warning. See [2021-05-31T06:19:39.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:19:39.971Z] [2021-05-31T06:19:39.971Z] Login Succeeded [2021-05-31T06:19:39.971Z] nexus3.edgexfoundry.org:10002 [2021-05-31T06:19:39.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:19:40.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:19:40.240Z] Configure a credential helper to remove this warning. See [2021-05-31T06:19:40.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:19:40.240Z] [2021-05-31T06:19:40.240Z] Login Succeeded [2021-05-31T06:19:40.240Z] nexus3.edgexfoundry.org:10003 [2021-05-31T06:19:40.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:19:40.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:19:40.240Z] Configure a credential helper to remove this warning. See [2021-05-31T06:19:40.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:19:40.240Z] [2021-05-31T06:19:40.240Z] Login Succeeded [2021-05-31T06:19:40.240Z] nexus3.edgexfoundry.org:10004 [2021-05-31T06:19:40.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:19:40.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:19:40.502Z] Configure a credential helper to remove this warning. See [2021-05-31T06:19:40.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:19:40.502Z] [2021-05-31T06:19:40.502Z] Login Succeeded [2021-05-31T06:19:40.502Z] docker.io [2021-05-31T06:19:40.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:19:40.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:19:40.767Z] Configure a credential helper to remove this warning. See [2021-05-31T06:19:40.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:19:40.767Z] [2021-05-31T06:19:40.767Z] Login Succeeded [2021-05-31T06:19:40.767Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T06:19:40.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-31T06:19:41.218Z] ++ 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-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/core-command/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/core-data/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-31T06:19:41.218Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-31T06:19:41.218Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T06:19:41.218Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-31T06:19:41.218Z] ++ cut -d/ -f2 [2021-05-31T06:19:41.218Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-31T06:19:41.301Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:19:42.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T06:19:42.153Z] [2021-05-31T06:19:42.153Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:19:42.507Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T06:19:42.775Z] latest: Pulling from edgex-devops/git-semver [2021-05-31T06:19:42.775Z] 31603596830f: Pulling fs layer [2021-05-31T06:19:42.775Z] 54011a49482f: Pulling fs layer [2021-05-31T06:19:42.775Z] a6820b24f6d8: Pulling fs layer [2021-05-31T06:19:42.775Z] f581987b2513: Pulling fs layer [2021-05-31T06:19:42.775Z] f581987b2513: Waiting [2021-05-31T06:19:42.775Z] 54011a49482f: Verifying Checksum [2021-05-31T06:19:42.775Z] 54011a49482f: Download complete [2021-05-31T06:19:42.775Z] 31603596830f: Verifying Checksum [2021-05-31T06:19:42.775Z] 31603596830f: Download complete [2021-05-31T06:19:43.040Z] f581987b2513: Verifying Checksum [2021-05-31T06:19:43.040Z] f581987b2513: Download complete [2021-05-31T06:19:43.040Z] a6820b24f6d8: Verifying Checksum [2021-05-31T06:19:43.040Z] a6820b24f6d8: Download complete [2021-05-31T06:19:43.040Z] 31603596830f: Pull complete [2021-05-31T06:19:43.302Z] 54011a49482f: Pull complete [2021-05-31T06:19:44.250Z] a6820b24f6d8: Pull complete [2021-05-31T06:19:44.517Z] f581987b2513: Pull complete [2021-05-31T06:19:44.783Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-31T06:19:44.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T06:19:44.783Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-31T06:19:44.890Z] prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container [2021-05-31T06:19:44.931Z] $ 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 [2021-05-31T06:19:47.789Z] $ docker top 598039b8d370e263b48e84d4576f6da43cff309221519e9781e6d82084f4453b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-31T06:19:50.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T06:19:50.035Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T06:19:50.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T06:19:50.165Z] $ docker exec 598039b8d370e263b48e84d4576f6da43cff309221519e9781e6d82084f4453b ssh-agent [2021-05-31T06:19:50.280Z] SSH_AUTH_SOCK=/tmp/ssh-yixoQI1w1KmM/agent.14 [2021-05-31T06:19:50.280Z] SSH_AGENT_PID=20 [2021-05-31T06:19:50.294Z] Running ssh-add (command line suppressed) [2021-05-31T06:19:50.410Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8645034720901596572.key (/w/workspace/edgex-go/1@tmp/private_key_8645034720901596572.key) [2021-05-31T06:19:50.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T06:19:50.781Z] + git tag --points-at HEAD [Pipeline] } [2021-05-31T06:19:50.798Z] $ docker exec --env ******** --env ******** 598039b8d370e263b48e84d4576f6da43cff309221519e9781e6d82084f4453b ssh-agent -k [2021-05-31T06:19:50.906Z] unset SSH_AUTH_SOCK; [2021-05-31T06:19:50.906Z] unset SSH_AGENT_PID; [2021-05-31T06:19:50.906Z] echo Agent pid 20 killed; [2021-05-31T06:19:50.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-31T06:19:51.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T06:19:51.017Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T06:19:51.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T06:19:51.140Z] $ docker exec 598039b8d370e263b48e84d4576f6da43cff309221519e9781e6d82084f4453b ssh-agent [2021-05-31T06:19:51.266Z] SSH_AUTH_SOCK=/tmp/ssh-vq60Phqimfto/agent.53 [2021-05-31T06:19:51.266Z] SSH_AGENT_PID=59 [2021-05-31T06:19:51.272Z] Running ssh-add (command line suppressed) [2021-05-31T06:19:51.385Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_9060483576261190411.key (/w/workspace/edgex-go/1@tmp/private_key_9060483576261190411.key) [2021-05-31T06:19:51.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T06:19:51.749Z] + git semver init [2021-05-31T06:19:51.749Z] # -> Open(): unable to determine branch for HEAD [2021-05-31T06:19:51.749Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-05-31T06:19:51.749Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-05-31T06:19:51.749Z] # $SEMVER_REMOTE_NAME = origin [2021-05-31T06:19:51.749Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-31T06:19:51.749Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-31T06:19:51.749Z] # $SEMVER_BRANCH = PR-3528 [2021-05-31T06:19:51.749Z] # $SEMVER_TEMP = /tmp/semver-235609443 [2021-05-31T06:19:51.749Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-31T06:20:14.549Z] # '/tmp/semver-235609443' -> '/w/workspace/edgex-go/1/.semver' [2021-05-31T06:20:14.549Z] # -> Force: false [2021-05-31T06:20:14.549Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-05-31T06:20:14.564Z] $ docker exec --env ******** --env ******** 598039b8d370e263b48e84d4576f6da43cff309221519e9781e6d82084f4453b ssh-agent -k [2021-05-31T06:20:14.694Z] unset SSH_AUTH_SOCK; [2021-05-31T06:20:14.694Z] unset SSH_AGENT_PID; [2021-05-31T06:20:14.694Z] echo Agent pid 59 killed; [2021-05-31T06:20:14.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-31T06:20:15.137Z] + git semver [Pipeline] } [2021-05-31T06:20:15.164Z] $ docker stop --time=1 598039b8d370e263b48e84d4576f6da43cff309221519e9781e6d82084f4453b [2021-05-31T06:20:22.430Z] $ docker rm -f 598039b8d370e263b48e84d4576f6da43cff309221519e9781e6d82084f4453b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T06:20:22.930Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-31T06:20:23.457Z] Stashed 1 file(s) [Pipeline] echo [2021-05-31T06:20:23.479Z] [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-05-31T06:20:26.449Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:20:26.767Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:20:27.090Z] + sudo service docker restart [2021-05-31T06:20:27.090Z] + true [2021-05-31T06:20:27.090Z] Redirecting to /bin/systemctl restart docker.service [2021-05-31T06:20:38.879Z] Still waiting to schedule task [2021-05-31T06:20:38.879Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [Pipeline] echo [2021-05-31T06:20:46.553Z] ========================================================= [2021-05-31T06:20:46.553Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-31T06:20:46.553Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:20:46.910Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-31T06:20:48.307Z] Sending build context to Docker daemon 330.9MB [2021-05-31T06:20:48.308Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T06:20:48.308Z] Step 2/6 : FROM ${BASE} [2021-05-31T06:20:49.255Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-31T06:20:49.255Z] 540db60ca938: Pulling fs layer [2021-05-31T06:20:49.255Z] adcc1eea9eea: Pulling fs layer [2021-05-31T06:20:49.255Z] 4c4ab2625f07: Pulling fs layer [2021-05-31T06:20:49.255Z] 0510c868ecb4: Pulling fs layer [2021-05-31T06:20:49.255Z] afea3b2eda06: Pulling fs layer [2021-05-31T06:20:49.255Z] 7809a108b3ef: Pulling fs layer [2021-05-31T06:20:49.255Z] f706445af74f: Pulling fs layer [2021-05-31T06:20:49.255Z] afea3b2eda06: Waiting [2021-05-31T06:20:49.255Z] 7809a108b3ef: Waiting [2021-05-31T06:20:49.255Z] f706445af74f: Waiting [2021-05-31T06:20:49.255Z] 0510c868ecb4: Waiting [2021-05-31T06:20:49.255Z] 4c4ab2625f07: Verifying Checksum [2021-05-31T06:20:49.255Z] 4c4ab2625f07: Download complete [2021-05-31T06:20:49.255Z] adcc1eea9eea: Verifying Checksum [2021-05-31T06:20:49.255Z] adcc1eea9eea: Download complete [2021-05-31T06:20:49.255Z] afea3b2eda06: Verifying Checksum [2021-05-31T06:20:49.255Z] afea3b2eda06: Download complete [2021-05-31T06:20:49.255Z] 540db60ca938: Verifying Checksum [2021-05-31T06:20:49.255Z] 540db60ca938: Download complete [2021-05-31T06:20:49.255Z] 7809a108b3ef: Verifying Checksum [2021-05-31T06:20:49.255Z] 7809a108b3ef: Download complete [2021-05-31T06:20:51.199Z] 540db60ca938: Pull complete [2021-05-31T06:20:51.199Z] f706445af74f: Verifying Checksum [2021-05-31T06:20:51.199Z] f706445af74f: Download complete [2021-05-31T06:20:51.199Z] adcc1eea9eea: Pull complete [2021-05-31T06:20:51.464Z] 0510c868ecb4: Verifying Checksum [2021-05-31T06:20:51.464Z] 0510c868ecb4: Download complete [2021-05-31T06:20:51.726Z] 4c4ab2625f07: Pull complete [2021-05-31T06:21:07.784Z] 0510c868ecb4: Pull complete [2021-05-31T06:21:07.784Z] afea3b2eda06: Pull complete [2021-05-31T06:21:08.048Z] 7809a108b3ef: Pull complete [2021-05-31T06:21:10.311Z] f706445af74f: Pull complete [2021-05-31T06:21:10.311Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-31T06:21:10.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-31T06:21:10.311Z] ---> b068be0155e3 [2021-05-31T06:21:10.311Z] 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-05-31T06:21:39.208Z] ---> Running in 8bfb963cd972 [2021-05-31T06:21:39.796Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-31T06:21:40.742Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-31T06:21:41.316Z] (1/12) Installing libmagic (5.39-r0) [2021-05-31T06:21:41.588Z] (2/12) Installing file (5.39-r0) [2021-05-31T06:21:41.853Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-31T06:21:41.853Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-31T06:21:46.076Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-31T06:21:46.076Z] (6/12) Installing patch (2.7.6-r6) [2021-05-31T06:21:46.076Z] (7/12) Installing build-base (0.5-r2) [2021-05-31T06:21:46.076Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-31T06:21:46.076Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-31T06:21:46.076Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-31T06:21:46.342Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-31T06:21:46.342Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-31T06:21:46.342Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T06:21:46.342Z] OK: 219 MiB in 52 packages [2021-05-31T06:21:56.557Z] Removing intermediate container 8bfb963cd972 [2021-05-31T06:21:56.557Z] ---> bf6e5e1b1521 [2021-05-31T06:21:56.557Z] Step 4/6 : WORKDIR /edgex-go [2021-05-31T06:21:56.557Z] ---> Running in ed5429eb06eb [2021-05-31T06:21:56.557Z] Removing intermediate container ed5429eb06eb [2021-05-31T06:21:56.557Z] ---> faabf8a7fe61 [2021-05-31T06:21:56.557Z] Step 5/6 : COPY go.mod . [2021-05-31T06:21:56.557Z] ---> 0ab3cf0b4b45 [2021-05-31T06:21:56.557Z] Step 6/6 : RUN go mod download [2021-05-31T06:21:56.557Z] ---> Running in edade7d49be2 [2021-05-31T06:22:44.472Z] Removing intermediate container edade7d49be2 [2021-05-31T06:22:44.472Z] ---> 911198675251 [2021-05-31T06:22:44.472Z] Successfully built 911198675251 [2021-05-31T06:22:44.472Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:22:44.842Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T06:22:44.842Z] . [Pipeline] withDockerContainer [2021-05-31T06:22:44.952Z] prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container [2021-05-31T06:22:44.994Z] $ 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 [2021-05-31T06:22:46.126Z] $ docker top 5434e0a5bda0a6bd2e19c1fee40e40661180b66daf9aa730471750c22d595b9d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T06:22:46.590Z] + go version [2021-05-31T06:22:46.590Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-31T06:22:46.626Z] $ docker stop --time=1 5434e0a5bda0a6bd2e19c1fee40e40661180b66daf9aa730471750c22d595b9d [2021-05-31T06:22:48.111Z] $ docker rm -f 5434e0a5bda0a6bd2e19c1fee40e40661180b66daf9aa730471750c22d595b9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:22:50.752Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T06:22:50.752Z] . [Pipeline] withDockerContainer [2021-05-31T06:22:50.884Z] prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container [2021-05-31T06:22:50.940Z] $ 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 [2021-05-31T06:22:52.141Z] $ docker top 7b27c3df557d1da5ee31356fd11d882a25d38d91e4c9070752dcd5c9ef1b4584 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-31T06:22:52.312Z] ========================================================= [2021-05-31T06:22:52.312Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-31T06:22:52.312Z] ========================================================= [Pipeline] sh [2021-05-31T06:22:52.650Z] + go mod tidy [Pipeline] sh [2021-05-31T06:22:53.239Z] + make test [2021-05-31T06:22:53.239Z] go mod tidy [2021-05-31T06:22:53.505Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-31T06:23:00.255Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-31T06:23:28.434Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-31T06:23:30.392Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-31T06:23:34.636Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-31T06:23:34.636Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-05-31T06:23:38.908Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-05-31T06:23:39.178Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-05-31T06:23:39.178Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-05-31T06:23:39.178Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-05-31T06:23:40.573Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-05-31T06:23:41.159Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-05-31T06:23:43.723Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [2021-05-31T06:23:43.723Z] internal/system/agent/v2/application/direct/metrics.go:86:8: undefined: common.NewMultiMetricsResponse [2021-05-31T06:23:43.723Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config [2021-05-31T06:23:43.723Z] internal/system/agent/v2/application/direct/config/get.go:74:8: undefined: common.NewMultiConfigsResponse [2021-05-31T06:23:43.723Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor [2021-05-31T06:23:43.723Z] internal/system/agent/v2/application/executor/metrics.go:67:9: undefined: common.NewMultiMetricsResponse [2021-05-31T06:23:46.320Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.076s coverage: 46.1% of statements [2021-05-31T06:23:46.320Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.042s coverage: 28.7% of statements [2021-05-31T06:23:48.254Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.067s coverage: 100.0% of statements [2021-05-31T06:23:49.808Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.131s coverage: 27.7% of statements [2021-05-31T06:23:50.675Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.074s coverage: 81.2% of statements [2021-05-31T06:23:50.675Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.064s coverage: 100.0% of statements [2021-05-31T06:23:50.965Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.057s coverage: 100.0% of statements [2021-05-31T06:23:53.328Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.075s coverage: 53.4% of statements [2021-05-31T06:23:53.328Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.087s coverage: 87.7% of statements [2021-05-31T06:23:53.328Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.059s coverage: 78.9% of statements [2021-05-31T06:23:55.263Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.237s coverage: 28.6% of statements [2021-05-31T06:23:55.263Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.066s coverage: 100.0% of statements [2021-05-31T06:23:55.263Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.047s coverage: 100.0% of statements [2021-05-31T06:23:55.849Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.100s coverage: 86.7% of statements [2021-05-31T06:23:56.439Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.096s coverage: 97.5% of statements [2021-05-31T06:23:57.017Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.064s coverage: 78.3% of statements [2021-05-31T06:23:58.431Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.247s coverage: 95.1% of statements [2021-05-31T06:23:58.432Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.047s coverage: 58.8% of statements [2021-05-31T06:23:59.395Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.043s coverage: 0.8% of statements [2021-05-31T06:23:59.395Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.057s coverage: 21.7% of statements [2021-05-31T06:23:59.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.053s coverage: 47.1% of statements [2021-05-31T06:24:00.935Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.064s coverage: 79.5% of statements [2021-05-31T06:24:00.935Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.043s coverage: 94.1% of statements [2021-05-31T06:24:00.935Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.062s coverage: 96.3% of statements [2021-05-31T06:24:01.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.053s coverage: 87.5% of statements [2021-05-31T06:24:13.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements [2021-05-31T06:24:13.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.052s coverage: 44.8% of statements [2021-05-31T06:24:20.470Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.331s coverage: 81.8% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.090s coverage: 92.9% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.043s coverage: 87.2% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.065s coverage: 76.0% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.0% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.071s coverage: 87.2% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.067s coverage: 85.4% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.087s coverage: 91.2% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.143s coverage: 64.4% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.055s coverage: 100.0% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 91.3% of statements [2021-05-31T06:24:37.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.027s coverage: 100.0% of statements [2021-05-31T06:24:37.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.044s coverage: 73.7% of statements [2021-05-31T06:24:37.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements [2021-05-31T06:24:38.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.183s coverage: 66.9% of statements [2021-05-31T06:24:39.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.136s coverage: 43.5% of statements [2021-05-31T06:24:39.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.037s coverage: 89.5% of statements [2021-05-31T06:24:39.592Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.026s coverage: 84.8% of statements [2021-05-31T06:24:40.993Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.122s coverage: 46.8% of statements [2021-05-31T06:24:40.993Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.042s coverage: 100.0% of statements [2021-05-31T06:24:41.266Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.041s coverage: 100.0% of statements [2021-05-31T06:24:44.623Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.061s coverage: 18.8% of statements [2021-05-31T06:24:44.623Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.141s coverage: 91.9% of statements [2021-05-31T06:24:44.892Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.621s coverage: 28.7% of statements [2021-05-31T06:24:45.497Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.043s coverage: 99.0% of statements [2021-05-31T06:24:45.497Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.060s coverage: 100.0% of statements [2021-05-31T06:24:46.098Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.048s coverage: 63.4% of statements [2021-05-31T06:24:46.695Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.114s coverage: 97.6% of statements [2021-05-31T06:24:46.695Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.030s coverage: 0.0% of statements [2021-05-31T06:24:46.965Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.042s coverage: 100.0% of statements [2021-05-31T06:24:46.965Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.029s coverage: 87.9% of statements [2021-05-31T06:24:47.233Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.028s coverage: 100.0% of statements [2021-05-31T06:24:47.496Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct.test] [2021-05-31T06:24:47.496Z] internal/system/agent/v2/application/direct/metrics.go:86: undefined: common.NewMultiMetricsResponse [2021-05-31T06:24:47.496Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.057s coverage: 28.1% of statements [2021-05-31T06:24:47.496Z] FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [build failed] [2021-05-31T06:24:48.077Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 100.0% of statements [2021-05-31T06:24:48.078Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-31T06:24:48.131Z] $ docker stop --time=1 7b27c3df557d1da5ee31356fd11d882a25d38d91e4c9070752dcd5c9ef1b4584 [2021-05-31T06:24:50.234Z] $ docker rm -f 7b27c3df557d1da5ee31356fd11d882a25d38d91e4c9070752dcd5c9ef1b4584 [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-05-31T06:24:51.420Z] Failed in branch amd64 [2021-05-31T06:25:20.765Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1712 in /w/workspace/edgexfoundry_edgex-go_PR-3528 [Pipeline] { [Pipeline] ws [2021-05-31T06:25:20.819Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-05-31T06:25:21.073Z] The recommended git tool is: git [2021-05-31T06:25:28.705Z] using credential edgex-jenkins-ssh [2021-05-31T06:25:28.745Z] Cloning the remote Git repository [2021-05-31T06:25:28.841Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-31T06:25:28.951Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-05-31T06:25:29.025Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-31T06:25:29.026Z] > git --version # timeout=10 [2021-05-31T06:25:29.047Z] > git --version # 'git version 2.17.1' [2021-05-31T06:25:29.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:25:29.188Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T06:25:45.144Z] Merging remotes/origin/master commit e6c052569f26998dcb3a7df84d37141e1787d2eb into PR head commit 83f67a97a962f4a7f359fff4a950aadfd01c8779 [2021-05-31T06:25:44.319Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-31T06:25:44.338Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T06:25:44.366Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-31T06:25:44.401Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-31T06:25:44.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:25:44.416Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3528/head:refs/remotes/origin/PR-3528 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-31T06:25:45.159Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T06:25:45.180Z] > git checkout -f 83f67a97a962f4a7f359fff4a950aadfd01c8779 # timeout=10 [2021-05-31T06:25:45.654Z] Merge succeeded, producing 83f67a97a962f4a7f359fff4a950aadfd01c8779 [2021-05-31T06:25:45.654Z] Checking out Revision 83f67a97a962f4a7f359fff4a950aadfd01c8779 (PR-3528) [2021-05-31T06:25:45.523Z] > git remote # timeout=10 [2021-05-31T06:25:45.548Z] > git config --get remote.origin.url # timeout=10 [2021-05-31T06:25:45.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:25:45.578Z] > git merge e6c052569f26998dcb3a7df84d37141e1787d2eb # timeout=10 [2021-05-31T06:25:45.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-31T06:25:45.655Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T06:25:45.674Z] > git checkout -f 83f67a97a962f4a7f359fff4a950aadfd01c8779 # timeout=10 [2021-05-31T06:25:50.397Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-31T06:25:50.448Z] > git --version # timeout=10 [2021-05-31T06:25:50.459Z] > git --version # 'git version 2.17.1' [2021-05-31T06:25:50.476Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T06:25:51.999Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:25:52.414Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:25:52.776Z] + sudo service docker restart [2021-05-31T06:25:52.777Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T06:26:12.069Z] provisioning config files... [2021-05-31T06:26:12.098Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5895250154537997559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:26:12.531Z] ---> docker-login.sh [2021-05-31T06:26:12.531Z] nexus3.edgexfoundry.org:10001 [2021-05-31T06:26:13.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:26:13.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:26:13.792Z] Configure a credential helper to remove this warning. See [2021-05-31T06:26:13.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:26:13.792Z] [2021-05-31T06:26:13.792Z] Login Succeeded [2021-05-31T06:26:13.792Z] nexus3.edgexfoundry.org:10002 [2021-05-31T06:26:14.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:26:14.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:26:14.352Z] Configure a credential helper to remove this warning. See [2021-05-31T06:26:14.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:26:14.352Z] [2021-05-31T06:26:14.352Z] Login Succeeded [2021-05-31T06:26:14.352Z] nexus3.edgexfoundry.org:10003 [2021-05-31T06:26:14.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:26:14.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:26:14.908Z] Configure a credential helper to remove this warning. See [2021-05-31T06:26:14.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:26:14.908Z] [2021-05-31T06:26:14.908Z] Login Succeeded [2021-05-31T06:26:14.908Z] nexus3.edgexfoundry.org:10004 [2021-05-31T06:26:15.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:26:15.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:26:15.459Z] Configure a credential helper to remove this warning. See [2021-05-31T06:26:15.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:26:15.459Z] [2021-05-31T06:26:15.459Z] Login Succeeded [2021-05-31T06:26:15.459Z] docker.io [2021-05-31T06:26:15.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:26:16.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:26:16.330Z] Configure a credential helper to remove this warning. See [2021-05-31T06:26:16.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:26:16.330Z] [2021-05-31T06:26:16.330Z] Login Succeeded [2021-05-31T06:26:16.330Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T06:26:16.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-31T06:26:16.959Z] ========================================================= [2021-05-31T06:26:16.959Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-31T06:26:16.959Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:26:17.387Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-31T06:26:20.047Z] Sending build context to Docker daemon 168.1MB [2021-05-31T06:26:20.047Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T06:26:20.047Z] Step 2/6 : FROM ${BASE} [2021-05-31T06:26:20.047Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-31T06:26:20.047Z] 595b0fe564bb: Pulling fs layer [2021-05-31T06:26:20.047Z] 7186ed65a4f7: Pulling fs layer [2021-05-31T06:26:20.047Z] 316046926c0a: Pulling fs layer [2021-05-31T06:26:20.047Z] 4ebd0625c992: Pulling fs layer [2021-05-31T06:26:20.047Z] 207e8628e3a3: Pulling fs layer [2021-05-31T06:26:20.047Z] c791037a9be2: Pulling fs layer [2021-05-31T06:26:20.047Z] ffd874e62e21: Pulling fs layer [2021-05-31T06:26:20.047Z] 4ebd0625c992: Waiting [2021-05-31T06:26:20.047Z] 207e8628e3a3: Waiting [2021-05-31T06:26:20.047Z] c791037a9be2: Waiting [2021-05-31T06:26:20.047Z] ffd874e62e21: Waiting [2021-05-31T06:26:20.047Z] 316046926c0a: Verifying Checksum [2021-05-31T06:26:20.047Z] 316046926c0a: Download complete [2021-05-31T06:26:20.047Z] 7186ed65a4f7: Verifying Checksum [2021-05-31T06:26:20.048Z] 7186ed65a4f7: Download complete [2021-05-31T06:26:20.048Z] 207e8628e3a3: Verifying Checksum [2021-05-31T06:26:20.048Z] 207e8628e3a3: Download complete [2021-05-31T06:26:20.048Z] c791037a9be2: Verifying Checksum [2021-05-31T06:26:20.048Z] c791037a9be2: Download complete [2021-05-31T06:26:20.048Z] 595b0fe564bb: Verifying Checksum [2021-05-31T06:26:20.048Z] 595b0fe564bb: Download complete [2021-05-31T06:26:21.050Z] 595b0fe564bb: Pull complete [2021-05-31T06:26:21.329Z] 7186ed65a4f7: Pull complete [2021-05-31T06:26:21.931Z] 316046926c0a: Pull complete [2021-05-31T06:26:22.203Z] ffd874e62e21: Verifying Checksum [2021-05-31T06:26:22.203Z] ffd874e62e21: Download complete [2021-05-31T06:26:23.635Z] 4ebd0625c992: Verifying Checksum [2021-05-31T06:26:23.635Z] 4ebd0625c992: Download complete [2021-05-31T06:26:36.100Z] 4ebd0625c992: Pull complete [2021-05-31T06:26:36.100Z] 207e8628e3a3: Pull complete [2021-05-31T06:26:36.100Z] c791037a9be2: Pull complete [2021-05-31T06:26:38.734Z] ffd874e62e21: Pull complete [2021-05-31T06:26:38.734Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-31T06:26:39.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-31T06:26:39.015Z] ---> cfc18b08335c [2021-05-31T06:26:39.015Z] 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-05-31T06:26:40.008Z] ---> Running in 3cb3d8fb9f54 [2021-05-31T06:26:42.115Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-31T06:26:42.390Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-31T06:26:42.990Z] (1/12) Installing libmagic (5.39-r0) [2021-05-31T06:26:43.264Z] (2/12) Installing file (5.39-r0) [2021-05-31T06:26:43.264Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-31T06:26:43.536Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-31T06:26:47.823Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-31T06:26:48.092Z] (6/12) Installing patch (2.7.6-r6) [2021-05-31T06:26:48.092Z] (7/12) Installing build-base (0.5-r2) [2021-05-31T06:26:48.092Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-31T06:26:48.365Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-31T06:26:48.365Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-31T06:26:48.365Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-31T06:26:48.641Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-31T06:26:48.641Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T06:26:48.641Z] OK: 218 MiB in 52 packages [2021-05-31T06:26:52.955Z] Removing intermediate container 3cb3d8fb9f54 [2021-05-31T06:26:52.955Z] ---> 77a3e8f0915f [2021-05-31T06:26:52.955Z] Step 4/6 : WORKDIR /edgex-go [2021-05-31T06:26:52.955Z] ---> Running in db49da8c912f [2021-05-31T06:26:52.955Z] Removing intermediate container db49da8c912f [2021-05-31T06:26:52.955Z] ---> 4520cb5b5fd8 [2021-05-31T06:26:52.955Z] Step 5/6 : COPY go.mod . [2021-05-31T06:26:54.004Z] ---> 06cb7ec6c80f [2021-05-31T06:26:54.004Z] Step 6/6 : RUN go mod download [2021-05-31T06:26:54.004Z] ---> Running in 911549efcce9 [2021-05-31T06:27:20.954Z] Removing intermediate container 911549efcce9 [2021-05-31T06:27:20.954Z] ---> 27b96b06a4ec [2021-05-31T06:27:20.954Z] Successfully built 27b96b06a4ec [2021-05-31T06:27:20.954Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:27:21.347Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T06:27:21.347Z] . [Pipeline] withDockerContainer [2021-05-31T06:27:21.612Z] prd-ubuntu18.04-docker-arm64-4c-16g-1712 does not seem to be running inside a container [2021-05-31T06:27:21.697Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-31T06:27:23.345Z] $ docker top 306c1c17439731d4aa2c110ffc3b8f8dcce2e6b5358e2cf6d524895699fa5dc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T06:27:24.398Z] + go version [2021-05-31T06:27:24.398Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-31T06:27:24.432Z] $ docker stop --time=1 306c1c17439731d4aa2c110ffc3b8f8dcce2e6b5358e2cf6d524895699fa5dc5 [2021-05-31T06:27:26.306Z] $ docker rm -f 306c1c17439731d4aa2c110ffc3b8f8dcce2e6b5358e2cf6d524895699fa5dc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:27:27.275Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T06:27:27.275Z] . [Pipeline] withDockerContainer [2021-05-31T06:27:27.562Z] prd-ubuntu18.04-docker-arm64-4c-16g-1712 does not seem to be running inside a container [2021-05-31T06:27:27.646Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-31T06:27:29.217Z] $ docker top ee11411e8ecd84b7a9f7078b11bd9c8c6c2123718f31a4abf5de0fcf407ba405 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-31T06:27:29.579Z] ========================================================= [2021-05-31T06:27:29.579Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-31T06:27:29.579Z] ========================================================= [Pipeline] sh [2021-05-31T06:27:30.241Z] + go mod tidy [Pipeline] sh [2021-05-31T06:27:31.939Z] + make test [2021-05-31T06:27:31.939Z] go mod tidy [2021-05-31T06:27:32.539Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-31T06:28:00.101Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-31T06:28:56.711Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-31T06:29:02.151Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-31T06:29:12.346Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-31T06:29:12.346Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-05-31T06:29:16.672Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-05-31T06:29:16.672Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-05-31T06:29:16.672Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-05-31T06:29:16.672Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-05-31T06:29:21.847Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-05-31T06:29:21.847Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-05-31T06:29:21.847Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [2021-05-31T06:29:21.847Z] internal/system/agent/v2/application/direct/metrics.go:86:8: undefined: common.NewMultiMetricsResponse [2021-05-31T06:29:21.847Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config [2021-05-31T06:29:21.847Z] internal/system/agent/v2/application/direct/config/get.go:74:8: undefined: common.NewMultiConfigsResponse [2021-05-31T06:29:21.847Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor [2021-05-31T06:29:21.847Z] internal/system/agent/v2/application/executor/metrics.go:67:9: undefined: common.NewMultiMetricsResponse [2021-05-31T06:29:36.995Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.312s coverage: 46.1% of statements [2021-05-31T06:29:36.995Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.165s coverage: 28.7% of statements [2021-05-31T06:29:37.273Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.302s coverage: 100.0% of statements [2021-05-31T06:29:44.312Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.562s coverage: 27.7% of statements [2021-05-31T06:29:44.312Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.210s coverage: 81.2% of statements [2021-05-31T06:29:44.312Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.255s coverage: 100.0% of statements [2021-05-31T06:29:44.312Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.176s coverage: 100.0% of statements [2021-05-31T06:29:47.754Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.329s coverage: 53.4% of statements [2021-05-31T06:29:49.211Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.557s coverage: 87.7% of statements [2021-05-31T06:29:49.211Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.286s coverage: 78.9% of statements [2021-05-31T06:29:59.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.186s coverage: 28.6% of statements [2021-05-31T06:29:59.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.319s coverage: 100.0% of statements [2021-05-31T06:29:59.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.232s coverage: 100.0% of statements [2021-05-31T06:29:59.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.505s coverage: 86.7% of statements [2021-05-31T06:29:59.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.507s coverage: 97.5% of statements [2021-05-31T06:29:59.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.350s coverage: 78.3% of statements [2021-05-31T06:30:06.162Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.197s coverage: 95.1% of statements [2021-05-31T06:30:06.162Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.181s coverage: 58.8% of statements [2021-05-31T06:30:06.162Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.370s coverage: 0.8% of statements [2021-05-31T06:30:06.162Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.166s coverage: 21.7% of statements [2021-05-31T06:30:06.162Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.222s coverage: 47.1% of statements [2021-05-31T06:30:06.162Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.221s coverage: 79.5% of statements [2021-05-31T06:30:06.162Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.179s coverage: 94.1% of statements [2021-05-31T06:30:06.773Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.211s coverage: 96.3% of statements [2021-05-31T06:30:06.773Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.203s coverage: 87.5% of statements [2021-05-31T06:30:21.887Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.172s coverage: 94.4% of statements [2021-05-31T06:30:21.887Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.151s coverage: 44.8% of statements [2021-05-31T06:30:26.035Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.521s coverage: 81.8% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.231s coverage: 92.9% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.149s coverage: 100.0% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.183s coverage: 76.0% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.182s coverage: 80.0% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.244s coverage: 87.2% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.222s coverage: 85.4% of statements [2021-05-31T06:30:32.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.296s coverage: 91.2% of statements [2021-05-31T06:30:33.046Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.774s coverage: 64.4% of statements [2021-05-31T06:30:33.046Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.159s coverage: 100.0% of statements [2021-05-31T06:30:33.046Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.076s coverage: 91.3% of statements [2021-05-31T06:30:33.322Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.053s coverage: 100.0% of statements [2021-05-31T06:30:33.322Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.082s coverage: 73.7% of statements [2021-05-31T06:30:33.926Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.079s coverage: 100.0% of statements [2021-05-31T06:30:39.374Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.093s coverage: 66.9% of statements [2021-05-31T06:30:39.651Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.782s coverage: 43.5% of statements [2021-05-31T06:30:39.651Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.084s coverage: 89.5% of statements [2021-05-31T06:30:39.651Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.109s coverage: 84.8% of statements [2021-05-31T06:30:46.394Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.483s coverage: 46.8% of statements [2021-05-31T06:30:46.394Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.139s coverage: 100.0% of statements [2021-05-31T06:30:46.394Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.129s coverage: 100.0% of statements [2021-05-31T06:30:48.388Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.230s coverage: 18.8% of statements [2021-05-31T06:30:48.388Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.485s coverage: 91.9% of statements [2021-05-31T06:30:55.114Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct.test] [2021-05-31T06:30:55.114Z] internal/system/agent/v2/application/direct/metrics.go:86: undefined: common.NewMultiMetricsResponse [2021-05-31T06:30:55.114Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.738s coverage: 28.7% of statements [2021-05-31T06:30:55.114Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.218s coverage: 99.0% of statements [2021-05-31T06:30:55.114Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.193s coverage: 100.0% of statements [2021-05-31T06:30:55.114Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.229s coverage: 63.4% of statements [2021-05-31T06:30:55.392Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.451s coverage: 97.6% of statements [2021-05-31T06:30:55.392Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.041s coverage: 0.0% of statements [2021-05-31T06:30:55.392Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.066s coverage: 100.0% of statements [2021-05-31T06:30:55.392Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.088s coverage: 87.9% of statements [2021-05-31T06:30:55.392Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements [2021-05-31T06:30:56.830Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.169s coverage: 28.1% of statements [2021-05-31T06:30:56.830Z] FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [build failed] [2021-05-31T06:30:56.830Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 100.0% of statements [2021-05-31T06:30:57.824Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-31T06:30:57.874Z] $ docker stop --time=1 ee11411e8ecd84b7a9f7078b11bd9c8c6c2123718f31a4abf5de0fcf407ba405 [2021-05-31T06:31:00.109Z] $ docker rm -f ee11411e8ecd84b7a9f7078b11bd9c8c6c2123718f31a4abf5de0fcf407ba405 [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-05-31T06:31:01.993Z] ---> job-cost.sh [2021-05-31T06:31:01.993Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jWpw [2021-05-31T06:31:40.954Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-31T06:33:02.699Z] lf-activate-venv(): INFO: Adding /tmp/venv-jWpw/bin to PATH [2021-05-31T06:33:02.699Z] INFO: No Stack... [2021-05-31T06:33:03.673Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-31T06:33:03.944Z] INFO: Archiving Costs [Pipeline] sh [2021-05-31T06:33:04.355Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-05-31T06:33:04.355Z] + cut -d, -f6 [Pipeline] lock [2021-05-31T06:33:04.502Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3528-1-stack-cost] [2021-05-31T06:33:04.508Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3528-1-stack-cost] did not exist. Created. [2021-05-31T06:33:04.508Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3528-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-31T06:33:07.015Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-31T06:33:07.976Z] Stashed 1 file(s) [Pipeline] } [2021-05-31T06:33:07.999Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3528-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-31T06:33:08.563Z] 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-05-31T06:33:12.304Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:33:12.921Z] ---> package-listing.sh [2021-05-31T06:33:12.921Z] ++ facter osfamily [2021-05-31T06:33:12.921Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-31T06:33:13.183Z] + OS_FAMILY=redhat [2021-05-31T06:33:13.183Z] + workspace=/w/workspace/edgex-go/1 [2021-05-31T06:33:13.183Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-31T06:33:13.183Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-31T06:33:13.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-31T06:33:13.183Z] + PACKAGES=/tmp/packages_start.txt [2021-05-31T06:33:13.183Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-31T06:33:13.183Z] + PACKAGES=/tmp/packages_end.txt [2021-05-31T06:33:13.183Z] + case "${OS_FAMILY}" in [2021-05-31T06:33:13.183Z] + rpm -qa [2021-05-31T06:33:13.183Z] + sort [2021-05-31T06:33:13.778Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-31T06:33:13.778Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-31T06:33:13.778Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-31T06:33:13.778Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-31T06:33:13.778Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-05-31T06:33:13.778Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-05-31T06:33:13.812Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-31T06:33:14.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:33:14.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T06:33:14.737Z] [2021-05-31T06:33:14.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:33:15.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T06:33:15.092Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-31T06:33:15.092Z] df20fa9351a1: Pulling fs layer [2021-05-31T06:33:15.092Z] 36b3adc4ff6f: Pulling fs layer [2021-05-31T06:33:15.092Z] 8ad3a11d3b57: Pulling fs layer [2021-05-31T06:33:15.092Z] 46f8f816bc3b: Pulling fs layer [2021-05-31T06:33:15.092Z] 93b61091891f: Pulling fs layer [2021-05-31T06:33:15.092Z] 93b9cdb0e59b: Pulling fs layer [2021-05-31T06:33:15.092Z] 5e14af77c1be: Pulling fs layer [2021-05-31T06:33:15.092Z] 01666e4c0597: Pulling fs layer [2021-05-31T06:33:15.092Z] aa168da1d23b: Pulling fs layer [2021-05-31T06:33:15.092Z] 46f8f816bc3b: Waiting [2021-05-31T06:33:15.092Z] 93b61091891f: Waiting [2021-05-31T06:33:15.092Z] 93b9cdb0e59b: Waiting [2021-05-31T06:33:15.092Z] 5e14af77c1be: Waiting [2021-05-31T06:33:15.092Z] 01666e4c0597: Waiting [2021-05-31T06:33:15.092Z] aa168da1d23b: Waiting [2021-05-31T06:33:15.092Z] 36b3adc4ff6f: Verifying Checksum [2021-05-31T06:33:15.092Z] 36b3adc4ff6f: Download complete [2021-05-31T06:33:15.365Z] 46f8f816bc3b: Verifying Checksum [2021-05-31T06:33:15.365Z] 46f8f816bc3b: Download complete [2021-05-31T06:33:15.365Z] df20fa9351a1: Verifying Checksum [2021-05-31T06:33:15.365Z] df20fa9351a1: Download complete [2021-05-31T06:33:15.365Z] 93b9cdb0e59b: Verifying Checksum [2021-05-31T06:33:15.365Z] 93b9cdb0e59b: Download complete [2021-05-31T06:33:15.365Z] 93b61091891f: Verifying Checksum [2021-05-31T06:33:15.365Z] 93b61091891f: Download complete [2021-05-31T06:33:15.365Z] 01666e4c0597: Verifying Checksum [2021-05-31T06:33:15.365Z] 01666e4c0597: Download complete [2021-05-31T06:33:15.634Z] df20fa9351a1: Pull complete [2021-05-31T06:33:15.634Z] 8ad3a11d3b57: Verifying Checksum [2021-05-31T06:33:15.634Z] 8ad3a11d3b57: Download complete [2021-05-31T06:33:15.634Z] 5e14af77c1be: Verifying Checksum [2021-05-31T06:33:15.634Z] 5e14af77c1be: Download complete [2021-05-31T06:33:15.634Z] 36b3adc4ff6f: Pull complete [2021-05-31T06:33:16.231Z] 8ad3a11d3b57: Pull complete [2021-05-31T06:33:16.231Z] 46f8f816bc3b: Pull complete [2021-05-31T06:33:16.501Z] 93b61091891f: Pull complete [2021-05-31T06:33:16.501Z] 93b9cdb0e59b: Pull complete [2021-05-31T06:33:16.766Z] 5e14af77c1be: Pull complete [2021-05-31T06:33:16.766Z] 01666e4c0597: Pull complete [2021-05-31T06:33:17.728Z] aa168da1d23b: Verifying Checksum [2021-05-31T06:33:17.728Z] aa168da1d23b: Download complete [2021-05-31T06:33:23.070Z] aa168da1d23b: Pull complete [2021-05-31T06:33:23.070Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-31T06:33:23.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T06:33:23.071Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-31T06:33:23.174Z] prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container [2021-05-31T06:33:23.217Z] $ 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 [2021-05-31T06:33:33.911Z] $ docker top d41ff0550b530cd4c999706d66626acb928d86dbd8094c2c1f5a606a4fac232a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T06:33:34.371Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-31T06:33:34.705Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-31T06:33:35.022Z] + ls /var/log/sa-host [2021-05-31T06:33:35.022Z] + sadf -c /var/log/sa-host/sa05 [2021-05-31T06:33:35.022Z] file_magic: OK [2021-05-31T06:33:35.022Z] HZ: Using current value: 100 [2021-05-31T06:33:35.022Z] file_header: OK [2021-05-31T06:33:35.022Z] 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-05-31T06:33:35.022Z] Statistics: [2021-05-31T06:33:35.022Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T06:33:35.022Z] File successfully converted to sysstat format version 12.2.1 [2021-05-31T06:33:35.022Z] + sadf -c /var/log/sa-host/sa31 [2021-05-31T06:33:35.022Z] file_magic: OK [2021-05-31T06:33:35.022Z] HZ: Using current value: 100 [2021-05-31T06:33:35.022Z] file_header: OK [2021-05-31T06:33:35.022Z] 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-05-31T06:33:35.022Z] Statistics: [2021-05-31T06:33:35.022Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T06:33:35.022Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T06:33:35.637Z] provisioning config files... [2021-05-31T06:33:35.649Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config350688354715603086tmp [Pipeline] { [Pipeline] echo [2021-05-31T06:33:35.705Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:33:36.045Z] ---> create-netrc.sh [Pipeline] } [2021-05-31T06:33:38.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-31T06:33:38.096Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:33:38.448Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-31T06:33:38.482Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:33:38.825Z] ---> sudo-logs.sh [2021-05-31T06:33:38.825Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-31T06:33:38.920Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:33:39.257Z] ---> job-cost.sh [2021-05-31T06:33:39.257Z] lf-activate-venv: SKIPPING [2021-05-31T06:33:39.257Z] DEBUG: total: 0.18000000715255737 [2021-05-31T06:33:39.257Z] INFO: Retrieving Stack Cost... [2021-05-31T06:33:40.209Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-31T06:33:40.473Z] INFO: Archiving Costs [Pipeline] echo [2021-05-31T06:33:40.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:33:40.868Z] ---> logs-deploy.sh [2021-05-31T06:33:40.868Z] lf-activate-venv: SKIPPING [2021-05-31T06:33:40.868Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3528/1 [2021-05-31T06:33:40.868Z] INFO: archiving workspace using pattern(s): [2021-05-31T06:33:41.813Z] Archives upload complete. [2021-05-31T06:33:41.813Z] INFO: archiving logs to Nexus