Pull request #2846 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at e24f5199b8df60a8194d43c8100204b18b70afd7 rather than 4b63565d5d1986fe2bae1193b13d35371312e978 Obtained Jenkinsfile from e24f5199b8df60a8194d43c8100204b18b70afd7 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-2846/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-2846/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8384 in /w/workspace/edgexfoundry_edgex-go_PR-2846 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e24f5199b8df60a8194d43c8100204b18b70afd7 into PR head commit 4b63565d5d1986fe2bae1193b13d35371312e978 Merge succeeded, producing 4b63565d5d1986fe2bae1193b13d35371312e978 Checking out Revision 4b63565d5d1986fe2bae1193b13d35371312e978 (PR-2846) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2846/head:refs/remotes/origin/PR-2846 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b63565d5d1986fe2bae1193b13d35371312e978 # 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 e24f5199b8df60a8194d43c8100204b18b70afd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b63565d5d1986fe2bae1193b13d35371312e978 # timeout=10 Commit message: "feat(data): Implement GET /event/deice/name/{name} V2 API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:12:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:12:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:12:38 ========================================================= 07:12:38 EdgeX Global Pipelines Version Info 07:12:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:12:40 ------------------- 07:12:40 stable info: 07:12:40 ------------------- 07:12:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:12:40 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 07:12:40 Message: update stable to v1.0.148 07:12:41 ------------------- 07:12:41 experimental info: 07:12:41 ------------------- 07:12:41 Commited By: **** collab-it+edgex@linuxfoundation.org 07:12:41 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 07:12:41 Message: update experimental to v1.0.148 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:12:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 07:12:42 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 07:12:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:12:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:12:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:12:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:12:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:12:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:12:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:12:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:12:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:12:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 07:12:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2846 [Pipeline] echo 07:12:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2846 [Pipeline] echo 07:12:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2846 [Pipeline] echo 07:12:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b63565d5d1986fe2bae1193b13d35371312e978 [Pipeline] echo 07:12:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b63565 [Pipeline] echo 07:12:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 07:12:46 ++ 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 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ cut -d/ -f2 07:12:46 ++ dirname cmd/core-command/Dockerfile 07:12:46 + echo core-command,cmd/core-command/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ dirname cmd/core-data/Dockerfile 07:12:46 ++ cut -d/ -f2 07:12:46 + echo core-data,cmd/core-data/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ dirname cmd/core-metadata/Dockerfile 07:12:46 ++ cut -d/ -f2 07:12:46 + echo core-metadata,cmd/core-metadata/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ dirname cmd/security-proxy-setup/Dockerfile 07:12:46 ++ cut -d/ -f2 07:12:46 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ cut -d/ -f2 07:12:46 ++ dirname cmd/security-secrets-setup/Dockerfile 07:12:46 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ dirname cmd/security-secretstore-setup/Dockerfile 07:12:46 ++ cut -d/ -f2 07:12:46 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ cut -d/ -f2 07:12:46 ++ dirname cmd/support-logging/Dockerfile 07:12:46 + echo support-logging,cmd/support-logging/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ cut -d/ -f2 07:12:46 ++ dirname cmd/support-notifications/Dockerfile 07:12:46 + echo support-notifications,cmd/support-notifications/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ cut -d/ -f2 07:12:46 ++ dirname cmd/support-scheduler/Dockerfile 07:12:46 + echo support-scheduler,cmd/support-scheduler/Dockerfile 07:12:46 + for file in '`ls cmd/**/Dockerfile`' 07:12:46 ++ cut -d/ -f2 07:12:46 ++ dirname cmd/sys-mgmt-agent/Dockerfile 07:12:46 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 07:12:46 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 07:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:47 07:12:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:12:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:48 latest: Pulling from edgex-devops/git-semver 07:12:48 31603596830f: Pulling fs layer 07:12:48 2a8b12db71e7: Pulling fs layer 07:12:48 6ca5941a6612: Pulling fs layer 07:12:48 ecc8261a40a4: Pulling fs layer 07:12:48 ecc8261a40a4: Waiting 07:12:48 2a8b12db71e7: Download complete 07:12:48 31603596830f: Verifying Checksum 07:12:48 31603596830f: Download complete 07:12:48 ecc8261a40a4: Verifying Checksum 07:12:48 ecc8261a40a4: Download complete 07:12:49 6ca5941a6612: Verifying Checksum 07:12:49 6ca5941a6612: Download complete 07:12:49 31603596830f: Pull complete 07:12:49 2a8b12db71e7: Pull complete 07:12:50 6ca5941a6612: Pull complete 07:12:51 ecc8261a40a4: Pull complete 07:12:51 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:12:51 prd-centos7-docker-4c-2g-8384 does not seem to be running inside a container 07:12:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:12:54 $ docker top 85d556d2a28f68b0f9343137b64e8e0ab27fd0fe70815d689421e47f3ab16e15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:12:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:54 [ssh-agent] Looking for ssh-agent implementation... 07:12:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:54 $ docker exec 85d556d2a28f68b0f9343137b64e8e0ab27fd0fe70815d689421e47f3ab16e15 ssh-agent 07:12:55 SSH_AUTH_SOCK=/tmp/ssh-63jBGPRhioIe/agent.11 07:12:55 SSH_AGENT_PID=16 07:12:55 Running ssh-add (command line suppressed) 07:12:55 Identity added: /w/workspace/edgex-go/1@tmp/private_key_1787699281995158659.key (/w/workspace/edgex-go/1@tmp/private_key_1787699281995158659.key) 07:12:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:55 + git tag --points-at HEAD [Pipeline] } 07:12:55 $ docker exec --env ******** --env ******** 85d556d2a28f68b0f9343137b64e8e0ab27fd0fe70815d689421e47f3ab16e15 ssh-agent -k 07:12:56 unset SSH_AUTH_SOCK; 07:12:56 unset SSH_AGENT_PID; 07:12:56 echo Agent pid 16 killed; 07:12:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:12:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:56 [ssh-agent] Looking for ssh-agent implementation... 07:12:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:56 $ docker exec 85d556d2a28f68b0f9343137b64e8e0ab27fd0fe70815d689421e47f3ab16e15 ssh-agent 07:12:56 SSH_AUTH_SOCK=/tmp/ssh-p2i8r7QzKjtm/agent.44 07:12:56 SSH_AGENT_PID=50 07:12:56 Running ssh-add (command line suppressed) 07:12:56 Identity added: /w/workspace/edgex-go/1@tmp/private_key_5627247457196361460.key (/w/workspace/edgex-go/1@tmp/private_key_5627247457196361460.key) 07:12:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:57 + git semver init 07:12:57 # -> Open(): unable to determine branch for HEAD 07:12:57 # $GIT_DIR = /w/workspace/edgex-go/1/.git 07:12:57 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 07:12:57 # $SEMVER_REMOTE_NAME = origin 07:12:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:12:57 # $SEMVER_USER_NAME = edgex-jenkins 07:12:57 # $SEMVER_BRANCH = PR-2846 07:12:57 # $SEMVER_TEMP = /tmp/semver-094573677 07:12:57 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 07:13:30 # '/tmp/semver-094573677' -> '/w/workspace/edgex-go/1/.semver' 07:13:30 # -> Force: false 07:13:30 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 07:13:30 $ docker exec --env ******** --env ******** 85d556d2a28f68b0f9343137b64e8e0ab27fd0fe70815d689421e47f3ab16e15 ssh-agent -k 07:13:30 unset SSH_AUTH_SOCK; 07:13:30 unset SSH_AGENT_PID; 07:13:30 echo Agent pid 50 killed; 07:13:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:13:31 + git semver [Pipeline] } 07:13:31 $ docker stop --time=1 85d556d2a28f68b0f9343137b64e8e0ab27fd0fe70815d689421e47f3ab16e15 07:13:33 $ docker rm -f 85d556d2a28f68b0f9343137b64e8e0ab27fd0fe70815d689421e47f3ab16e15 [Pipeline] // withDockerContainer [Pipeline] sh 07:13:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:13:34 Stashed 1 file(s) [Pipeline] echo 07:13:34 [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 07:13:35 ========================================================= 07:13:35 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:13:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:13:36 + 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 . 07:13:40 Sending build context to Docker daemon 325.6MB 07:13:40 Step 1/7 : ARG BASE=golang:1.15-alpine 07:13:40 Step 2/7 : FROM ${BASE} 07:13:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:13:40 df20fa9351a1: Pulling fs layer 07:13:40 ed8968b2872e: Pulling fs layer 07:13:40 a92cc7c5fd73: Pulling fs layer 07:13:40 e871e8e8d7a9: Pulling fs layer 07:13:40 e73272ec9a57: Pulling fs layer 07:13:40 1e910a182e73: Pulling fs layer 07:13:40 4e634b169226: Pulling fs layer 07:13:40 e73272ec9a57: Waiting 07:13:40 1e910a182e73: Waiting 07:13:40 4e634b169226: Waiting 07:13:40 e871e8e8d7a9: Waiting 07:13:40 a92cc7c5fd73: Download complete 07:13:40 ed8968b2872e: Verifying Checksum 07:13:40 ed8968b2872e: Download complete 07:13:40 e73272ec9a57: Verifying Checksum 07:13:40 e73272ec9a57: Download complete 07:13:40 1e910a182e73: Verifying Checksum 07:13:40 1e910a182e73: Download complete 07:13:41 df20fa9351a1: Verifying Checksum 07:13:41 df20fa9351a1: Download complete 07:13:42 df20fa9351a1: Pull complete 07:13:42 ed8968b2872e: Pull complete 07:13:43 a92cc7c5fd73: Pull complete 07:13:45 4e634b169226: Verifying Checksum 07:13:45 4e634b169226: Download complete 07:13:47 e871e8e8d7a9: Verifying Checksum 07:13:47 e871e8e8d7a9: Download complete 07:13:50 Still waiting to schedule task 07:13:50 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:13:55 e871e8e8d7a9: Pull complete 07:13:56 e73272ec9a57: Pull complete 07:13:56 1e910a182e73: Pull complete 07:14:01 4e634b169226: Pull complete 07:14:01 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:14:01 ---> f7629b54cfaa 07:14: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 07:14:01 ---> Running in 7e69c492d006 07:14:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:14:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:14:03 (1/12) Installing libmagic (5.38-r0) 07:14:04 (2/12) Installing file (5.38-r0) 07:14:04 (3/12) Installing libc-dev (0.7.2-r3) 07:14:04 (4/12) Installing g++ (9.3.0-r2) 07:14:10 (5/12) Installing fortify-headers (1.1-r0) 07:14:10 (6/12) Installing patch (2.7.6-r6) 07:14:10 (7/12) Installing build-base (0.5-r2) 07:14:10 (8/12) Installing libsodium (1.0.18-r0) 07:14:10 (9/12) Installing pkgconf (1.7.2-r0) 07:14:11 (10/12) Installing libsodium-dev (1.0.18-r0) 07:14:11 (11/12) Installing libzmq (4.3.3-r0) 07:14:11 (12/12) Installing zeromq-dev (4.3.3-r0) 07:14:11 Executing busybox-1.31.1-r16.trigger 07:14:11 OK: 233 MiB in 51 packages 07:14:14 Removing intermediate container 7e69c492d006 07:14:14 ---> 22804a2f2197 07:14:14 Step 4/7 : WORKDIR /edgex-go 07:14:14 ---> Running in e1cc2987c8c2 07:14:14 Removing intermediate container e1cc2987c8c2 07:14:14 ---> 2fbec1e8d832 07:14:14 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 07:14:15 latest: Pulling from library/docker 07:14:15 188c0c94c7c5: Pulling fs layer 07:14:15 0c7c675703d6: Pulling fs layer 07:14:15 cc8c12a437cb: Pulling fs layer 07:14:15 c5dafad2182a: Pulling fs layer 07:14:15 5aa711733414: Pulling fs layer 07:14:15 058f73b55e4b: Pulling fs layer 07:14:15 8c9c664faf12: Pulling fs layer 07:14:15 c5dafad2182a: Waiting 07:14:15 5aa711733414: Waiting 07:14:15 8c9c664faf12: Waiting 07:14:15 058f73b55e4b: Waiting 07:14:15 cc8c12a437cb: Verifying Checksum 07:14:15 cc8c12a437cb: Download complete 07:14:15 188c0c94c7c5: Verifying Checksum 07:14:15 188c0c94c7c5: Download complete 07:14:15 0c7c675703d6: Download complete 07:14:15 058f73b55e4b: Verifying Checksum 07:14:15 058f73b55e4b: Download complete 07:14:15 5aa711733414: Verifying Checksum 07:14:15 5aa711733414: Download complete 07:14:16 8c9c664faf12: Verifying Checksum 07:14:16 8c9c664faf12: Download complete 07:14:16 188c0c94c7c5: Pull complete 07:14:16 0c7c675703d6: Pull complete 07:14:17 cc8c12a437cb: Pull complete 07:14:17 c5dafad2182a: Verifying Checksum 07:14:17 c5dafad2182a: Download complete 07:14:20 c5dafad2182a: Pull complete 07:14:20 5aa711733414: Pull complete 07:14:20 058f73b55e4b: Pull complete 07:14:20 8c9c664faf12: Pull complete 07:14:20 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 07:14:21 Status: Downloaded newer image for docker:latest 07:14:23 ---> bb0693c61788 07:14:23 Step 6/7 : COPY go.mod . 07:14:23 ---> a994a77dd0d0 07:14:23 Step 7/7 : RUN go mod download 07:14:23 ---> Running in f53bd2ddf908 07:14:45 Removing intermediate container f53bd2ddf908 07:14:45 ---> d88d40c2d4fa 07:14:45 Successfully built d88d40c2d4fa 07:14:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:14:45 + docker inspect -f . ci-base-image-x86_64 07:14:45 . [Pipeline] withDockerContainer 07:14:46 prd-centos7-docker-4c-2g-8384 does not seem to be running inside a container 07:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:14:47 $ docker top 243921d10f79fae5561bffb8b671b226a9e9ba86a6ac18dc1d45b89a459c241a -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:48 + go version 07:14:48 go version go1.15.2 linux/amd64 [Pipeline] } 07:14:48 $ docker stop --time=1 243921d10f79fae5561bffb8b671b226a9e9ba86a6ac18dc1d45b89a459c241a 07:14:49 $ docker rm -f 243921d10f79fae5561bffb8b671b226a9e9ba86a6ac18dc1d45b89a459c241a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:14:51 + docker inspect -f . ci-base-image-x86_64 07:14:51 . [Pipeline] withDockerContainer 07:14:51 prd-centos7-docker-4c-2g-8384 does not seem to be running inside a container 07:14:51 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:14:52 $ docker top 286cc16048d90a17c737da9025d5e197ea68b8c99ce7dfc863f778254dd56cda -eo pid,comm [Pipeline] { [Pipeline] echo 07:14:52 ========================================================= 07:14:52 [edgeXBuildGoParallel] Running Tests and Build... 07:14:52 ========================================================= [Pipeline] sh 07:14:53 + make test 07:14:53 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:14:56 ? github.com/edgexfoundry/edgex-go [no test files] 07:15:15 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 07:15:21 # github.com/edgexfoundry/edgex-go/internal/core/data/v2 07:15:21 internal/core/data/v2/router.go:33:15: undefined: v2.ApiAllEventByDeviceNameRoute 07:15:28 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.023s 07:15:34 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 07:15:34 internal/core/data/v2/controller/http/event_test.go:468:48: undefined: v2.ApiAllEventByDeviceNameRoute 07:15:34 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.058s coverage: 46.6% of statements 07:15:34 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 07:15:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.039s coverage: 100.0% of statements 07:15:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.057s coverage: 100.0% of statements 07:15:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.358s coverage: 68.4% of statements 07:15:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 07:15:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.163s coverage: 28.6% of statements 07:15:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.060s coverage: 100.0% of statements 07:15:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.044s coverage: 100.0% of statements 07:15:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.052s coverage: 86.7% of statements 07:15:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.122s coverage: 97.5% of statements 07:15:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.014s coverage: 100.0% of statements 07:15:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.250s coverage: 96.2% of statements 07:15:41 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.078s coverage: 58.8% of statements 07:15:41 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.032s coverage: 0.0% of statements [no tests to run] 07:15:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.244s coverage: 63.5% of statements 07:15:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.031s coverage: 100.0% of statements 07:15:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.055s coverage: 91.3% of statements 07:15:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.026s coverage: 100.0% of statements 07:15:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.058s coverage: 73.7% of statements 07:15:43 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.078s coverage: 100.0% of statements 07:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.281s coverage: 55.9% of statements 07:15:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8385 in /w/workspace/edgexfoundry_edgex-go_PR-2846 [Pipeline] { [Pipeline] ws 07:15:47 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:15:48 ========================================================= 07:15:48 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:15:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 3.829s coverage: 86.3% of statements 07:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.062s coverage: 72.2% of statements 07:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.257s coverage: 72.1% of statements 07:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.045s coverage: 82.4% of statements 07:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.049s coverage: 48.4% of statements 07:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.014s coverage: 28.8% of statements 07:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.008s coverage: 96.8% of statements 07:15:50 + 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 . 07:15:51 unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/edgex-go/1/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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 07:15:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.045s coverage: 36.5% of statements 07:15:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.130s coverage: 84.1% of statements 07:15:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.077s coverage: 100.0% of statements 07:15:52 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.063s coverage: 42.9% of statements 07:15:52 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.041s coverage: 100.0% of statements [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 07:15:52 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.136s coverage: 83.8% of statements [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:15:53 Failed in branch arm64 07:15:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.093s coverage: 47.1% of statements 07:15:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.017s coverage: 100.0% of statements 07:15:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.025s coverage: 100.0% of statements 07:15:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.055s coverage: 100.0% of statements 07:15:59 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.103s coverage: 29.1% of statements 07:15:59 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.043s coverage: 99.0% of statements 07:15:59 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.013s coverage: 100.0% of statements 07:15:59 ok github.com/edgexfoundry/edgex-go/internal/system 0.049s coverage: 0.0% of statements 07:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.018s coverage: 100.0% of statements 07:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.023s coverage: 87.9% of statements 07:16:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.033s coverage: 100.0% of statements 07:16:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.019s coverage: 32.1% of statements 07:16:01 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.009s coverage: 100.0% of statements 07:16:01 make: *** [Makefile:81: test] Error 2 [Pipeline] } 07:16:01 $ docker stop --time=1 286cc16048d90a17c737da9025d5e197ea68b8c99ce7dfc863f778254dd56cda 07:16:04 $ docker rm -f 286cc16048d90a17c737da9025d5e197ea68b8c99ce7dfc863f778254dd56cda [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] } 07:16:06 Failed in branch amd64 [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 07:16:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:16:11 ---> package-listing.sh 07:16:11 ++ facter osfamily 07:16:11 ++ tr '[:upper:]' '[:lower:]' 07:16:11 + OS_FAMILY=redhat 07:16:11 + workspace=/w/workspace/edgex-go/1 07:16:11 + START_PACKAGES=/tmp/packages_start.txt 07:16:11 + END_PACKAGES=/tmp/packages_end.txt 07:16:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:16:11 + PACKAGES=/tmp/packages_start.txt 07:16:11 + '[' /w/workspace/edgex-go/1 ']' 07:16:11 + PACKAGES=/tmp/packages_end.txt 07:16:11 + case "${OS_FAMILY}" in 07:16:11 + rpm -qa 07:16:11 + sort 07:16:16 + '[' -f /tmp/packages_start.txt ']' 07:16:16 + '[' -f /tmp/packages_end.txt ']' 07:16:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:16:16 + '[' /w/workspace/edgex-go/1 ']' 07:16:16 + mkdir -p /w/workspace/edgex-go/1/archives/ 07:16:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 07:16:16 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:16:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:16:17 07:16:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:16:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:16:17 alpine: Pulling from edgex-lftools-log-publisher 07:16:17 df20fa9351a1: Already exists 07:16:17 36b3adc4ff6f: Pulling fs layer 07:16:17 8ad3a11d3b57: Pulling fs layer 07:16:17 46f8f816bc3b: Pulling fs layer 07:16:17 93b61091891f: Pulling fs layer 07:16:17 93b9cdb0e59b: Pulling fs layer 07:16:17 5e14af77c1be: Pulling fs layer 07:16:17 01666e4c0597: Pulling fs layer 07:16:17 aa168da1d23b: Pulling fs layer 07:16:17 93b61091891f: Waiting 07:16:17 93b9cdb0e59b: Waiting 07:16:17 5e14af77c1be: Waiting 07:16:17 01666e4c0597: Waiting 07:16:17 aa168da1d23b: Waiting 07:16:17 46f8f816bc3b: Verifying Checksum 07:16:17 46f8f816bc3b: Download complete 07:16:17 36b3adc4ff6f: Download complete 07:16:17 93b9cdb0e59b: Verifying Checksum 07:16:17 93b9cdb0e59b: Download complete 07:16:17 5e14af77c1be: Download complete 07:16:17 93b61091891f: Verifying Checksum 07:16:17 93b61091891f: Download complete 07:16:17 01666e4c0597: Verifying Checksum 07:16:17 01666e4c0597: Download complete 07:16:18 36b3adc4ff6f: Pull complete 07:16:18 8ad3a11d3b57: Verifying Checksum 07:16:18 8ad3a11d3b57: Download complete 07:16:20 8ad3a11d3b57: Pull complete 07:16:20 46f8f816bc3b: Pull complete 07:16:20 93b61091891f: Pull complete 07:16:21 93b9cdb0e59b: Pull complete 07:16:21 5e14af77c1be: Pull complete 07:16:22 01666e4c0597: Pull complete 07:16:23 aa168da1d23b: Verifying Checksum 07:16:23 aa168da1d23b: Download complete 07:16:36 aa168da1d23b: Pull complete 07:16:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:16:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:16:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:16:36 prd-centos7-docker-4c-2g-8384 does not seem to be running inside a container 07:16:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:16:39 $ docker top 68114e876bf891ec6ecdd613626552b1398df82d9105397ecbe771506027456f -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:40 + touch /tmp/pre-build-complete [Pipeline] sh 07:16:41 + mkdir -p /var/log/sa [Pipeline] sh 07:16:41 + ls /var/log/sa-host 07:16:41 + sadf -c /var/log/sa-host/sa05 07:16:41 file_magic: OK 07:16:41 HZ: Using current value: 100 07:16:41 file_header: OK 07:16:41 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 07:16:41 Statistics: 07:16:41 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:16:41 File successfully converted to sysstat format version 12.2.1 07:16:41 + sadf -c /var/log/sa-host/sa23 07:16:41 file_magic: OK 07:16:41 HZ: Using current value: 100 07:16:41 file_header: OK 07:16:41 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 07:16:41 Statistics: 07:16:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:16:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:16:42 provisioning config files... 07:16:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config6680569109765613934tmp [Pipeline] { [Pipeline] echo 07:16:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:16:42 ---> create-netrc.sh [Pipeline] } 07:16:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:16:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:16:43 ---> python-tools-install.sh [Pipeline] echo 07:16:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:16:43 ---> sudo-logs.sh 07:16:43 Archiving 'sudo' log.. [Pipeline] echo 07:16:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:16:44 ---> job-cost.sh 07:16:44 lf-activate-venv: SKIPPING 07:16:44 INFO: No Stack... 07:16:45 INFO: Retrieving Pricing Info for: v1-standard-2 07:16:45 INFO: Archiving Costs [Pipeline] echo 07:16:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:16:46 ---> logs-deploy.sh 07:16:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2846/1 07:16:46 INFO: archiving workspace using pattern(s): 07:16:49 Archives upload complete. 07:16:49 INFO: archiving logs to Nexus