Pull request #3535 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a+20e303863cad8cac4b912536f697b5bc4b7b8446 (15080abb7e673f302a9a5a7676492748200cadb2) 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-ssh6280817388310821317.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh2850035276720533875.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-3535/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-3535/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3143141611575369624.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-3535/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3994895957859495927.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh213668839942673314.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-3535/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-3535/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1364651429111837811.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-122 in /w/workspace/edgexfoundry_edgex-go_PR-3535 [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-ssh5520783303604850101.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 20e303863cad8cac4b912536f697b5bc4b7b8446 into PR head commit c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a Merge succeeded, producing c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a Checking out Revision c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a (PR-3535) > 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-ssh6233194011371124678.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3535/head:refs/remotes/origin/PR-3535 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a # timeout=10 > 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-ssh7552997871093639114.key > git merge 20e303863cad8cac4b912536f697b5bc4b7b8446 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a # 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T19:09:04.137Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T19:09:04.341Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T19:09:04.455Z] ========================================================= [2021-06-02T19:09:04.455Z] EdgeX Global Pipelines Version Info [2021-06-02T19:09:04.455Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:09:05.916Z] ------------------- [2021-06-02T19:09:05.917Z] stable info: [2021-06-02T19:09:05.917Z] ------------------- [2021-06-02T19:09:05.917Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T19:09:05.917Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T19:09:05.917Z] Message: update stable to v1.0.193 [2021-06-02T19:09:06.496Z] ------------------- [2021-06-02T19:09:06.496Z] experimental info: [2021-06-02T19:09:06.496Z] ------------------- [2021-06-02T19:09:06.496Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T19:09:06.496Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T19:09:06.496Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T19:09:06.799Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-06-02T19:09:06.865Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-06-02T19:09:06.925Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T19:09:06.985Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T19:09:07.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T19:09:07.092Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T19:09:07.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T19:09:07.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-06-02T19:09:07.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-06-02T19:09:07.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-06-02T19:09:07.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T19:09:07.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T19:09:07.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T19:09:07.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T19:09:07.582Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T19:09:07.633Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T19:09:07.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T19:09:07.749Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T19:09:07.837Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-02T19:09:07.896Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-02T19:09:07.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-02T19:09:08.019Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T19:09:08.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3535 [Pipeline] echo [2021-06-02T19:09:08.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3535 [Pipeline] echo [2021-06-02T19:09:08.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3535 [Pipeline] echo [2021-06-02T19:09:08.264Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a [Pipeline] echo [2021-06-02T19:09:08.320Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c07e6db [Pipeline] echo [2021-06-02T19:09:08.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T19:09:08.523Z] provisioning config files... [2021-06-02T19:09:08.548Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6373099826258997458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:09:08.914Z] ---> docker-login.sh [2021-06-02T19:09:08.914Z] nexus3.edgexfoundry.org:10001 [2021-06-02T19:09:09.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:09:09.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:09:09.442Z] Configure a credential helper to remove this warning. See [2021-06-02T19:09:09.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:09:09.442Z] [2021-06-02T19:09:09.442Z] Login Succeeded [2021-06-02T19:09:09.442Z] nexus3.edgexfoundry.org:10002 [2021-06-02T19:09:09.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:09:10.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:09:10.397Z] Configure a credential helper to remove this warning. See [2021-06-02T19:09:10.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:09:10.397Z] [2021-06-02T19:09:10.397Z] Login Succeeded [2021-06-02T19:09:10.397Z] nexus3.edgexfoundry.org:10003 [2021-06-02T19:09:10.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:09:10.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:09:10.397Z] Configure a credential helper to remove this warning. See [2021-06-02T19:09:10.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:09:10.397Z] [2021-06-02T19:09:10.397Z] Login Succeeded [2021-06-02T19:09:10.397Z] nexus3.edgexfoundry.org:10004 [2021-06-02T19:09:10.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:09:10.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:09:10.659Z] Configure a credential helper to remove this warning. See [2021-06-02T19:09:10.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:09:10.659Z] [2021-06-02T19:09:10.659Z] Login Succeeded [2021-06-02T19:09:10.659Z] docker.io [2021-06-02T19:09:10.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:09:10.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:09:10.921Z] Configure a credential helper to remove this warning. See [2021-06-02T19:09:10.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:09:10.921Z] [2021-06-02T19:09:10.921Z] Login Succeeded [2021-06-02T19:09:10.921Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T19:09:10.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T19:09:11.363Z] ++ 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-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/core-command/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo core-command,cmd/core-command/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/core-data/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo core-data,cmd/core-data/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/core-metadata/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/support-notifications/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-06-02T19:09:11.363Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-02T19:09:11.363Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-06-02T19:09:11.363Z] ++ cut -d/ -f2 [2021-06-02T19:09:11.363Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-06-02T19:09:11.439Z] 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-06-02T19:09:12.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T19:09:12.311Z] [2021-06-02T19:09:12.311Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:09:12.666Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T19:09:12.666Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T19:09:12.666Z] 31603596830f: Pulling fs layer [2021-06-02T19:09:12.666Z] 54011a49482f: Pulling fs layer [2021-06-02T19:09:12.666Z] a6820b24f6d8: Pulling fs layer [2021-06-02T19:09:12.667Z] f581987b2513: Pulling fs layer [2021-06-02T19:09:12.667Z] f581987b2513: Waiting [2021-06-02T19:09:12.667Z] 54011a49482f: Verifying Checksum [2021-06-02T19:09:12.667Z] 54011a49482f: Download complete [2021-06-02T19:09:12.931Z] 31603596830f: Verifying Checksum [2021-06-02T19:09:12.931Z] 31603596830f: Download complete [2021-06-02T19:09:12.931Z] f581987b2513: Verifying Checksum [2021-06-02T19:09:12.931Z] f581987b2513: Download complete [2021-06-02T19:09:12.931Z] a6820b24f6d8: Verifying Checksum [2021-06-02T19:09:12.931Z] a6820b24f6d8: Download complete [2021-06-02T19:09:12.931Z] 31603596830f: Pull complete [2021-06-02T19:09:13.193Z] 54011a49482f: Pull complete [2021-06-02T19:09:13.767Z] a6820b24f6d8: Pull complete [2021-06-02T19:09:14.030Z] f581987b2513: Pull complete [2021-06-02T19:09:14.030Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T19:09:14.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T19:09:14.030Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T19:09:14.146Z] prd-centos7-docker-4c-2g-122 does not seem to be running inside a container [2021-06-02T19:09:14.190Z] $ 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-06-02T19:09:15.690Z] $ docker top e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T19:09:15.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T19:09:15.922Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T19:09:16.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T19:09:16.057Z] $ docker exec e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent [2021-06-02T19:09:16.190Z] SSH_AUTH_SOCK=/tmp/ssh-j7CFAdfO4SGl/agent.14 [2021-06-02T19:09:16.190Z] SSH_AGENT_PID=20 [2021-06-02T19:09:16.198Z] Running ssh-add (command line suppressed) [2021-06-02T19:09:16.311Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_1406372059567039268.key (/w/workspace/edgex-go/1@tmp/private_key_1406372059567039268.key) [2021-06-02T19:09:16.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T19:09:16.691Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T19:09:16.713Z] $ docker exec --env ******** --env ******** e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent -k [2021-06-02T19:09:16.815Z] unset SSH_AUTH_SOCK; [2021-06-02T19:09:16.816Z] unset SSH_AGENT_PID; [2021-06-02T19:09:16.816Z] echo Agent pid 20 killed; [2021-06-02T19:09:16.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T19:09:16.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T19:09:16.924Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T19:09:17.042Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T19:09:17.042Z] $ docker exec e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent [2021-06-02T19:09:17.158Z] SSH_AUTH_SOCK=/tmp/ssh-D3AHUgS8ASuQ/agent.53 [2021-06-02T19:09:17.158Z] SSH_AGENT_PID=59 [2021-06-02T19:09:17.165Z] Running ssh-add (command line suppressed) [2021-06-02T19:09:17.264Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7583797168390126213.key (/w/workspace/edgex-go/1@tmp/private_key_7583797168390126213.key) [2021-06-02T19:09:17.282Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T19:09:17.638Z] + git semver init [2021-06-02T19:09:17.638Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T19:09:17.638Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-06-02T19:09:17.638Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-06-02T19:09:17.638Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T19:09:17.638Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T19:09:17.638Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T19:09:17.638Z] # $SEMVER_BRANCH = PR-3535 [2021-06-02T19:09:17.638Z] # $SEMVER_TEMP = /tmp/semver-961282658 [2021-06-02T19:09:17.638Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-06-02T19:09:32.600Z] # '/tmp/semver-961282658' -> '/w/workspace/edgex-go/1/.semver' [2021-06-02T19:09:32.600Z] # -> Force: false [2021-06-02T19:09:32.600Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-06-02T19:09:32.620Z] $ docker exec --env ******** --env ******** e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent -k [2021-06-02T19:09:32.725Z] unset SSH_AUTH_SOCK; [2021-06-02T19:09:32.726Z] unset SSH_AGENT_PID; [2021-06-02T19:09:32.726Z] echo Agent pid 59 killed; [2021-06-02T19:09:32.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T19:09:33.189Z] + git semver [Pipeline] } [2021-06-02T19:09:33.218Z] $ docker stop --time=1 e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 [2021-06-02T19:09:36.207Z] $ docker rm -f e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T19:09:36.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T19:09:37.013Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T19:09:37.037Z] [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-06-02T19:09:38.101Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-02T19:09:38.445Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T19:09:38.772Z] + true [2021-06-02T19:09:38.772Z] + sudo service docker restart [2021-06-02T19:09:38.772Z] Redirecting to /bin/systemctl restart docker.service [2021-06-02T19:09:52.542Z] Still waiting to schedule task [2021-06-02T19:09:52.542Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-120’ [Pipeline] echo [2021-06-02T19:09:56.967Z] ========================================================= [2021-06-02T19:09:56.967Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-02T19:09:56.967Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:09:57.327Z] + 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-06-02T19:09:58.729Z] Sending build context to Docker daemon 331MB [2021-06-02T19:09:58.729Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T19:09:58.729Z] Step 2/6 : FROM ${BASE} [2021-06-02T19:09:58.990Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-02T19:09:58.990Z] 540db60ca938: Pulling fs layer [2021-06-02T19:09:58.990Z] adcc1eea9eea: Pulling fs layer [2021-06-02T19:09:58.990Z] 4c4ab2625f07: Pulling fs layer [2021-06-02T19:09:58.990Z] 0510c868ecb4: Pulling fs layer [2021-06-02T19:09:58.990Z] afea3b2eda06: Pulling fs layer [2021-06-02T19:09:58.990Z] 7809a108b3ef: Pulling fs layer [2021-06-02T19:09:58.990Z] f706445af74f: Pulling fs layer [2021-06-02T19:09:58.990Z] afea3b2eda06: Waiting [2021-06-02T19:09:58.990Z] 7809a108b3ef: Waiting [2021-06-02T19:09:58.990Z] f706445af74f: Waiting [2021-06-02T19:09:58.990Z] 0510c868ecb4: Waiting [2021-06-02T19:09:58.990Z] 4c4ab2625f07: Verifying Checksum [2021-06-02T19:09:58.990Z] 4c4ab2625f07: Download complete [2021-06-02T19:09:58.990Z] adcc1eea9eea: Verifying Checksum [2021-06-02T19:09:58.990Z] adcc1eea9eea: Download complete [2021-06-02T19:09:58.990Z] afea3b2eda06: Verifying Checksum [2021-06-02T19:09:58.990Z] afea3b2eda06: Download complete [2021-06-02T19:09:58.990Z] 7809a108b3ef: Verifying Checksum [2021-06-02T19:09:58.990Z] 7809a108b3ef: Download complete [2021-06-02T19:09:58.990Z] 540db60ca938: Verifying Checksum [2021-06-02T19:09:58.990Z] 540db60ca938: Download complete [2021-06-02T19:09:59.254Z] 540db60ca938: Pull complete [2021-06-02T19:09:59.254Z] adcc1eea9eea: Pull complete [2021-06-02T19:09:59.515Z] 4c4ab2625f07: Pull complete [2021-06-02T19:10:00.913Z] f706445af74f: Verifying Checksum [2021-06-02T19:10:00.913Z] f706445af74f: Download complete [2021-06-02T19:10:01.178Z] 0510c868ecb4: Verifying Checksum [2021-06-02T19:10:01.178Z] 0510c868ecb4: Download complete [2021-06-02T19:10:05.461Z] 0510c868ecb4: Pull complete [2021-06-02T19:10:05.461Z] afea3b2eda06: Pull complete [2021-06-02T19:10:05.461Z] 7809a108b3ef: Pull complete [2021-06-02T19:10:06.863Z] f706445af74f: Pull complete [2021-06-02T19:10:06.863Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-02T19:10:06.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-02T19:10:06.863Z] ---> b068be0155e3 [2021-06-02T19:10:06.863Z] 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-06-02T19:10:13.473Z] ---> Running in 3d634e886d1b [2021-06-02T19:10:13.473Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T19:10:14.049Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T19:10:14.625Z] (1/12) Installing libmagic (5.39-r0) [2021-06-02T19:10:15.202Z] (2/12) Installing file (5.39-r0) [2021-06-02T19:10:15.202Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-06-02T19:10:15.202Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-06-02T19:10:37.229Z] (5/12) Installing fortify-headers (1.1-r0) [2021-06-02T19:10:37.229Z] (6/12) Installing patch (2.7.6-r6) [2021-06-02T19:10:37.229Z] (7/12) Installing build-base (0.5-r2) [2021-06-02T19:10:37.229Z] (8/12) Installing libsodium (1.0.18-r0) [2021-06-02T19:10:37.229Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-06-02T19:10:37.229Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-06-02T19:10:37.229Z] (11/12) Installing libzmq (4.3.3-r1) [2021-06-02T19:10:37.229Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-06-02T19:10:37.229Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T19:10:37.229Z] OK: 219 MiB in 52 packages [2021-06-02T19:10:37.229Z] Removing intermediate container 3d634e886d1b [2021-06-02T19:10:37.229Z] ---> 7f88e915da38 [2021-06-02T19:10:37.229Z] Step 4/6 : WORKDIR /edgex-go [2021-06-02T19:10:37.229Z] ---> Running in b06716f2cdfc [2021-06-02T19:10:37.229Z] Removing intermediate container b06716f2cdfc [2021-06-02T19:10:37.229Z] ---> a5468bb9ac6d [2021-06-02T19:10:37.229Z] Step 5/6 : COPY go.mod . [2021-06-02T19:10:37.808Z] ---> 45565fac7797 [2021-06-02T19:10:37.809Z] Step 6/6 : RUN go mod download [2021-06-02T19:10:37.809Z] ---> Running in e14bf1c68b6f [2021-06-02T19:11:24.565Z] Removing intermediate container e14bf1c68b6f [2021-06-02T19:11:24.565Z] ---> 0ece65e23384 [2021-06-02T19:11:24.565Z] Successfully built 0ece65e23384 [2021-06-02T19:11:24.565Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:11:24.905Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T19:11:24.905Z] . [Pipeline] withDockerContainer [2021-06-02T19:11:25.011Z] prd-centos7-docker-4c-2g-122 does not seem to be running inside a container [2021-06-02T19:11:25.054Z] $ 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-06-02T19:11:26.693Z] $ docker top 913764b0ccda5344828ff6087eb30d72cdd4f55825068b0a542982cb3e410be1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T19:11:27.157Z] + go version [2021-06-02T19:11:27.157Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-02T19:11:27.179Z] $ docker stop --time=1 913764b0ccda5344828ff6087eb30d72cdd4f55825068b0a542982cb3e410be1 [2021-06-02T19:11:28.471Z] $ docker rm -f 913764b0ccda5344828ff6087eb30d72cdd4f55825068b0a542982cb3e410be1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:11:29.300Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T19:11:29.300Z] . [Pipeline] withDockerContainer [2021-06-02T19:11:29.412Z] prd-centos7-docker-4c-2g-122 does not seem to be running inside a container [2021-06-02T19:11:29.451Z] $ 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-06-02T19:11:29.897Z] $ docker top 32e1f8de8c16b439647701fe2d9476fcdec70a213e7d5fd1ee2ba98c8ff79962 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-02T19:11:30.119Z] ========================================================= [2021-06-02T19:11:30.120Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-06-02T19:11:30.120Z] ========================================================= [Pipeline] sh [2021-06-02T19:11:30.446Z] + go mod tidy [Pipeline] sh [2021-06-02T19:11:31.038Z] + make test [2021-06-02T19:11:31.038Z] go mod tidy [2021-06-02T19:11:31.302Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-02T19:11:37.970Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-06-02T19:12:00.069Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-06-02T19:12:05.407Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-06-02T19:12:07.348Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-06-02T19:12:07.348Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-06-02T19:12:09.985Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-06-02T19:12:10.981Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-06-02T19:12:10.981Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-06-02T19:12:10.981Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-06-02T19:12:11.951Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-06-02T19:12:12.533Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-06-02T19:12:13.483Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [2021-06-02T19:12:13.483Z] internal/system/agent/v2/application/direct/metrics.go:86:8: undefined: common.NewMultiMetricsResponse [2021-06-02T19:12:13.483Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config [2021-06-02T19:12:13.483Z] internal/system/agent/v2/application/direct/config/get.go:74:8: undefined: common.NewMultiConfigsResponse [2021-06-02T19:12:13.483Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor [2021-06-02T19:12:13.483Z] internal/system/agent/v2/application/executor/metrics.go:67:9: undefined: common.NewMultiMetricsResponse [2021-06-02T19:12:16.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.067s coverage: 46.1% of statements [2021-06-02T19:12:16.819Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.049s coverage: 28.7% of statements [2021-06-02T19:12:18.750Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.081s coverage: 100.0% of statements [2021-06-02T19:12:21.073Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.137s coverage: 27.7% of statements [2021-06-02T19:12:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.049s coverage: 81.2% of statements [2021-06-02T19:12:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.046s coverage: 100.0% of statements [2021-06-02T19:12:22.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.045s coverage: 100.0% of statements [2021-06-02T19:12:23.394Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.072s coverage: 53.4% of statements [2021-06-02T19:12:24.352Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.120s coverage: 87.7% of statements [2021-06-02T19:12:24.352Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.050s coverage: 78.9% of statements [2021-06-02T19:12:26.291Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.206s coverage: 28.6% of statements [2021-06-02T19:12:26.291Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.052s coverage: 100.0% of statements [2021-06-02T19:12:26.558Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.055s coverage: 100.0% of statements [2021-06-02T19:12:27.511Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.091s coverage: 86.7% of statements [2021-06-02T19:12:27.772Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.086s coverage: 97.5% of statements [2021-06-02T19:12:28.346Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.045s coverage: 78.3% of statements [2021-06-02T19:12:29.748Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.232s coverage: 95.1% of statements [2021-06-02T19:12:29.748Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.050s coverage: 58.8% of statements [2021-06-02T19:12:30.323Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http 0.054s coverage: 60.0% of statements [2021-06-02T19:12:30.895Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.045s coverage: 0.8% of statements [2021-06-02T19:12:30.895Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.044s coverage: 21.7% of statements [2021-06-02T19:12:31.479Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.046s coverage: 47.1% of statements [2021-06-02T19:12:31.479Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.059s coverage: 79.5% of statements [2021-06-02T19:12:31.741Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.043s coverage: 94.1% of statements [2021-06-02T19:12:32.001Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.052s coverage: 96.3% of statements [2021-06-02T19:12:32.270Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.039s coverage: 87.5% of statements [2021-06-02T19:12:44.521Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.059s coverage: 94.4% of statements [2021-06-02T19:12:44.521Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements [2021-06-02T19:12:52.664Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.433s coverage: 81.8% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.087s coverage: 92.9% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.022s coverage: 65.1% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.046s coverage: 87.2% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.053s coverage: 76.0% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.050s coverage: 80.0% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.052s coverage: 85.4% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.076s coverage: 91.2% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.131s coverage: 64.4% of statements [2021-06-02T19:13:07.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.051s coverage: 100.0% of statements [2021-06-02T19:13:07.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.028s coverage: 91.3% of statements [2021-06-02T19:13:08.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2021-06-02T19:13:08.396Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements [2021-06-02T19:13:08.396Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.023s coverage: 100.0% of statements [2021-06-02T19:13:09.353Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.178s coverage: 66.9% of statements [2021-06-02T19:13:09.939Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.130s coverage: 43.5% of statements [2021-06-02T19:13:09.939Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.043s coverage: 89.5% of statements [2021-06-02T19:13:10.208Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.030s coverage: 84.8% of statements [2021-06-02T19:13:11.610Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.101s coverage: 46.8% of statements [2021-06-02T19:13:11.610Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.033s coverage: 100.0% of statements [2021-06-02T19:13:11.874Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.033s coverage: 100.0% of statements [2021-06-02T19:13:16.124Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.061s coverage: 18.8% of statements [2021-06-02T19:13:16.124Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.110s coverage: 91.9% of statements [2021-06-02T19:13:16.124Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.635s coverage: 28.7% of statements [2021-06-02T19:13:16.124Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.048s coverage: 99.0% of statements [2021-06-02T19:13:16.392Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.061s coverage: 100.0% of statements [2021-06-02T19:13:17.778Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.072s coverage: 63.4% of statements [2021-06-02T19:13:18.358Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.091s coverage: 97.6% of statements [2021-06-02T19:13:18.358Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.029s coverage: 0.0% of statements [2021-06-02T19:13:18.623Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.019s coverage: 100.0% of statements [2021-06-02T19:13:18.826Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-124 in /w/workspace/edgexfoundry_edgex-go_PR-3535 [Pipeline] { [2021-06-02T19:13:18.893Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.030s coverage: 87.9% of statements [Pipeline] ws [2021-06-02T19:13:19.145Z] Running in /w/workspace/edgex-go/1 [2021-06-02T19:13:19.166Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.025s coverage: 100.0% of statements [2021-06-02T19:13:19.166Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct.test] [2021-06-02T19:13:19.166Z] internal/system/agent/v2/application/direct/metrics.go:86: undefined: common.NewMultiMetricsResponse [Pipeline] { [Pipeline] checkout [2021-06-02T19:13:19.428Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.043s coverage: 28.1% of statements [2021-06-02T19:13:19.428Z] FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [build failed] [2021-06-02T19:13:19.586Z] The recommended git tool is: git [2021-06-02T19:13:20.000Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 100.0% of statements [2021-06-02T19:13:20.000Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-06-02T19:13:20.156Z] $ docker stop --time=1 32e1f8de8c16b439647701fe2d9476fcdec70a213e7d5fd1ee2ba98c8ff79962 [2021-06-02T19:13:25.261Z] using credential edgex-jenkins-ssh [2021-06-02T19:13:25.311Z] Cloning the remote Git repository [2021-06-02T19:13:25.373Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-06-02T19:13:25.469Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-06-02T19:13:25.531Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-06-02T19:13:25.532Z] > git --version # timeout=10 [2021-06-02T19:13:25.547Z] > git --version # 'git version 2.17.1' [2021-06-02T19:13:25.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T19:13:25.669Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T19:13:28.125Z] $ docker rm -f 32e1f8de8c16b439647701fe2d9476fcdec70a213e7d5fd1ee2ba98c8ff79962 [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-06-02T19:13:30.770Z] Failed in branch amd64 [2021-06-02T19:13:41.095Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-06-02T19:13:41.109Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T19:13:41.132Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-06-02T19:13:41.170Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-06-02T19:13:41.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T19:13:41.186Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3535/head:refs/remotes/origin/PR-3535 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T19:13:41.887Z] Merging remotes/origin/master commit 20e303863cad8cac4b912536f697b5bc4b7b8446 into PR head commit c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a [2021-06-02T19:13:42.305Z] Merge succeeded, producing c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a [2021-06-02T19:13:42.306Z] Checking out Revision c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a (PR-3535) [2021-06-02T19:13:41.897Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T19:13:41.909Z] > git checkout -f c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a # timeout=10 [2021-06-02T19:13:42.224Z] > git remote # timeout=10 [2021-06-02T19:13:42.240Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T19:13:42.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T19:13:42.263Z] > git merge 20e303863cad8cac4b912536f697b5bc4b7b8446 # timeout=10 [2021-06-02T19:13:42.286Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T19:13:42.305Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T19:13:42.314Z] > git checkout -f c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a # timeout=10 [2021-06-02T19:13:46.717Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-02T19:13:46.767Z] > git --version # timeout=10 [2021-06-02T19:13:46.775Z] > git --version # 'git version 2.17.1' [2021-06-02T19:13:46.786Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T19:13:48.227Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-02T19:13:48.658Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T19:13:49.028Z] + sudo service docker restart [2021-06-02T19:13:49.029Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T19:14:07.441Z] provisioning config files... [2021-06-02T19:14:07.472Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config9104576809053827782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:14:07.911Z] ---> docker-login.sh [2021-06-02T19:14:07.911Z] nexus3.edgexfoundry.org:10001 [2021-06-02T19:14:08.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:14:09.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:14:09.177Z] Configure a credential helper to remove this warning. See [2021-06-02T19:14:09.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:14:09.177Z] [2021-06-02T19:14:09.177Z] Login Succeeded [2021-06-02T19:14:09.177Z] nexus3.edgexfoundry.org:10002 [2021-06-02T19:14:09.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:14:09.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:14:09.729Z] Configure a credential helper to remove this warning. See [2021-06-02T19:14:09.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:14:09.729Z] [2021-06-02T19:14:09.729Z] Login Succeeded [2021-06-02T19:14:09.729Z] nexus3.edgexfoundry.org:10003 [2021-06-02T19:14:10.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:14:10.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:14:10.283Z] Configure a credential helper to remove this warning. See [2021-06-02T19:14:10.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:14:10.283Z] [2021-06-02T19:14:10.283Z] Login Succeeded [2021-06-02T19:14:10.283Z] nexus3.edgexfoundry.org:10004 [2021-06-02T19:14:10.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:14:10.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:14:10.831Z] Configure a credential helper to remove this warning. See [2021-06-02T19:14:10.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:14:10.831Z] [2021-06-02T19:14:10.831Z] Login Succeeded [2021-06-02T19:14:10.831Z] docker.io [2021-06-02T19:14:11.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T19:14:11.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T19:14:11.715Z] Configure a credential helper to remove this warning. See [2021-06-02T19:14:11.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T19:14:11.715Z] [2021-06-02T19:14:11.715Z] Login Succeeded [2021-06-02T19:14:11.715Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T19:14:11.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-02T19:14:12.366Z] ========================================================= [2021-06-02T19:14:12.366Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-02T19:14:12.366Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:14:12.848Z] + 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-06-02T19:14:15.489Z] Sending build context to Docker daemon 168.1MB [2021-06-02T19:14:15.489Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T19:14:15.490Z] Step 2/6 : FROM ${BASE} [2021-06-02T19:14:15.490Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-02T19:14:15.490Z] 595b0fe564bb: Pulling fs layer [2021-06-02T19:14:15.490Z] 7186ed65a4f7: Pulling fs layer [2021-06-02T19:14:15.490Z] 316046926c0a: Pulling fs layer [2021-06-02T19:14:15.490Z] 4ebd0625c992: Pulling fs layer [2021-06-02T19:14:15.490Z] 207e8628e3a3: Pulling fs layer [2021-06-02T19:14:15.490Z] c791037a9be2: Pulling fs layer [2021-06-02T19:14:15.490Z] ffd874e62e21: Pulling fs layer [2021-06-02T19:14:15.490Z] 207e8628e3a3: Waiting [2021-06-02T19:14:15.490Z] c791037a9be2: Waiting [2021-06-02T19:14:15.490Z] ffd874e62e21: Waiting [2021-06-02T19:14:15.490Z] 4ebd0625c992: Waiting [2021-06-02T19:14:15.767Z] 316046926c0a: Verifying Checksum [2021-06-02T19:14:15.767Z] 316046926c0a: Download complete [2021-06-02T19:14:15.767Z] 7186ed65a4f7: Verifying Checksum [2021-06-02T19:14:15.767Z] 7186ed65a4f7: Download complete [2021-06-02T19:14:15.767Z] 207e8628e3a3: Verifying Checksum [2021-06-02T19:14:15.767Z] 207e8628e3a3: Download complete [2021-06-02T19:14:15.767Z] c791037a9be2: Verifying Checksum [2021-06-02T19:14:15.767Z] c791037a9be2: Download complete [2021-06-02T19:14:15.767Z] 595b0fe564bb: Download complete [2021-06-02T19:14:16.371Z] 595b0fe564bb: Pull complete [2021-06-02T19:14:16.989Z] 7186ed65a4f7: Pull complete [2021-06-02T19:14:17.594Z] 316046926c0a: Pull complete [2021-06-02T19:14:17.869Z] ffd874e62e21: Verifying Checksum [2021-06-02T19:14:17.870Z] ffd874e62e21: Download complete [2021-06-02T19:14:19.844Z] 4ebd0625c992: Verifying Checksum [2021-06-02T19:14:19.844Z] 4ebd0625c992: Download complete [2021-06-02T19:14:30.012Z] 4ebd0625c992: Pull complete [2021-06-02T19:14:30.287Z] 207e8628e3a3: Pull complete [2021-06-02T19:14:30.571Z] c791037a9be2: Pull complete [2021-06-02T19:14:34.918Z] ffd874e62e21: Pull complete [2021-06-02T19:14:34.918Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-02T19:14:34.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-02T19:14:34.918Z] ---> cfc18b08335c [2021-06-02T19:14:34.918Z] 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-06-02T19:14:35.914Z] ---> Running in 9d0d9f5099bb [2021-06-02T19:14:37.359Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T19:14:37.959Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T19:14:38.935Z] (1/12) Installing libmagic (5.39-r0) [2021-06-02T19:14:39.529Z] (2/12) Installing file (5.39-r0) [2021-06-02T19:14:39.529Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-06-02T19:14:39.801Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-06-02T19:14:45.203Z] (5/12) Installing fortify-headers (1.1-r0) [2021-06-02T19:14:45.203Z] (6/12) Installing patch (2.7.6-r6) [2021-06-02T19:14:45.203Z] (7/12) Installing build-base (0.5-r2) [2021-06-02T19:14:45.203Z] (8/12) Installing libsodium (1.0.18-r0) [2021-06-02T19:14:45.203Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-06-02T19:14:45.203Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-06-02T19:14:45.474Z] (11/12) Installing libzmq (4.3.3-r1) [2021-06-02T19:14:45.474Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-06-02T19:14:45.748Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T19:14:45.748Z] OK: 218 MiB in 52 packages [2021-06-02T19:14:50.069Z] Removing intermediate container 9d0d9f5099bb [2021-06-02T19:14:50.069Z] ---> 42f604ac3c01 [2021-06-02T19:14:50.069Z] Step 4/6 : WORKDIR /edgex-go [2021-06-02T19:14:50.069Z] ---> Running in 8f7cd7cee4ba [2021-06-02T19:14:50.069Z] Removing intermediate container 8f7cd7cee4ba [2021-06-02T19:14:50.069Z] ---> 0ea72c3a4216 [2021-06-02T19:14:50.069Z] Step 5/6 : COPY go.mod . [2021-06-02T19:14:51.058Z] ---> 739cbf0ffefb [2021-06-02T19:14:51.059Z] Step 6/6 : RUN go mod download [2021-06-02T19:14:51.059Z] ---> Running in b02b219eb4bf [2021-06-02T19:15:17.878Z] Removing intermediate container b02b219eb4bf [2021-06-02T19:15:17.879Z] ---> 825d6803efc2 [2021-06-02T19:15:17.879Z] Successfully built 825d6803efc2 [2021-06-02T19:15:17.879Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:15:18.259Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T19:15:18.259Z] . [Pipeline] withDockerContainer [2021-06-02T19:15:18.562Z] prd-ubuntu18.04-docker-arm64-4c-16g-124 does not seem to be running inside a container [2021-06-02T19:15:18.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-02T19:15:20.316Z] $ docker top c0747ed7737268b69ead73cd05be4e32fb90b6b607c3f06ebdc177ecb7d7ed94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T19:15:21.292Z] + go version [2021-06-02T19:15:21.292Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-02T19:15:21.354Z] $ docker stop --time=1 c0747ed7737268b69ead73cd05be4e32fb90b6b607c3f06ebdc177ecb7d7ed94 [2021-06-02T19:15:23.268Z] $ docker rm -f c0747ed7737268b69ead73cd05be4e32fb90b6b607c3f06ebdc177ecb7d7ed94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:15:24.267Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T19:15:24.267Z] . [Pipeline] withDockerContainer [2021-06-02T19:15:24.506Z] prd-ubuntu18.04-docker-arm64-4c-16g-124 does not seem to be running inside a container [2021-06-02T19:15:24.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-02T19:15:25.920Z] $ docker top e4daba240e531851ce8b514759561afbe4abe2362477f6f8dbef44de668f58c2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-02T19:15:26.260Z] ========================================================= [2021-06-02T19:15:26.260Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-06-02T19:15:26.260Z] ========================================================= [Pipeline] sh [2021-06-02T19:15:26.922Z] + go mod tidy [Pipeline] sh [2021-06-02T19:15:28.631Z] + make test [2021-06-02T19:15:28.631Z] go mod tidy [2021-06-02T19:15:29.250Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-02T19:15:56.084Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-06-02T19:16:52.687Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-06-02T19:17:01.006Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-06-02T19:17:11.212Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-06-02T19:17:11.212Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-06-02T19:17:13.854Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-06-02T19:17:15.299Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-06-02T19:17:15.299Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-06-02T19:17:15.299Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-06-02T19:17:20.787Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-06-02T19:17:21.389Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-06-02T19:17:21.389Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [2021-06-02T19:17:21.389Z] internal/system/agent/v2/application/direct/metrics.go:86:8: undefined: common.NewMultiMetricsResponse [2021-06-02T19:17:21.389Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config [2021-06-02T19:17:21.389Z] internal/system/agent/v2/application/direct/config/get.go:74:8: undefined: common.NewMultiConfigsResponse [2021-06-02T19:17:21.389Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor [2021-06-02T19:17:21.389Z] internal/system/agent/v2/application/executor/metrics.go:67:9: undefined: common.NewMultiMetricsResponse [2021-06-02T19:17:36.501Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.410s coverage: 46.1% of statements [2021-06-02T19:17:36.501Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.265s coverage: 28.7% of statements [2021-06-02T19:17:36.501Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.255s coverage: 100.0% of statements [2021-06-02T19:17:43.242Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.717s coverage: 27.7% of statements [2021-06-02T19:17:43.242Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.212s coverage: 81.2% of statements [2021-06-02T19:17:43.242Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.231s coverage: 100.0% of statements [2021-06-02T19:17:43.242Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.224s coverage: 100.0% of statements [2021-06-02T19:17:45.247Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.341s coverage: 53.4% of statements [2021-06-02T19:17:47.241Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.443s coverage: 87.7% of statements [2021-06-02T19:17:47.241Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.215s coverage: 78.9% of statements [2021-06-02T19:17:57.420Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.239s coverage: 28.6% of statements [2021-06-02T19:17:57.420Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.296s coverage: 100.0% of statements [2021-06-02T19:17:57.420Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.182s coverage: 100.0% of statements [2021-06-02T19:17:57.420Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.492s coverage: 86.7% of statements [2021-06-02T19:17:57.420Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.549s coverage: 97.5% of statements [2021-06-02T19:17:57.420Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.268s coverage: 78.3% of statements [2021-06-02T19:18:04.168Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.374s coverage: 95.1% of statements [2021-06-02T19:18:04.168Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.148s coverage: 58.8% of statements [2021-06-02T19:18:04.169Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http 0.210s coverage: 60.0% of statements [2021-06-02T19:18:04.169Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.388s coverage: 0.8% of statements [2021-06-02T19:18:04.169Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.224s coverage: 21.7% of statements [2021-06-02T19:18:04.169Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.349s coverage: 47.1% of statements [2021-06-02T19:18:04.169Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.218s coverage: 79.5% of statements [2021-06-02T19:18:04.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.177s coverage: 94.1% of statements [2021-06-02T19:18:05.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.215s coverage: 96.3% of statements [2021-06-02T19:18:06.376Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.162s coverage: 87.5% of statements [2021-06-02T19:18:18.806Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.181s coverage: 94.4% of statements [2021-06-02T19:18:18.806Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.166s coverage: 44.8% of statements [2021-06-02T19:18:24.224Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.633s coverage: 81.8% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.307s coverage: 92.9% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.058s coverage: 65.1% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.081s coverage: 87.2% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.154s coverage: 100.0% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.186s coverage: 76.0% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.200s coverage: 80.0% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.237s coverage: 87.2% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.265s coverage: 85.4% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.314s coverage: 91.2% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.609s coverage: 64.4% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.160s coverage: 100.0% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.080s coverage: 91.3% of statements [2021-06-02T19:18:32.562Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.045s coverage: 100.0% of statements [2021-06-02T19:18:33.169Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.092s coverage: 73.7% of statements [2021-06-02T19:18:33.169Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.078s coverage: 100.0% of statements [2021-06-02T19:18:37.502Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.910s coverage: 66.9% of statements [2021-06-02T19:18:38.113Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.736s coverage: 43.5% of statements [2021-06-02T19:18:38.113Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.102s coverage: 89.5% of statements [2021-06-02T19:18:38.113Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.126s coverage: 84.8% of statements [2021-06-02T19:18:44.859Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.456s coverage: 46.8% of statements [2021-06-02T19:18:44.859Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.133s coverage: 100.0% of statements [2021-06-02T19:18:44.859Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.097s coverage: 100.0% of statements [2021-06-02T19:18:46.301Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.277s coverage: 18.8% of statements [2021-06-02T19:18:46.301Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.519s coverage: 91.9% of statements [2021-06-02T19:18:53.028Z] # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct.test] [2021-06-02T19:18:53.028Z] internal/system/agent/v2/application/direct/metrics.go:86: undefined: common.NewMultiMetricsResponse [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.600s coverage: 28.7% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.204s coverage: 99.0% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.193s coverage: 100.0% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.218s coverage: 63.4% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.386s coverage: 97.6% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.126s coverage: 100.0% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.093s coverage: 87.9% of statements [2021-06-02T19:18:54.009Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.049s coverage: 100.0% of statements [2021-06-02T19:18:54.606Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.157s coverage: 28.1% of statements [2021-06-02T19:18:54.606Z] FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [build failed] [2021-06-02T19:18:55.594Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-06-02T19:18:56.587Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-06-02T19:18:56.662Z] $ docker stop --time=1 e4daba240e531851ce8b514759561afbe4abe2362477f6f8dbef44de668f58c2 [2021-06-02T19:18:58.818Z] $ docker rm -f e4daba240e531851ce8b514759561afbe4abe2362477f6f8dbef44de668f58c2 [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-06-02T19:19:01.221Z] ---> job-cost.sh [2021-06-02T19:19:01.221Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JmmW [2021-06-02T19:19:40.187Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T19:21:02.001Z] lf-activate-venv(): INFO: Adding /tmp/venv-JmmW/bin to PATH [2021-06-02T19:21:02.001Z] INFO: No Stack... [2021-06-02T19:21:04.601Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-02T19:21:04.601Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T19:21:04.962Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-06-02T19:21:04.962Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T19:21:05.052Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3535-1-stack-cost] [2021-06-02T19:21:05.060Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3535-1-stack-cost] did not exist. Created. [2021-06-02T19:21:05.060Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T19:21:05.501Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-02T19:21:06.255Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T19:21:06.294Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3535-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T19:21:06.927Z] 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-06-02T19:21:09.309Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:21:09.914Z] ---> package-listing.sh [2021-06-02T19:21:09.914Z] ++ facter osfamily [2021-06-02T19:21:09.914Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T19:21:10.176Z] + OS_FAMILY=redhat [2021-06-02T19:21:10.176Z] + workspace=/w/workspace/edgex-go/1 [2021-06-02T19:21:10.176Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T19:21:10.176Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T19:21:10.176Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T19:21:10.176Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T19:21:10.176Z] + '[' /w/workspace/edgex-go/1 ']' [2021-06-02T19:21:10.176Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T19:21:10.176Z] + case "${OS_FAMILY}" in [2021-06-02T19:21:10.176Z] + sort [2021-06-02T19:21:10.176Z] + rpm -qa [2021-06-02T19:21:10.755Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T19:21:10.755Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T19:21:10.755Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T19:21:10.755Z] + '[' /w/workspace/edgex-go/1 ']' [2021-06-02T19:21:10.755Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-06-02T19:21:10.755Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-06-02T19:21:10.787Z] 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-06-02T19:21:11.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:21:11.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T19:21:11.746Z] [2021-06-02T19:21:11.746Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T19:21:12.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T19:21:12.102Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T19:21:12.102Z] df20fa9351a1: Pulling fs layer [2021-06-02T19:21:12.102Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T19:21:12.102Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T19:21:12.102Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T19:21:12.102Z] 93b61091891f: Pulling fs layer [2021-06-02T19:21:12.102Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T19:21:12.102Z] 5e14af77c1be: Pulling fs layer [2021-06-02T19:21:12.102Z] 01666e4c0597: Pulling fs layer [2021-06-02T19:21:12.102Z] aa168da1d23b: Pulling fs layer [2021-06-02T19:21:12.102Z] 46f8f816bc3b: Waiting [2021-06-02T19:21:12.102Z] 93b61091891f: Waiting [2021-06-02T19:21:12.102Z] 93b9cdb0e59b: Waiting [2021-06-02T19:21:12.102Z] 5e14af77c1be: Waiting [2021-06-02T19:21:12.102Z] 01666e4c0597: Waiting [2021-06-02T19:21:12.102Z] aa168da1d23b: Waiting [2021-06-02T19:21:12.369Z] df20fa9351a1: Verifying Checksum [2021-06-02T19:21:12.369Z] df20fa9351a1: Download complete [2021-06-02T19:21:12.369Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T19:21:12.369Z] 46f8f816bc3b: Download complete [2021-06-02T19:21:12.369Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T19:21:12.369Z] 36b3adc4ff6f: Download complete [2021-06-02T19:21:12.369Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T19:21:12.369Z] 93b9cdb0e59b: Download complete [2021-06-02T19:21:12.369Z] 93b61091891f: Verifying Checksum [2021-06-02T19:21:12.369Z] 93b61091891f: Download complete [2021-06-02T19:21:12.369Z] 01666e4c0597: Verifying Checksum [2021-06-02T19:21:12.369Z] 01666e4c0597: Download complete [2021-06-02T19:21:12.369Z] 5e14af77c1be: Verifying Checksum [2021-06-02T19:21:12.369Z] 5e14af77c1be: Download complete [2021-06-02T19:21:12.369Z] df20fa9351a1: Pull complete [2021-06-02T19:21:12.632Z] 36b3adc4ff6f: Pull complete [2021-06-02T19:21:12.893Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T19:21:12.893Z] 8ad3a11d3b57: Download complete [2021-06-02T19:21:13.501Z] 8ad3a11d3b57: Pull complete [2021-06-02T19:21:13.501Z] 46f8f816bc3b: Pull complete [2021-06-02T19:21:13.763Z] 93b61091891f: Pull complete [2021-06-02T19:21:13.763Z] 93b9cdb0e59b: Pull complete [2021-06-02T19:21:13.763Z] 5e14af77c1be: Pull complete [2021-06-02T19:21:14.024Z] 01666e4c0597: Pull complete [2021-06-02T19:21:14.971Z] aa168da1d23b: Verifying Checksum [2021-06-02T19:21:14.971Z] aa168da1d23b: Download complete [2021-06-02T19:21:19.202Z] aa168da1d23b: Pull complete [2021-06-02T19:21:19.202Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T19:21:19.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T19:21:19.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T19:21:19.315Z] prd-centos7-docker-4c-2g-122 does not seem to be running inside a container [2021-06-02T19:21:19.358Z] $ 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-06-02T19:21:21.624Z] $ docker top b38717d7b660227a53e6ec77fa0b0da10e2479fff1f3feca48ca6d2a75aca9f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T19:21:22.060Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T19:21:22.379Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T19:21:22.699Z] + ls /var/log/sa-host [2021-06-02T19:21:22.699Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T19:21:22.699Z] file_magic: OK [2021-06-02T19:21:22.699Z] HZ: Using current value: 100 [2021-06-02T19:21:22.699Z] file_header: OK [2021-06-02T19:21:22.699Z] 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-06-02T19:21:22.699Z] Statistics: [2021-06-02T19:21:22.699Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T19:21:22.699Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T19:21:22.699Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T19:21:22.699Z] file_magic: OK [2021-06-02T19:21:22.699Z] HZ: Using current value: 100 [2021-06-02T19:21:22.699Z] file_header: OK [2021-06-02T19:21:22.699Z] 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-06-02T19:21:22.699Z] Statistics: [2021-06-02T19:21:22.699Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T19:21:22.699Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T19:21:23.353Z] provisioning config files... [2021-06-02T19:21:23.368Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config729353864607771219tmp [Pipeline] { [Pipeline] echo [2021-06-02T19:21:23.439Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:21:23.818Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T19:21:23.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T19:21:23.913Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:21:24.240Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T19:21:24.270Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:21:24.608Z] ---> sudo-logs.sh [2021-06-02T19:21:24.609Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T19:21:24.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:21:25.045Z] ---> job-cost.sh [2021-06-02T19:21:25.045Z] lf-activate-venv: SKIPPING [2021-06-02T19:21:25.045Z] DEBUG: total: 0.18000000715255737 [2021-06-02T19:21:25.045Z] INFO: Retrieving Stack Cost... [2021-06-02T19:21:25.991Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T19:21:26.568Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T19:21:26.611Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T19:21:26.957Z] ---> logs-deploy.sh [2021-06-02T19:21:26.957Z] lf-activate-venv: SKIPPING [2021-06-02T19:21:26.957Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3535/1 [2021-06-02T19:21:26.957Z] INFO: archiving workspace using pattern(s): [2021-06-02T19:21:27.906Z] Archives upload complete. [2021-06-02T19:21:27.906Z] INFO: archiving logs to Nexus