weichou1229 commented: recheck 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 fd3e495558a59368951799953e1d9626d078e64b rather than 80f90da6672eb0d2093698d95fc3d6d522d8cd7b Obtained Jenkinsfile from fd3e495558a59368951799953e1d9626d078e64b 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-868 in /w/workspace/edgexfoundry_edgex-go_PR-2701 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/3 [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/3 # 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/2701/head:refs/remotes/origin/PR-2701 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fd3e495558a59368951799953e1d9626d078e64b into PR head commit 80f90da6672eb0d2093698d95fc3d6d522d8cd7b Merge succeeded, producing 80f90da6672eb0d2093698d95fc3d6d522d8cd7b Checking out Revision 80f90da6672eb0d2093698d95fc3d6d522d8cd7b (PR-2701) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2701/head:refs/remotes/origin/PR-2701 # 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/2701/head:refs/remotes/origin/PR-2701 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80f90da6672eb0d2093698d95fc3d6d522d8cd7b # 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 fd3e495558a59368951799953e1d9626d078e64b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80f90da6672eb0d2093698d95fc3d6d522d8cd7b # timeout=10 Commit message: "feat(metadata): Implement Core Metadata POST /deviceprofile V2 API" > git rev-list --no-walk 80f90da6672eb0d2093698d95fc3d6d522d8cd7b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:44:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:44:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:44:58 ========================================================= 16:44:58 EdgeX Global Pipelines Version Info 16:44:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:45:00 ------------------- 16:45:00 stable info: 16:45:00 ------------------- 16:45:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:45:00 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 16:45:00 Message: update stable to v1.0.122 16:45:01 ------------------- 16:45:01 experimental info: 16:45:01 ------------------- 16:45:01 Commited By: **** collab-it+edgex@linuxfoundation.org 16:45:01 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 16:45:01 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:45:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:45:01 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:45:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:45:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:45:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:45:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2701 [Pipeline] echo 16:45:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2701 [Pipeline] echo 16:45:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2701 [Pipeline] echo 16:45:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80f90da6672eb0d2093698d95fc3d6d522d8cd7b [Pipeline] echo 16:45:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80f90da [Pipeline] echo 16:45:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 16:45:04 ++ 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 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/core-command/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo core-command,cmd/core-command/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/core-data/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo core-data,cmd/core-data/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/core-metadata/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo core-metadata,cmd/core-metadata/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/security-proxy-setup/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/security-secrets-setup/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/security-secretstore-setup/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/support-logging/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo support-logging,cmd/support-logging/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/support-notifications/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo support-notifications,cmd/support-notifications/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/support-scheduler/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:45:04 + for file in '`ls cmd/**/Dockerfile`' 16:45:04 ++ dirname cmd/sys-mgmt-agent/Dockerfile 16:45:04 ++ cut -d/ -f2 16:45:04 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:45:04 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 16:45:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:06 16:45:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:45:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:06 latest: Pulling from edgex-devops/git-semver 16:45:06 31603596830f: Pulling fs layer 16:45:06 2a8b12db71e7: Pulling fs layer 16:45:06 6ca5941a6612: Pulling fs layer 16:45:06 ecc8261a40a4: Pulling fs layer 16:45:06 ecc8261a40a4: Waiting 16:45:07 2a8b12db71e7: Download complete 16:45:07 31603596830f: Verifying Checksum 16:45:07 31603596830f: Download complete 16:45:07 ecc8261a40a4: Verifying Checksum 16:45:07 ecc8261a40a4: Download complete 16:45:07 6ca5941a6612: Verifying Checksum 16:45:07 6ca5941a6612: Download complete 16:45:07 31603596830f: Pull complete 16:45:07 2a8b12db71e7: Pull complete 16:45:08 6ca5941a6612: Pull complete 16:45:08 ecc8261a40a4: Pull complete 16:45:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:45:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:45:08 prd-centos7-docker-4c-2g-868 does not seem to be running inside a container 16:45:08 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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:10004/edgex-devops/git-semver:latest cat 16:45:11 $ docker top a493a573d434e7fa181f98092b35e78422fa891a5b43688c32a47e649c1881c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:45:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:11 [ssh-agent] Looking for ssh-agent implementation... 16:45:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:11 $ docker exec a493a573d434e7fa181f98092b35e78422fa891a5b43688c32a47e649c1881c6 ssh-agent 16:45:11 SSH_AUTH_SOCK=/tmp/ssh-v7MIx2HLX1A7/agent.12 16:45:11 SSH_AGENT_PID=18 16:45:11 Running ssh-add (command line suppressed) 16:45:11 Identity added: /w/workspace/edgex-go/3@tmp/private_key_7439834120900760325.key (/w/workspace/edgex-go/3@tmp/private_key_7439834120900760325.key) 16:45:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:12 + git describe --exact-match --tags HEAD 16:45:12 fatal: No names found, cannot describe anything. [Pipeline] } 16:45:12 $ docker exec --env ******** --env ******** a493a573d434e7fa181f98092b35e78422fa891a5b43688c32a47e649c1881c6 ssh-agent -k 16:45:12 unset SSH_AUTH_SOCK; 16:45:12 unset SSH_AGENT_PID; 16:45:12 echo Agent pid 18 killed; 16:45:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:45:12 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:45:12 This usually means this commit has not been tagged. [Pipeline] sshagent 16:45:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:12 [ssh-agent] Looking for ssh-agent implementation... 16:45:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:12 $ docker exec a493a573d434e7fa181f98092b35e78422fa891a5b43688c32a47e649c1881c6 ssh-agent 16:45:13 SSH_AUTH_SOCK=/tmp/ssh-DgJbq3DslwPk/agent.46 16:45:13 SSH_AGENT_PID=51 16:45:13 Running ssh-add (command line suppressed) 16:45:13 Identity added: /w/workspace/edgex-go/3@tmp/private_key_1127985367144437608.key (/w/workspace/edgex-go/3@tmp/private_key_1127985367144437608.key) 16:45:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:13 + git semver init 16:45:13 # -> Open(): unable to determine branch for HEAD 16:45:13 # $GIT_DIR = /w/workspace/edgex-go/3/.git 16:45:13 # $GIT_WORK_TREE = /w/workspace/edgex-go/3 16:45:13 # $SEMVER_REMOTE_NAME = origin 16:45:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:45:13 # $SEMVER_USER_NAME = edgex-jenkins 16:45:13 # $SEMVER_BRANCH = PR-2701 16:45:13 # $SEMVER_TEMP = /tmp/semver-909371101 16:45:13 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 16:45:35 # '/tmp/semver-909371101' -> '/w/workspace/edgex-go/3/.semver' 16:45:35 # -> Force: false 16:45:35 # $SEMVER_DIR = /w/workspace/edgex-go/3/.semver [Pipeline] } 16:45:35 $ docker exec --env ******** --env ******** a493a573d434e7fa181f98092b35e78422fa891a5b43688c32a47e649c1881c6 ssh-agent -k 16:45:35 unset SSH_AUTH_SOCK; 16:45:35 unset SSH_AGENT_PID; 16:45:35 echo Agent pid 51 killed; 16:45:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:45:36 + git semver [Pipeline] } 16:45:36 $ docker stop --time=1 a493a573d434e7fa181f98092b35e78422fa891a5b43688c32a47e649c1881c6 16:45:38 $ docker rm -f a493a573d434e7fa181f98092b35e78422fa891a5b43688c32a47e649c1881c6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:45:51 Stashed 50 file(s) [Pipeline] echo 16:45:51 [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 16:45:52 ========================================================= 16:45:52 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:45:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:45:52 + 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 . 16:45:55 Sending build context to Docker daemon 323.3MB 16:45:55 Step 1/7 : ARG BASE=golang:1.15-alpine 16:45:55 Step 2/7 : FROM ${BASE} 16:45:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:45:55 df20fa9351a1: Pulling fs layer 16:45:55 ed8968b2872e: Pulling fs layer 16:45:55 a92cc7c5fd73: Pulling fs layer 16:45:55 e871e8e8d7a9: Pulling fs layer 16:45:55 e73272ec9a57: Pulling fs layer 16:45:55 1e910a182e73: Pulling fs layer 16:45:55 4e634b169226: Pulling fs layer 16:45:55 e871e8e8d7a9: Waiting 16:45:55 e73272ec9a57: Waiting 16:45:55 1e910a182e73: Waiting 16:45:55 4e634b169226: Waiting 16:45:55 a92cc7c5fd73: Verifying Checksum 16:45:55 a92cc7c5fd73: Download complete 16:45:55 ed8968b2872e: Download complete 16:45:55 e73272ec9a57: Verifying Checksum 16:45:55 e73272ec9a57: Download complete 16:45:55 1e910a182e73: Download complete 16:45:55 df20fa9351a1: Verifying Checksum 16:45:55 df20fa9351a1: Download complete 16:45:56 df20fa9351a1: Pull complete 16:45:56 ed8968b2872e: Pull complete 16:45:56 a92cc7c5fd73: Pull complete 16:45:58 4e634b169226: Verifying Checksum 16:45:58 4e634b169226: Download complete 16:45:58 e871e8e8d7a9: Verifying Checksum 16:45:58 e871e8e8d7a9: Download complete 16:46:03 e871e8e8d7a9: Pull complete 16:46:03 e73272ec9a57: Pull complete 16:46:03 1e910a182e73: Pull complete 16:46:06 Still waiting to schedule task 16:46:06 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:46:09 4e634b169226: Pull complete 16:46:09 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 16:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:46:09 ---> f7629b54cfaa 16:46:09 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 16:46:09 ---> Running in b81029f6a546 16:46:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:46:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:46:11 (1/12) Installing libmagic (5.38-r0) 16:46:11 (2/12) Installing file (5.38-r0) 16:46:12 (3/12) Installing libc-dev (0.7.2-r3) 16:46:12 (4/12) Installing g++ (9.3.0-r2) 16:46:24 (5/12) Installing fortify-headers (1.1-r0) 16:46:24 (6/12) Installing patch (2.7.6-r6) 16:46:24 (7/12) Installing build-base (0.5-r2) 16:46:24 (8/12) Installing libsodium (1.0.18-r0) 16:46:24 (9/12) Installing pkgconf (1.7.2-r0) 16:46:24 (10/12) Installing libsodium-dev (1.0.18-r0) 16:46:24 (11/12) Installing libzmq (4.3.3-r0) 16:46:24 (12/12) Installing zeromq-dev (4.3.3-r0) 16:46:24 Executing busybox-1.31.1-r16.trigger 16:46:24 OK: 233 MiB in 51 packages 16:46:28 Removing intermediate container b81029f6a546 16:46:28 ---> 3b4913740dd3 16:46:28 Step 4/7 : WORKDIR /edgex-go 16:46:28 ---> Running in 71e73ccb72db 16:46:28 Removing intermediate container 71e73ccb72db 16:46:28 ---> 62c3e932e002 16:46:28 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:46:28 latest: Pulling from library/docker 16:46:29 df20fa9351a1: Already exists 16:46:29 25ad7478873d: Pulling fs layer 16:46:29 4684f6177b5d: Pulling fs layer 16:46:29 8ba584e970af: Pulling fs layer 16:46:29 3cdc74d2b06d: Pulling fs layer 16:46:29 4cf5a0d07c1f: Pulling fs layer 16:46:29 fca0ccc462d5: Pulling fs layer 16:46:29 fca0ccc462d5: Waiting 16:46:29 3cdc74d2b06d: Waiting 16:46:29 4684f6177b5d: Verifying Checksum 16:46:29 4684f6177b5d: Download complete 16:46:29 25ad7478873d: Verifying Checksum 16:46:29 25ad7478873d: Download complete 16:46:29 3cdc74d2b06d: Verifying Checksum 16:46:29 3cdc74d2b06d: Download complete 16:46:29 4cf5a0d07c1f: Verifying Checksum 16:46:29 4cf5a0d07c1f: Download complete 16:46:29 fca0ccc462d5: Verifying Checksum 16:46:29 fca0ccc462d5: Download complete 16:46:29 25ad7478873d: Pull complete 16:46:29 4684f6177b5d: Pull complete 16:46:30 8ba584e970af: Verifying Checksum 16:46:32 8ba584e970af: Pull complete 16:46:32 3cdc74d2b06d: Pull complete 16:46:32 4cf5a0d07c1f: Pull complete 16:46:32 fca0ccc462d5: Pull complete 16:46:32 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 16:46:33 Status: Downloaded newer image for docker:latest 16:46:34 ---> 3d044d45b97b 16:46:34 Step 6/7 : COPY go.mod . 16:46:34 ---> 17eb2cb2612a 16:46:34 Step 7/7 : RUN go mod download 16:46:34 ---> Running in 9abbfa25b094 16:46:56 Removing intermediate container 9abbfa25b094 16:46:56 ---> 07e81184cea4 16:46:56 Successfully built 07e81184cea4 16:46:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:46:57 + docker inspect -f . ci-base-image-x86_64 16:46:57 . [Pipeline] withDockerContainer 16:46:57 prd-centos7-docker-4c-2g-868 does not seem to be running inside a container 16:46:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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-x86_64 cat 16:46:58 $ docker top bea3848aecab3cffd0066f8a45831d8a5b1e97b3500f4f0265b6afb0ba3a67b3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:58 + go version 16:46:58 go version go1.15.2 linux/amd64 [Pipeline] } 16:46:58 $ docker stop --time=1 bea3848aecab3cffd0066f8a45831d8a5b1e97b3500f4f0265b6afb0ba3a67b3 16:47:00 $ docker rm -f bea3848aecab3cffd0066f8a45831d8a5b1e97b3500f4f0265b6afb0ba3a67b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:47:01 + docker inspect -f . ci-base-image-x86_64 16:47:01 . [Pipeline] withDockerContainer 16:47:01 prd-centos7-docker-4c-2g-868 does not seem to be running inside a container 16:47:01 $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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-x86_64 cat 16:47:02 $ docker top 65f558db26dbac6305fe4897e2dc184ebd7ad26d4e6a81273a240715ffa970a0 -eo pid,comm [Pipeline] { [Pipeline] echo 16:47:02 ========================================================= 16:47:02 [edgeXBuildGoParallel] Running Tests and Build... 16:47:02 ========================================================= [Pipeline] sh 16:47:02 + make test 16:47:02 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:47:05 ? github.com/edgexfoundry/edgex-go [no test files] 16:47:15 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:47:18 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 16:47:18 internal/core/metadata/v2/router.go:20:15: undefined: v2.ApiDeviceProfileRoute 16:47:18 internal/core/metadata/v2/router.go:21:21: undefined: v2.ApiDeviceProfileRoute 16:47:20 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:47:21 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.007s 16:47:25 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.021s coverage: 46.6% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.049s coverage: 27.2% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.005s coverage: 100.0% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.009s coverage: 100.0% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.013s coverage: 79.5% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.331s coverage: 89.7% of statements 16:47:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.017s coverage: 100.0% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.025s coverage: 100.0% of statements 16:47:29 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 16:47:29 internal/core/metadata/v2/controller/http/deviceprofile_test.go:138:49: undefined: v2.ApiDeviceProfileRoute 16:47:29 internal/core/metadata/v2/controller/http/deviceprofile_test.go:229:49: undefined: v2.ApiDeviceProfileRoute 16:47:29 internal/core/metadata/v2/controller/http/deviceprofile_test.go:266:47: undefined: v2.ApiDeviceProfileRoute 16:47:29 internal/core/metadata/v2/controller/http/deviceprofile_test.go:289:24: undefined: dtos.ToDeviceProfileModels 16:47:29 internal/core/metadata/v2/controller/http/deviceprofile_test.go:407:24: undefined: dtos.ToDeviceProfileModels 16:47:29 internal/core/metadata/v2/controller/http/deviceprofile_test.go:490:45: undefined: v2.ApiDeviceProfileRoute 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.020s coverage: 89.8% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.027s coverage: 97.5% of statements 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.016s coverage: 100.0% of statements 16:47:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 16:47:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.032s coverage: 58.8% of statements 16:47:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.007s coverage: 0.0% of statements [no tests to run] 16:47:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.050s coverage: 63.5% of statements 16:47:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.024s coverage: 100.0% of statements 16:47:31 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.080s coverage: 55.9% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 5.982s coverage: 86.3% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.299s coverage: 72.2% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.135s coverage: 72.1% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.022s coverage: 82.4% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.023s coverage: 48.4% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.018s coverage: 28.8% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.037s coverage: 96.8% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.059s coverage: 26.9% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.077s coverage: 84.1% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.032s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.010s coverage: 42.9% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.014s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.013s coverage: 83.8% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.019s coverage: 46.1% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.007s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.018s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.013s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.042s coverage: 29.1% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.015s coverage: 99.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.011s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/system 0.004s coverage: 0.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.004s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.014s coverage: 87.9% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.014s coverage: 100.0% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.005s coverage: 32.1% of statements 16:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.006s coverage: 100.0% of statements 16:47:39 make: *** [Makefile:81: test] Error 2 [Pipeline] } 16:47:39 $ docker stop --time=1 65f558db26dbac6305fe4897e2dc184ebd7ad26d4e6a81273a240715ffa970a0 16:47:41 $ docker rm -f 65f558db26dbac6305fe4897e2dc184ebd7ad26d4e6a81273a240715ffa970a0 [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] } 16:47:43 Failed in branch amd64 16:47:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-870 in /w/workspace/edgexfoundry_edgex-go_PR-2701 [Pipeline] { [Pipeline] ws 16:47:59 Running in /w/workspace/edgex-go/3 [Pipeline] { [Pipeline] checkout 16:48:04 using credential edgex-jenkins-ssh 16:48:04 Cloning the remote Git repository 16:48:04 Cloning with configured refspecs honoured and without tags 16:48:04 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:48:04 > git init /w/workspace/edgex-go/3 # timeout=10 16:48:04 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:48:04 > git --version # timeout=10 16:48:04 > git --version # 'git version 2.17.1' 16:48:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2701/head:refs/remotes/origin/PR-2701 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:48:18 Fetching without tags 16:48:19 Merging remotes/origin/master commit fd3e495558a59368951799953e1d9626d078e64b into PR head commit 80f90da6672eb0d2093698d95fc3d6d522d8cd7b 16:48:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:48:18 > git config --add remote.origin.fetch +refs/pull/2701/head:refs/remotes/origin/PR-2701 # timeout=10 16:48:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:48:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:48:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:48:18 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2701/head:refs/remotes/origin/PR-2701 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:48:19 > git config core.sparsecheckout # timeout=10 16:48:19 > git checkout -f 80f90da6672eb0d2093698d95fc3d6d522d8cd7b # timeout=10 16:48:19 > git remote # timeout=10 16:48:19 Merge succeeded, producing 80f90da6672eb0d2093698d95fc3d6d522d8cd7b 16:48:19 Checking out Revision 80f90da6672eb0d2093698d95fc3d6d522d8cd7b (PR-2701) 16:48:19 > git config --get remote.origin.url # timeout=10 16:48:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:19 > git merge fd3e495558a59368951799953e1d9626d078e64b # timeout=10 16:48:19 > git rev-parse HEAD^{commit} # timeout=10 16:48:19 > git config core.sparsecheckout # timeout=10 16:48:19 > git checkout -f 80f90da6672eb0d2093698d95fc3d6d522d8cd7b # timeout=10 16:48:24 Commit message: "feat(metadata): Implement Core Metadata POST /deviceprofile V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:48:36 ========================================================= 16:48:36 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:48:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:48:37 + 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 . 16:48:42 Sending build context to Docker daemon 323.3MB 16:48:42 Step 1/7 : ARG BASE=golang:1.15-alpine 16:48:42 Step 2/7 : FROM ${BASE} 16:48:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:48:42 b538f80385f9: Pulling fs layer 16:48:42 74f711af9a0d: Pulling fs layer 16:48:42 99f96fe45779: Pulling fs layer 16:48:42 8529a6b9a6be: Pulling fs layer 16:48:42 45590311c82a: Pulling fs layer 16:48:42 69ca0ff8b7b3: Pulling fs layer 16:48:42 209524e5b208: Pulling fs layer 16:48:42 45590311c82a: Waiting 16:48:42 69ca0ff8b7b3: Waiting 16:48:42 209524e5b208: Waiting 16:48:42 8529a6b9a6be: Waiting 16:48:42 99f96fe45779: Verifying Checksum 16:48:42 99f96fe45779: Download complete 16:48:42 74f711af9a0d: Verifying Checksum 16:48:42 74f711af9a0d: Download complete 16:48:42 45590311c82a: Download complete 16:48:42 69ca0ff8b7b3: Verifying Checksum 16:48:42 69ca0ff8b7b3: Download complete 16:48:43 b538f80385f9: Download complete 16:48:43 b538f80385f9: Pull complete 16:48:43 74f711af9a0d: Pull complete 16:48:44 99f96fe45779: Pull complete 16:48:45 209524e5b208: Verifying Checksum 16:48:45 209524e5b208: Download complete 16:48:46 8529a6b9a6be: Verifying Checksum 16:48:46 8529a6b9a6be: Download complete 16:48:56 8529a6b9a6be: Pull complete 16:48:56 45590311c82a: Pull complete 16:48:57 69ca0ff8b7b3: Pull complete 16:49:01 209524e5b208: Pull complete 16:49:01 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 16:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:49:01 ---> 5bddaf1c2fca 16:49:01 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 16:49:04 ---> Running in 1c251dc9ba20 16:49:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:49:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:49:08 (1/12) Installing libmagic (5.38-r0) 16:49:08 (2/12) Installing file (5.38-r0) 16:49:08 (3/12) Installing libc-dev (0.7.2-r3) 16:49:08 (4/12) Installing g++ (9.3.0-r2) 16:49:13 (5/12) Installing fortify-headers (1.1-r0) 16:49:13 (6/12) Installing patch (2.7.6-r6) 16:49:13 (7/12) Installing build-base (0.5-r2) 16:49:13 (8/12) Installing libsodium (1.0.18-r0) 16:49:13 (9/12) Installing pkgconf (1.7.2-r0) 16:49:13 (10/12) Installing libsodium-dev (1.0.18-r0) 16:49:13 (11/12) Installing libzmq (4.3.3-r0) 16:49:13 (12/12) Installing zeromq-dev (4.3.3-r0) 16:49:14 Executing busybox-1.31.1-r16.trigger 16:49:14 OK: 217 MiB in 51 packages 16:49:18 Removing intermediate container 1c251dc9ba20 16:49:18 ---> f18859d6f80e 16:49:18 Step 4/7 : WORKDIR /edgex-go 16:49:18 ---> Running in c51b55087764 16:49:18 Removing intermediate container c51b55087764 16:49:18 ---> 04df3ebada38 16:49:18 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:49:19 latest: Pulling from library/docker 16:49:19 b538f80385f9: Already exists 16:49:19 259a493cd78d: Pulling fs layer 16:49:19 b8e66b5100f5: Pulling fs layer 16:49:19 7f8258a56ab6: Pulling fs layer 16:49:19 75a0a0ebb566: Pulling fs layer 16:49:19 4a2c62f0a2a3: Pulling fs layer 16:49:19 294320357d30: Pulling fs layer 16:49:19 75a0a0ebb566: Waiting 16:49:19 4a2c62f0a2a3: Waiting 16:49:19 294320357d30: Waiting 16:49:19 b8e66b5100f5: Verifying Checksum 16:49:19 b8e66b5100f5: Download complete 16:49:19 259a493cd78d: Verifying Checksum 16:49:19 259a493cd78d: Download complete 16:49:19 4a2c62f0a2a3: Verifying Checksum 16:49:19 4a2c62f0a2a3: Download complete 16:49:20 294320357d30: Verifying Checksum 16:49:20 294320357d30: Download complete 16:49:20 75a0a0ebb566: Verifying Checksum 16:49:20 75a0a0ebb566: Download complete 16:49:20 259a493cd78d: Pull complete 16:49:20 b8e66b5100f5: Pull complete 16:49:20 7f8258a56ab6: Verifying Checksum 16:49:20 7f8258a56ab6: Download complete 16:49:24 7f8258a56ab6: Pull complete 16:49:24 75a0a0ebb566: Pull complete 16:49:24 4a2c62f0a2a3: Pull complete 16:49:25 294320357d30: Pull complete 16:49:25 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 16:49:25 Status: Downloaded newer image for docker:latest 16:49:28 ---> 87341f6ee30b 16:49:28 Step 6/7 : COPY go.mod . 16:49:29 ---> af16fe6c1222 16:49:29 Step 7/7 : RUN go mod download 16:49:29 ---> Running in fd122603fc81 16:49:56 Removing intermediate container fd122603fc81 16:49:56 ---> 27114968efde 16:49:56 Successfully built 27114968efde 16:49:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:49:56 + docker inspect -f . ci-base-image-arm64 16:49:56 . [Pipeline] withDockerContainer 16:49:56 prd-ubuntu18.04-docker-arm64-4c-16g-870 does not seem to be running inside a container 16:49:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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 16:49:58 $ docker top a90eacc871c2b28b6982ad8f17c706b09057f66f2a2851a59afb8485be3bd571 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:00 + go version 16:50:00 go version go1.15.2 linux/arm64 [Pipeline] } 16:50:00 $ docker stop --time=1 a90eacc871c2b28b6982ad8f17c706b09057f66f2a2851a59afb8485be3bd571 16:50:02 $ docker rm -f a90eacc871c2b28b6982ad8f17c706b09057f66f2a2851a59afb8485be3bd571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:50:05 + docker inspect -f . ci-base-image-arm64 16:50:05 . [Pipeline] withDockerContainer 16:50:06 prd-ubuntu18.04-docker-arm64-4c-16g-870 does not seem to be running inside a container 16:50:06 $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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 16:50:07 $ docker top 201ebef1bd87e9165c506ddcfe7ac091ce29d34feabffb44675f9694bbceaa9e -eo pid,comm [Pipeline] { [Pipeline] echo 16:50:08 ========================================================= 16:50:08 [edgeXBuildGoParallel] Running Tests and Build... 16:50:08 ========================================================= [Pipeline] sh 16:50:08 + make test 16:50:08 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:50:11 ? github.com/edgexfoundry/edgex-go [no test files] 16:50:43 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:50:50 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 16:50:50 internal/core/metadata/v2/router.go:20:15: undefined: v2.ApiDeviceProfileRoute 16:50:50 internal/core/metadata/v2/router.go:21:21: undefined: v2.ApiDeviceProfileRoute 16:50:59 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:50:59 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.032s 16:51:11 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.071s coverage: 46.6% of statements 16:51:15 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.152s coverage: 27.2% of statements 16:51:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.027s coverage: 100.0% of statements 16:51:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.033s coverage: 100.0% of statements 16:51:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.351s coverage: 82.1% of statements 16:51:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.052s coverage: 89.7% of statements 16:51:15 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 16:51:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.035s coverage: 100.0% of statements 16:51:18 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.016s coverage: 100.0% of statements 16:51:20 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 16:51:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:138:49: undefined: v2.ApiDeviceProfileRoute 16:51:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:229:49: undefined: v2.ApiDeviceProfileRoute 16:51:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:266:47: undefined: v2.ApiDeviceProfileRoute 16:51:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:289:24: undefined: dtos.ToDeviceProfileModels 16:51:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:407:24: undefined: dtos.ToDeviceProfileModels 16:51:20 internal/core/metadata/v2/controller/http/deviceprofile_test.go:490:45: undefined: v2.ApiDeviceProfileRoute 16:51:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.102s coverage: 89.8% of statements 16:51:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.106s coverage: 97.5% of statements 16:51:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.064s coverage: 100.0% of statements 16:51:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 16:51:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.055s coverage: 58.8% of statements 16:51:21 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.020s coverage: 0.0% of statements [no tests to run] 16:51:24 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.215s coverage: 63.5% of statements 16:51:24 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.027s coverage: 100.0% of statements 16:51:25 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.299s coverage: 55.9% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 20.556s coverage: 86.3% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.969s coverage: 72.2% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.373s coverage: 72.1% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.051s coverage: 82.4% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.018s coverage: 48.4% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.028s coverage: 28.8% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.064s coverage: 96.8% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.086s coverage: 26.9% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.255s coverage: 84.1% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.045s coverage: 100.0% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.045s coverage: 42.9% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.021s coverage: 100.0% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.047s coverage: 83.8% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.090s coverage: 46.1% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.039s coverage: 100.0% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.027s coverage: 100.0% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.026s coverage: 100.0% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.158s coverage: 29.1% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.065s coverage: 99.0% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.024s coverage: 100.0% of statements 16:51:47 ok github.com/edgexfoundry/edgex-go/internal/system 0.006s coverage: 0.0% of statements 16:51:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.029s coverage: 100.0% of statements 16:51:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.040s coverage: 87.9% of statements 16:51:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.011s coverage: 100.0% of statements 16:51:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.016s coverage: 32.1% of statements 16:51:50 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.023s coverage: 100.0% of statements 16:51:51 make: *** [Makefile:81: test] Error 2 [Pipeline] } 16:51:51 $ docker stop --time=1 201ebef1bd87e9165c506ddcfe7ac091ce29d34feabffb44675f9694bbceaa9e 16:51:53 $ docker rm -f 201ebef1bd87e9165c506ddcfe7ac091ce29d34feabffb44675f9694bbceaa9e [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] } 16:51:55 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 16:51:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:51:58 ---> package-listing.sh 16:51:58 ++ facter osfamily 16:51:58 ++ tr '[:upper:]' '[:lower:]' 16:51:58 + OS_FAMILY=redhat 16:51:58 + workspace=/w/workspace/edgex-go/3 16:51:58 + START_PACKAGES=/tmp/packages_start.txt 16:51:58 + END_PACKAGES=/tmp/packages_end.txt 16:51:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:51:58 + PACKAGES=/tmp/packages_start.txt 16:51:58 + '[' /w/workspace/edgex-go/3 ']' 16:51:58 + PACKAGES=/tmp/packages_end.txt 16:51:58 + case "${OS_FAMILY}" in 16:51:58 + rpm -qa 16:51:58 + sort 16:52:02 + '[' -f /tmp/packages_start.txt ']' 16:52:02 + '[' -f /tmp/packages_end.txt ']' 16:52:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:52:02 + '[' /w/workspace/edgex-go/3 ']' 16:52:02 + mkdir -p /w/workspace/edgex-go/3/archives/ 16:52:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/3/archives/ [Pipeline] isUnix [Pipeline] sh 16:52:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:52:03 16:52:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:52:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:52:03 alpine: Pulling from edgex-lftools-log-publisher 16:52:03 df20fa9351a1: Already exists 16:52:03 36b3adc4ff6f: Pulling fs layer 16:52:03 8ad3a11d3b57: Pulling fs layer 16:52:03 46f8f816bc3b: Pulling fs layer 16:52:03 0dadc02b9964: Pulling fs layer 16:52:03 ce6a7cf60c04: Pulling fs layer 16:52:03 7a184a31f384: Pulling fs layer 16:52:03 0879bd2ef858: Pulling fs layer 16:52:03 ce6a7cf60c04: Waiting 16:52:03 7a184a31f384: Waiting 16:52:03 0879bd2ef858: Waiting 16:52:03 0dadc02b9964: Waiting 16:52:03 46f8f816bc3b: Verifying Checksum 16:52:03 46f8f816bc3b: Download complete 16:52:03 36b3adc4ff6f: Download complete 16:52:04 ce6a7cf60c04: Verifying Checksum 16:52:04 ce6a7cf60c04: Download complete 16:52:04 7a184a31f384: Verifying Checksum 16:52:04 7a184a31f384: Download complete 16:52:04 0dadc02b9964: Verifying Checksum 16:52:04 0dadc02b9964: Download complete 16:52:04 36b3adc4ff6f: Pull complete 16:52:04 8ad3a11d3b57: Verifying Checksum 16:52:04 8ad3a11d3b57: Download complete 16:52:04 0879bd2ef858: Verifying Checksum 16:52:04 0879bd2ef858: Download complete 16:52:04 8ad3a11d3b57: Pull complete 16:52:05 46f8f816bc3b: Pull complete 16:52:05 0dadc02b9964: Pull complete 16:52:05 ce6a7cf60c04: Pull complete 16:52:05 7a184a31f384: Pull complete 16:52:08 0879bd2ef858: Pull complete 16:52:08 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 16:52:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:52:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:52:08 prd-centos7-docker-4c-2g-868 does not seem to be running inside a container 16:52:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:52:12 $ docker top 7843b9d8b8ed1f0459d18ae51512ec80c9f1a9a0fdb3372de7998bae4ebced0b -eo pid,comm [Pipeline] { [Pipeline] sh 16:52:13 + mkdir -p /var/log/sa [Pipeline] sh 16:52:14 + ls /var/log/sa-host 16:52:14 + sadf -c /var/log/sa-host/sa05 16:52:14 file_magic: OK 16:52:14 HZ: Using current value: 100 16:52:14 file_header: OK 16:52:14 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 16:52:14 Statistics: 16:52:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:52:14 File successfully converted to sysstat format version 12.2.1 16:52:14 + sadf -c /var/log/sa-host/sa22 16:52:14 file_magic: OK 16:52:14 HZ: Using current value: 100 16:52:14 file_header: OK 16:52:14 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 16:52:14 Statistics: 16:52:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:52:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:14 provisioning config files... 16:52:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/3@tmp/config3367550826224845284tmp [Pipeline] { [Pipeline] echo 16:52:14 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:52:14 ---> create-netrc.sh [Pipeline] echo 16:52:14 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:52:14 ---> logs-deploy.sh 16:52:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2701/3 16:52:14 INFO: archiving workspace using pattern(s): 16:52:16 Archives upload complete. 16:52:16 INFO: archiving logs to Nexus 16:52:17 ---> uname -a: 16:52:17 Linux 7843b9d8b8ed 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 16:52:17 16:52:17 16:52:17 ---> lscpu: 16:52:17 Architecture: x86_64 16:52:17 CPU op-mode(s): 32-bit, 64-bit 16:52:17 Byte Order: Little Endian 16:52:17 Address sizes: 40 bits physical, 48 bits virtual 16:52:17 CPU(s): 4 16:52:17 On-line CPU(s) list: 0-3 16:52:17 Thread(s) per core: 1 16:52:17 Core(s) per socket: 1 16:52:17 Socket(s): 4 16:52:17 NUMA node(s): 1 16:52:17 Vendor ID: GenuineIntel 16:52:17 CPU family: 6 16:52:17 Model: 44 16:52:17 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:52:17 Stepping: 1 16:52:17 CPU MHz: 2933.438 16:52:17 BogoMIPS: 5866.87 16:52:17 Virtualization: VT-x 16:52:17 Hypervisor vendor: KVM 16:52:17 Virtualization type: full 16:52:17 L1d cache: 128 KiB 16:52:17 L1i cache: 128 KiB 16:52:17 L2 cache: 16 MiB 16:52:17 L3 cache: 64 MiB 16:52:17 NUMA node0 CPU(s): 0-3 16:52:17 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:52:17 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:52:17 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:52:17 Vulnerability Meltdown: Mitigation; PTI 16:52:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:52:17 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:52:17 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:52:17 Vulnerability Tsx async abort: Not affected 16:52:17 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 16:52:17 16:52:17 16:52:17 ---> nproc: 16:52:17 4 16:52:17 16:52:17 16:52:17 ---> df -h: 16:52:17 Filesystem Size Used Available Use% Mounted on 16:52:17 overlay 50.0G 8.2G 41.8G 16% / 16:52:17 tmpfs 64.0M 0 64.0M 0% /dev 16:52:17 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:52:17 shm 64.0M 0 64.0M 0% /dev/shm 16:52:17 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/resolv.conf 16:52:17 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hostname 16:52:17 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hosts 16:52:17 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/sa-host 16:52:17 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/edgex-go/3 16:52:17 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/edgex-go/3@tmp 16:52:17 16:52:17 16:52:17 ---> free -m: 16:52:17 total used free shared buff/cache available 16:52:17 Mem: 1837 713 196 0 928 1030 16:52:17 Swap: 1023 3 1020 16:52:17 16:52:17 16:52:17 ---> ip addr: 16:52:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:52:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:52:17 inet 127.0.0.1/8 scope host lo 16:52:17 valid_lft forever preferred_lft forever 16:52:17 14: eth0@if15: mtu 1458 qdisc noqueue state UP 16:52:17 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 16:52:17 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 16:52:17 valid_lft forever preferred_lft forever 16:52:17 16:52:17 16:52:17 ---> sar -b -r -n DEV: 16:52:17 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/22/20 _x86_64_ (4 CPU) 16:52:17 16:52:17 16:44:00 LINUX RESTART (4 CPU) 16:52:17 16:52:17 16:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:52:17 16:46:01 137.76 66.53 71.22 0.00 9174.05 37440.37 0.00 16:52:17 16:47:02 237.86 65.00 172.85 0.00 4260.94 39474.90 0.00 16:52:17 16:48:01 201.71 127.06 74.64 0.00 5705.62 7592.06 0.00 16:52:17 16:49:01 2.13 0.00 2.13 0.00 0.00 43.53 0.00 16:52:17 16:50:01 0.72 0.25 0.47 0.00 90.61 6.88 0.00 16:52:17 16:51:01 0.37 0.12 0.25 0.00 74.87 2.93 0.00 16:52:17 16:52:01 43.67 43.41 0.27 0.00 4098.43 4.68 0.00 16:52:17 Average: 88.95 43.01 45.94 0.00 3339.26 12099.95 0.00 16:52:17 16:52:17 16:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:52:17 16:46:01 76512 0 691036 36.73 2424 1111584 1533256 52.33 713732 907308 16820 16:52:17 16:47:02 265100 0 731580 38.88 1492 883384 1764480 60.22 620892 760556 28 16:52:17 16:48:01 559868 0 649504 34.52 1272 670912 1103616 37.66 538832 558964 20 16:52:17 16:49:01 564756 0 644656 34.26 1272 670872 1090240 37.21 540184 557696 8 16:52:17 16:50:01 558564 0 648156 34.45 1272 673564 1079040 36.83 547564 556164 8 16:52:17 16:51:01 558352 0 646116 34.34 1272 675816 1071736 36.58 556940 547824 12 16:52:17 16:52:01 411848 0 670236 35.62 1272 798200 1107544 37.80 580496 669112 84 16:52:17 Average: 427857 0 668755 35.54 1468 783476 1249987 42.66 585520 651089 2426 16:52:17 16:52:17 16:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:52:17 16:46:01 eth0 2012.39 1968.26 5981.37 2878.38 0.00 0.00 0.00 0.00 16:52:17 16:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:46:01 docker0 1053.53 728.23 78.52 2654.09 0.00 0.00 0.00 0.00 16:52:17 16:47:02 vethae019d8 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:47:02 eth0 400.40 310.36 1963.29 68.71 0.00 0.00 0.00 0.00 16:52:17 16:47:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:47:02 vethb455626 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:48:01 eth0 23.41 12.59 19.96 9.87 0.00 0.00 0.00 0.00 16:52:17 16:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:48:01 docker0 1231.67 931.96 91.07 3552.77 0.00 0.00 0.00 0.00 16:52:17 16:49:01 eth0 2.81 1.03 2.58 0.25 0.00 0.00 0.00 0.00 16:52:17 16:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:50:01 eth0 1.30 0.73 0.69 0.46 0.00 0.00 0.00 0.00 16:52:17 16:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:51:01 eth0 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:52:01 eth0 5.14 3.03 4.81 1.89 0.00 0.00 0.00 0.00 16:52:17 16:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 16:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 Average: eth0 350.39 329.00 1142.49 424.10 0.00 0.00 0.00 0.00 16:52:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:17 Average: docker0 173.45 131.25 12.83 500.33 0.00 0.00 0.00 0.00 16:52:17 16:52:17 16:52:17 ---> sar -P ALL: 16:52:17 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/22/20 _x86_64_ (4 CPU) 16:52:17 16:52:17 16:44:00 LINUX RESTART (4 CPU) 16:52:17 16:52:17 16:45:01 CPU %user %nice %system %iowait %steal %idle 16:52:17 16:46:01 all 19.91 0.00 7.71 1.10 0.03 71.25 16:52:17 16:46:01 0 16.85 0.00 9.98 0.76 0.03 72.37 16:52:17 16:46:01 1 27.01 0.00 6.55 1.00 0.03 65.41 16:52:17 16:46:01 2 16.06 0.00 6.91 0.37 0.03 76.62 16:52:17 16:46:01 3 19.64 0.00 7.43 2.26 0.02 70.66 16:52:17 16:47:02 all 8.74 0.00 7.07 5.21 0.05 78.94 16:52:17 16:47:02 0 9.21 0.00 7.42 4.01 0.05 79.31 16:52:17 16:47:02 1 8.76 0.00 6.63 6.55 0.05 78.00 16:52:17 16:47:02 2 8.98 0.00 7.00 6.78 0.07 77.17 16:52:17 16:47:02 3 8.01 0.00 7.21 3.49 0.02 81.27 16:52:17 16:48:01 all 37.71 0.00 10.37 4.23 0.02 47.67 16:52:17 16:48:01 0 37.15 0.00 10.50 2.56 0.03 49.75 16:52:17 16:48:01 1 38.15 0.00 10.01 5.37 0.02 46.46 16:52:17 16:48:01 2 37.84 0.00 10.66 4.83 0.02 46.66 16:52:17 16:48:01 3 37.70 0.00 10.31 4.15 0.02 47.82 16:52:17 16:49:01 all 0.17 0.00 0.05 0.00 0.00 99.78 16:52:17 16:49:01 0 0.05 0.00 0.05 0.00 0.00 99.90 16:52:17 16:49:01 1 0.05 0.00 0.07 0.00 0.00 99.88 16:52:17 16:49:01 2 0.05 0.00 0.03 0.00 0.00 99.92 16:52:17 16:49:01 3 0.53 0.00 0.07 0.00 0.00 99.40 16:52:17 16:50:01 all 0.17 0.00 0.04 0.00 0.00 99.79 16:52:17 16:50:01 0 0.05 0.00 0.03 0.00 0.00 99.92 16:52:17 16:50:01 1 0.05 0.00 0.05 0.02 0.00 99.88 16:52:17 16:50:01 2 0.05 0.00 0.05 0.00 0.00 99.90 16:52:17 16:50:01 3 0.53 0.00 0.02 0.00 0.00 99.45 16:52:17 16:51:01 all 0.15 0.00 0.03 0.00 0.00 99.82 16:52:17 16:51:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:52:17 16:51:01 1 0.02 0.00 0.03 0.00 0.00 99.95 16:52:17 16:51:01 2 0.02 0.00 0.03 0.00 0.00 99.95 16:52:17 16:51:01 3 0.53 0.00 0.03 0.02 0.00 99.42 16:52:17 16:52:01 all 0.65 0.00 0.26 0.96 0.00 98.13 16:52:17 16:52:01 0 0.57 0.00 0.20 0.20 0.00 99.03 16:52:17 16:52:01 1 0.92 0.00 0.45 1.80 0.00 96.83 16:52:17 16:52:01 2 0.42 0.00 0.27 1.82 0.02 97.48 16:52:17 16:52:01 3 0.68 0.00 0.12 0.03 0.00 99.17 16:52:17 Average: all 9.49 0.00 3.60 1.63 0.01 85.27 16:52:17 Average: 0 8.96 0.00 3.96 1.06 0.02 85.99 16:52:17 Average: 1 10.56 0.00 3.36 2.09 0.01 83.97 16:52:17 Average: 2 8.91 0.00 3.52 1.96 0.02 85.60 16:52:17 Average: 3 9.51 0.00 3.55 1.40 0.01 85.53 16:52:17 16:52:17 16:52:17