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 19:09:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:09:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:09:04 ========================================================= 19:09:04 EdgeX Global Pipelines Version Info 19:09:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:09:05 ------------------- 19:09:05 stable info: 19:09:05 ------------------- 19:09:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:09:05 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 19:09:05 Message: update stable to v1.0.193 19:09:06 ------------------- 19:09:06 experimental info: 19:09:06 ------------------- 19:09:06 Commited By: **** collab-it+edgex@linuxfoundation.org 19:09:06 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 19:09:06 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:09:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:09:06 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:09:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:09:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:09:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 19:09:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:09:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3535 [Pipeline] echo 19:09:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3535 [Pipeline] echo 19:09:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3535 [Pipeline] echo 19:09:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a [Pipeline] echo 19:09:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c07e6db [Pipeline] echo 19:09:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:09:08 provisioning config files... 19:09:08 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6373099826258997458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:08 ---> docker-login.sh 19:09:08 nexus3.edgexfoundry.org:10001 19:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:09 Configure a credential helper to remove this warning. See 19:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:09 19:09:09 Login Succeeded 19:09:09 nexus3.edgexfoundry.org:10002 19:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 nexus3.edgexfoundry.org:10003 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 nexus3.edgexfoundry.org:10004 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 docker.io 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 ---> docker-login.sh ends [Pipeline] } 19:09:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:11 ++ 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 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/core-command/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo core-command,cmd/core-command/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/core-data/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo core-data,cmd/core-data/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/core-metadata/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo core-metadata,cmd/core-metadata/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/security-bootstrapper/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/security-proxy-setup/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/security-secretstore-setup/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/support-notifications/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo support-notifications,cmd/support-notifications/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/support-scheduler/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo support-scheduler,cmd/support-scheduler/Dockerfile 19:09:11 + for file in '`ls cmd/**/Dockerfile`' 19:09:11 ++ dirname cmd/sys-mgmt-agent/Dockerfile 19:09:11 ++ cut -d/ -f2 19:09:11 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 19:09:11 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 19:09:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:09:12 19:09:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:09:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:09:12 latest: Pulling from edgex-devops/git-semver 19:09:12 31603596830f: Pulling fs layer 19:09:12 54011a49482f: Pulling fs layer 19:09:12 a6820b24f6d8: Pulling fs layer 19:09:12 f581987b2513: Pulling fs layer 19:09:12 f581987b2513: Waiting 19:09:12 54011a49482f: Verifying Checksum 19:09:12 54011a49482f: Download complete 19:09:12 31603596830f: Verifying Checksum 19:09:12 31603596830f: Download complete 19:09:12 f581987b2513: Verifying Checksum 19:09:12 f581987b2513: Download complete 19:09:12 a6820b24f6d8: Verifying Checksum 19:09:12 a6820b24f6d8: Download complete 19:09:12 31603596830f: Pull complete 19:09:13 54011a49482f: Pull complete 19:09:13 a6820b24f6d8: Pull complete 19:09:14 f581987b2513: Pull complete 19:09:14 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 19:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:09:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:09:14 prd-centos7-docker-4c-2g-122 does not seem to be running inside a container 19:09:14 $ 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 19:09:15 $ docker top e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:15 [ssh-agent] Looking for ssh-agent implementation... 19:09:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:16 $ docker exec e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent 19:09:16 SSH_AUTH_SOCK=/tmp/ssh-j7CFAdfO4SGl/agent.14 19:09:16 SSH_AGENT_PID=20 19:09:16 Running ssh-add (command line suppressed) 19:09:16 Identity added: /w/workspace/edgex-go/1@tmp/private_key_1406372059567039268.key (/w/workspace/edgex-go/1@tmp/private_key_1406372059567039268.key) 19:09:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:16 + git tag --points-at HEAD [Pipeline] } 19:09:16 $ docker exec --env ******** --env ******** e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent -k 19:09:16 unset SSH_AUTH_SOCK; 19:09:16 unset SSH_AGENT_PID; 19:09:16 echo Agent pid 20 killed; 19:09:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:09:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:16 [ssh-agent] Looking for ssh-agent implementation... 19:09:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:17 $ docker exec e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent 19:09:17 SSH_AUTH_SOCK=/tmp/ssh-D3AHUgS8ASuQ/agent.53 19:09:17 SSH_AGENT_PID=59 19:09:17 Running ssh-add (command line suppressed) 19:09:17 Identity added: /w/workspace/edgex-go/1@tmp/private_key_7583797168390126213.key (/w/workspace/edgex-go/1@tmp/private_key_7583797168390126213.key) 19:09:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:17 + git semver init 19:09:17 # -> Open(): unable to determine branch for HEAD 19:09:17 # $GIT_DIR = /w/workspace/edgex-go/1/.git 19:09:17 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 19:09:17 # $SEMVER_REMOTE_NAME = origin 19:09:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:09:17 # $SEMVER_USER_NAME = edgex-jenkins 19:09:17 # $SEMVER_BRANCH = PR-3535 19:09:17 # $SEMVER_TEMP = /tmp/semver-961282658 19:09:17 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 19:09:32 # '/tmp/semver-961282658' -> '/w/workspace/edgex-go/1/.semver' 19:09:32 # -> Force: false 19:09:32 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 19:09:32 $ docker exec --env ******** --env ******** e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 ssh-agent -k 19:09:32 unset SSH_AUTH_SOCK; 19:09:32 unset SSH_AGENT_PID; 19:09:32 echo Agent pid 59 killed; 19:09:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:33 + git semver [Pipeline] } 19:09:33 $ docker stop --time=1 e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 19:09:36 $ docker rm -f e32996fe035dabf2195846cabffd4f860c20c399ac7a31abb91f9492e3a01160 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:09:37 Stashed 1 file(s) [Pipeline] echo 19:09:37 [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 19:09:38 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:09:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:09:38 + true 19:09:38 + sudo service docker restart 19:09:38 Redirecting to /bin/systemctl restart docker.service 19:09:52 Still waiting to schedule task 19:09:52 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-120’ [Pipeline] echo 19:09:56 ========================================================= 19:09:56 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:09:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:09:57 + 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 . 19:09:58 Sending build context to Docker daemon 331MB 19:09:58 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 19:09:58 Step 2/6 : FROM ${BASE} 19:09:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:09:58 540db60ca938: Pulling fs layer 19:09:58 adcc1eea9eea: Pulling fs layer 19:09:58 4c4ab2625f07: Pulling fs layer 19:09:58 0510c868ecb4: Pulling fs layer 19:09:58 afea3b2eda06: Pulling fs layer 19:09:58 7809a108b3ef: Pulling fs layer 19:09:58 f706445af74f: Pulling fs layer 19:09:58 afea3b2eda06: Waiting 19:09:58 7809a108b3ef: Waiting 19:09:58 f706445af74f: Waiting 19:09:58 0510c868ecb4: Waiting 19:09:58 4c4ab2625f07: Verifying Checksum 19:09:58 4c4ab2625f07: Download complete 19:09:58 adcc1eea9eea: Verifying Checksum 19:09:58 adcc1eea9eea: Download complete 19:09:58 afea3b2eda06: Verifying Checksum 19:09:58 afea3b2eda06: Download complete 19:09:58 7809a108b3ef: Verifying Checksum 19:09:58 7809a108b3ef: Download complete 19:09:58 540db60ca938: Verifying Checksum 19:09:58 540db60ca938: Download complete 19:09:59 540db60ca938: Pull complete 19:09:59 adcc1eea9eea: Pull complete 19:09:59 4c4ab2625f07: Pull complete 19:10:00 f706445af74f: Verifying Checksum 19:10:00 f706445af74f: Download complete 19:10:01 0510c868ecb4: Verifying Checksum 19:10:01 0510c868ecb4: Download complete 19:10:05 0510c868ecb4: Pull complete 19:10:05 afea3b2eda06: Pull complete 19:10:05 7809a108b3ef: Pull complete 19:10:06 f706445af74f: Pull complete 19:10:06 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 19:10:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:10:06 ---> b068be0155e3 19:10:06 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 19:10:13 ---> Running in 3d634e886d1b 19:10:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:10:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:10:14 (1/12) Installing libmagic (5.39-r0) 19:10:15 (2/12) Installing file (5.39-r0) 19:10:15 (3/12) Installing libc-dev (0.7.2-r3) 19:10:15 (4/12) Installing g++ (10.2.1_pre1-r3) 19:10:37 (5/12) Installing fortify-headers (1.1-r0) 19:10:37 (6/12) Installing patch (2.7.6-r6) 19:10:37 (7/12) Installing build-base (0.5-r2) 19:10:37 (8/12) Installing libsodium (1.0.18-r0) 19:10:37 (9/12) Installing pkgconf (1.7.3-r0) 19:10:37 (10/12) Installing libsodium-dev (1.0.18-r0) 19:10:37 (11/12) Installing libzmq (4.3.3-r1) 19:10:37 (12/12) Installing zeromq-dev (4.3.3-r1) 19:10:37 Executing busybox-1.32.1-r6.trigger 19:10:37 OK: 219 MiB in 52 packages 19:10:37 Removing intermediate container 3d634e886d1b 19:10:37 ---> 7f88e915da38 19:10:37 Step 4/6 : WORKDIR /edgex-go 19:10:37 ---> Running in b06716f2cdfc 19:10:37 Removing intermediate container b06716f2cdfc 19:10:37 ---> a5468bb9ac6d 19:10:37 Step 5/6 : COPY go.mod . 19:10:37 ---> 45565fac7797 19:10:37 Step 6/6 : RUN go mod download 19:10:37 ---> Running in e14bf1c68b6f 19:11:24 Removing intermediate container e14bf1c68b6f 19:11:24 ---> 0ece65e23384 19:11:24 Successfully built 0ece65e23384 19:11:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:11:24 + docker inspect -f . ci-base-image-x86_64 19:11:24 . [Pipeline] withDockerContainer 19:11:25 prd-centos7-docker-4c-2g-122 does not seem to be running inside a container 19:11:25 $ 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 19:11:26 $ docker top 913764b0ccda5344828ff6087eb30d72cdd4f55825068b0a542982cb3e410be1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:27 + go version 19:11:27 go version go1.16.3 linux/amd64 [Pipeline] } 19:11:27 $ docker stop --time=1 913764b0ccda5344828ff6087eb30d72cdd4f55825068b0a542982cb3e410be1 19:11:28 $ docker rm -f 913764b0ccda5344828ff6087eb30d72cdd4f55825068b0a542982cb3e410be1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:11:29 + docker inspect -f . ci-base-image-x86_64 19:11:29 . [Pipeline] withDockerContainer 19:11:29 prd-centos7-docker-4c-2g-122 does not seem to be running inside a container 19:11:29 $ 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 19:11:29 $ docker top 32e1f8de8c16b439647701fe2d9476fcdec70a213e7d5fd1ee2ba98c8ff79962 -eo pid,comm [Pipeline] { [Pipeline] echo 19:11:30 ========================================================= 19:11:30 [edgeXBuildGoParallel] Running Tests and Build... 19:11:30 ========================================================= [Pipeline] sh 19:11:30 + go mod tidy [Pipeline] sh 19:11:31 + make test 19:11:31 go mod tidy 19:11:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:11:37 ? github.com/edgexfoundry/edgex-go [no test files] 19:12:00 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 19:12:05 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 19:12:07 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 19:12:07 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:12:09 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:12:10 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:12:10 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 19:12:10 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:12:11 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 19:12:12 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 19:12:13 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 19:12:13 internal/system/agent/v2/application/direct/metrics.go:86:8: undefined: common.NewMultiMetricsResponse 19:12:13 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config 19:12:13 internal/system/agent/v2/application/direct/config/get.go:74:8: undefined: common.NewMultiConfigsResponse 19:12:13 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor 19:12:13 internal/system/agent/v2/application/executor/metrics.go:67:9: undefined: common.NewMultiMetricsResponse 19:12:16 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.067s coverage: 46.1% of statements 19:12:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.049s coverage: 28.7% of statements 19:12:18 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.081s coverage: 100.0% of statements 19:12:21 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.137s coverage: 27.7% of statements 19:12:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.049s coverage: 81.2% of statements 19:12:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.046s coverage: 100.0% of statements 19:12:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.045s coverage: 100.0% of statements 19:12:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.072s coverage: 53.4% of statements 19:12:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.120s coverage: 87.7% of statements 19:12:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.050s coverage: 78.9% of statements 19:12:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.206s coverage: 28.6% of statements 19:12:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.052s coverage: 100.0% of statements 19:12:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.055s coverage: 100.0% of statements 19:12:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.091s coverage: 86.7% of statements 19:12:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.086s coverage: 97.5% of statements 19:12:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.045s coverage: 78.3% of statements 19:12:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.232s coverage: 95.1% of statements 19:12:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.050s coverage: 58.8% of statements 19:12:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http 0.054s coverage: 60.0% of statements 19:12:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.045s coverage: 0.8% of statements 19:12:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.044s coverage: 21.7% of statements 19:12:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.046s coverage: 47.1% of statements 19:12:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.059s coverage: 79.5% of statements 19:12:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.043s coverage: 94.1% of statements 19:12:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.052s coverage: 96.3% of statements 19:12:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.039s coverage: 87.5% of statements 19:12:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.059s coverage: 94.4% of statements 19:12:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements 19:12:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.433s coverage: 81.8% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.087s coverage: 92.9% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.022s coverage: 65.1% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.046s coverage: 87.2% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.053s coverage: 76.0% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.050s coverage: 80.0% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.052s coverage: 85.4% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.076s coverage: 91.2% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.131s coverage: 64.4% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.051s coverage: 100.0% of statements 19:13:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.028s coverage: 91.3% of statements 19:13:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 19:13:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements 19:13:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.023s coverage: 100.0% of statements 19:13:09 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.178s coverage: 66.9% of statements 19:13:09 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.130s coverage: 43.5% of statements 19:13:09 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.043s coverage: 89.5% of statements 19:13:10 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.030s coverage: 84.8% of statements 19:13:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.101s coverage: 46.8% of statements 19:13:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.033s coverage: 100.0% of statements 19:13:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.033s coverage: 100.0% of statements 19:13:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.061s coverage: 18.8% of statements 19:13:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.110s coverage: 91.9% of statements 19:13:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.635s coverage: 28.7% of statements 19:13:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.048s coverage: 99.0% of statements 19:13:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.061s coverage: 100.0% of statements 19:13:17 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.072s coverage: 63.4% of statements 19:13:18 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.091s coverage: 97.6% of statements 19:13:18 ok github.com/edgexfoundry/edgex-go/internal/system 0.029s coverage: 0.0% of statements 19:13:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.019s coverage: 100.0% of statements 19:13:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-124 in /w/workspace/edgexfoundry_edgex-go_PR-3535 [Pipeline] { 19:13:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.030s coverage: 87.9% of statements [Pipeline] ws 19:13:19 Running in /w/workspace/edgex-go/1 19:13:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.025s coverage: 100.0% of statements 19:13:19 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct.test] 19:13:19 internal/system/agent/v2/application/direct/metrics.go:86: undefined: common.NewMultiMetricsResponse [Pipeline] { [Pipeline] checkout 19:13:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.043s coverage: 28.1% of statements 19:13:19 FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [build failed] 19:13:19 The recommended git tool is: git 19:13:20 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 100.0% of statements 19:13:20 make: *** [Makefile:98: test] Error 2 [Pipeline] } 19:13:20 $ docker stop --time=1 32e1f8de8c16b439647701fe2d9476fcdec70a213e7d5fd1ee2ba98c8ff79962 19:13:25 using credential edgex-jenkins-ssh 19:13:25 Cloning the remote Git repository 19:13:25 Cloning repository git@github.com:edgexfoundry/edgex-go.git 19:13:25 > git init /w/workspace/edgex-go/1 # timeout=10 19:13:25 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:13:25 > git --version # timeout=10 19:13:25 > git --version # 'git version 2.17.1' 19:13:25 using GIT_SSH to set credentials SSH Credentials for GitHub 19:13:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:13:28 $ 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] } 19:13:30 Failed in branch amd64 19:13:41 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:13:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:13:41 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:13:41 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:13:41 using GIT_SSH to set credentials SSH Credentials for GitHub 19:13:41 > 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 19:13:41 Merging remotes/origin/master commit 20e303863cad8cac4b912536f697b5bc4b7b8446 into PR head commit c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a 19:13:42 Merge succeeded, producing c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a 19:13:42 Checking out Revision c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a (PR-3535) 19:13:41 > git config core.sparsecheckout # timeout=10 19:13:41 > git checkout -f c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a # timeout=10 19:13:42 > git remote # timeout=10 19:13:42 > git config --get remote.origin.url # timeout=10 19:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 19:13:42 > git merge 20e303863cad8cac4b912536f697b5bc4b7b8446 # timeout=10 19:13:42 > git rev-parse HEAD^{commit} # timeout=10 19:13:42 > git config core.sparsecheckout # timeout=10 19:13:42 > git checkout -f c07e6dbc3f3a0ef70bdbe47d369e87eedd0b643a # timeout=10 19:13:46 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 19:13:46 > git --version # timeout=10 19:13:46 > git --version # 'git version 2.17.1' 19:13:46 fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:13:48 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:13:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:13:49 + sudo service docker restart 19:13:49 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:07 provisioning config files... 19:14:07 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config9104576809053827782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:14:07 ---> docker-login.sh 19:14:07 nexus3.edgexfoundry.org:10001 19:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:09 Configure a credential helper to remove this warning. See 19:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:09 19:14:09 Login Succeeded 19:14:09 nexus3.edgexfoundry.org:10002 19:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:09 Configure a credential helper to remove this warning. See 19:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:09 19:14:09 Login Succeeded 19:14:09 nexus3.edgexfoundry.org:10003 19:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:10 Configure a credential helper to remove this warning. See 19:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:10 19:14:10 Login Succeeded 19:14:10 nexus3.edgexfoundry.org:10004 19:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:10 Configure a credential helper to remove this warning. See 19:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:10 19:14:10 Login Succeeded 19:14:10 docker.io 19:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:11 Configure a credential helper to remove this warning. See 19:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:11 19:14:11 Login Succeeded 19:14:11 ---> docker-login.sh ends [Pipeline] } 19:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:14:12 ========================================================= 19:14:12 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:14:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:14:12 + 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 . 19:14:15 Sending build context to Docker daemon 168.1MB 19:14:15 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 19:14:15 Step 2/6 : FROM ${BASE} 19:14:15 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:14:15 595b0fe564bb: Pulling fs layer 19:14:15 7186ed65a4f7: Pulling fs layer 19:14:15 316046926c0a: Pulling fs layer 19:14:15 4ebd0625c992: Pulling fs layer 19:14:15 207e8628e3a3: Pulling fs layer 19:14:15 c791037a9be2: Pulling fs layer 19:14:15 ffd874e62e21: Pulling fs layer 19:14:15 207e8628e3a3: Waiting 19:14:15 c791037a9be2: Waiting 19:14:15 ffd874e62e21: Waiting 19:14:15 4ebd0625c992: Waiting 19:14:15 316046926c0a: Verifying Checksum 19:14:15 316046926c0a: Download complete 19:14:15 7186ed65a4f7: Verifying Checksum 19:14:15 7186ed65a4f7: Download complete 19:14:15 207e8628e3a3: Verifying Checksum 19:14:15 207e8628e3a3: Download complete 19:14:15 c791037a9be2: Verifying Checksum 19:14:15 c791037a9be2: Download complete 19:14:15 595b0fe564bb: Download complete 19:14:16 595b0fe564bb: Pull complete 19:14:16 7186ed65a4f7: Pull complete 19:14:17 316046926c0a: Pull complete 19:14:17 ffd874e62e21: Verifying Checksum 19:14:17 ffd874e62e21: Download complete 19:14:19 4ebd0625c992: Verifying Checksum 19:14:19 4ebd0625c992: Download complete 19:14:30 4ebd0625c992: Pull complete 19:14:30 207e8628e3a3: Pull complete 19:14:30 c791037a9be2: Pull complete 19:14:34 ffd874e62e21: Pull complete 19:14:34 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 19:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:14:34 ---> cfc18b08335c 19:14:34 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 19:14:35 ---> Running in 9d0d9f5099bb 19:14:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:14:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:14:38 (1/12) Installing libmagic (5.39-r0) 19:14:39 (2/12) Installing file (5.39-r0) 19:14:39 (3/12) Installing libc-dev (0.7.2-r3) 19:14:39 (4/12) Installing g++ (10.2.1_pre1-r3) 19:14:45 (5/12) Installing fortify-headers (1.1-r0) 19:14:45 (6/12) Installing patch (2.7.6-r6) 19:14:45 (7/12) Installing build-base (0.5-r2) 19:14:45 (8/12) Installing libsodium (1.0.18-r0) 19:14:45 (9/12) Installing pkgconf (1.7.3-r0) 19:14:45 (10/12) Installing libsodium-dev (1.0.18-r0) 19:14:45 (11/12) Installing libzmq (4.3.3-r1) 19:14:45 (12/12) Installing zeromq-dev (4.3.3-r1) 19:14:45 Executing busybox-1.32.1-r6.trigger 19:14:45 OK: 218 MiB in 52 packages 19:14:50 Removing intermediate container 9d0d9f5099bb 19:14:50 ---> 42f604ac3c01 19:14:50 Step 4/6 : WORKDIR /edgex-go 19:14:50 ---> Running in 8f7cd7cee4ba 19:14:50 Removing intermediate container 8f7cd7cee4ba 19:14:50 ---> 0ea72c3a4216 19:14:50 Step 5/6 : COPY go.mod . 19:14:51 ---> 739cbf0ffefb 19:14:51 Step 6/6 : RUN go mod download 19:14:51 ---> Running in b02b219eb4bf 19:15:17 Removing intermediate container b02b219eb4bf 19:15:17 ---> 825d6803efc2 19:15:17 Successfully built 825d6803efc2 19:15:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:15:18 + docker inspect -f . ci-base-image-arm64 19:15:18 . [Pipeline] withDockerContainer 19:15:18 prd-ubuntu18.04-docker-arm64-4c-16g-124 does not seem to be running inside a container 19:15:18 $ 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 19:15:20 $ docker top c0747ed7737268b69ead73cd05be4e32fb90b6b607c3f06ebdc177ecb7d7ed94 -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:21 + go version 19:15:21 go version go1.16.3 linux/arm64 [Pipeline] } 19:15:21 $ docker stop --time=1 c0747ed7737268b69ead73cd05be4e32fb90b6b607c3f06ebdc177ecb7d7ed94 19:15:23 $ docker rm -f c0747ed7737268b69ead73cd05be4e32fb90b6b607c3f06ebdc177ecb7d7ed94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:15:24 + docker inspect -f . ci-base-image-arm64 19:15:24 . [Pipeline] withDockerContainer 19:15:24 prd-ubuntu18.04-docker-arm64-4c-16g-124 does not seem to be running inside a container 19:15:24 $ 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 19:15:25 $ docker top e4daba240e531851ce8b514759561afbe4abe2362477f6f8dbef44de668f58c2 -eo pid,comm [Pipeline] { [Pipeline] echo 19:15:26 ========================================================= 19:15:26 [edgeXBuildGoParallel] Running Tests and Build... 19:15:26 ========================================================= [Pipeline] sh 19:15:26 + go mod tidy [Pipeline] sh 19:15:28 + make test 19:15:28 go mod tidy 19:15:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:15:56 ? github.com/edgexfoundry/edgex-go [no test files] 19:16:52 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 19:17:01 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 19:17:11 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 19:17:11 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:17:13 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:17:15 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:17:15 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 19:17:15 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:17:20 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 19:17:21 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 19:17:21 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 19:17:21 internal/system/agent/v2/application/direct/metrics.go:86:8: undefined: common.NewMultiMetricsResponse 19:17:21 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config 19:17:21 internal/system/agent/v2/application/direct/config/get.go:74:8: undefined: common.NewMultiConfigsResponse 19:17:21 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor 19:17:21 internal/system/agent/v2/application/executor/metrics.go:67:9: undefined: common.NewMultiMetricsResponse 19:17:36 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.410s coverage: 46.1% of statements 19:17:36 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.265s coverage: 28.7% of statements 19:17:36 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.255s coverage: 100.0% of statements 19:17:43 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.717s coverage: 27.7% of statements 19:17:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.212s coverage: 81.2% of statements 19:17:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.231s coverage: 100.0% of statements 19:17:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.224s coverage: 100.0% of statements 19:17:45 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.341s coverage: 53.4% of statements 19:17:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.443s coverage: 87.7% of statements 19:17:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.215s coverage: 78.9% of statements 19:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.239s coverage: 28.6% of statements 19:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.296s coverage: 100.0% of statements 19:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.182s coverage: 100.0% of statements 19:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.492s coverage: 86.7% of statements 19:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.549s coverage: 97.5% of statements 19:17:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.268s coverage: 78.3% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.374s coverage: 95.1% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.148s coverage: 58.8% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http 0.210s coverage: 60.0% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.388s coverage: 0.8% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.224s coverage: 21.7% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.349s coverage: 47.1% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.218s coverage: 79.5% of statements 19:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.177s coverage: 94.1% of statements 19:18:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.215s coverage: 96.3% of statements 19:18:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.162s coverage: 87.5% of statements 19:18:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.181s coverage: 94.4% of statements 19:18:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.166s coverage: 44.8% of statements 19:18:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.633s coverage: 81.8% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.307s coverage: 92.9% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.058s coverage: 65.1% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.081s coverage: 87.2% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.154s coverage: 100.0% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.186s coverage: 76.0% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.200s coverage: 80.0% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.237s coverage: 87.2% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.265s coverage: 85.4% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.314s coverage: 91.2% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.609s coverage: 64.4% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.160s coverage: 100.0% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.080s coverage: 91.3% of statements 19:18:32 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.045s coverage: 100.0% of statements 19:18:33 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.092s coverage: 73.7% of statements 19:18:33 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.078s coverage: 100.0% of statements 19:18:37 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.910s coverage: 66.9% of statements 19:18:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.736s coverage: 43.5% of statements 19:18:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.102s coverage: 89.5% of statements 19:18:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.126s coverage: 84.8% of statements 19:18:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.456s coverage: 46.8% of statements 19:18:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.133s coverage: 100.0% of statements 19:18:44 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.097s coverage: 100.0% of statements 19:18:46 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.277s coverage: 18.8% of statements 19:18:46 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.519s coverage: 91.9% of statements 19:18:53 # github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct.test] 19:18:53 internal/system/agent/v2/application/direct/metrics.go:86: undefined: common.NewMultiMetricsResponse 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.600s coverage: 28.7% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.204s coverage: 99.0% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.193s coverage: 100.0% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.218s coverage: 63.4% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.386s coverage: 97.6% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.126s coverage: 100.0% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.093s coverage: 87.9% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.049s coverage: 100.0% of statements 19:18:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.157s coverage: 28.1% of statements 19:18:54 FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct [build failed] 19:18:55 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 19:18:56 make: *** [Makefile:98: test] Error 2 [Pipeline] } 19:18:56 $ docker stop --time=1 e4daba240e531851ce8b514759561afbe4abe2362477f6f8dbef44de668f58c2 19:18:58 $ 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 19:19:01 ---> job-cost.sh 19:19:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JmmW 19:19:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:21:02 lf-activate-venv(): INFO: Adding /tmp/venv-JmmW/bin to PATH 19:21:02 INFO: No Stack... 19:21:04 INFO: Retrieving Pricing Info for: v2-standard-4 19:21:04 INFO: Archiving Costs [Pipeline] sh 19:21:04 + cat /w/workspace/edgex-go/1/archives/cost.csv 19:21:04 + cut -d, -f6 [Pipeline] lock 19:21:05 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3535-1-stack-cost] 19:21:05 Resource [jenkins-edgexfoundry-edgex-go-PR-3535-1-stack-cost] did not exist. Created. 19:21:05 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:05 + echo total: 0.18000000715255737 [Pipeline] stash 19:21:06 Stashed 1 file(s) [Pipeline] } 19:21:06 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] } 19:21:06 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 19:21:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:21:09 ---> package-listing.sh 19:21:09 ++ facter osfamily 19:21:09 ++ tr '[:upper:]' '[:lower:]' 19:21:10 + OS_FAMILY=redhat 19:21:10 + workspace=/w/workspace/edgex-go/1 19:21:10 + START_PACKAGES=/tmp/packages_start.txt 19:21:10 + END_PACKAGES=/tmp/packages_end.txt 19:21:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:10 + PACKAGES=/tmp/packages_start.txt 19:21:10 + '[' /w/workspace/edgex-go/1 ']' 19:21:10 + PACKAGES=/tmp/packages_end.txt 19:21:10 + case "${OS_FAMILY}" in 19:21:10 + sort 19:21:10 + rpm -qa 19:21:10 + '[' -f /tmp/packages_start.txt ']' 19:21:10 + '[' -f /tmp/packages_end.txt ']' 19:21:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:10 + '[' /w/workspace/edgex-go/1 ']' 19:21:10 + mkdir -p /w/workspace/edgex-go/1/archives/ 19:21:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 19:21:10 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 19:21:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:21:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:21:11 19:21:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:21:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:21:12 alpine: Pulling from edgex-lftools-log-publisher 19:21:12 df20fa9351a1: Pulling fs layer 19:21:12 36b3adc4ff6f: Pulling fs layer 19:21:12 8ad3a11d3b57: Pulling fs layer 19:21:12 46f8f816bc3b: Pulling fs layer 19:21:12 93b61091891f: Pulling fs layer 19:21:12 93b9cdb0e59b: Pulling fs layer 19:21:12 5e14af77c1be: Pulling fs layer 19:21:12 01666e4c0597: Pulling fs layer 19:21:12 aa168da1d23b: Pulling fs layer 19:21:12 46f8f816bc3b: Waiting 19:21:12 93b61091891f: Waiting 19:21:12 93b9cdb0e59b: Waiting 19:21:12 5e14af77c1be: Waiting 19:21:12 01666e4c0597: Waiting 19:21:12 aa168da1d23b: Waiting 19:21:12 df20fa9351a1: Verifying Checksum 19:21:12 df20fa9351a1: Download complete 19:21:12 46f8f816bc3b: Verifying Checksum 19:21:12 46f8f816bc3b: Download complete 19:21:12 36b3adc4ff6f: Verifying Checksum 19:21:12 36b3adc4ff6f: Download complete 19:21:12 93b9cdb0e59b: Verifying Checksum 19:21:12 93b9cdb0e59b: Download complete 19:21:12 93b61091891f: Verifying Checksum 19:21:12 93b61091891f: Download complete 19:21:12 01666e4c0597: Verifying Checksum 19:21:12 01666e4c0597: Download complete 19:21:12 5e14af77c1be: Verifying Checksum 19:21:12 5e14af77c1be: Download complete 19:21:12 df20fa9351a1: Pull complete 19:21:12 36b3adc4ff6f: Pull complete 19:21:12 8ad3a11d3b57: Verifying Checksum 19:21:12 8ad3a11d3b57: Download complete 19:21:13 8ad3a11d3b57: Pull complete 19:21:13 46f8f816bc3b: Pull complete 19:21:13 93b61091891f: Pull complete 19:21:13 93b9cdb0e59b: Pull complete 19:21:13 5e14af77c1be: Pull complete 19:21:14 01666e4c0597: Pull complete 19:21:14 aa168da1d23b: Verifying Checksum 19:21:14 aa168da1d23b: Download complete 19:21:19 aa168da1d23b: Pull complete 19:21:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:21:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:21:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:21:19 prd-centos7-docker-4c-2g-122 does not seem to be running inside a container 19:21:19 $ 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 19:21:21 $ docker top b38717d7b660227a53e6ec77fa0b0da10e2479fff1f3feca48ca6d2a75aca9f9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:22 + touch /tmp/pre-build-complete [Pipeline] sh 19:21:22 + mkdir -p /var/log/sa [Pipeline] sh 19:21:22 + ls /var/log/sa-host 19:21:22 + sadf -c /var/log/sa-host/sa02 19:21:22 file_magic: OK 19:21:22 HZ: Using current value: 100 19:21:22 file_header: OK 19:21:22 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 19:21:22 Statistics: 19:21:22 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... 19:21:22 File successfully converted to sysstat format version 12.2.1 19:21:22 + sadf -c /var/log/sa-host/sa05 19:21:22 file_magic: OK 19:21:22 HZ: Using current value: 100 19:21:22 file_header: OK 19:21:22 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 19:21:22 Statistics: 19:21:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:21:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:23 provisioning config files... 19:21:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config729353864607771219tmp [Pipeline] { [Pipeline] echo 19:21:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:21:23 ---> create-netrc.sh [Pipeline] } 19:21:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:21:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:21:24 ---> python-tools-install.sh [Pipeline] echo 19:21:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:21:24 ---> sudo-logs.sh 19:21:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:21:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:21:25 ---> job-cost.sh 19:21:25 lf-activate-venv: SKIPPING 19:21:25 DEBUG: total: 0.18000000715255737 19:21:25 INFO: Retrieving Stack Cost... 19:21:25 INFO: Retrieving Pricing Info for: v3-standard-2 19:21:26 INFO: Archiving Costs [Pipeline] echo 19:21:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:21:26 ---> logs-deploy.sh 19:21:26 lf-activate-venv: SKIPPING 19:21:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3535/1 19:21:26 INFO: archiving workspace using pattern(s): 19:21:27 Archives upload complete. 19:21:27 INFO: archiving logs to Nexus