Pull request #3299 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at ebfae9bf1c69030f223d824c55fa5330fb79db8d rather than 1bcce9ebbbebe6ac312e2edc534838793706e042 Obtained Jenkinsfile from ebfae9bf1c69030f223d824c55fa5330fb79db8d 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-3299/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh 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-3299/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31489 in /w/workspace/edgexfoundry_edgex-go_PR-3299 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit ebfae9bf1c69030f223d824c55fa5330fb79db8d into PR head commit 1bcce9ebbbebe6ac312e2edc534838793706e042 Merge succeeded, producing 1bcce9ebbbebe6ac312e2edc534838793706e042 Checking out Revision 1bcce9ebbbebe6ac312e2edc534838793706e042 (PR-3299) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3299/head:refs/remotes/origin/PR-3299 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bcce9ebbbebe6ac312e2edc534838793706e042 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ebfae9bf1c69030f223d824c55fa5330fb79db8d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bcce9ebbbebe6ac312e2edc534838793706e042 # timeout=10 Commit message: "feat: Remove created field from Event and Reading" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:42:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:42:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:42:43 ========================================================= 03:42:43 EdgeX Global Pipelines Version Info 03:42:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:42:44 ------------------- 03:42:44 stable info: 03:42:44 ------------------- 03:42:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:42:44 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 03:42:44 Message: update stable to v1.0.186 03:42:45 ------------------- 03:42:45 experimental info: 03:42:45 ------------------- 03:42:45 Commited By: **** collab-it+edgex@linuxfoundation.org 03:42:45 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 03:42:45 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:42:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 03:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:42:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:42:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:42:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:42:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:42:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:42:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:42:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3299 [Pipeline] echo 03:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3299 [Pipeline] echo 03:42:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3299 [Pipeline] echo 03:42:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bcce9ebbbebe6ac312e2edc534838793706e042 [Pipeline] echo 03:42:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bcce9e [Pipeline] echo 03:42:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:42:49 provisioning config files... 03:42:49 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7062498159543870026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:50 ---> docker-login.sh 03:42:50 nexus3.edgexfoundry.org:10001 03:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:50 Configure a credential helper to remove this warning. See 03:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:50 03:42:50 Login Succeeded 03:42:50 nexus3.edgexfoundry.org:10002 03:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:50 Configure a credential helper to remove this warning. See 03:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:50 03:42:50 Login Succeeded 03:42:50 nexus3.edgexfoundry.org:10003 03:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:50 Configure a credential helper to remove this warning. See 03:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:50 03:42:50 Login Succeeded 03:42:50 nexus3.edgexfoundry.org:10004 03:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:51 Configure a credential helper to remove this warning. See 03:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:51 03:42:51 Login Succeeded 03:42:51 docker.io 03:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:51 Configure a credential helper to remove this warning. See 03:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:51 03:42:51 Login Succeeded 03:42:51 ---> docker-login.sh ends [Pipeline] } 03:42:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:52 ++ 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 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/core-command/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo core-command,cmd/core-command/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/core-data/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo core-data,cmd/core-data/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/core-metadata/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo core-metadata,cmd/core-metadata/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/security-bootstrapper/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/security-proxy-setup/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/security-secretstore-setup/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/support-notifications/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo support-notifications,cmd/support-notifications/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/support-scheduler/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo support-scheduler,cmd/support-scheduler/Dockerfile 03:42:52 + for file in '`ls cmd/**/Dockerfile`' 03:42:52 ++ dirname cmd/sys-mgmt-agent/Dockerfile 03:42:52 ++ cut -d/ -f2 03:42:52 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 03:42:52 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:42:53 03:42:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:42:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:42:53 latest: Pulling from edgex-devops/git-semver 03:42:53 31603596830f: Pulling fs layer 03:42:53 2a8b12db71e7: Pulling fs layer 03:42:53 6ca5941a6612: Pulling fs layer 03:42:53 ecc8261a40a4: Pulling fs layer 03:42:53 ecc8261a40a4: Waiting 03:42:53 2a8b12db71e7: Verifying Checksum 03:42:53 2a8b12db71e7: Download complete 03:42:53 31603596830f: Verifying Checksum 03:42:53 31603596830f: Download complete 03:42:53 ecc8261a40a4: Verifying Checksum 03:42:53 6ca5941a6612: Verifying Checksum 03:42:53 6ca5941a6612: Download complete 03:42:54 31603596830f: Pull complete 03:42:54 2a8b12db71e7: Pull complete 03:42:55 6ca5941a6612: Pull complete 03:42:55 ecc8261a40a4: Pull complete 03:42:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:42:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:42:55 prd-centos7-docker-4c-2g-31489 does not seem to be running inside a container 03:42:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:42:57 $ docker top ea632977b8ce9d03b7a361def33ce4715a39601a5d5835a95c96162d7c6da470 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:58 [ssh-agent] Looking for ssh-agent implementation... 03:42:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:58 $ docker exec ea632977b8ce9d03b7a361def33ce4715a39601a5d5835a95c96162d7c6da470 ssh-agent 03:42:58 SSH_AUTH_SOCK=/tmp/ssh-DWA7SOYJyg1S/agent.11 03:42:58 SSH_AGENT_PID=16 03:42:58 Running ssh-add (command line suppressed) 03:42:58 Identity added: /w/workspace/edgex-go/1@tmp/private_key_1836184788741541764.key (/w/workspace/edgex-go/1@tmp/private_key_1836184788741541764.key) 03:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:59 + git tag --points-at HEAD [Pipeline] } 03:42:59 $ docker exec --env ******** --env ******** ea632977b8ce9d03b7a361def33ce4715a39601a5d5835a95c96162d7c6da470 ssh-agent -k 03:42:59 unset SSH_AUTH_SOCK; 03:42:59 unset SSH_AGENT_PID; 03:42:59 echo Agent pid 16 killed; 03:42:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:59 [ssh-agent] Looking for ssh-agent implementation... 03:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:59 $ docker exec ea632977b8ce9d03b7a361def33ce4715a39601a5d5835a95c96162d7c6da470 ssh-agent 03:43:00 SSH_AUTH_SOCK=/tmp/ssh-8F10IOUfBNRy/agent.45 03:43:00 SSH_AGENT_PID=50 03:43:00 Running ssh-add (command line suppressed) 03:43:00 Identity added: /w/workspace/edgex-go/1@tmp/private_key_4568445755658172767.key (/w/workspace/edgex-go/1@tmp/private_key_4568445755658172767.key) 03:43:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:43:00 + git semver init 03:43:00 # -> Open(): unable to determine branch for HEAD 03:43:00 # $GIT_DIR = /w/workspace/edgex-go/1/.git 03:43:00 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 03:43:00 # $SEMVER_REMOTE_NAME = origin 03:43:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:43:00 # $SEMVER_USER_NAME = edgex-jenkins 03:43:00 # $SEMVER_BRANCH = PR-3299 03:43:00 # $SEMVER_TEMP = /tmp/semver-088246960 03:43:00 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 03:43:27 # '/tmp/semver-088246960' -> '/w/workspace/edgex-go/1/.semver' 03:43:27 # -> Force: false 03:43:27 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 03:43:27 $ docker exec --env ******** --env ******** ea632977b8ce9d03b7a361def33ce4715a39601a5d5835a95c96162d7c6da470 ssh-agent -k 03:43:27 unset SSH_AUTH_SOCK; 03:43:27 unset SSH_AGENT_PID; 03:43:27 echo Agent pid 50 killed; 03:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:43:28 + git semver [Pipeline] } 03:43:28 $ docker stop --time=1 ea632977b8ce9d03b7a361def33ce4715a39601a5d5835a95c96162d7c6da470 03:43:29 $ docker rm -f ea632977b8ce9d03b7a361def33ce4715a39601a5d5835a95c96162d7c6da470 [Pipeline] // withDockerContainer [Pipeline] sh 03:43:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:43:31 Stashed 1 file(s) [Pipeline] echo 03:43:31 [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 03:43:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:43:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:43:33 + sudo service docker restart 03:43:33 + true 03:43:33 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 03:43:33 ========================================================= 03:43:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:43:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:43:34 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 03:43:37 Sending build context to Docker daemon 328.9MB 03:43:37 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 03:43:37 Step 2/6 : FROM ${BASE} 03:43:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:43:37 188c0c94c7c5: Pulling fs layer 03:43:37 0ef7d3d256c8: Pulling fs layer 03:43:37 de9db76c5a1d: Pulling fs layer 03:43:37 bca2f99d35d6: Pulling fs layer 03:43:37 93359f2a8cfa: Pulling fs layer 03:43:37 7c6f9722023f: Pulling fs layer 03:43:37 a35cf1a2eb13: Pulling fs layer 03:43:37 bca2f99d35d6: Waiting 03:43:37 93359f2a8cfa: Waiting 03:43:37 7c6f9722023f: Waiting 03:43:37 a35cf1a2eb13: Waiting 03:43:37 de9db76c5a1d: Verifying Checksum 03:43:37 de9db76c5a1d: Download complete 03:43:37 93359f2a8cfa: Verifying Checksum 03:43:37 93359f2a8cfa: Download complete 03:43:37 188c0c94c7c5: Verifying Checksum 03:43:37 7c6f9722023f: Verifying Checksum 03:43:37 7c6f9722023f: Download complete 03:43:37 188c0c94c7c5: Pull complete 03:43:38 0ef7d3d256c8: Pull complete 03:43:38 de9db76c5a1d: Pull complete 03:43:39 a35cf1a2eb13: Verifying Checksum 03:43:39 a35cf1a2eb13: Download complete 03:43:40 bca2f99d35d6: Verifying Checksum 03:43:40 bca2f99d35d6: Download complete 03:43:45 bca2f99d35d6: Pull complete 03:43:46 93359f2a8cfa: Pull complete 03:43:46 7c6f9722023f: Pull complete 03:43:46 Still waiting to schedule task 03:43:46 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:43:51 a35cf1a2eb13: Pull complete 03:43:51 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:43:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:43:51 ---> a62c8e92a672 03:43:51 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 03:43:51 ---> Running in 7de900c95902 03:43:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:43:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:43:54 (1/12) Installing libmagic (5.38-r0) 03:43:54 (2/12) Installing file (5.38-r0) 03:43:54 (3/12) Installing libc-dev (0.7.2-r3) 03:43:54 (4/12) Installing g++ (9.3.0-r2) 03:44:21 (5/12) Installing fortify-headers (1.1-r0) 03:44:21 (6/12) Installing patch (2.7.6-r6) 03:44:21 (7/12) Installing build-base (0.5-r2) 03:44:21 (8/12) Installing libsodium (1.0.18-r0) 03:44:21 (9/12) Installing pkgconf (1.7.2-r0) 03:44:21 (10/12) Installing libsodium-dev (1.0.18-r0) 03:44:21 (11/12) Installing libzmq (4.3.3-r0) 03:44:21 (12/12) Installing zeromq-dev (4.3.3-r0) 03:44:21 Executing busybox-1.31.1-r19.trigger 03:44:21 OK: 233 MiB in 51 packages 03:44:24 Removing intermediate container 7de900c95902 03:44:24 ---> b980a1979da0 03:44:24 Step 4/6 : WORKDIR /edgex-go 03:44:24 ---> Running in 58aa6c4fcd2c 03:44:24 Removing intermediate container 58aa6c4fcd2c 03:44:24 ---> 88453617d8e0 03:44:24 Step 5/6 : COPY go.mod . 03:44:24 ---> 9b622fe229dd 03:44:24 Step 6/6 : RUN go mod download 03:44:24 ---> Running in 3839622f8009 03:44:46 Removing intermediate container 3839622f8009 03:44:46 ---> 0ecf62c91087 03:44:46 Successfully built 0ecf62c91087 03:44:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:44:46 + docker inspect -f . ci-base-image-x86_64 03:44:46 . [Pipeline] withDockerContainer 03:44:47 prd-centos7-docker-4c-2g-31489 does not seem to be running inside a container 03:44:47 $ 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 ******** -e ******** ci-base-image-x86_64 cat 03:44:48 $ docker top 19759c027bf790bd1ad73b637bacee861e75593e1861408140326dd0bfa2cad2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:48 + go version 03:44:48 go version go1.15.5 linux/amd64 [Pipeline] } 03:44:48 $ docker stop --time=1 19759c027bf790bd1ad73b637bacee861e75593e1861408140326dd0bfa2cad2 03:44:50 $ docker rm -f 19759c027bf790bd1ad73b637bacee861e75593e1861408140326dd0bfa2cad2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:44:51 + docker inspect -f . ci-base-image-x86_64 03:44:51 . [Pipeline] withDockerContainer 03:44:51 prd-centos7-docker-4c-2g-31489 does not seem to be running inside a container 03:44:51 $ 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 ******** -e ******** ci-base-image-x86_64 cat 03:44:52 $ docker top 5a74b8d5ab62e318b0ba713dcf5fb277f77ccff59692d8093291b5988e4b9ec2 -eo pid,comm [Pipeline] { [Pipeline] echo 03:44:52 ========================================================= 03:44:52 [edgeXBuildGoParallel] Running Tests and Build... 03:44:52 ========================================================= [Pipeline] sh 03:44:53 + make test 03:44:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:45:03 ? github.com/edgexfoundry/edgex-go [no test files] 03:45:18 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 03:45:18 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 03:45:18 internal/pkg/v2/infrastructure/redis/event.go:23:67: undefined: v2.Origin 03:45:18 internal/pkg/v2/infrastructure/redis/reading.go:23:73: undefined: v2.Origin 03:45:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31490 in /w/workspace/edgexfoundry_edgex-go_PR-3299 [Pipeline] { [Pipeline] ws 03:45:30 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 03:45:33 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.137s coverage: 45.9% of statements 03:45:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.067s coverage: 19.8% of statements 03:45:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.096s coverage: 100.0% of statements 03:45:33 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 03:45:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.031s coverage: 100.0% of statements 03:45:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.036s coverage: 100.0% of statements 03:45:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.099s coverage: 71.3% of statements 03:45:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.167s coverage: 82.9% of statements 03:45:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.071s coverage: 78.9% of statements 03:45:34 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 03:45:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.082s coverage: 100.0% of statements 03:45:35 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.053s coverage: 100.0% of statements 03:45:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.113s coverage: 86.7% of statements 03:45:36 using credential edgex-jenkins-ssh 03:45:36 Cloning the remote Git repository 03:45:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.125s coverage: 97.5% of statements 03:45:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.083s coverage: 78.3% of statements 03:45:36 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 03:45:36 internal/pkg/v2/infrastructure/redis/event.go:23: undefined: v2.Origin 03:45:36 internal/pkg/v2/infrastructure/redis/reading.go:23: undefined: v2.Origin 03:45:36 Cloning repository git@github.com:edgexfoundry/edgex-go.git 03:45:36 > git init /w/workspace/edgex-go/1 # timeout=10 03:45:36 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 03:45:36 > git --version # timeout=10 03:45:36 > git --version # 'git version 2.17.1' 03:45:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:45:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.351s coverage: 92.8% of statements 03:45:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.029s coverage: 58.8% of statements 03:45:39 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 03:45:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.037s coverage: 47.1% of statements 03:45:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.039s coverage: 79.5% of statements 03:45:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.035s coverage: 94.1% of statements 03:45:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.150s coverage: 96.3% of statements 03:45:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.032s coverage: 87.5% of statements 03:45:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.051s coverage: 94.4% of statements 03:45:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.026s coverage: 44.8% of statements 03:45:53 Merging remotes/origin/master commit ebfae9bf1c69030f223d824c55fa5330fb79db8d into PR head commit 1bcce9ebbbebe6ac312e2edc534838793706e042 03:45:52 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 03:45:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:45:52 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 03:45:52 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 03:45:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3299/head:refs/remotes/origin/PR-3299 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:45:53 > git config core.sparsecheckout # timeout=10 03:45:53 > git checkout -f 1bcce9ebbbebe6ac312e2edc534838793706e042 # timeout=10 03:45:53 Merge succeeded, producing 1bcce9ebbbebe6ac312e2edc534838793706e042 03:45:53 Checking out Revision 1bcce9ebbbebe6ac312e2edc534838793706e042 (PR-3299) 03:45:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.213s coverage: 82.6% of statements 03:45:53 > git remote # timeout=10 03:45:53 > git config --get remote.origin.url # timeout=10 03:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:53 > git merge ebfae9bf1c69030f223d824c55fa5330fb79db8d # timeout=10 03:45:53 > git rev-parse HEAD^{commit} # timeout=10 03:45:53 > git config core.sparsecheckout # timeout=10 03:45:53 > git checkout -f 1bcce9ebbbebe6ac312e2edc534838793706e042 # timeout=10 03:45:58 Commit message: "feat: Remove created field from Event and Reading" 03:45:58 > git --version # timeout=10 03:45:58 > git --version # 'git version 2.17.1' 03:45:58 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:46:00 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:46:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:46:01 + sudo service docker restart 03:46:01 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:46:03 provisioning config files... 03:46:03 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2637528805602835376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:03 ---> docker-login.sh 03:46:03 nexus3.edgexfoundry.org:10001 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.066s coverage: 92.9% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 77.8% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.045s coverage: 87.2% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.044s coverage: 75.5% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.035s coverage: 80.8% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.066s coverage: 87.2% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.6% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.073s coverage: 91.6% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.181s coverage: 64.4% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.038s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.036s coverage: 91.3% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.037s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.047s coverage: 73.7% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.306s coverage: 69.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.090s coverage: 38.4% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.043s coverage: 89.5% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.044s coverage: 84.8% of statements 03:46:03 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.060s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.048s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.135s coverage: 87.1% of statements 03:46:03 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.095s coverage: 99.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.046s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.088s coverage: 94.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/system 0.037s coverage: 0.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.035s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.041s coverage: 87.9% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.029s coverage: 100.0% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.039s coverage: 32.1% of statements 03:46:03 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 03:46:03 make: *** [Makefile:94: test] Error 2 [Pipeline] } 03:46:04 $ docker stop --time=1 5a74b8d5ab62e318b0ba713dcf5fb277f77ccff59692d8093291b5988e4b9ec2 03:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:04 Configure a credential helper to remove this warning. See 03:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:04 03:46:04 Login Succeeded 03:46:04 nexus3.edgexfoundry.org:10002 03:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:05 Configure a credential helper to remove this warning. See 03:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:05 03:46:05 Login Succeeded 03:46:05 nexus3.edgexfoundry.org:10003 03:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:06 Configure a credential helper to remove this warning. See 03:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:06 03:46:06 Login Succeeded 03:46:06 nexus3.edgexfoundry.org:10004 03:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:06 $ docker rm -f 5a74b8d5ab62e318b0ba713dcf5fb277f77ccff59692d8093291b5988e4b9ec2 03:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:06 Configure a credential helper to remove this warning. See 03:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:06 03:46:06 Login Succeeded 03:46:06 docker.io [Pipeline] // withDockerContainer 03:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // script [Pipeline] } 03:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:07 Configure a credential helper to remove this warning. See 03:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:07 03:46:07 Login Succeeded 03:46:07 ---> docker-login.sh ends [Pipeline] // stage [Pipeline] } 03:46:07 Deleting 1 temporary files [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] echo 03:46:07 ========================================================= 03:46:07 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:46:07 ========================================================= Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } 03:46:08 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:46:08 Failed in branch amd64 03:46:11 Sending build context to Docker daemon 167MB 03:46:11 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 03:46:11 Step 2/6 : FROM ${BASE} 03:46:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:46:11 5f621e34cdf4: Pulling fs layer 03:46:11 a4357932f1b6: Pulling fs layer 03:46:11 18c013af1878: Pulling fs layer 03:46:11 00ac8860ef70: Pulling fs layer 03:46:11 63d7cb157983: Pulling fs layer 03:46:11 b116817d02f9: Pulling fs layer 03:46:11 745a02a5169b: Pulling fs layer 03:46:11 b116817d02f9: Waiting 03:46:11 745a02a5169b: Waiting 03:46:11 00ac8860ef70: Waiting 03:46:11 63d7cb157983: Waiting 03:46:11 18c013af1878: Verifying Checksum 03:46:11 18c013af1878: Download complete 03:46:11 a4357932f1b6: Verifying Checksum 03:46:11 a4357932f1b6: Download complete 03:46:11 63d7cb157983: Verifying Checksum 03:46:11 63d7cb157983: Download complete 03:46:11 b116817d02f9: Verifying Checksum 03:46:11 b116817d02f9: Download complete 03:46:11 5f621e34cdf4: Verifying Checksum 03:46:11 5f621e34cdf4: Download complete 03:46:11 5f621e34cdf4: Pull complete 03:46:12 a4357932f1b6: Pull complete 03:46:12 18c013af1878: Pull complete 03:46:14 745a02a5169b: Verifying Checksum 03:46:14 745a02a5169b: Download complete 03:46:14 00ac8860ef70: Verifying Checksum 03:46:14 00ac8860ef70: Download complete 03:46:27 00ac8860ef70: Pull complete 03:46:27 63d7cb157983: Pull complete 03:46:27 b116817d02f9: Pull complete 03:46:29 745a02a5169b: Pull complete 03:46:29 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:46:29 ---> b7e6874047d6 03:46:29 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 03:46:33 ---> Running in c8ce10dd96c6 03:46:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:46:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:46:37 (1/12) Installing libmagic (5.38-r0) 03:46:38 (2/12) Installing file (5.38-r0) 03:46:38 (3/12) Installing libc-dev (0.7.2-r3) 03:46:38 (4/12) Installing g++ (9.3.0-r2) 03:46:53 (5/12) Installing fortify-headers (1.1-r0) 03:46:54 (6/12) Installing patch (2.7.6-r6) 03:46:54 (7/12) Installing build-base (0.5-r2) 03:46:54 (8/12) Installing libsodium (1.0.18-r0) 03:46:54 (9/12) Installing pkgconf (1.7.2-r0) 03:46:54 (10/12) Installing libsodium-dev (1.0.18-r0) 03:46:54 (11/12) Installing libzmq (4.3.3-r0) 03:46:55 (12/12) Installing zeromq-dev (4.3.3-r0) 03:46:55 Executing busybox-1.31.1-r19.trigger 03:46:55 OK: 217 MiB in 51 packages 03:46:59 Removing intermediate container c8ce10dd96c6 03:46:59 ---> 30b545e64a2c 03:46:59 Step 4/6 : WORKDIR /edgex-go 03:46:59 ---> Running in 20a9e771131f 03:47:00 Removing intermediate container 20a9e771131f 03:47:00 ---> 7c1daafd4138 03:47:00 Step 5/6 : COPY go.mod . 03:47:00 ---> 3f6727820ed4 03:47:00 Step 6/6 : RUN go mod download 03:47:00 ---> Running in ebd4b3613c24 03:47:27 Removing intermediate container ebd4b3613c24 03:47:27 ---> 34bd6f923b99 03:47:27 Successfully built 34bd6f923b99 03:47:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:47:28 + docker inspect -f . ci-base-image-arm64 03:47:28 . [Pipeline] withDockerContainer 03:47:28 prd-ubuntu18.04-docker-arm64-4c-16g-31490 does not seem to be running inside a container 03:47:28 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 03:47:29 $ docker top 69fff18b9ebd6c4cb44f1c583694b1017626a62c783f5eb663d626b30e7064a1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:30 + go version 03:47:30 go version go1.15.5 linux/arm64 [Pipeline] } 03:47:30 $ docker stop --time=1 69fff18b9ebd6c4cb44f1c583694b1017626a62c783f5eb663d626b30e7064a1 03:47:32 $ docker rm -f 69fff18b9ebd6c4cb44f1c583694b1017626a62c783f5eb663d626b30e7064a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:47:34 + docker inspect -f . ci-base-image-arm64 03:47:34 . [Pipeline] withDockerContainer 03:47:34 prd-ubuntu18.04-docker-arm64-4c-16g-31490 does not seem to be running inside a container 03:47:34 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 03:47:35 $ docker top f7c50210061f7d47e071fc8180540bd8af07d88cceffb8cb291031fdfa8667fc -eo pid,comm [Pipeline] { [Pipeline] echo 03:47:36 ========================================================= 03:47:36 [edgeXBuildGoParallel] Running Tests and Build... 03:47:36 ========================================================= [Pipeline] sh 03:47:36 + make test 03:47:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:47:58 ? github.com/edgexfoundry/edgex-go [no test files] 03:48:45 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 03:48:45 internal/pkg/v2/infrastructure/redis/event.go:23:67: undefined: v2.Origin 03:48:45 internal/pkg/v2/infrastructure/redis/reading.go:23:73: undefined: v2.Origin 03:48:45 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 03:49:18 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.347s coverage: 45.9% of statements 03:49:18 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.150s coverage: 19.8% of statements 03:49:18 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.231s coverage: 100.0% of statements 03:49:18 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 03:49:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.085s coverage: 100.0% of statements 03:49:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.090s coverage: 100.0% of statements 03:49:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.287s coverage: 71.3% of statements 03:49:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.455s coverage: 82.9% of statements 03:49:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.186s coverage: 78.9% of statements 03:49:23 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 03:49:23 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.167s coverage: 100.0% of statements 03:49:23 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.083s coverage: 100.0% of statements 03:49:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.357s coverage: 86.7% of statements 03:49:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.326s coverage: 97.5% of statements 03:49:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.153s coverage: 78.3% of statements 03:49:30 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis.test] 03:49:30 internal/pkg/v2/infrastructure/redis/event.go:23: undefined: v2.Origin 03:49:30 internal/pkg/v2/infrastructure/redis/reading.go:23: undefined: v2.Origin 03:49:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.213s coverage: 92.8% of statements 03:49:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.062s coverage: 58.8% of statements 03:49:34 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 03:49:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.092s coverage: 47.1% of statements 03:49:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.070s coverage: 79.5% of statements 03:49:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.073s coverage: 94.1% of statements 03:49:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.124s coverage: 96.3% of statements 03:49:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.068s coverage: 87.5% of statements 03:49:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.071s coverage: 94.4% of statements 03:49:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.063s coverage: 44.8% of statements 03:49:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.466s coverage: 82.6% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.136s coverage: 92.9% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 77.8% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.072s coverage: 87.2% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.055s coverage: 100.0% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.081s coverage: 75.5% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.067s coverage: 80.8% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.112s coverage: 87.2% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.135s coverage: 84.6% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.214s coverage: 91.6% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.530s coverage: 64.4% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.096s coverage: 91.3% of statements 03:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.065s coverage: 100.0% of statements 03:50:05 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.092s coverage: 73.7% of statements 03:50:05 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.060s coverage: 100.0% of statements 03:50:09 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.885s coverage: 69.0% of statements 03:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.347s coverage: 38.4% of statements 03:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.101s coverage: 89.5% of statements 03:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements 03:50:10 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 03:50:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.121s coverage: 100.0% of statements 03:50:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.145s coverage: 100.0% of statements 03:50:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.423s coverage: 87.1% of statements 03:50:16 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 03:50:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.192s coverage: 99.0% of statements 03:50:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.093s coverage: 100.0% of statements 03:50:18 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.257s coverage: 94.0% of statements 03:50:18 ok github.com/edgexfoundry/edgex-go/internal/system 0.043s coverage: 0.0% of statements 03:50:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.066s coverage: 100.0% of statements 03:50:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.072s coverage: 87.9% of statements 03:50:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.071s coverage: 100.0% of statements 03:50:20 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.054s coverage: 32.1% of statements 03:50:21 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements 03:50:22 make: *** [Makefile:94: test] Error 2 [Pipeline] } 03:50:22 $ docker stop --time=1 f7c50210061f7d47e071fc8180540bd8af07d88cceffb8cb291031fdfa8667fc 03:50:24 $ docker rm -f f7c50210061f7d47e071fc8180540bd8af07d88cceffb8cb291031fdfa8667fc [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 03:50:27 ---> job-cost.sh 03:50:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-s9fB 03:51:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:52:42 lf-activate-venv(): INFO: Adding /tmp/venv-s9fB/bin to PATH 03:52:42 INFO: No Stack... 03:52:42 INFO: Retrieving Pricing Info for: lf-standard-4 03:52:42 INFO: Archiving Costs [Pipeline] sh 03:52:43 + cat /w/workspace/edgex-go/1/archives/cost.csv 03:52:43 + cut -d, -f6 [Pipeline] lock 03:52:43 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3299-1-stack-cost] 03:52:43 Resource [jenkins-edgexfoundry-edgex-go-PR-3299-1-stack-cost] did not exist. Created. 03:52:43 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3299-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:52:44 + echo total: 0.20999999344348907 [Pipeline] stash 03:52:45 Stashed 1 file(s) [Pipeline] } 03:52:45 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3299-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:52:46 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 03:52:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:52:50 ---> package-listing.sh 03:52:50 ++ facter osfamily 03:52:50 ++ tr '[:upper:]' '[:lower:]' 03:52:50 + OS_FAMILY=redhat 03:52:50 + workspace=/w/workspace/edgex-go/1 03:52:50 + START_PACKAGES=/tmp/packages_start.txt 03:52:50 + END_PACKAGES=/tmp/packages_end.txt 03:52:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:52:50 + PACKAGES=/tmp/packages_start.txt 03:52:50 + '[' /w/workspace/edgex-go/1 ']' 03:52:50 + PACKAGES=/tmp/packages_end.txt 03:52:50 + case "${OS_FAMILY}" in 03:52:50 + rpm -qa 03:52:50 + sort 03:52:56 + '[' -f /tmp/packages_start.txt ']' 03:52:56 + '[' -f /tmp/packages_end.txt ']' 03:52:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:52:56 + '[' /w/workspace/edgex-go/1 ']' 03:52:56 + mkdir -p /w/workspace/edgex-go/1/archives/ 03:52:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 03:52:56 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 03:52:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:52:56 03:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:52:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:52:57 alpine: Pulling from edgex-lftools-log-publisher 03:52:57 df20fa9351a1: Pulling fs layer 03:52:57 36b3adc4ff6f: Pulling fs layer 03:52:57 8ad3a11d3b57: Pulling fs layer 03:52:57 46f8f816bc3b: Pulling fs layer 03:52:57 93b61091891f: Pulling fs layer 03:52:57 93b9cdb0e59b: Pulling fs layer 03:52:57 5e14af77c1be: Pulling fs layer 03:52:57 01666e4c0597: Pulling fs layer 03:52:57 aa168da1d23b: Pulling fs layer 03:52:57 46f8f816bc3b: Waiting 03:52:57 5e14af77c1be: Waiting 03:52:57 93b9cdb0e59b: Waiting 03:52:57 93b61091891f: Waiting 03:52:57 01666e4c0597: Waiting 03:52:57 aa168da1d23b: Waiting 03:52:57 36b3adc4ff6f: Verifying Checksum 03:52:57 36b3adc4ff6f: Download complete 03:52:57 46f8f816bc3b: Verifying Checksum 03:52:57 46f8f816bc3b: Download complete 03:52:57 df20fa9351a1: Download complete 03:52:57 93b9cdb0e59b: Download complete 03:52:57 5e14af77c1be: Verifying Checksum 03:52:57 5e14af77c1be: Download complete 03:52:57 93b61091891f: Verifying Checksum 03:52:57 93b61091891f: Download complete 03:52:57 01666e4c0597: Verifying Checksum 03:52:57 01666e4c0597: Download complete 03:52:57 8ad3a11d3b57: Verifying Checksum 03:52:57 8ad3a11d3b57: Download complete 03:52:57 df20fa9351a1: Pull complete 03:52:57 36b3adc4ff6f: Pull complete 03:52:58 8ad3a11d3b57: Pull complete 03:52:58 46f8f816bc3b: Pull complete 03:52:59 93b61091891f: Pull complete 03:52:59 aa168da1d23b: Verifying Checksum 03:52:59 aa168da1d23b: Download complete 03:53:00 93b9cdb0e59b: Pull complete 03:53:00 5e14af77c1be: Pull complete 03:53:00 01666e4c0597: Pull complete 03:53:08 aa168da1d23b: Pull complete 03:53:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:53:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:53:08 prd-centos7-docker-4c-2g-31489 does not seem to be running inside a container 03:53:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:53:12 $ docker top c89b6c30907760add904332e54657c6c7f59ae3f6cf543ec7ff2c546770f0a5c -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:13 + touch /tmp/pre-build-complete [Pipeline] sh 03:53:13 + mkdir -p /var/log/sa [Pipeline] sh 03:53:13 + ls /var/log/sa-host 03:53:13 + sadf -c /var/log/sa-host/sa23 03:53:13 file_magic: OK 03:53:13 HZ: Using current value: 100 03:53:13 file_header: OK 03:53:13 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 03:53:13 Statistics: 03:53:13 Hnuu...uuuununununu... 03:53:13 File successfully converted to sysstat format version 12.2.1 03:53:13 + sadf -c /var/log/sa-host/sa26 03:53:13 file_magic: OK 03:53:13 HZ: Using current value: 100 03:53:13 file_header: OK 03:53:13 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 03:53:13 Statistics: 03:53:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:53:13 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:14 provisioning config files... 03:53:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config3128694979459235934tmp [Pipeline] { [Pipeline] echo 03:53:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:53:14 ---> create-netrc.sh [Pipeline] } 03:53:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:53:14 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:53:15 ---> python-tools-install.sh [Pipeline] echo 03:53:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:53:15 ---> sudo-logs.sh 03:53:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:53:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:53:15 ---> job-cost.sh 03:53:15 lf-activate-venv: SKIPPING 03:53:15 DEBUG: total: 0.20999999344348907 03:53:15 INFO: Retrieving Stack Cost... 03:53:17 INFO: Retrieving Pricing Info for: v1-standard-2 03:53:17 INFO: Archiving Costs [Pipeline] echo 03:53:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:53:18 ---> logs-deploy.sh 03:53:18 lf-activate-venv: SKIPPING 03:53:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3299/1 03:53:18 INFO: archiving workspace using pattern(s): 03:53:19 Archives upload complete. 03:53:19 INFO: archiving logs to Nexus