Pull request #3494 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c818d844814bcdec1c2756657bb891c485e9d9c7+0aa786abd905cbcf8b555c8ab61e8a226d759c0e (13c56b829ef6a23de1627b7fabb62ecae1753679) 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-ssh4207448987970193582.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5782185480152529409.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3494/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-3494/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8363903079785602948.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-3494/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5011751640477460563.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4158244125059703393.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-3494/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-3494/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh278115355065321100.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15482 in /w/workspace/edgexfoundry_edgex-go_PR-3494 [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-ssh36178241525607210.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5686416674295858898.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3494/head:refs/remotes/origin/PR-3494 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0aa786abd905cbcf8b555c8ab61e8a226d759c0e into PR head commit c818d844814bcdec1c2756657bb891c485e9d9c7 Merge succeeded, producing c818d844814bcdec1c2756657bb891c485e9d9c7 Checking out Revision c818d844814bcdec1c2756657bb891c485e9d9c7 (PR-3494) > git config core.sparsecheckout # timeout=10 > git checkout -f c818d844814bcdec1c2756657bb891c485e9d9c7 # 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-ssh8009268136190197585.key > git merge 0aa786abd905cbcf8b555c8ab61e8a226d759c0e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c818d844814bcdec1c2756657bb891c485e9d9c7 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-21T05:51:56.016Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-21T05:51:56.206Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-21T05:51:56.316Z] ========================================================= [2021-05-21T05:51:56.316Z] EdgeX Global Pipelines Version Info [2021-05-21T05:51:56.316Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-21T05:51:57.864Z] ------------------- [2021-05-21T05:51:57.864Z] stable info: [2021-05-21T05:51:57.864Z] ------------------- [2021-05-21T05:51:57.864Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-21T05:51:57.864Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T05:51:57.864Z] Message: update stable to v1.0.192 [2021-05-21T05:51:58.438Z] ------------------- [2021-05-21T05:51:58.438Z] experimental info: [2021-05-21T05:51:58.438Z] ------------------- [2021-05-21T05:51:58.438Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-21T05:51:58.438Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T05:51:58.438Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-21T05:51:58.669Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-21T05:51:58.727Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-21T05:51:58.795Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-21T05:51:58.853Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-21T05:51:58.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-21T05:51:58.964Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-21T05:51:59.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-21T05:51:59.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-21T05:51:59.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-05-21T05:51:59.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-05-21T05:51:59.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-21T05:51:59.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-21T05:51:59.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-21T05:51:59.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-21T05:51:59.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T05:51:59.527Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T05:51:59.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-21T05:51:59.634Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-21T05:51:59.685Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-21T05:51:59.736Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-21T05:51:59.788Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-21T05:51:59.841Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-21T05:51:59.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3494 [Pipeline] echo [2021-05-21T05:51:59.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3494 [Pipeline] echo [2021-05-21T05:52:00.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3494 [Pipeline] echo [2021-05-21T05:52:00.086Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c818d844814bcdec1c2756657bb891c485e9d9c7 [Pipeline] echo [2021-05-21T05:52:00.159Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c818d84 [Pipeline] echo [2021-05-21T05:52:00.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T05:52:00.408Z] provisioning config files... [2021-05-21T05:52:00.427Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3417215888070970961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T05:52:00.816Z] ---> docker-login.sh [2021-05-21T05:52:00.816Z] nexus3.edgexfoundry.org:10001 [2021-05-21T05:52:01.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:52:01.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:52:01.101Z] Configure a credential helper to remove this warning. See [2021-05-21T05:52:01.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:52:01.101Z] [2021-05-21T05:52:01.101Z] Login Succeeded [2021-05-21T05:52:01.101Z] nexus3.edgexfoundry.org:10002 [2021-05-21T05:52:01.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:52:01.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:52:01.363Z] Configure a credential helper to remove this warning. See [2021-05-21T05:52:01.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:52:01.363Z] [2021-05-21T05:52:01.363Z] Login Succeeded [2021-05-21T05:52:01.363Z] nexus3.edgexfoundry.org:10003 [2021-05-21T05:52:01.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:52:01.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:52:01.628Z] Configure a credential helper to remove this warning. See [2021-05-21T05:52:01.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:52:01.628Z] [2021-05-21T05:52:01.628Z] Login Succeeded [2021-05-21T05:52:01.628Z] nexus3.edgexfoundry.org:10004 [2021-05-21T05:52:01.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:52:01.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:52:01.628Z] Configure a credential helper to remove this warning. See [2021-05-21T05:52:01.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:52:01.628Z] [2021-05-21T05:52:01.628Z] Login Succeeded [2021-05-21T05:52:01.628Z] docker.io [2021-05-21T05:52:01.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:52:02.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:52:02.180Z] Configure a credential helper to remove this warning. See [2021-05-21T05:52:02.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:52:02.180Z] [2021-05-21T05:52:02.180Z] Login Succeeded [2021-05-21T05:52:02.180Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T05:52:02.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T05:52:02.683Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] ++ dirname cmd/core-command/Dockerfile [2021-05-21T05:52:02.683Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/core-data/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-21T05:52:02.683Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-21T05:52:02.683Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-21T05:52:02.683Z] ++ cut -d/ -f2 [2021-05-21T05:52:02.683Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-21T05:52:02.817Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:52:04.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T05:52:04.226Z] [2021-05-21T05:52:04.226Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:52:04.592Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T05:52:04.593Z] latest: Pulling from edgex-devops/git-semver [2021-05-21T05:52:04.593Z] 31603596830f: Pulling fs layer [2021-05-21T05:52:04.593Z] 54011a49482f: Pulling fs layer [2021-05-21T05:52:04.593Z] a6820b24f6d8: Pulling fs layer [2021-05-21T05:52:04.593Z] f581987b2513: Pulling fs layer [2021-05-21T05:52:04.593Z] f581987b2513: Waiting [2021-05-21T05:52:04.593Z] 54011a49482f: Verifying Checksum [2021-05-21T05:52:04.593Z] 54011a49482f: Download complete [2021-05-21T05:52:04.593Z] 31603596830f: Verifying Checksum [2021-05-21T05:52:04.593Z] 31603596830f: Download complete [2021-05-21T05:52:04.854Z] a6820b24f6d8: Verifying Checksum [2021-05-21T05:52:04.854Z] a6820b24f6d8: Download complete [2021-05-21T05:52:04.854Z] 31603596830f: Pull complete [2021-05-21T05:52:05.128Z] 54011a49482f: Pull complete [2021-05-21T05:52:05.128Z] f581987b2513: Verifying Checksum [2021-05-21T05:52:05.128Z] f581987b2513: Download complete [2021-05-21T05:52:05.709Z] a6820b24f6d8: Pull complete [2021-05-21T05:52:05.972Z] f581987b2513: Pull complete [2021-05-21T05:52:05.972Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-21T05:52:05.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T05:52:05.972Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-21T05:52:06.105Z] prd-centos7-docker-4c-2g-15482 does not seem to be running inside a container [2021-05-21T05:52:06.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T05:52:07.965Z] $ docker top fc888ecfa11278258c582570d0ed7f27aea12656072a6d614299a9f66381230c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T05:52:08.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T05:52:08.180Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T05:52:08.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T05:52:08.306Z] $ docker exec fc888ecfa11278258c582570d0ed7f27aea12656072a6d614299a9f66381230c ssh-agent [2021-05-21T05:52:08.432Z] SSH_AUTH_SOCK=/tmp/ssh-iQOoHZB7FBQT/agent.14 [2021-05-21T05:52:08.432Z] SSH_AGENT_PID=21 [2021-05-21T05:52:08.442Z] Running ssh-add (command line suppressed) [2021-05-21T05:52:08.555Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7145945190947516384.key (/w/workspace/edgex-go/1@tmp/private_key_7145945190947516384.key) [2021-05-21T05:52:08.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T05:52:08.923Z] + git tag --points-at HEAD [Pipeline] } [2021-05-21T05:52:08.944Z] $ docker exec --env ******** --env ******** fc888ecfa11278258c582570d0ed7f27aea12656072a6d614299a9f66381230c ssh-agent -k [2021-05-21T05:52:09.062Z] unset SSH_AUTH_SOCK; [2021-05-21T05:52:09.062Z] unset SSH_AGENT_PID; [2021-05-21T05:52:09.062Z] echo Agent pid 21 killed; [2021-05-21T05:52:09.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-21T05:52:09.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T05:52:09.165Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T05:52:09.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T05:52:09.309Z] $ docker exec fc888ecfa11278258c582570d0ed7f27aea12656072a6d614299a9f66381230c ssh-agent [2021-05-21T05:52:09.442Z] SSH_AUTH_SOCK=/tmp/ssh-vZXUJwbMN1Ir/agent.56 [2021-05-21T05:52:09.442Z] SSH_AGENT_PID=63 [2021-05-21T05:52:09.448Z] Running ssh-add (command line suppressed) [2021-05-21T05:52:09.561Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8247889101079426243.key (/w/workspace/edgex-go/1@tmp/private_key_8247889101079426243.key) [2021-05-21T05:52:09.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T05:52:09.916Z] + git semver init [2021-05-21T05:52:09.916Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T05:52:09.916Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-05-21T05:52:09.916Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-05-21T05:52:09.916Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T05:52:09.916Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T05:52:09.916Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T05:52:09.916Z] # $SEMVER_BRANCH = PR-3494 [2021-05-21T05:52:09.916Z] # $SEMVER_TEMP = /tmp/semver-339711692 [2021-05-21T05:52:09.916Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-21T05:52:22.214Z] # '/tmp/semver-339711692' -> '/w/workspace/edgex-go/1/.semver' [2021-05-21T05:52:22.214Z] # -> Force: false [2021-05-21T05:52:22.214Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-05-21T05:52:22.233Z] $ docker exec --env ******** --env ******** fc888ecfa11278258c582570d0ed7f27aea12656072a6d614299a9f66381230c ssh-agent -k [2021-05-21T05:52:22.346Z] unset SSH_AUTH_SOCK; [2021-05-21T05:52:22.346Z] unset SSH_AGENT_PID; [2021-05-21T05:52:22.346Z] echo Agent pid 63 killed; [2021-05-21T05:52:22.358Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T05:52:22.784Z] + git semver [Pipeline] } [2021-05-21T05:52:22.816Z] $ docker stop --time=1 fc888ecfa11278258c582570d0ed7f27aea12656072a6d614299a9f66381230c [2021-05-21T05:52:26.242Z] $ docker rm -f fc888ecfa11278258c582570d0ed7f27aea12656072a6d614299a9f66381230c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T05:52:26.700Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-21T05:52:27.047Z] Stashed 1 file(s) [Pipeline] echo [2021-05-21T05:52:27.071Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T05:52:28.034Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-21T05:52:28.358Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T05:52:28.682Z] + true [2021-05-21T05:52:28.682Z] + sudo service docker restart [2021-05-21T05:52:28.682Z] Redirecting to /bin/systemctl restart docker.service [2021-05-21T05:52:42.530Z] Still waiting to schedule task [2021-05-21T05:52:42.531Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] echo [2021-05-21T05:52:46.882Z] ========================================================= [2021-05-21T05:52:46.882Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-21T05:52:46.882Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:52:47.227Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-21T05:52:48.629Z] Sending build context to Docker daemon 330.7MB [2021-05-21T05:52:48.629Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T05:52:48.629Z] Step 2/6 : FROM ${BASE} [2021-05-21T05:52:48.894Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-21T05:52:48.894Z] 540db60ca938: Pulling fs layer [2021-05-21T05:52:48.894Z] adcc1eea9eea: Pulling fs layer [2021-05-21T05:52:48.894Z] 4c4ab2625f07: Pulling fs layer [2021-05-21T05:52:48.894Z] 0510c868ecb4: Pulling fs layer [2021-05-21T05:52:48.894Z] afea3b2eda06: Pulling fs layer [2021-05-21T05:52:48.894Z] 7809a108b3ef: Pulling fs layer [2021-05-21T05:52:48.894Z] f706445af74f: Pulling fs layer [2021-05-21T05:52:48.894Z] 0510c868ecb4: Waiting [2021-05-21T05:52:48.894Z] afea3b2eda06: Waiting [2021-05-21T05:52:48.894Z] 7809a108b3ef: Waiting [2021-05-21T05:52:48.894Z] f706445af74f: Waiting [2021-05-21T05:52:48.894Z] 4c4ab2625f07: Verifying Checksum [2021-05-21T05:52:48.894Z] 4c4ab2625f07: Download complete [2021-05-21T05:52:48.894Z] adcc1eea9eea: Download complete [2021-05-21T05:52:48.894Z] afea3b2eda06: Verifying Checksum [2021-05-21T05:52:48.894Z] afea3b2eda06: Download complete [2021-05-21T05:52:48.894Z] 7809a108b3ef: Verifying Checksum [2021-05-21T05:52:48.894Z] 7809a108b3ef: Download complete [2021-05-21T05:52:48.894Z] 540db60ca938: Verifying Checksum [2021-05-21T05:52:48.894Z] 540db60ca938: Download complete [2021-05-21T05:52:49.159Z] 540db60ca938: Pull complete [2021-05-21T05:52:49.159Z] adcc1eea9eea: Pull complete [2021-05-21T05:52:49.423Z] 4c4ab2625f07: Pull complete [2021-05-21T05:52:51.353Z] f706445af74f: Verifying Checksum [2021-05-21T05:52:51.353Z] f706445af74f: Download complete [2021-05-21T05:52:51.353Z] 0510c868ecb4: Verifying Checksum [2021-05-21T05:52:51.353Z] 0510c868ecb4: Download complete [2021-05-21T05:52:55.594Z] 0510c868ecb4: Pull complete [2021-05-21T05:52:55.594Z] afea3b2eda06: Pull complete [2021-05-21T05:52:55.594Z] 7809a108b3ef: Pull complete [2021-05-21T05:52:56.997Z] f706445af74f: Pull complete [2021-05-21T05:52:56.997Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-21T05:52:56.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-21T05:52:56.997Z] ---> b068be0155e3 [2021-05-21T05:52:56.997Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-05-21T05:53:01.212Z] ---> Running in 1ef211245d6a [2021-05-21T05:53:01.212Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T05:53:02.163Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T05:53:02.428Z] (1/12) Installing libmagic (5.39-r0) [2021-05-21T05:53:03.003Z] (2/12) Installing file (5.39-r0) [2021-05-21T05:53:03.003Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-21T05:53:03.267Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-21T05:53:07.487Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-21T05:53:07.487Z] (6/12) Installing patch (2.7.6-r6) [2021-05-21T05:53:07.487Z] (7/12) Installing build-base (0.5-r2) [2021-05-21T05:53:07.487Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-21T05:53:07.487Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-21T05:53:07.487Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-21T05:53:07.487Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-21T05:53:07.749Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-21T05:53:07.749Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T05:53:07.749Z] OK: 219 MiB in 52 packages [2021-05-21T05:53:09.141Z] Removing intermediate container 1ef211245d6a [2021-05-21T05:53:09.141Z] ---> 9b9f87e4d784 [2021-05-21T05:53:09.141Z] Step 4/6 : WORKDIR /edgex-go [2021-05-21T05:53:09.403Z] ---> Running in 3d336e5b9e27 [2021-05-21T05:53:09.403Z] Removing intermediate container 3d336e5b9e27 [2021-05-21T05:53:09.403Z] ---> 0ab2dda91557 [2021-05-21T05:53:09.403Z] Step 5/6 : COPY go.mod . [2021-05-21T05:53:09.663Z] ---> 4351320e723e [2021-05-21T05:53:09.663Z] Step 6/6 : RUN go mod download [2021-05-21T05:53:09.663Z] ---> Running in 0081041d37b0 [2021-05-21T05:53:27.830Z] Removing intermediate container 0081041d37b0 [2021-05-21T05:53:27.830Z] ---> f5db6daf050f [2021-05-21T05:53:27.830Z] Successfully built f5db6daf050f [2021-05-21T05:53:27.830Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:53:28.175Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T05:53:28.175Z] . [Pipeline] withDockerContainer [2021-05-21T05:53:28.281Z] prd-centos7-docker-4c-2g-15482 does not seem to be running inside a container [2021-05-21T05:53:28.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T05:53:28.793Z] $ docker top 21c7e64f20f4d45a6e22278e63a0bdc26b81b4a2e4fa1a6829c77077d6226e97 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T05:53:29.289Z] + go version [2021-05-21T05:53:29.289Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-21T05:53:29.314Z] $ docker stop --time=1 21c7e64f20f4d45a6e22278e63a0bdc26b81b4a2e4fa1a6829c77077d6226e97 [2021-05-21T05:53:30.531Z] $ docker rm -f 21c7e64f20f4d45a6e22278e63a0bdc26b81b4a2e4fa1a6829c77077d6226e97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:53:31.315Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T05:53:31.316Z] . [Pipeline] withDockerContainer [2021-05-21T05:53:31.420Z] prd-centos7-docker-4c-2g-15482 does not seem to be running inside a container [2021-05-21T05:53:31.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T05:53:31.880Z] $ docker top fce96923e920ab8d93eb305e5251266446d3ab59b7e8c1c0053db2430199f697 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-21T05:53:32.036Z] ========================================================= [2021-05-21T05:53:32.036Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-21T05:53:32.036Z] ========================================================= [Pipeline] sh [2021-05-21T05:53:32.360Z] + go mod tidy [Pipeline] sh [2021-05-21T05:53:32.947Z] + make test [2021-05-21T05:53:32.947Z] go mod tidy [2021-05-21T05:53:33.213Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-21T05:53:39.850Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-21T05:53:58.134Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-21T05:54:04.848Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-21T05:54:06.261Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-21T05:54:06.261Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-05-21T05:54:08.853Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-05-21T05:54:09.442Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-05-21T05:54:09.442Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-05-21T05:54:09.442Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-05-21T05:54:10.408Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-05-21T05:54:10.675Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [2021-05-21T05:54:10.675Z] internal/support/scheduler/schedule.go:510:48: configuration.Service.Timeout undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Timeout) [2021-05-21T05:54:12.609Z] # github.com/edgexfoundry/edgex-go/internal/system/agent [2021-05-21T05:54:12.609Z] internal/system/agent/init.go:84:27: configuration.Service.Protocol undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Protocol) [2021-05-21T05:54:12.609Z] internal/system/agent/init.go:117:27: configuration.Service.Protocol undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Protocol) [2021-05-21T05:54:15.197Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.094s coverage: 46.1% of statements [2021-05-21T05:54:15.197Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.080s coverage: 28.7% of statements [2021-05-21T05:54:15.197Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] [2021-05-21T05:54:15.197Z] internal/core/command/v2/controller/http/command_test.go:61:6: unknown field 'Protocol' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo [2021-05-21T05:54:15.197Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-21T05:54:17.806Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.108s coverage: 27.7% of statements [2021-05-21T05:54:17.806Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.050s coverage: 81.2% of statements [2021-05-21T05:54:17.806Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.051s coverage: 100.0% of statements [2021-05-21T05:54:18.070Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.047s coverage: 100.0% of statements [2021-05-21T05:54:19.047Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.073s coverage: 58.6% of statements [2021-05-21T05:54:19.316Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.085s coverage: 87.7% of statements [2021-05-21T05:54:19.578Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.048s coverage: 78.9% of statements [2021-05-21T05:54:22.154Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.200s coverage: 28.6% of statements [2021-05-21T05:54:22.154Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.049s coverage: 100.0% of statements [2021-05-21T05:54:22.154Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.054s coverage: 100.0% of statements [2021-05-21T05:54:22.438Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.111s coverage: 86.7% of statements [2021-05-21T05:54:23.053Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.096s coverage: 97.5% of statements [2021-05-21T05:54:23.318Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.075s coverage: 78.3% of statements [2021-05-21T05:54:25.292Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.238s coverage: 95.1% of statements [2021-05-21T05:54:25.292Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.056s coverage: 58.8% of statements [2021-05-21T05:54:25.917Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.058s coverage: 0.8% of statements [2021-05-21T05:54:25.917Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.062s coverage: 21.7% of statements [2021-05-21T05:54:26.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.051s coverage: 47.1% of statements [2021-05-21T05:54:26.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.063s coverage: 79.5% of statements [2021-05-21T05:54:26.775Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.040s coverage: 94.1% of statements [2021-05-21T05:54:39.056Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 10.046s coverage: 96.3% of statements [2021-05-21T05:54:39.056Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.043s coverage: 87.5% of statements [2021-05-21T05:54:40.003Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements [2021-05-21T05:54:40.003Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements [2021-05-21T05:54:45.327Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15484 in /w/workspace/edgexfoundry_edgex-go_PR-3494 [Pipeline] { [Pipeline] ws [2021-05-21T05:54:45.390Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-05-21T05:54:45.676Z] The recommended git tool is: git [2021-05-21T05:54:50.979Z] using credential edgex-jenkins-ssh [2021-05-21T05:54:50.998Z] Cloning the remote Git repository [2021-05-21T05:54:51.102Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-21T05:54:51.298Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-05-21T05:54:51.381Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-21T05:54:51.382Z] > git --version # timeout=10 [2021-05-21T05:54:51.412Z] > git --version # 'git version 2.17.1' [2021-05-21T05:54:51.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T05:54:51.497Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T05:55:02.621Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 21.194s coverage: 81.8% of statements [2021-05-21T05:55:02.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.092s coverage: 92.9% of statements [2021-05-21T05:55:02.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.036s coverage: 65.1% of statements [2021-05-21T05:55:07.549Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-21T05:55:07.565Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T05:55:07.597Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-21T05:55:07.627Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-21T05:55:07.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T05:55:07.640Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3494/head:refs/remotes/origin/PR-3494 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-21T05:55:08.340Z] Merging remotes/origin/master commit 0aa786abd905cbcf8b555c8ab61e8a226d759c0e into PR head commit c818d844814bcdec1c2756657bb891c485e9d9c7 [2021-05-21T05:55:08.762Z] Merge succeeded, producing c818d844814bcdec1c2756657bb891c485e9d9c7 [2021-05-21T05:55:08.762Z] Checking out Revision c818d844814bcdec1c2756657bb891c485e9d9c7 (PR-3494) [2021-05-21T05:55:08.361Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T05:55:08.378Z] > git checkout -f c818d844814bcdec1c2756657bb891c485e9d9c7 # timeout=10 [2021-05-21T05:55:08.682Z] > git remote # timeout=10 [2021-05-21T05:55:08.703Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T05:55:08.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T05:55:08.725Z] > git merge 0aa786abd905cbcf8b555c8ab61e8a226d759c0e # timeout=10 [2021-05-21T05:55:08.746Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T05:55:08.772Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T05:55:08.780Z] > git checkout -f c818d844814bcdec1c2756657bb891c485e9d9c7 # timeout=10 [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.038s coverage: 87.2% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.063s coverage: 76.0% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.0% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.056s coverage: 87.2% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 85.4% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.090s coverage: 91.2% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.158s coverage: 64.4% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 91.3% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.024s coverage: 100.0% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.025s coverage: 100.0% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.244s coverage: 66.9% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.129s coverage: 43.5% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.035s coverage: 89.5% of statements [2021-05-21T05:55:12.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.034s coverage: 84.8% of statements [2021-05-21T05:55:13.333Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-05-21T05:55:13.394Z] > git --version # timeout=10 [2021-05-21T05:55:13.402Z] > git --version # 'git version 2.17.1' [2021-05-21T05:55:13.419Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T05:55:13.652Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.111s coverage: 46.8% of statements [2021-05-21T05:55:13.652Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.041s coverage: 100.0% of statements [2021-05-21T05:55:13.652Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.034s coverage: 100.0% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T05:55:15.083Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-21T05:55:15.497Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T05:55:15.608Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [github.com/edgexfoundry/edgex-go/internal/support/scheduler.test] [2021-05-21T05:55:15.608Z] internal/support/scheduler/schedule.go:510: configuration.Service.Timeout undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Timeout) [2021-05-21T05:55:15.861Z] + true [2021-05-21T05:55:15.861Z] + sudo service docker restart [2021-05-21T05:55:17.537Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.085s coverage: 19.3% of statements [2021-05-21T05:55:17.537Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.132s coverage: 91.0% of statements [2021-05-21T05:55:17.537Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-21T05:55:17.537Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.054s coverage: 99.0% of statements [2021-05-21T05:55:17.537Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.056s coverage: 100.0% of statements [2021-05-21T05:55:17.537Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.056s coverage: 64.6% of statements [2021-05-21T05:55:18.114Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.097s coverage: 97.6% of statements [2021-05-21T05:55:18.114Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-05-21T05:55:18.383Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.021s coverage: 100.0% of statements [2021-05-21T05:55:18.654Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.032s coverage: 87.9% of statements [2021-05-21T05:55:18.654Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.036s coverage: 100.0% of statements [2021-05-21T05:55:19.238Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.049s coverage: 28.1% of statements [2021-05-21T05:55:19.238Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.050s coverage: 27.9% of statements [2021-05-21T05:55:19.814Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 100.0% of statements [2021-05-21T05:55:19.814Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-21T05:55:19.857Z] $ docker stop --time=1 fce96923e920ab8d93eb305e5251266446d3ab59b7e8c1c0053db2430199f697 [2021-05-21T05:55:21.324Z] $ docker rm -f fce96923e920ab8d93eb305e5251266446d3ab59b7e8c1c0053db2430199f697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-21T05:55:22.801Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T05:55:34.282Z] provisioning config files... [2021-05-21T05:55:34.310Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2167545969095040566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T05:55:34.758Z] ---> docker-login.sh [2021-05-21T05:55:34.758Z] nexus3.edgexfoundry.org:10001 [2021-05-21T05:55:35.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:55:35.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:55:35.949Z] Configure a credential helper to remove this warning. See [2021-05-21T05:55:35.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:55:35.949Z] [2021-05-21T05:55:35.949Z] Login Succeeded [2021-05-21T05:55:35.949Z] nexus3.edgexfoundry.org:10002 [2021-05-21T05:55:36.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:55:36.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:55:36.500Z] Configure a credential helper to remove this warning. See [2021-05-21T05:55:36.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:55:36.500Z] [2021-05-21T05:55:36.500Z] Login Succeeded [2021-05-21T05:55:36.500Z] nexus3.edgexfoundry.org:10003 [2021-05-21T05:55:36.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:55:37.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:55:37.051Z] Configure a credential helper to remove this warning. See [2021-05-21T05:55:37.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:55:37.051Z] [2021-05-21T05:55:37.051Z] Login Succeeded [2021-05-21T05:55:37.051Z] nexus3.edgexfoundry.org:10004 [2021-05-21T05:55:37.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:55:37.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:55:37.602Z] Configure a credential helper to remove this warning. See [2021-05-21T05:55:37.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:55:37.602Z] [2021-05-21T05:55:37.602Z] Login Succeeded [2021-05-21T05:55:37.602Z] docker.io [2021-05-21T05:55:37.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T05:55:38.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T05:55:38.477Z] Configure a credential helper to remove this warning. See [2021-05-21T05:55:38.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T05:55:38.477Z] [2021-05-21T05:55:38.477Z] Login Succeeded [2021-05-21T05:55:38.477Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T05:55:38.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T05:55:39.068Z] ========================================================= [2021-05-21T05:55:39.068Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-21T05:55:39.068Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:55:39.486Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-21T05:55:42.141Z] Sending build context to Docker daemon 168MB [2021-05-21T05:55:42.141Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T05:55:42.141Z] Step 2/6 : FROM ${BASE} [2021-05-21T05:55:42.141Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-21T05:55:42.141Z] 595b0fe564bb: Pulling fs layer [2021-05-21T05:55:42.141Z] 7186ed65a4f7: Pulling fs layer [2021-05-21T05:55:42.141Z] 316046926c0a: Pulling fs layer [2021-05-21T05:55:42.141Z] 4ebd0625c992: Pulling fs layer [2021-05-21T05:55:42.141Z] 207e8628e3a3: Pulling fs layer [2021-05-21T05:55:42.141Z] c791037a9be2: Pulling fs layer [2021-05-21T05:55:42.141Z] ffd874e62e21: Pulling fs layer [2021-05-21T05:55:42.141Z] 4ebd0625c992: Waiting [2021-05-21T05:55:42.141Z] 207e8628e3a3: Waiting [2021-05-21T05:55:42.141Z] ffd874e62e21: Waiting [2021-05-21T05:55:42.141Z] c791037a9be2: Waiting [2021-05-21T05:55:42.141Z] 316046926c0a: Verifying Checksum [2021-05-21T05:55:42.141Z] 7186ed65a4f7: Download complete [2021-05-21T05:55:42.418Z] 207e8628e3a3: Verifying Checksum [2021-05-21T05:55:42.418Z] 207e8628e3a3: Download complete [2021-05-21T05:55:42.418Z] 595b0fe564bb: Verifying Checksum [2021-05-21T05:55:42.418Z] 595b0fe564bb: Download complete [2021-05-21T05:55:42.418Z] c791037a9be2: Verifying Checksum [2021-05-21T05:55:42.418Z] c791037a9be2: Download complete [2021-05-21T05:55:43.025Z] 595b0fe564bb: Pull complete [2021-05-21T05:55:43.628Z] 7186ed65a4f7: Pull complete [2021-05-21T05:55:43.906Z] 316046926c0a: Pull complete [2021-05-21T05:55:44.508Z] ffd874e62e21: Download complete [2021-05-21T05:55:46.484Z] 4ebd0625c992: Verifying Checksum [2021-05-21T05:55:46.484Z] 4ebd0625c992: Download complete [2021-05-21T05:55:56.657Z] 4ebd0625c992: Pull complete [2021-05-21T05:55:56.931Z] 207e8628e3a3: Pull complete [2021-05-21T05:55:57.205Z] c791037a9be2: Pull complete [2021-05-21T05:56:01.574Z] ffd874e62e21: Pull complete [2021-05-21T05:56:01.574Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-21T05:56:01.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-21T05:56:01.574Z] ---> cfc18b08335c [2021-05-21T05:56:01.574Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-05-21T05:56:02.203Z] ---> Running in f6b1e5f15baf [2021-05-21T05:56:03.635Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T05:56:04.617Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T05:56:05.212Z] (1/12) Installing libmagic (5.39-r0) [2021-05-21T05:56:05.483Z] (2/12) Installing file (5.39-r0) [2021-05-21T05:56:05.483Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-21T05:56:05.754Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-21T05:56:12.468Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-21T05:56:12.468Z] (6/12) Installing patch (2.7.6-r6) [2021-05-21T05:56:12.745Z] (7/12) Installing build-base (0.5-r2) [2021-05-21T05:56:12.745Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-21T05:56:12.745Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-21T05:56:13.016Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-21T05:56:13.016Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-21T05:56:13.291Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-21T05:56:13.291Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T05:56:13.291Z] OK: 218 MiB in 52 packages [2021-05-21T05:56:17.626Z] Removing intermediate container f6b1e5f15baf [2021-05-21T05:56:17.626Z] ---> 070c867edcf0 [2021-05-21T05:56:17.626Z] Step 4/6 : WORKDIR /edgex-go [2021-05-21T05:56:17.626Z] ---> Running in 48b6cd87adbd [2021-05-21T05:56:17.626Z] Removing intermediate container 48b6cd87adbd [2021-05-21T05:56:17.626Z] ---> bb490d9ad3f1 [2021-05-21T05:56:17.626Z] Step 5/6 : COPY go.mod . [2021-05-21T05:56:18.221Z] ---> cca7f84da4f4 [2021-05-21T05:56:18.221Z] Step 6/6 : RUN go mod download [2021-05-21T05:56:18.495Z] ---> Running in ec44692d3728 [2021-05-21T05:56:45.279Z] Removing intermediate container ec44692d3728 [2021-05-21T05:56:45.279Z] ---> 86700a063f31 [2021-05-21T05:56:45.279Z] Successfully built 86700a063f31 [2021-05-21T05:56:45.279Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:56:45.670Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T05:56:45.670Z] . [Pipeline] withDockerContainer [2021-05-21T05:56:45.961Z] prd-ubuntu18.04-docker-arm64-4c-16g-15484 does not seem to be running inside a container [2021-05-21T05:56:46.048Z] $ 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-05-21T05:56:47.642Z] $ docker top 3d9436a847132823c3dc11923571dc07e1b3999a27cab8c53ee82ea2c745b55c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T05:56:48.689Z] + go version [2021-05-21T05:56:48.690Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-21T05:56:48.726Z] $ docker stop --time=1 3d9436a847132823c3dc11923571dc07e1b3999a27cab8c53ee82ea2c745b55c [2021-05-21T05:56:50.523Z] $ docker rm -f 3d9436a847132823c3dc11923571dc07e1b3999a27cab8c53ee82ea2c745b55c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T05:56:51.519Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T05:56:51.519Z] . [Pipeline] withDockerContainer [2021-05-21T05:56:51.822Z] prd-ubuntu18.04-docker-arm64-4c-16g-15484 does not seem to be running inside a container [2021-05-21T05:56:51.903Z] $ 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-05-21T05:56:53.395Z] $ docker top 0b81f597a9cbf22ce9afa6f0a5608dc806f7664351306d59451ccf1e04c8eadb -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-21T05:56:53.766Z] ========================================================= [2021-05-21T05:56:53.766Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-21T05:56:53.766Z] ========================================================= [Pipeline] sh [2021-05-21T05:56:54.430Z] + go mod tidy [Pipeline] sh [2021-05-21T05:56:56.100Z] + make test [2021-05-21T05:56:56.100Z] go mod tidy [2021-05-21T05:56:56.701Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-21T05:57:23.538Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-21T05:58:20.127Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-21T05:58:25.561Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-21T05:58:35.769Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-21T05:58:35.769Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-05-21T05:58:40.107Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-05-21T05:58:40.107Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-05-21T05:58:40.107Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-05-21T05:58:40.107Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-05-21T05:58:42.757Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [2021-05-21T05:58:42.757Z] internal/support/scheduler/schedule.go:510:48: configuration.Service.Timeout undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Timeout) [2021-05-21T05:58:45.719Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-05-21T05:58:54.117Z] # github.com/edgexfoundry/edgex-go/internal/system/agent [2021-05-21T05:58:54.117Z] internal/system/agent/init.go:84:27: configuration.Service.Protocol undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Protocol) [2021-05-21T05:58:54.117Z] internal/system/agent/init.go:117:27: configuration.Service.Protocol undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Protocol) [2021-05-21T05:58:57.515Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] [2021-05-21T05:58:57.515Z] internal/core/command/v2/controller/http/command_test.go:61:6: unknown field 'Protocol' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo [2021-05-21T05:59:00.149Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.402s coverage: 46.1% of statements [2021-05-21T05:59:00.149Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.159s coverage: 28.7% of statements [2021-05-21T05:59:00.149Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-21T05:59:06.898Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.647s coverage: 27.7% of statements [2021-05-21T05:59:06.898Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.251s coverage: 81.2% of statements [2021-05-21T05:59:06.898Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.181s coverage: 100.0% of statements [2021-05-21T05:59:06.898Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.245s coverage: 100.0% of statements [2021-05-21T05:59:08.897Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.361s coverage: 58.6% of statements [2021-05-21T05:59:10.360Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.506s coverage: 87.7% of statements [2021-05-21T05:59:10.360Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.326s coverage: 78.9% of statements [2021-05-21T05:59:20.535Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.043s coverage: 28.6% of statements [2021-05-21T05:59:20.535Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.293s coverage: 100.0% of statements [2021-05-21T05:59:20.535Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.281s coverage: 100.0% of statements [2021-05-21T05:59:20.535Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.404s coverage: 86.7% of statements [2021-05-21T05:59:20.535Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.466s coverage: 97.5% of statements [2021-05-21T05:59:20.535Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.294s coverage: 78.3% of statements [2021-05-21T05:59:25.964Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.232s coverage: 95.1% of statements [2021-05-21T05:59:25.964Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.162s coverage: 58.8% of statements [2021-05-21T05:59:25.964Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.266s coverage: 0.8% of statements [2021-05-21T05:59:25.964Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.155s coverage: 21.7% of statements [2021-05-21T05:59:25.964Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.246s coverage: 47.1% of statements [2021-05-21T05:59:26.239Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.248s coverage: 79.5% of statements [2021-05-21T05:59:26.849Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.193s coverage: 94.1% of statements [2021-05-21T05:59:27.835Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.242s coverage: 96.3% of statements [2021-05-21T05:59:28.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.170s coverage: 87.5% of statements [2021-05-21T05:59:41.249Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.223s coverage: 94.4% of statements [2021-05-21T05:59:41.249Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.177s coverage: 44.8% of statements [2021-05-21T05:59:45.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.666s coverage: 81.8% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.242s coverage: 92.9% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 65.1% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.097s coverage: 87.2% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.150s coverage: 100.0% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.211s coverage: 76.0% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.164s coverage: 80.0% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.236s coverage: 87.2% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.235s coverage: 85.4% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.298s coverage: 91.2% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.700s coverage: 64.4% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.149s coverage: 100.0% of statements [2021-05-21T05:59:53.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.084s coverage: 91.3% of statements [2021-05-21T05:59:54.120Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.052s coverage: 100.0% of statements [2021-05-21T05:59:54.720Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements [2021-05-21T05:59:55.322Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.103s coverage: 100.0% of statements [2021-05-21T05:59:59.650Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.950s coverage: 66.9% of statements [2021-05-21T06:00:01.097Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.850s coverage: 43.5% of statements [2021-05-21T06:00:01.097Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.087s coverage: 89.5% of statements [2021-05-21T06:00:01.097Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.134s coverage: 84.8% of statements [2021-05-21T06:00:06.697Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.498s coverage: 46.8% of statements [2021-05-21T06:00:06.697Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.112s coverage: 100.0% of statements [2021-05-21T06:00:06.697Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.118s coverage: 100.0% of statements [2021-05-21T06:00:06.697Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [github.com/edgexfoundry/edgex-go/internal/support/scheduler.test] [2021-05-21T06:00:06.697Z] internal/support/scheduler/schedule.go:510: configuration.Service.Timeout undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".ServiceInfo has no field or method Timeout) [2021-05-21T06:00:10.113Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.233s coverage: 19.3% of statements [2021-05-21T06:00:10.113Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.530s coverage: 91.0% of statements [2021-05-21T06:00:10.113Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-21T06:00:10.113Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.179s coverage: 99.0% of statements [2021-05-21T06:00:10.722Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.217s coverage: 100.0% of statements [2021-05-21T06:00:12.199Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.201s coverage: 64.6% of statements [2021-05-21T06:00:14.199Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.404s coverage: 97.6% of statements [2021-05-21T06:00:14.199Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements [2021-05-21T06:00:14.199Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.102s coverage: 100.0% of statements [2021-05-21T06:00:14.199Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.097s coverage: 87.9% of statements [2021-05-21T06:00:14.199Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.094s coverage: 100.0% of statements [2021-05-21T06:00:15.197Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.188s coverage: 28.1% of statements [2021-05-21T06:00:15.475Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.151s coverage: 27.9% of statements [2021-05-21T06:00:15.759Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-05-21T06:00:16.360Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-21T06:00:16.425Z] $ docker stop --time=1 0b81f597a9cbf22ce9afa6f0a5608dc806f7664351306d59451ccf1e04c8eadb [2021-05-21T06:00:19.006Z] $ docker rm -f 0b81f597a9cbf22ce9afa6f0a5608dc806f7664351306d59451ccf1e04c8eadb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:00:21.089Z] ---> job-cost.sh [2021-05-21T06:00:21.089Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4sVv [2021-05-21T06:01:00.150Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T06:02:21.992Z] lf-activate-venv(): INFO: Adding /tmp/venv-4sVv/bin to PATH [2021-05-21T06:02:21.992Z] INFO: No Stack... [2021-05-21T06:02:21.992Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-21T06:02:21.992Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T06:02:22.374Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-05-21T06:02:22.374Z] + cut -d, -f6 [Pipeline] lock [2021-05-21T06:02:22.472Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3494-1-stack-cost] [2021-05-21T06:02:22.479Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3494-1-stack-cost] did not exist. Created. [2021-05-21T06:02:22.479Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3494-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T06:02:22.977Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-21T06:02:23.776Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T06:02:23.799Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3494-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-21T06:02:24.427Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:02:26.499Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:02:27.105Z] ---> package-listing.sh [2021-05-21T06:02:27.105Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-21T06:02:27.105Z] ++ facter osfamily [2021-05-21T06:02:27.367Z] + OS_FAMILY=redhat [2021-05-21T06:02:27.367Z] + workspace=/w/workspace/edgex-go/1 [2021-05-21T06:02:27.367Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-21T06:02:27.367Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-21T06:02:27.367Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-21T06:02:27.367Z] + PACKAGES=/tmp/packages_start.txt [2021-05-21T06:02:27.367Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-21T06:02:27.367Z] + PACKAGES=/tmp/packages_end.txt [2021-05-21T06:02:27.367Z] + case "${OS_FAMILY}" in [2021-05-21T06:02:27.367Z] + sort [2021-05-21T06:02:27.367Z] + rpm -qa [2021-05-21T06:02:28.321Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-21T06:02:28.321Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-21T06:02:28.321Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-21T06:02:28.321Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-21T06:02:28.321Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-05-21T06:02:28.321Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-05-21T06:02:28.358Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-21T06:02:28.665Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-21T06:02:29.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T06:02:29.267Z] [2021-05-21T06:02:29.267Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-21T06:02:29.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T06:02:29.885Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-21T06:02:29.885Z] df20fa9351a1: Pulling fs layer [2021-05-21T06:02:29.885Z] 36b3adc4ff6f: Pulling fs layer [2021-05-21T06:02:29.885Z] 8ad3a11d3b57: Pulling fs layer [2021-05-21T06:02:29.885Z] 46f8f816bc3b: Pulling fs layer [2021-05-21T06:02:29.885Z] 93b61091891f: Pulling fs layer [2021-05-21T06:02:29.885Z] 93b9cdb0e59b: Pulling fs layer [2021-05-21T06:02:29.885Z] 5e14af77c1be: Pulling fs layer [2021-05-21T06:02:29.885Z] 01666e4c0597: Pulling fs layer [2021-05-21T06:02:29.885Z] aa168da1d23b: Pulling fs layer [2021-05-21T06:02:29.885Z] 46f8f816bc3b: Waiting [2021-05-21T06:02:29.885Z] 93b61091891f: Waiting [2021-05-21T06:02:29.885Z] 93b9cdb0e59b: Waiting [2021-05-21T06:02:29.885Z] 5e14af77c1be: Waiting [2021-05-21T06:02:29.885Z] 01666e4c0597: Waiting [2021-05-21T06:02:29.885Z] aa168da1d23b: Waiting [2021-05-21T06:02:30.147Z] 36b3adc4ff6f: Verifying Checksum [2021-05-21T06:02:30.147Z] 36b3adc4ff6f: Download complete [2021-05-21T06:02:30.147Z] 46f8f816bc3b: Verifying Checksum [2021-05-21T06:02:30.147Z] 46f8f816bc3b: Download complete [2021-05-21T06:02:30.147Z] df20fa9351a1: Verifying Checksum [2021-05-21T06:02:30.147Z] df20fa9351a1: Download complete [2021-05-21T06:02:30.147Z] 93b9cdb0e59b: Verifying Checksum [2021-05-21T06:02:30.147Z] 93b9cdb0e59b: Download complete [2021-05-21T06:02:30.147Z] 5e14af77c1be: Verifying Checksum [2021-05-21T06:02:30.147Z] 5e14af77c1be: Download complete [2021-05-21T06:02:30.147Z] 93b61091891f: Verifying Checksum [2021-05-21T06:02:30.147Z] 93b61091891f: Download complete [2021-05-21T06:02:30.147Z] 01666e4c0597: Verifying Checksum [2021-05-21T06:02:30.147Z] 01666e4c0597: Download complete [2021-05-21T06:02:30.426Z] 8ad3a11d3b57: Verifying Checksum [2021-05-21T06:02:30.426Z] 8ad3a11d3b57: Download complete [2021-05-21T06:02:30.426Z] df20fa9351a1: Pull complete [2021-05-21T06:02:31.001Z] 36b3adc4ff6f: Pull complete [2021-05-21T06:02:31.950Z] aa168da1d23b: Verifying Checksum [2021-05-21T06:02:31.950Z] aa168da1d23b: Download complete [2021-05-21T06:02:32.526Z] 8ad3a11d3b57: Pull complete [2021-05-21T06:02:32.789Z] 46f8f816bc3b: Pull complete [2021-05-21T06:02:33.368Z] 93b61091891f: Pull complete [2021-05-21T06:02:33.948Z] 93b9cdb0e59b: Pull complete [2021-05-21T06:02:34.525Z] 5e14af77c1be: Pull complete [2021-05-21T06:02:34.788Z] 01666e4c0597: Pull complete [2021-05-21T06:02:41.443Z] aa168da1d23b: Pull complete [2021-05-21T06:02:43.994Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-21T06:02:43.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T06:02:43.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-21T06:02:44.105Z] prd-centos7-docker-4c-2g-15482 does not seem to be running inside a container [2021-05-21T06:02:44.152Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-21T06:03:20.381Z] $ docker top 93fe7563a901496822466dabfa06d6e560d52ee8bbc16907135fb298d77a93a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T06:03:20.851Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-21T06:03:21.173Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-21T06:03:21.495Z] + ls /var/log/sa-host [2021-05-21T06:03:21.495Z] + sadf -c /var/log/sa-host/sa05 [2021-05-21T06:03:21.495Z] file_magic: OK [2021-05-21T06:03:21.495Z] HZ: Using current value: 100 [2021-05-21T06:03:21.495Z] file_header: OK [2021-05-21T06:03:21.495Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-21T06:03:21.495Z] Statistics: [2021-05-21T06:03:21.495Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T06:03:21.495Z] File successfully converted to sysstat format version 12.2.1 [2021-05-21T06:03:21.495Z] + sadf -c /var/log/sa-host/sa21 [2021-05-21T06:03:21.495Z] file_magic: OK [2021-05-21T06:03:21.495Z] HZ: Using current value: 100 [2021-05-21T06:03:21.495Z] file_header: OK [2021-05-21T06:03:21.496Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-21T06:03:21.496Z] Statistics: [2021-05-21T06:03:21.496Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T06:03:21.496Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T06:03:21.785Z] provisioning config files... [2021-05-21T06:03:21.802Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7629653988505187794tmp [Pipeline] { [Pipeline] echo [2021-05-21T06:03:21.858Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:03:22.208Z] ---> create-netrc.sh [Pipeline] } [2021-05-21T06:03:22.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-21T06:03:22.309Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:03:22.704Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-21T06:03:22.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:03:23.088Z] ---> sudo-logs.sh [2021-05-21T06:03:23.088Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-21T06:03:23.178Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:03:23.529Z] ---> job-cost.sh [2021-05-21T06:03:23.529Z] lf-activate-venv: SKIPPING [2021-05-21T06:03:23.529Z] DEBUG: total: 0.18000000715255737 [2021-05-21T06:03:23.529Z] INFO: Retrieving Stack Cost... [2021-05-21T06:03:24.475Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T06:03:25.419Z] INFO: Archiving Costs [Pipeline] echo [2021-05-21T06:03:25.454Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T06:03:25.800Z] ---> logs-deploy.sh [2021-05-21T06:03:25.800Z] lf-activate-venv: SKIPPING [2021-05-21T06:03:25.800Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3494/1 [2021-05-21T06:03:25.800Z] INFO: archiving workspace using pattern(s): [2021-05-21T06:03:26.748Z] Archives upload complete. [2021-05-21T06:03:26.748Z] INFO: archiving logs to Nexus