Pull request #2681 updated 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 cloudxxx8 for edgexfoundry/edgex-go Obtained Jenkinsfile from 50830c98518aa4c14a49f1cca79d3cea09f31568+e46f0634e742b47d68bad1447e074d74297b9715 (f4690a8416ecc59c55b04c434979d855b8d0db9d) Running in Durability level: PERFORMANCE_OPTIMIZED 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 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. [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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-2426 in /w/workspace/edgexfoundry_edgex-go_PR-2681 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/4 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/4 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit e46f0634e742b47d68bad1447e074d74297b9715 into PR head commit 50830c98518aa4c14a49f1cca79d3cea09f31568 Merge succeeded, producing b579cf5134f9ffe31a12417a4950efefd537f5ae Checking out Revision b579cf5134f9ffe31a12417a4950efefd537f5ae (PR-2681) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2681/head:refs/remotes/origin/PR-2681 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50830c98518aa4c14a49f1cca79d3cea09f31568 # 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 e46f0634e742b47d68bad1447e074d74297b9715 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b579cf5134f9ffe31a12417a4950efefd537f5ae # timeout=10 Commit message: "Merge commit 'e46f0634e742b47d68bad1447e074d74297b9715' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:53:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:53:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:53:45 ========================================================= 13:53:45 EdgeX Global Pipelines Version Info 13:53:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d955cb2d9dedeafd848c9c73662eaad2d12556e6 # timeout=10 13:53:46 ------------------- 13:53:46 stable info: 13:53:46 ------------------- 13:53:46 Commited By: Emilio Reyes emilio.reyes@intel.com 13:53:46 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 13:53:46 Message: update stable to v1.0.119 13:53:47 ------------------- 13:53:47 experimental info: 13:53:47 ------------------- 13:53:47 Commited By: **** collab-it+edgex@linuxfoundation.org 13:53:47 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 13:53:47 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:53:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 13:53:47 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:53:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2681 [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2681 [Pipeline] echo 13:53:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2681 [Pipeline] echo 13:53:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b579cf5134f9ffe31a12417a4950efefd537f5ae [Pipeline] echo 13:53:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b579cf5 [Pipeline] echo 13:53:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 13:53:50 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/core-command/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo core-command,cmd/core-command/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/core-data/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo core-data,cmd/core-data/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/core-metadata/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo core-metadata,cmd/core-metadata/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/security-proxy-setup/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ cut -d/ -f2 13:53:50 ++ dirname cmd/security-secrets-setup/Dockerfile 13:53:50 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/security-secretstore-setup/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/support-logging/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo support-logging,cmd/support-logging/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/support-notifications/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo support-notifications,cmd/support-notifications/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/support-scheduler/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo support-scheduler,cmd/support-scheduler/Dockerfile 13:53:50 + for file in '`ls cmd/**/Dockerfile`' 13:53:50 ++ dirname cmd/sys-mgmt-agent/Dockerfile 13:53:50 ++ cut -d/ -f2 13:53:50 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 13:53:50 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-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/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 13:53:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:53:52 13:53:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:53:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:53:52 latest: Pulling from edgex-devops/git-semver 13:53:52 31603596830f: Pulling fs layer 13:53:52 2a8b12db71e7: Pulling fs layer 13:53:52 6ca5941a6612: Pulling fs layer 13:53:52 ecc8261a40a4: Pulling fs layer 13:53:52 ecc8261a40a4: Waiting 13:53:52 2a8b12db71e7: Download complete 13:53:53 31603596830f: Verifying Checksum 13:53:53 31603596830f: Download complete 13:53:53 ecc8261a40a4: Verifying Checksum 13:53:53 ecc8261a40a4: Download complete 13:53:53 6ca5941a6612: Verifying Checksum 13:53:53 6ca5941a6612: Download complete 13:53:53 31603596830f: Pull complete 13:53:53 2a8b12db71e7: Pull complete 13:53:54 6ca5941a6612: Pull complete 13:53:54 ecc8261a40a4: Pull complete 13:53:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:53:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:53:54 prd-centos7-docker-4c-2g-2426 does not seem to be running inside a container 13:53:55 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 13:53:57 $ docker top e9dfe1987bdc7dcdaec2b01eed75bbe0d6638ec93572ebfe6fcba12d23209294 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:53:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:53:57 [ssh-agent] Looking for ssh-agent implementation... 13:53:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:53:57 $ docker exec e9dfe1987bdc7dcdaec2b01eed75bbe0d6638ec93572ebfe6fcba12d23209294 ssh-agent 13:53:58 SSH_AUTH_SOCK=/tmp/ssh-ANxXVSijWFaz/agent.11 13:53:58 SSH_AGENT_PID=16 13:53:58 Running ssh-add (command line suppressed) 13:53:58 Identity added: /w/workspace/edgex-go/4@tmp/private_key_1645657661536662484.key (/w/workspace/edgex-go/4@tmp/private_key_1645657661536662484.key) 13:53:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:53:58 + git describe --exact-match --tags HEAD 13:53:58 fatal: No names found, cannot describe anything. [Pipeline] } 13:53:58 $ docker exec --env ******** --env ******** e9dfe1987bdc7dcdaec2b01eed75bbe0d6638ec93572ebfe6fcba12d23209294 ssh-agent -k 13:53:58 unset SSH_AUTH_SOCK; 13:53:58 unset SSH_AGENT_PID; 13:53:58 echo Agent pid 16 killed; 13:53:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:53:58 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:53:58 This usually means this commit has not been tagged. [Pipeline] sshagent 13:53:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:53:59 [ssh-agent] Looking for ssh-agent implementation... 13:53:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:53:59 $ docker exec e9dfe1987bdc7dcdaec2b01eed75bbe0d6638ec93572ebfe6fcba12d23209294 ssh-agent 13:53:59 SSH_AUTH_SOCK=/tmp/ssh-d4P2KIeaOEyf/agent.44 13:53:59 SSH_AGENT_PID=49 13:53:59 Running ssh-add (command line suppressed) 13:53:59 Identity added: /w/workspace/edgex-go/4@tmp/private_key_6454197439376201918.key (/w/workspace/edgex-go/4@tmp/private_key_6454197439376201918.key) 13:53:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:53:59 + git semver init 13:53:59 # -> Open(): unable to determine branch for HEAD 13:53:59 # $GIT_DIR = /w/workspace/edgex-go/4/.git 13:53:59 # $GIT_WORK_TREE = /w/workspace/edgex-go/4 13:53:59 # $SEMVER_REMOTE_NAME = origin 13:53:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:53:59 # $SEMVER_USER_NAME = edgex-jenkins 13:53:59 # $SEMVER_BRANCH = PR-2681 13:53:59 # $SEMVER_TEMP = /tmp/semver-979218889 13:53:59 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 13:54:18 # '/tmp/semver-979218889' -> '/w/workspace/edgex-go/4/.semver' 13:54:18 # -> Force: false 13:54:18 # $SEMVER_DIR = /w/workspace/edgex-go/4/.semver [Pipeline] } 13:54:18 $ docker exec --env ******** --env ******** e9dfe1987bdc7dcdaec2b01eed75bbe0d6638ec93572ebfe6fcba12d23209294 ssh-agent -k 13:54:18 unset SSH_AUTH_SOCK; 13:54:18 unset SSH_AGENT_PID; 13:54:18 echo Agent pid 49 killed; 13:54:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:54:18 + git semver [Pipeline] } 13:54:18 $ docker stop --time=1 e9dfe1987bdc7dcdaec2b01eed75bbe0d6638ec93572ebfe6fcba12d23209294 13:54:20 $ docker rm -f e9dfe1987bdc7dcdaec2b01eed75bbe0d6638ec93572ebfe6fcba12d23209294 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:54:33 Stashed 46 file(s) [Pipeline] echo 13:54:33 [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] echo 13:54:34 ========================================================= 13:54:34 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:54:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:54:35 + 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 . 13:54:38 Sending build context to Docker daemon 323.2MB 13:54:38 Step 1/7 : ARG BASE=golang:1.15-alpine 13:54:38 Step 2/7 : FROM ${BASE} 13:54:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:54:38 df20fa9351a1: Pulling fs layer 13:54:38 ed8968b2872e: Pulling fs layer 13:54:38 a92cc7c5fd73: Pulling fs layer 13:54:38 e871e8e8d7a9: Pulling fs layer 13:54:38 e73272ec9a57: Pulling fs layer 13:54:38 1e910a182e73: Pulling fs layer 13:54:38 4e634b169226: Pulling fs layer 13:54:38 e73272ec9a57: Waiting 13:54:38 1e910a182e73: Waiting 13:54:38 4e634b169226: Waiting 13:54:38 e871e8e8d7a9: Waiting 13:54:38 a92cc7c5fd73: Verifying Checksum 13:54:38 a92cc7c5fd73: Download complete 13:54:38 ed8968b2872e: Download complete 13:54:38 e73272ec9a57: Verifying Checksum 13:54:38 e73272ec9a57: Download complete 13:54:39 1e910a182e73: Verifying Checksum 13:54:39 1e910a182e73: Download complete 13:54:39 df20fa9351a1: Verifying Checksum 13:54:39 df20fa9351a1: Download complete 13:54:39 df20fa9351a1: Pull complete 13:54:39 ed8968b2872e: Pull complete 13:54:39 a92cc7c5fd73: Pull complete 13:54:40 4e634b169226: Verifying Checksum 13:54:40 4e634b169226: Download complete 13:54:41 e871e8e8d7a9: Verifying Checksum 13:54:41 e871e8e8d7a9: Download complete 13:54:46 e871e8e8d7a9: Pull complete 13:54:46 e73272ec9a57: Pull complete 13:54:46 1e910a182e73: Pull complete 13:54:49 Still waiting to schedule task 13:54:49 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:54:50 4e634b169226: Pull complete 13:54:50 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 13:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:54:50 ---> f7629b54cfaa 13:54:50 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 13:54:51 ---> Running in 5da12f721bc1 13:54:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:54:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:54:52 (1/12) Installing libmagic (5.38-r0) 13:54:53 (2/12) Installing file (5.38-r0) 13:54:53 (3/12) Installing libc-dev (0.7.2-r3) 13:54:53 (4/12) Installing g++ (9.3.0-r2) 13:54:57 (5/12) Installing fortify-headers (1.1-r0) 13:54:57 (6/12) Installing patch (2.7.6-r6) 13:54:57 (7/12) Installing build-base (0.5-r2) 13:54:57 (8/12) Installing libsodium (1.0.18-r0) 13:54:57 (9/12) Installing pkgconf (1.7.2-r0) 13:54:57 (10/12) Installing libsodium-dev (1.0.18-r0) 13:54:58 (11/12) Installing libzmq (4.3.3-r0) 13:54:58 (12/12) Installing zeromq-dev (4.3.3-r0) 13:54:58 Executing busybox-1.31.1-r16.trigger 13:54:58 OK: 233 MiB in 51 packages 13:55:02 Removing intermediate container 5da12f721bc1 13:55:02 ---> 2f5e12059b1b 13:55:02 Step 4/7 : WORKDIR /edgex-go 13:55:02 ---> Running in d9de1439d949 13:55:02 Removing intermediate container d9de1439d949 13:55:02 ---> 8edc30abc7fc 13:55:02 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 13:55:02 latest: Pulling from library/docker 13:55:03 df20fa9351a1: Already exists 13:55:03 25ad7478873d: Pulling fs layer 13:55:03 4684f6177b5d: Pulling fs layer 13:55:03 46e300cec669: Pulling fs layer 13:55:03 63038576ad94: Pulling fs layer 13:55:03 0fdb76c4706c: Pulling fs layer 13:55:03 cb7edeffdfd5: Pulling fs layer 13:55:03 63038576ad94: Waiting 13:55:03 0fdb76c4706c: Waiting 13:55:03 cb7edeffdfd5: Waiting 13:55:03 4684f6177b5d: Verifying Checksum 13:55:03 4684f6177b5d: Download complete 13:55:03 25ad7478873d: Verifying Checksum 13:55:03 25ad7478873d: Download complete 13:55:03 63038576ad94: Verifying Checksum 13:55:03 63038576ad94: Download complete 13:55:03 0fdb76c4706c: Verifying Checksum 13:55:03 0fdb76c4706c: Download complete 13:55:03 cb7edeffdfd5: Verifying Checksum 13:55:03 cb7edeffdfd5: Download complete 13:55:03 25ad7478873d: Pull complete 13:55:03 4684f6177b5d: Pull complete 13:55:03 46e300cec669: Download complete 13:55:07 46e300cec669: Pull complete 13:55:07 63038576ad94: Pull complete 13:55:07 0fdb76c4706c: Pull complete 13:55:07 cb7edeffdfd5: Pull complete 13:55:07 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 13:55:07 Status: Downloaded newer image for docker:latest 13:55:09 ---> 35d0c067c1be 13:55:09 Step 6/7 : COPY go.mod . 13:55:09 ---> 4a8cebb3a0d0 13:55:09 Step 7/7 : RUN go mod download 13:55:09 ---> Running in b9921e98ae49 13:55:31 Removing intermediate container b9921e98ae49 13:55:31 ---> 97ca59f26aaa 13:55:31 Successfully built 97ca59f26aaa 13:55:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:55:32 + docker inspect -f . ci-base-image-x86_64 13:55:32 . [Pipeline] withDockerContainer 13:55:32 prd-centos7-docker-4c-2g-2426 does not seem to be running inside a container 13:55:32 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:55:33 $ docker top c3af1fb9eda731e8f7c926f01de0d6a4d32586c42d829a0e7334d06666c932ec -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:33 + go version 13:55:33 go version go1.15.2 linux/amd64 [Pipeline] echo 13:55:33 ========================================================= 13:55:33 [edgeXBuildGoParallel] Running Tests and Build... 13:55:33 ========================================================= [Pipeline] sh 13:55:34 + make test 13:55:34 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:55:36 ? github.com/edgexfoundry/edgex-go [no test files] 13:55:46 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 13:55:52 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 13:55:52 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 13:55:52 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 13:55:52 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 13:55:53 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.005s 13:55:53 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 13:55:53 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 13:55:53 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 13:55:54 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 13:55:54 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 13:55:54 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 13:55:54 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 13:55:54 ? github.com/edgexfoundry/edgex-go/internal [no test files] 13:55:57 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.026s coverage: 46.6% of statements 13:55:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 13:55:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 13:55:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 13:55:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 13:55:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 13:56:01 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.044s coverage: 27.2% of statements 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 13:56:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.048s coverage: 100.0% of statements 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 13:56:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.024s coverage: 100.0% of statements 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 13:56:01 --- FAIL: TestAddEventWithPersistence (0.00s) 13:56:01 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent [recovered] 13:56:01 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent 13:56:01 13:56:01 goroutine 7 [running]: 13:56:01 testing.tRunner.func1.1(0x811120, 0xc000312b40) 13:56:01 /usr/local/go/src/testing/testing.go:1076 +0x30d 13:56:01 testing.tRunner.func1(0xc000198c00) 13:56:01 /usr/local/go/src/testing/testing.go:1079 +0x41a 13:56:01 panic(0x811120, 0xc000312b40) 13:56:01 /usr/local/go/src/runtime/panic.go:969 +0x175 13:56:01 github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container.DBClientFrom(...) 13:56:01 /w/workspace/edgex-go/4/internal/core/data/v2/bootstrap/container/database.go:19 13:56:01 github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.AddEvent(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x88849a, 0xb, 0x0, ...) 13:56:01 /w/workspace/edgex-go/4/internal/core/data/v2/application/event.go:32 +0x128 13:56:01 github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.TestAddEventWithPersistence(0xc000198c00) 13:56:01 /w/workspace/edgex-go/4/internal/core/data/v2/application/event_test.go:64 +0x2e5 13:56:01 testing.tRunner(0xc000198c00, 0x8a3f08) 13:56:01 /usr/local/go/src/testing/testing.go:1127 +0xef 13:56:01 created by testing.(*T).Run 13:56:01 /usr/local/go/src/testing/testing.go:1178 +0x386 13:56:01 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.055s 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 13:56:01 --- FAIL: TestAddEvent (0.00s) 13:56:01 --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.00s) 13:56:01 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent [recovered] 13:56:01 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent 13:56:01 13:56:01 goroutine 20 [running]: 13:56:01 testing.tRunner.func1.1(0x822200, 0xc0001ddef0) 13:56:01 /usr/local/go/src/testing/testing.go:1076 +0x30d 13:56:01 testing.tRunner.func1(0xc000083980) 13:56:01 /usr/local/go/src/testing/testing.go:1079 +0x41a 13:56:01 panic(0x822200, 0xc0001ddef0) 13:56:01 /usr/local/go/src/runtime/panic.go:969 +0x175 13:56:01 github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container.DBClientFrom(...) 13:56:01 /w/workspace/edgex-go/4/internal/core/data/v2/bootstrap/container/database.go:19 13:56:01 github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.AddEvent(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0002b2b50, 0xa, 0x0, ...) 13:56:01 /w/workspace/edgex-go/4/internal/core/data/v2/application/event.go:32 +0x11e 13:56:01 github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.(*EventController).AddEvent(0xc0001f2ae0, 0x915300, 0xc0002a6940, 0xc00011ac00) 13:56:01 /w/workspace/edgex-go/4/internal/core/data/v2/controller/http/event.go:55 +0x3ad 13:56:01 net/http.HandlerFunc.ServeHTTP(...) 13:56:01 /usr/local/go/src/net/http/server.go:2042 13:56:01 github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.TestAddEvent.func3(0xc000083980) 13:56:01 /w/workspace/edgex-go/4/internal/core/data/v2/controller/http/event_test.go:172 +0x309 13:56:01 testing.tRunner(0xc000083980, 0xc0002a68c0) 13:56:01 /usr/local/go/src/testing/testing.go:1127 +0xef 13:56:01 created by testing.(*T).Run 13:56:01 /usr/local/go/src/testing/testing.go:1178 +0x386 13:56:01 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.052s 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 13:56:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.074s coverage: 28.6% of statements 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 13:56:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 13:56:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.027s coverage: 100.0% of statements 13:56:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 13:56:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.010s coverage: 100.0% of statements 13:56:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 13:56:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.020s coverage: 89.8% of statements 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 13:56:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.028s coverage: 97.5% of statements 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 13:56:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.022s coverage: 100.0% of statements 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 13:56:03 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.036s coverage: 58.8% of statements 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 13:56:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [no test files] 13:56:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.074s coverage: 63.5% of statements 13:56:04 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 13:56:04 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 13:56:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.007s coverage: 100.0% of statements 13:56:04 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.081s coverage: 55.9% of statements 13:56:04 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 13:56:04 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 13:56:04 ? github.com/edgexfoundry/edgex-go/internal/security/secretread [no test files] 13:56:04 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 8.055s coverage: 86.3% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.333s coverage: 72.2% of statements 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.105s coverage: 72.1% of statements 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.013s coverage: 82.4% of statements 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.009s coverage: 48.4% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.011s coverage: 28.8% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.043s coverage: 96.8% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.031s coverage: 26.9% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.078s coverage: 84.1% of statements 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.015s coverage: 100.0% of statements 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.006s coverage: 42.9% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.008s coverage: 100.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.039s coverage: 83.8% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.034s coverage: 46.1% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.046s coverage: 100.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.031s coverage: 100.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.013s coverage: 100.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.051s coverage: 29.1% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.025s coverage: 99.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.024s coverage: 100.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/system 0.005s coverage: 0.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.015s coverage: 100.0% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.020s coverage: 87.9% of statements 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 13:56:14 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.012s coverage: 100.0% of statements 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.005s coverage: 32.1% of statements 13:56:14 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.006s coverage: 100.0% of statements 13:56:14 FAIL 13:56:14 make: *** [Makefile:81: test] Error 1 [Pipeline] } 13:56:14 $ docker stop --time=1 c3af1fb9eda731e8f7c926f01de0d6a4d32586c42d829a0e7334d06666c932ec 13:56:17 $ docker rm -f c3af1fb9eda731e8f7c926f01de0d6a4d32586c42d829a0e7334d06666c932ec [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] } 13:56:18 Failed in branch amd64 13:56:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2427 in /w/workspace/edgexfoundry_edgex-go_PR-2681 [Pipeline] { [Pipeline] ws 13:56:37 Running in /w/workspace/edgex-go/4 [Pipeline] { [Pipeline] checkout 13:56:42 using credential edgex-jenkins-ssh 13:56:42 Cloning the remote Git repository 13:56:42 Cloning with configured refspecs honoured and without tags 13:56:42 Cloning repository git@github.com:edgexfoundry/edgex-go.git 13:56:42 > git init /w/workspace/edgex-go/4 # timeout=10 13:56:42 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 13:56:42 > git --version # timeout=10 13:56:42 > git --version # 'git version 2.17.1' 13:56:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:56:59 Fetching without tags 13:56:59 Merging remotes/origin/master commit e46f0634e742b47d68bad1447e074d74297b9715 into PR head commit 50830c98518aa4c14a49f1cca79d3cea09f31568 13:56:59 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 13:56:59 > git config --add remote.origin.fetch +refs/pull/2681/head:refs/remotes/origin/PR-2681 # timeout=10 13:56:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:56:59 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 13:56:59 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 13:56:59 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2681/head:refs/remotes/origin/PR-2681 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:56:59 > git config core.sparsecheckout # timeout=10 13:56:59 > git checkout -f 50830c98518aa4c14a49f1cca79d3cea09f31568 # timeout=10 13:57:00 Merge succeeded, producing 857c86612b3329bc49cfe278ed810fdfb75f6291 13:57:00 Checking out Revision 857c86612b3329bc49cfe278ed810fdfb75f6291 (PR-2681) 13:57:00 > git remote # timeout=10 13:57:00 > git config --get remote.origin.url # timeout=10 13:57:00 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:00 > git merge e46f0634e742b47d68bad1447e074d74297b9715 # timeout=10 13:57:00 > git rev-parse HEAD^{commit} # timeout=10 13:57:00 > git config core.sparsecheckout # timeout=10 13:57:00 > git checkout -f 857c86612b3329bc49cfe278ed810fdfb75f6291 # timeout=10 13:57:04 Commit message: "Merge commit 'e46f0634e742b47d68bad1447e074d74297b9715' into HEAD" 13:57:04 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 13:57:04 > git rev-list --no-walk d955cb2d9dedeafd848c9c73662eaad2d12556e6 # timeout=10 [Pipeline] echo 13:57:16 ========================================================= 13:57:16 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 13:57:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:57:17 + 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 . 13:57:22 Sending build context to Docker daemon 323.2MB 13:57:22 Step 1/7 : ARG BASE=golang:1.15-alpine 13:57:22 Step 2/7 : FROM ${BASE} 13:57:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:57:22 b538f80385f9: Pulling fs layer 13:57:22 74f711af9a0d: Pulling fs layer 13:57:22 99f96fe45779: Pulling fs layer 13:57:22 8529a6b9a6be: Pulling fs layer 13:57:22 45590311c82a: Pulling fs layer 13:57:22 69ca0ff8b7b3: Pulling fs layer 13:57:22 209524e5b208: Pulling fs layer 13:57:22 45590311c82a: Waiting 13:57:22 8529a6b9a6be: Waiting 13:57:22 69ca0ff8b7b3: Waiting 13:57:22 209524e5b208: Waiting 13:57:22 99f96fe45779: Verifying Checksum 13:57:22 99f96fe45779: Download complete 13:57:22 74f711af9a0d: Verifying Checksum 13:57:22 74f711af9a0d: Download complete 13:57:22 69ca0ff8b7b3: Verifying Checksum 13:57:22 69ca0ff8b7b3: Download complete 13:57:23 b538f80385f9: Verifying Checksum 13:57:23 b538f80385f9: Download complete 13:57:23 b538f80385f9: Pull complete 13:57:24 74f711af9a0d: Pull complete 13:57:24 99f96fe45779: Pull complete 13:57:25 209524e5b208: Verifying Checksum 13:57:25 209524e5b208: Download complete 13:57:26 8529a6b9a6be: Verifying Checksum 13:57:26 8529a6b9a6be: Download complete 13:57:38 8529a6b9a6be: Pull complete 13:57:38 45590311c82a: Pull complete 13:57:38 69ca0ff8b7b3: Pull complete 13:57:41 209524e5b208: Pull complete 13:57:41 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 13:57:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:57:41 ---> 5bddaf1c2fca 13:57:41 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 13:57:45 ---> Running in 1ca0483bc034 13:57:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:57:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:57:48 (1/12) Installing libmagic (5.38-r0) 13:57:48 (2/12) Installing file (5.38-r0) 13:57:48 (3/12) Installing libc-dev (0.7.2-r3) 13:57:48 (4/12) Installing g++ (9.3.0-r2) 13:57:53 (5/12) Installing fortify-headers (1.1-r0) 13:57:53 (6/12) Installing patch (2.7.6-r6) 13:57:53 (7/12) Installing build-base (0.5-r2) 13:57:53 (8/12) Installing libsodium (1.0.18-r0) 13:57:53 (9/12) Installing pkgconf (1.7.2-r0) 13:57:53 (10/12) Installing libsodium-dev (1.0.18-r0) 13:57:53 (11/12) Installing libzmq (4.3.3-r0) 13:57:53 (12/12) Installing zeromq-dev (4.3.3-r0) 13:57:54 Executing busybox-1.31.1-r16.trigger 13:57:54 OK: 217 MiB in 51 packages 13:57:58 Removing intermediate container 1ca0483bc034 13:57:58 ---> 129406423c63 13:57:58 Step 4/7 : WORKDIR /edgex-go 13:57:58 ---> Running in a41209fc20e9 13:57:58 Removing intermediate container a41209fc20e9 13:57:58 ---> cd71c22587b6 13:57:58 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 13:57:59 latest: Pulling from library/docker 13:57:59 b538f80385f9: Already exists 13:57:59 259a493cd78d: Pulling fs layer 13:57:59 b8e66b5100f5: Pulling fs layer 13:57:59 39dc9c94d07c: Pulling fs layer 13:57:59 551b823b3b82: Pulling fs layer 13:57:59 3c52a74df98c: Pulling fs layer 13:57:59 6c9b121b6998: Pulling fs layer 13:57:59 551b823b3b82: Waiting 13:57:59 3c52a74df98c: Waiting 13:57:59 6c9b121b6998: Waiting 13:57:59 b8e66b5100f5: Download complete 13:57:59 259a493cd78d: Verifying Checksum 13:57:59 259a493cd78d: Download complete 13:57:59 551b823b3b82: Verifying Checksum 13:57:59 551b823b3b82: Download complete 13:57:59 3c52a74df98c: Download complete 13:58:00 6c9b121b6998: Verifying Checksum 13:58:00 6c9b121b6998: Download complete 13:58:00 259a493cd78d: Pull complete 13:58:00 39dc9c94d07c: Verifying Checksum 13:58:00 39dc9c94d07c: Download complete 13:58:00 b8e66b5100f5: Pull complete 13:58:04 39dc9c94d07c: Pull complete 13:58:04 551b823b3b82: Pull complete 13:58:04 3c52a74df98c: Pull complete 13:58:04 6c9b121b6998: Pull complete 13:58:04 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 13:58:04 Status: Downloaded newer image for docker:latest 13:58:08 ---> 20c714bbdd4e 13:58:08 Step 6/7 : COPY go.mod . 13:58:08 ---> 1743a7812af2 13:58:08 Step 7/7 : RUN go mod download 13:58:08 ---> Running in 02b581985277 13:58:35 Removing intermediate container 02b581985277 13:58:35 ---> 80949230881e 13:58:36 Successfully built 80949230881e 13:58:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:58:36 + docker inspect -f . ci-base-image-arm64 13:58:36 . [Pipeline] withDockerContainer 13:58:37 prd-ubuntu18.04-docker-arm64-4c-16g-2427 does not seem to be running inside a container 13:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:58:38 $ docker top 838d48baf16107ae40817bda5b078461fdb6331f6e87309edd52df82e7820b45 -eo pid,comm [Pipeline] { [Pipeline] sh 13:58:39 + go version 13:58:39 go version go1.15.2 linux/arm64 [Pipeline] echo 13:58:39 ========================================================= 13:58:39 [edgeXBuildGoParallel] Running Tests and Build... 13:58:39 ========================================================= [Pipeline] sh 13:58:40 + make test 13:58:40 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:58:43 ? github.com/edgexfoundry/edgex-go [no test files] 13:59:15 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 13:59:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 13:59:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 13:59:30 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 13:59:30 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 13:59:32 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.061s 13:59:32 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 13:59:32 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 13:59:32 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 13:59:33 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 13:59:35 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 13:59:35 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 13:59:35 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 13:59:35 ? github.com/edgexfoundry/edgex-go/internal [no test files] 13:59:43 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.062s coverage: 46.6% of statements 13:59:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 13:59:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 13:59:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 13:59:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 13:59:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 13:59:48 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.258s coverage: 27.2% of statements 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 13:59:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.028s coverage: 100.0% of statements 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 13:59:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.048s coverage: 100.0% of statements 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 13:59:48 --- FAIL: TestAddEventWithPersistence (0.00s) 13:59:48 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent [recovered] 13:59:48 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent 13:59:48 13:59:48 goroutine 7 [running]: 13:59:48 testing.tRunner.func1.1(0x7859a0, 0x4000292b40) 13:59:48 /usr/local/go/src/testing/testing.go:1076 +0x240 13:59:48 testing.tRunner.func1(0x400011ec00) 13:59:48 /usr/local/go/src/testing/testing.go:1079 +0x34c 13:59:48 panic(0x7859a0, 0x4000292b40) 13:59:48 /usr/local/go/src/runtime/panic.go:969 +0x11c 13:59:48 github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container.DBClientFrom(...) 13:59:48 /w/workspace/edgex-go/4/internal/core/data/v2/bootstrap/container/database.go:19 13:59:48 github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.AddEvent(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fcbf2, 0xb, 0x0, ...) 13:59:48 /w/workspace/edgex-go/4/internal/core/data/v2/application/event.go:32 +0xf8 13:59:48 github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.TestAddEventWithPersistence(0x400011ec00) 13:59:48 /w/workspace/edgex-go/4/internal/core/data/v2/application/event_test.go:64 +0x288 13:59:48 testing.tRunner(0x400011ec00, 0x8185d0) 13:59:48 /usr/local/go/src/testing/testing.go:1127 +0xdc 13:59:48 created by testing.(*T).Run 13:59:48 /usr/local/go/src/testing/testing.go:1178 +0x2ec 13:59:48 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.088s 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 13:59:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 13:59:49 --- FAIL: TestAddEvent (0.00s) 13:59:49 --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.00s) 13:59:49 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent [recovered] 13:59:49 panic: interface conversion: *mocks.DBClient is not interfaces.DBClient: missing method AddEvent 13:59:49 13:59:49 goroutine 20 [running]: 13:59:49 testing.tRunner.func1.1(0x793160, 0x400025bef0) 13:59:49 /usr/local/go/src/testing/testing.go:1076 +0x240 13:59:49 testing.tRunner.func1(0x4000107680) 13:59:49 /usr/local/go/src/testing/testing.go:1079 +0x34c 13:59:49 panic(0x793160, 0x400025bef0) 13:59:49 /usr/local/go/src/runtime/panic.go:969 +0x11c 13:59:49 github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container.DBClientFrom(...) 13:59:49 /w/workspace/edgex-go/4/internal/core/data/v2/bootstrap/container/database.go:19 13:59:49 github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.AddEvent(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x400032ab50, 0xa, 0x0, ...) 13:59:49 /w/workspace/edgex-go/4/internal/core/data/v2/application/event.go:32 +0xe8 13:59:49 github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.(*EventController).AddEvent(0x4000272ae0, 0x886260, 0x400031e940, 0x400019ac00) 13:59:49 /w/workspace/edgex-go/4/internal/core/data/v2/controller/http/event.go:55 +0x2e8 13:59:49 net/http.HandlerFunc.ServeHTTP(...) 13:59:49 /usr/local/go/src/net/http/server.go:2042 13:59:49 github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.TestAddEvent.func3(0x4000107680) 13:59:49 /w/workspace/edgex-go/4/internal/core/data/v2/controller/http/event_test.go:172 +0x274 13:59:49 testing.tRunner(0x4000107680, 0x400031e8c0) 13:59:49 /usr/local/go/src/testing/testing.go:1127 +0xdc 13:59:49 created by testing.(*T).Run 13:59:49 /usr/local/go/src/testing/testing.go:1178 +0x2ec 13:59:49 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.046s 13:59:49 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 13:59:49 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 13:59:49 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 13:59:49 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 13:59:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.321s coverage: 28.6% of statements 13:59:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 13:59:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 13:59:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 13:59:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 13:59:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 13:59:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.069s coverage: 100.0% of statements 13:59:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 13:59:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.034s coverage: 100.0% of statements 13:59:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 13:59:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.083s coverage: 89.8% of statements 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 13:59:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.116s coverage: 97.5% of statements 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 13:59:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.036s coverage: 100.0% of statements 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 13:59:56 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.050s coverage: 58.8% of statements 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 13:59:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [no test files] 13:59:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.157s coverage: 63.5% of statements 13:59:58 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 13:59:58 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 13:59:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.032s coverage: 100.0% of statements 13:59:59 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.353s coverage: 55.9% of statements 13:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 13:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 13:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/secretread [no test files] 13:59:59 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 35.496s coverage: 86.3% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.989s coverage: 72.2% of statements 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.426s coverage: 72.1% of statements 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.047s coverage: 82.4% of statements 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.037s coverage: 48.4% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.028s coverage: 28.8% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.028s coverage: 96.8% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.158s coverage: 26.9% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.264s coverage: 84.1% of statements 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.017s coverage: 100.0% of statements 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.025s coverage: 42.9% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.011s coverage: 100.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.055s coverage: 83.8% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.090s coverage: 46.1% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.040s coverage: 100.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.038s coverage: 100.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.032s coverage: 100.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.191s coverage: 29.1% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.086s coverage: 99.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.050s coverage: 100.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/system 0.007s coverage: 0.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.016s coverage: 100.0% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.036s coverage: 87.9% of statements 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 14:00:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.011s coverage: 100.0% of statements 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.015s coverage: 32.1% of statements 14:00:38 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.020s coverage: 100.0% of statements 14:00:38 FAIL 14:00:38 make: *** [Makefile:81: test] Error 1 [Pipeline] } 14:00:38 $ docker stop --time=1 838d48baf16107ae40817bda5b078461fdb6331f6e87309edd52df82e7820b45 14:00:41 $ docker rm -f 838d48baf16107ae40817bda5b078461fdb6331f6e87309edd52df82e7820b45 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:00:43 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] { (Clair Scan) Stage "Clair 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 14:00:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:00:45 ---> package-listing.sh 14:00:45 ++ facter osfamily 14:00:45 ++ tr '[:upper:]' '[:lower:]' 14:00:45 + OS_FAMILY=redhat 14:00:45 + workspace=/w/workspace/edgex-go/4 14:00:45 + START_PACKAGES=/tmp/packages_start.txt 14:00:45 + END_PACKAGES=/tmp/packages_end.txt 14:00:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:00:45 + PACKAGES=/tmp/packages_start.txt 14:00:45 + '[' /w/workspace/edgex-go/4 ']' 14:00:45 + PACKAGES=/tmp/packages_end.txt 14:00:45 + case "${OS_FAMILY}" in 14:00:45 + rpm -qa 14:00:45 + sort 14:00:49 + '[' -f /tmp/packages_start.txt ']' 14:00:49 + '[' -f /tmp/packages_end.txt ']' 14:00:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:00:49 + '[' /w/workspace/edgex-go/4 ']' 14:00:49 + mkdir -p /w/workspace/edgex-go/4/archives/ 14:00:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/4/archives/ [Pipeline] isUnix [Pipeline] sh 14:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:00:50 14:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:00:51 alpine: Pulling from edgex-lftools-log-publisher 14:00:51 df20fa9351a1: Already exists 14:00:51 36b3adc4ff6f: Pulling fs layer 14:00:51 8ad3a11d3b57: Pulling fs layer 14:00:51 46f8f816bc3b: Pulling fs layer 14:00:51 0dadc02b9964: Pulling fs layer 14:00:51 ce6a7cf60c04: Pulling fs layer 14:00:51 7a184a31f384: Pulling fs layer 14:00:51 0879bd2ef858: Pulling fs layer 14:00:51 0dadc02b9964: Waiting 14:00:51 ce6a7cf60c04: Waiting 14:00:51 0879bd2ef858: Waiting 14:00:51 7a184a31f384: Waiting 14:00:51 46f8f816bc3b: Verifying Checksum 14:00:51 46f8f816bc3b: Download complete 14:00:51 36b3adc4ff6f: Download complete 14:00:51 ce6a7cf60c04: Download complete 14:00:51 7a184a31f384: Verifying Checksum 14:00:51 7a184a31f384: Download complete 14:00:51 0dadc02b9964: Verifying Checksum 14:00:51 0dadc02b9964: Download complete 14:00:51 8ad3a11d3b57: Verifying Checksum 14:00:51 8ad3a11d3b57: Download complete 14:00:51 36b3adc4ff6f: Pull complete 14:00:51 0879bd2ef858: Verifying Checksum 14:00:51 0879bd2ef858: Download complete 14:00:52 8ad3a11d3b57: Pull complete 14:00:52 46f8f816bc3b: Pull complete 14:00:52 0dadc02b9964: Pull complete 14:00:52 ce6a7cf60c04: Pull complete 14:00:52 7a184a31f384: Pull complete 14:00:55 0879bd2ef858: Pull complete 14:00:55 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 14:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:00:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:00:55 prd-centos7-docker-4c-2g-2426 does not seem to be running inside a container 14:00:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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:10003/edgex-lftools-log-publisher:alpine cat 14:01:01 $ docker top c003f0260a0991bec70758402dc16a0626c2bf7de733d3b9a0a054150af2024b -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:02 + mkdir -p /var/log/sa [Pipeline] sh 14:01:02 + ls /var/log/sa-host 14:01:02 + sadf -c /var/log/sa-host/sa05 14:01:02 file_magic: OK 14:01:02 HZ: Using current value: 100 14:01:02 file_header: OK 14:01:02 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 14:01:02 Statistics: 14:01:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:01:02 File successfully converted to sysstat format version 12.2.1 14:01:02 + sadf -c /var/log/sa-host/sa12 14:01:02 file_magic: OK 14:01:02 HZ: Using current value: 100 14:01:02 file_header: OK 14:01:02 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 14:01:02 Statistics: 14:01:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:01:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:01:02 provisioning config files... 14:01:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/4@tmp/config8823584406437649736tmp [Pipeline] { [Pipeline] echo 14:01:02 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:01:03 ---> create-netrc.sh [Pipeline] echo 14:01:03 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:01:03 ---> logs-deploy.sh 14:01:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2681/4 14:01:03 INFO: archiving workspace using pattern(s): 14:01:04 Archives upload complete. 14:01:04 INFO: archiving logs to Nexus 14:01:05 ---> uname -a: 14:01:05 Linux c003f0260a09 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 14:01:05 14:01:05 14:01:05 ---> lscpu: 14:01:05 Architecture: x86_64 14:01:05 CPU op-mode(s): 32-bit, 64-bit 14:01:05 Byte Order: Little Endian 14:01:05 Address sizes: 40 bits physical, 48 bits virtual 14:01:05 CPU(s): 4 14:01:05 On-line CPU(s) list: 0-3 14:01:05 Thread(s) per core: 1 14:01:05 Core(s) per socket: 1 14:01:05 Socket(s): 4 14:01:05 NUMA node(s): 1 14:01:05 Vendor ID: GenuineIntel 14:01:05 CPU family: 6 14:01:05 Model: 44 14:01:05 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:01:05 Stepping: 1 14:01:05 CPU MHz: 2933.396 14:01:05 BogoMIPS: 5866.79 14:01:05 Virtualization: VT-x 14:01:05 Hypervisor vendor: KVM 14:01:05 Virtualization type: full 14:01:05 L1d cache: 128 KiB 14:01:05 L1i cache: 128 KiB 14:01:05 L2 cache: 16 MiB 14:01:05 L3 cache: 64 MiB 14:01:05 NUMA node0 CPU(s): 0-3 14:01:05 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 14:01:05 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 14:01:05 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 14:01:05 Vulnerability Meltdown: Mitigation; PTI 14:01:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:01:05 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:01:05 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:01:05 Vulnerability Tsx async abort: Not affected 14:01:05 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 14:01:05 14:01:05 14:01:05 ---> nproc: 14:01:05 4 14:01:05 14:01:05 14:01:05 ---> df -h: 14:01:05 Filesystem Size Used Available Use% Mounted on 14:01:05 overlay 50.0G 8.2G 41.8G 16% / 14:01:05 tmpfs 64.0M 0 64.0M 0% /dev 14:01:05 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 14:01:05 shm 64.0M 0 64.0M 0% /dev/shm 14:01:05 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/resolv.conf 14:01:05 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hostname 14:01:05 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hosts 14:01:05 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/sa-host 14:01:05 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/edgex-go/4 14:01:05 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/edgex-go/4@tmp 14:01:05 14:01:05 14:01:05 ---> free -m: 14:01:05 total used free shared buff/cache available 14:01:05 Mem: 1837 700 204 0 932 1042 14:01:05 Swap: 1023 2 1021 14:01:05 14:01:05 14:01:05 ---> ip addr: 14:01:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:01:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:01:05 inet 127.0.0.1/8 scope host lo 14:01:05 valid_lft forever preferred_lft forever 14:01:05 12: eth0@if13: mtu 1458 qdisc noqueue state UP 14:01:05 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 14:01:05 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 14:01:05 valid_lft forever preferred_lft forever 14:01:05 14:01:05 14:01:05 ---> sar -b -r -n DEV: 14:01:05 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/12/20 _x86_64_ (4 CPU) 14:01:05 14:01:05 13:52:45 LINUX RESTART (4 CPU) 14:01:05 14:01:05 13:54:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:01:05 13:55:02 180.05 72.41 107.64 0.00 5044.39 48669.97 0.00 14:01:05 13:56:01 332.05 149.94 182.11 0.00 7227.59 32169.57 0.00 14:01:05 13:57:01 30.97 10.83 20.14 0.00 1159.86 1126.84 0.00 14:01:05 13:58:01 3.43 0.02 3.41 0.00 3.73 114.74 0.00 14:01:05 13:59:01 0.27 0.03 0.23 0.00 1.07 3.08 0.00 14:01:05 14:00:01 0.35 0.12 0.23 0.00 74.88 2.33 0.00 14:01:05 14:01:01 88.96 48.24 40.73 0.00 4448.60 6067.74 0.00 14:01:05 Average: 90.36 40.00 50.37 0.00 2556.21 12555.11 0.00 14:01:05 14:01:05 13:54:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:01:05 13:55:02 162092 0 659196 35.03 2136 1058132 1292960 44.13 595248 922468 8 14:01:05 13:56:01 324840 0 785140 41.73 1208 770368 1724372 58.85 652064 666528 16980 14:01:05 13:57:01 557400 0 644536 34.26 1208 678412 1086624 37.08 519872 579708 8 14:01:05 13:58:01 567348 0 634476 33.72 1208 678524 1058748 36.13 518536 575776 8 14:01:05 13:59:01 565684 0 636132 33.81 1208 678532 1058844 36.14 534752 561072 8 14:01:05 14:00:01 564736 0 634828 33.74 1208 680784 1058748 36.13 534392 563316 8 14:01:05 14:01:01 188512 0 740496 39.36 1208 951340 1865740 63.67 644128 801452 8 14:01:05 Average: 418659 0 676401 35.95 1341 785156 1306577 44.59 571285 667189 2433 14:01:05 14:01:05 13:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:01:05 13:55:02 eth0 1729.77 1464.09 4961.20 2819.30 0.00 0.00 0.00 0.00 14:01:05 13:55:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 13:55:02 docker0 660.03 502.66 47.54 1950.34 0.00 0.00 0.00 0.00 14:01:05 13:56:01 eth0 247.84 166.10 1581.66 25.16 0.00 0.00 0.00 0.00 14:01:05 13:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 13:56:01 veth2fb675b 0.00 0.14 0.00 0.01 0.00 0.00 0.00 0.00 14:01:05 13:56:01 docker0 80.07 97.23 6.36 483.42 0.00 0.00 0.00 0.00 14:01:05 13:57:01 eth0 8.05 4.44 6.77 3.42 0.00 0.00 0.00 0.00 14:01:05 13:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 13:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 13:58:01 eth0 0.08 0.08 0.01 0.04 0.00 0.00 0.00 0.00 14:01:05 13:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 13:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 13:59:01 eth0 0.33 0.22 0.14 0.07 0.00 0.00 0.00 0.00 14:01:05 13:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 13:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 14:00:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:01:05 14:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 14:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 14:01:01 eth0 91.39 76.13 692.34 41.44 0.00 0.00 0.00 0.00 14:01:05 14:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 14:01:01 veth89c0627 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 14:01:01 veth4f62c4a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 Average: eth0 297.05 244.75 1033.84 413.86 0.00 0.00 0.00 0.00 14:01:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 Average: veth89c0627 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 Average: veth4f62c4a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:05 14:01:05 14:01:05 ---> sar -P ALL: 14:01:05 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/12/20 _x86_64_ (4 CPU) 14:01:05 14:01:05 13:52:45 LINUX RESTART (4 CPU) 14:01:05 14:01:05 13:54:01 CPU %user %nice %system %iowait %steal %idle 14:01:05 13:55:02 all 19.66 0.00 7.68 1.79 0.07 70.80 14:01:05 13:55:02 0 17.51 0.00 10.21 1.28 0.09 70.90 14:01:05 13:55:02 1 15.49 0.00 6.40 2.40 0.07 75.65 14:01:05 13:55:02 2 15.53 0.00 6.46 2.12 0.09 75.82 14:01:05 13:55:02 3 30.03 0.00 7.67 1.38 0.05 60.87 14:01:05 13:56:01 all 32.15 0.00 12.50 7.12 0.07 48.16 14:01:05 13:56:01 0 32.53 0.00 11.81 5.13 0.05 50.48 14:01:05 13:56:01 1 32.03 0.00 12.96 7.87 0.10 47.04 14:01:05 13:56:01 2 33.26 0.00 12.41 6.90 0.05 47.38 14:01:05 13:56:01 3 30.79 0.00 12.79 8.57 0.09 47.76 14:01:05 13:57:01 all 13.99 0.00 2.90 0.62 0.01 82.48 14:01:05 13:57:01 0 13.38 0.00 2.94 1.26 0.02 82.40 14:01:05 13:57:01 1 14.42 0.00 2.83 0.37 0.02 82.35 14:01:05 13:57:01 2 14.17 0.00 3.02 0.20 0.00 82.60 14:01:05 13:57:01 3 13.97 0.00 2.82 0.65 0.00 82.56 14:01:05 13:58:01 all 0.15 0.00 0.05 0.00 0.00 99.80 14:01:05 13:58:01 0 0.02 0.00 0.03 0.00 0.00 99.95 14:01:05 13:58:01 1 0.05 0.00 0.05 0.00 0.00 99.90 14:01:05 13:58:01 2 0.05 0.00 0.07 0.00 0.00 99.88 14:01:05 13:58:01 3 0.50 0.00 0.03 0.00 0.00 99.47 14:01:05 13:59:01 all 0.17 0.00 0.04 0.00 0.00 99.79 14:01:05 13:59:01 0 0.05 0.00 0.07 0.00 0.00 99.88 14:01:05 13:59:01 1 0.07 0.00 0.03 0.00 0.00 99.90 14:01:05 13:59:01 2 0.05 0.00 0.03 0.00 0.00 99.92 14:01:05 13:59:01 3 0.53 0.00 0.02 0.00 0.00 99.45 14:01:05 14:00:01 all 0.15 0.00 0.04 0.00 0.00 99.81 14:01:05 14:00:01 0 0.02 0.00 0.02 0.00 0.00 99.97 14:01:05 14:00:01 1 0.08 0.00 0.07 0.02 0.00 99.83 14:01:05 14:00:01 2 0.02 0.00 0.02 0.00 0.00 99.97 14:01:05 14:00:01 3 0.48 0.00 0.05 0.00 0.00 99.47 14:01:05 14:01:01 all 2.93 0.00 2.20 1.45 0.01 93.40 14:01:05 14:01:01 0 2.59 0.00 2.33 0.67 0.00 94.41 14:01:05 14:01:01 1 2.73 0.00 1.99 1.74 0.02 93.52 14:01:05 14:01:01 2 3.50 0.00 2.29 2.28 0.02 91.92 14:01:05 14:01:01 3 2.91 0.00 2.21 1.10 0.02 93.76 14:01:05 Average: all 9.73 0.00 3.57 1.54 0.02 85.14 14:01:05 Average: 0 9.27 0.00 3.84 1.17 0.02 85.70 14:01:05 Average: 1 9.13 0.00 3.42 1.74 0.03 85.69 14:01:05 Average: 2 9.36 0.00 3.41 1.61 0.02 85.60 14:01:05 Average: 3 11.16 0.00 3.59 1.64 0.02 83.59 14:01:05 14:01:05 14:01:05