Pull request #2797 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from addf93d35fd86a2bba4d6b28bab676da5f3a395e+75437401aaf0e0f587015af03db21405a724386e (ea6d995ec6bc4cb0f39fe439ffb3929924ed5bd9) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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-2797/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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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-2797/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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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-5551 in /w/workspace/edgexfoundry_edgex-go_PR-2797 [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 75437401aaf0e0f587015af03db21405a724386e into PR head commit addf93d35fd86a2bba4d6b28bab676da5f3a395e Merge succeeded, producing addf93d35fd86a2bba4d6b28bab676da5f3a395e Checking out Revision addf93d35fd86a2bba4d6b28bab676da5f3a395e (PR-2797) > 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/2797/head:refs/remotes/origin/PR-2797 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f addf93d35fd86a2bba4d6b28bab676da5f3a395e # 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 75437401aaf0e0f587015af03db21405a724386e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f addf93d35fd86a2bba4d6b28bab676da5f3a395e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:34:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:34:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:34:10 ========================================================= 06:34:10 EdgeX Global Pipelines Version Info 06:34:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:34:12 ------------------- 06:34:12 stable info: 06:34:12 ------------------- 06:34:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:34:12 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 06:34:12 Message: update stable to v1.0.142 06:34:12 ------------------- 06:34:12 experimental info: 06:34:12 ------------------- 06:34:12 Commited By: **** collab-it+edgex@linuxfoundation.org 06:34:12 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 06:34:12 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:34:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 06:34:13 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 06:34:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:34:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:34:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:34:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:34:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:34:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 06:34:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 06:34:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 06:34:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:34:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:34:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:34:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:34:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2797 [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2797 [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2797 [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = addf93d35fd86a2bba4d6b28bab676da5f3a395e [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = addf93d [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 06:34:17 ++ 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 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/core-command/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo core-command,cmd/core-command/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/core-data/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo core-data,cmd/core-data/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/core-metadata/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo core-metadata,cmd/core-metadata/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/security-proxy-setup/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/security-secrets-setup/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/security-secretstore-setup/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/support-logging/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo support-logging,cmd/support-logging/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/support-notifications/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo support-notifications,cmd/support-notifications/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/support-scheduler/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo support-scheduler,cmd/support-scheduler/Dockerfile 06:34:17 + for file in '`ls cmd/**/Dockerfile`' 06:34:17 ++ dirname cmd/sys-mgmt-agent/Dockerfile 06:34:17 ++ cut -d/ -f2 06:34:17 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 06:34:17 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 06:34:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:18 06:34:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:34:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:18 latest: Pulling from edgex-devops/git-semver 06:34:18 31603596830f: Pulling fs layer 06:34:18 2a8b12db71e7: Pulling fs layer 06:34:18 6ca5941a6612: Pulling fs layer 06:34:18 ecc8261a40a4: Pulling fs layer 06:34:18 ecc8261a40a4: Waiting 06:34:18 2a8b12db71e7: Download complete 06:34:19 31603596830f: Verifying Checksum 06:34:19 31603596830f: Download complete 06:34:19 ecc8261a40a4: Verifying Checksum 06:34:19 ecc8261a40a4: Download complete 06:34:19 6ca5941a6612: Verifying Checksum 06:34:19 6ca5941a6612: Download complete 06:34:19 31603596830f: Pull complete 06:34:19 2a8b12db71e7: Pull complete 06:34:20 6ca5941a6612: Pull complete 06:34:20 ecc8261a40a4: Pull complete 06:34:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:34:20 prd-centos7-docker-4c-2g-5551 does not seem to be running inside a container 06:34:20 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:34:23 $ docker top 5d7f3b71f301e7ee4d850503d2d06c67e3c9858b15c690832327cfc768927677 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:23 [ssh-agent] Looking for ssh-agent implementation... 06:34:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:24 $ docker exec 5d7f3b71f301e7ee4d850503d2d06c67e3c9858b15c690832327cfc768927677 ssh-agent 06:34:24 SSH_AUTH_SOCK=/tmp/ssh-gBvVdFCiboGg/agent.11 06:34:24 SSH_AGENT_PID=16 06:34:24 Running ssh-add (command line suppressed) 06:34:24 Identity added: /w/workspace/edgex-go/1@tmp/private_key_7326041844043869096.key (/w/workspace/edgex-go/1@tmp/private_key_7326041844043869096.key) 06:34:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:24 + git tag --points-at HEAD [Pipeline] } 06:34:24 $ docker exec --env ******** --env ******** 5d7f3b71f301e7ee4d850503d2d06c67e3c9858b15c690832327cfc768927677 ssh-agent -k 06:34:24 unset SSH_AUTH_SOCK; 06:34:24 unset SSH_AGENT_PID; 06:34:24 echo Agent pid 16 killed; 06:34:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:25 [ssh-agent] Looking for ssh-agent implementation... 06:34:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:25 $ docker exec 5d7f3b71f301e7ee4d850503d2d06c67e3c9858b15c690832327cfc768927677 ssh-agent 06:34:25 SSH_AUTH_SOCK=/tmp/ssh-EmBX0q734Nji/agent.46 06:34:25 SSH_AGENT_PID=51 06:34:25 Running ssh-add (command line suppressed) 06:34:25 Identity added: /w/workspace/edgex-go/1@tmp/private_key_2318083352317072959.key (/w/workspace/edgex-go/1@tmp/private_key_2318083352317072959.key) 06:34:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:26 + git semver init 06:34:26 # -> Open(): unable to determine branch for HEAD 06:34:26 # $GIT_DIR = /w/workspace/edgex-go/1/.git 06:34:26 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 06:34:26 # $SEMVER_REMOTE_NAME = origin 06:34:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:34:26 # $SEMVER_USER_NAME = edgex-jenkins 06:34:26 # $SEMVER_BRANCH = PR-2797 06:34:26 # $SEMVER_TEMP = /tmp/semver-389005005 06:34:26 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 06:34:52 # '/tmp/semver-389005005' -> '/w/workspace/edgex-go/1/.semver' 06:34:52 # -> Force: false 06:34:52 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 06:34:52 $ docker exec --env ******** --env ******** 5d7f3b71f301e7ee4d850503d2d06c67e3c9858b15c690832327cfc768927677 ssh-agent -k 06:34:53 unset SSH_AUTH_SOCK; 06:34:53 unset SSH_AGENT_PID; 06:34:53 echo Agent pid 51 killed; 06:34:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:53 + git semver [Pipeline] } 06:34:53 $ docker stop --time=1 5d7f3b71f301e7ee4d850503d2d06c67e3c9858b15c690832327cfc768927677 06:34:55 $ docker rm -f 5d7f3b71f301e7ee4d850503d2d06c67e3c9858b15c690832327cfc768927677 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:34:56 Stashed 1 file(s) [Pipeline] echo 06:34:56 [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 06:34:57 ========================================================= 06:34:57 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:34:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:34:57 + 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 . 06:34:57 error checking context: 'can't stat '/w/workspace/edgex-go/1/.semver''. [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:34:59 Failed in branch amd64 06:35:12 Still waiting to schedule task 06:35:12 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:37:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5557 in /w/workspace/edgexfoundry_edgex-go_PR-2797 [Pipeline] { [Pipeline] ws 06:37:39 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 06:37:44 using credential edgex-jenkins-ssh 06:37:45 Cloning the remote Git repository 06:37:45 Cloning repository git@github.com:edgexfoundry/edgex-go.git 06:37:45 > git init /w/workspace/edgex-go/1 # timeout=10 06:37:45 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:37:45 > git --version # timeout=10 06:37:45 > git --version # 'git version 2.17.1' 06:37:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:01 Merging remotes/origin/master commit 75437401aaf0e0f587015af03db21405a724386e into PR head commit addf93d35fd86a2bba4d6b28bab676da5f3a395e 06:38:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:38:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:38:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:38:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2797/head:refs/remotes/origin/PR-2797 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:38:02 Merge succeeded, producing addf93d35fd86a2bba4d6b28bab676da5f3a395e 06:38:02 Checking out Revision addf93d35fd86a2bba4d6b28bab676da5f3a395e (PR-2797) 06:38:01 > git config core.sparsecheckout # timeout=10 06:38:01 > git checkout -f addf93d35fd86a2bba4d6b28bab676da5f3a395e # timeout=10 06:38:02 > git remote # timeout=10 06:38:02 > git config --get remote.origin.url # timeout=10 06:38:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:02 > git merge 75437401aaf0e0f587015af03db21405a724386e # timeout=10 06:38:02 > git rev-parse HEAD^{commit} # timeout=10 06:38:02 > git config core.sparsecheckout # timeout=10 06:38:02 > git checkout -f addf93d35fd86a2bba4d6b28bab676da5f3a395e # timeout=10 06:38:06 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 06:38:06 > git --version # timeout=10 06:38:06 > git --version # 'git version 2.17.1' 06:38:06 fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:38:07 ========================================================= 06:38:07 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:38:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:38:08 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:38:11 Sending build context to Docker daemon 164.9MB 06:38:11 Step 1/7 : ARG BASE=golang:1.15-alpine 06:38:11 Step 2/7 : FROM ${BASE} 06:38:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:38:11 b538f80385f9: Pulling fs layer 06:38:11 74f711af9a0d: Pulling fs layer 06:38:11 99f96fe45779: Pulling fs layer 06:38:11 8529a6b9a6be: Pulling fs layer 06:38:11 45590311c82a: Pulling fs layer 06:38:11 69ca0ff8b7b3: Pulling fs layer 06:38:11 209524e5b208: Pulling fs layer 06:38:11 45590311c82a: Waiting 06:38:11 8529a6b9a6be: Waiting 06:38:11 69ca0ff8b7b3: Waiting 06:38:11 209524e5b208: Waiting 06:38:11 99f96fe45779: Download complete 06:38:11 74f711af9a0d: Verifying Checksum 06:38:11 74f711af9a0d: Download complete 06:38:12 45590311c82a: Verifying Checksum 06:38:12 45590311c82a: Download complete 06:38:12 69ca0ff8b7b3: Verifying Checksum 06:38:12 69ca0ff8b7b3: Download complete 06:38:12 b538f80385f9: Verifying Checksum 06:38:12 b538f80385f9: Download complete 06:38:12 b538f80385f9: Pull complete 06:38:13 74f711af9a0d: Pull complete 06:38:13 99f96fe45779: Pull complete 06:38:14 209524e5b208: Verifying Checksum 06:38:14 209524e5b208: Download complete 06:38:16 8529a6b9a6be: Verifying Checksum 06:38:16 8529a6b9a6be: Download complete 06:38:26 8529a6b9a6be: Pull complete 06:38:26 45590311c82a: Pull complete 06:38:26 69ca0ff8b7b3: Pull complete 06:38:31 209524e5b208: Pull complete 06:38:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:38:31 ---> 5bddaf1c2fca 06:38:31 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 06:38:34 ---> Running in 461675b36b6a 06:38:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:38:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:38:37 (1/12) Installing libmagic (5.38-r0) 06:38:38 (2/12) Installing file (5.38-r0) 06:38:38 (3/12) Installing libc-dev (0.7.2-r3) 06:38:38 (4/12) Installing g++ (9.3.0-r2) 06:38:43 (5/12) Installing fortify-headers (1.1-r0) 06:38:43 (6/12) Installing patch (2.7.6-r6) 06:38:43 (7/12) Installing build-base (0.5-r2) 06:38:43 (8/12) Installing libsodium (1.0.18-r0) 06:38:43 (9/12) Installing pkgconf (1.7.2-r0) 06:38:43 (10/12) Installing libsodium-dev (1.0.18-r0) 06:38:43 (11/12) Installing libzmq (4.3.3-r0) 06:38:43 (12/12) Installing zeromq-dev (4.3.3-r0) 06:38:43 Executing busybox-1.31.1-r16.trigger 06:38:43 OK: 217 MiB in 51 packages 06:38:48 Removing intermediate container 461675b36b6a 06:38:48 ---> 4b8de29c955f 06:38:48 Step 4/7 : WORKDIR /edgex-go 06:38:48 ---> Running in acca47958c17 06:38:48 Removing intermediate container acca47958c17 06:38:48 ---> 564d4fc53761 06:38:48 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 06:38:49 latest: Pulling from library/docker 06:38:49 b538f80385f9: Already exists 06:38:49 259a493cd78d: Pulling fs layer 06:38:49 b8e66b5100f5: Pulling fs layer 06:38:49 7f8258a56ab6: Pulling fs layer 06:38:49 75a0a0ebb566: Pulling fs layer 06:38:49 4a2c62f0a2a3: Pulling fs layer 06:38:49 294320357d30: Pulling fs layer 06:38:49 75a0a0ebb566: Waiting 06:38:49 4a2c62f0a2a3: Waiting 06:38:49 294320357d30: Waiting 06:38:49 b8e66b5100f5: Verifying Checksum 06:38:49 b8e66b5100f5: Download complete 06:38:49 259a493cd78d: Verifying Checksum 06:38:49 259a493cd78d: Download complete 06:38:49 75a0a0ebb566: Verifying Checksum 06:38:49 75a0a0ebb566: Download complete 06:38:49 4a2c62f0a2a3: Download complete 06:38:49 294320357d30: Verifying Checksum 06:38:49 294320357d30: Download complete 06:38:50 259a493cd78d: Pull complete 06:38:50 b8e66b5100f5: Pull complete 06:38:50 7f8258a56ab6: Verifying Checksum 06:38:50 7f8258a56ab6: Download complete 06:38:54 7f8258a56ab6: Pull complete 06:38:54 75a0a0ebb566: Pull complete 06:38:54 4a2c62f0a2a3: Pull complete 06:38:55 294320357d30: Pull complete 06:38:55 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 06:38:55 Status: Downloaded newer image for docker:latest 06:38:58 ---> a34cdb064bf2 06:38:58 Step 6/7 : COPY go.mod . 06:38:59 ---> c7307da452e8 06:38:59 Step 7/7 : RUN go mod download 06:38:59 ---> Running in 2d3278682f57 06:39:26 Removing intermediate container 2d3278682f57 06:39:26 ---> 3ae928a19182 06:39:26 Successfully built 3ae928a19182 06:39:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:39:26 + docker inspect -f . ci-base-image-arm64 06:39:26 . [Pipeline] withDockerContainer 06:39:27 prd-ubuntu18.04-docker-arm64-4c-16g-5557 does not seem to be running inside a container 06:39:27 $ 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 ******** ci-base-image-arm64 cat 06:39:29 $ docker top f31b80b4344a7299f8fcaa69a25df115ca5c0afd1afc742f1b02d2cc05e675bb -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:30 + go version 06:39:30 go version go1.15.2 linux/arm64 [Pipeline] } 06:39:30 $ docker stop --time=1 f31b80b4344a7299f8fcaa69a25df115ca5c0afd1afc742f1b02d2cc05e675bb 06:39:32 $ docker rm -f f31b80b4344a7299f8fcaa69a25df115ca5c0afd1afc742f1b02d2cc05e675bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:39:33 + docker inspect -f . ci-base-image-arm64 06:39:33 . [Pipeline] withDockerContainer 06:39:34 prd-ubuntu18.04-docker-arm64-4c-16g-5557 does not seem to be running inside a container 06:39:34 $ 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 ******** ci-base-image-arm64 cat 06:39:35 $ docker top 7550f1abcd888be66b1dcf90ea6abf61ac1456778560c52275b0c79d72403020 -eo pid,comm [Pipeline] { [Pipeline] echo 06:39:36 ========================================================= 06:39:36 [edgeXBuildGoParallel] Running Tests and Build... 06:39:36 ========================================================= [Pipeline] sh 06:39:36 + make test 06:39:36 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:39:40 ? github.com/edgexfoundry/edgex-go [no test files] 06:40:19 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:40:23 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 06:40:23 internal/core/metadata/v2/controller/http/deviceprofile.go:66:35: addDeviceProfileDTOs[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 06:40:23 internal/core/metadata/v2/controller/http/deviceprofile.go:116:37: updateDeviceProfileReq[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 06:40:23 internal/core/metadata/v2/controller/http/deviceservice.go:73:35: addDeviceServiceDTOs[i].RequestID undefined (type requests.AddDeviceServiceRequest has no field or method RequestID) 06:40:23 internal/core/metadata/v2/controller/http/deviceservice.go:152:15: dto.RequestID undefined (type requests.UpdateDeviceServiceRequest has no field or method RequestID) 06:40:29 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 06:40:29 internal/core/data/v2/controller/http/event.go:71:30: addEventReqDTOs[i].RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 06:40:33 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.016s 06:40:46 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 06:40:46 internal/core/data/v2/application/event_test.go:178:42: evt.ID undefined (type dtos.Event has no field or method ID, but does have Id) 06:40:46 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 06:40:46 internal/core/data/v2/controller/http/event.go:71: addEventReqDTOs[i].RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 06:40:46 internal/core/data/v2/controller/http/event_test.go:53:3: unknown field 'RequestID' in struct literal of type common.BaseRequest (but does have RequestId) 06:40:46 internal/core/data/v2/controller/http/event_test.go:56:3: unknown field 'ID' in struct literal of type dtos.Event (but does have Id) 06:40:46 internal/core/data/v2/controller/http/event_test.go:108:13: noRequestId.RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 06:40:46 internal/core/data/v2/controller/http/event_test.go:110:14: badRequestId.RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 06:40:46 internal/core/data/v2/controller/http/event_test.go:114:17: noEventID.Event.ID undefined (type dtos.Event has no field or method ID, but does have Id) 06:40:46 internal/core/data/v2/controller/http/event_test.go:116:18: badEventID.Event.ID undefined (type dtos.Event has no field or method ID, but does have Id) 06:40:46 internal/core/data/v2/controller/http/event_test.go:222:24: actualResponse[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 06:40:46 internal/core/data/v2/controller/http/event_test.go:223:57: actualResponse[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 06:40:46 internal/core/data/v2/controller/http/event_test.go:286:59: actualResponse.Event.ID undefined (type dtos.Event has no field or method ID, but does have Id) 06:40:46 internal/core/data/v2/controller/http/event_test.go:286:59: too many errors 06:40:46 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.100s coverage: 46.6% of statements 06:40:46 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 06:40:46 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.027s coverage: 100.0% of statements 06:40:46 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.038s coverage: 100.0% of statements 06:40:46 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 06:40:46 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 06:40:46 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 06:40:49 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.108s coverage: 100.0% of statements 06:40:49 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.038s coverage: 100.0% of statements 06:40:50 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile.go:66: addDeviceProfileDTOs[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile.go:116: updateDeviceProfileReq[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceservice.go:73: addDeviceServiceDTOs[i].RequestID undefined (type requests.AddDeviceServiceRequest has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceservice.go:152: dto.RequestID undefined (type requests.UpdateDeviceServiceRequest has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile_test.go:74:4: unknown field 'RequestID' in struct literal of type common.BaseRequest (but does have RequestId) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile_test.go:150:13: noRequestId.RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile_test.go:179:13: res[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile_test.go:180:46: res[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile_test.go:196:14: badRequestId.RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile_test.go:325:45: res[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 06:40:50 internal/core/metadata/v2/controller/http/deviceprofile_test.go:325:45: too many errors 06:40:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.076s coverage: 86.7% of statements 06:40:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.120s coverage: 97.5% of statements 06:40:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.033s coverage: 100.0% of statements 06:40:51 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 06:40:51 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.028s coverage: 58.8% of statements 06:40:53 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.016s coverage: 0.0% of statements [no tests to run] 06:40:56 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.192s coverage: 63.5% of statements 06:40:56 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.012s coverage: 100.0% of statements 06:40:56 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 91.3% of statements 06:40:56 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.017s coverage: 100.0% of statements 06:40:56 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.055s coverage: 73.7% of statements 06:40:58 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.023s coverage: 100.0% of statements 06:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.289s coverage: 55.9% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 11.380s coverage: 86.3% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.237s coverage: 72.2% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.490s coverage: 72.1% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.027s coverage: 82.4% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.019s coverage: 48.4% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.027s coverage: 28.8% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.028s coverage: 96.8% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.087s coverage: 36.5% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.328s coverage: 84.1% of statements 06:41:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.039s coverage: 100.0% of statements 06:41:12 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.021s coverage: 42.9% of statements 06:41:12 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.024s coverage: 100.0% of statements 06:41:12 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.058s coverage: 83.8% of statements 06:41:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.133s coverage: 47.1% of statements 06:41:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.008s coverage: 100.0% of statements 06:41:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.111s coverage: 100.0% of statements 06:41:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.068s coverage: 100.0% of statements 06:41:20 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.203s coverage: 29.1% of statements 06:41:20 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.060s coverage: 99.0% of statements 06:41:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.029s coverage: 100.0% of statements 06:41:21 ok github.com/edgexfoundry/edgex-go/internal/system 0.015s coverage: 0.0% of statements 06:41:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.012s coverage: 100.0% of statements 06:41:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.043s coverage: 87.9% of statements 06:41:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.013s coverage: 100.0% of statements 06:41:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.017s coverage: 32.1% of statements 06:41:25 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.024s coverage: 100.0% of statements 06:41:26 make: *** [Makefile:81: test] Error 2 [Pipeline] } 06:41:26 $ docker stop --time=1 7550f1abcd888be66b1dcf90ea6abf61ac1456778560c52275b0c79d72403020 06:41:28 $ docker rm -f 7550f1abcd888be66b1dcf90ea6abf61ac1456778560c52275b0c79d72403020 [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] } 06:41:31 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 06:41:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:41:36 ---> package-listing.sh 06:41:36 ++ facter osfamily 06:41:36 ++ tr '[:upper:]' '[:lower:]' 06:41:36 + OS_FAMILY=redhat 06:41:36 + workspace=/w/workspace/edgex-go/1 06:41:36 + START_PACKAGES=/tmp/packages_start.txt 06:41:36 + END_PACKAGES=/tmp/packages_end.txt 06:41:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:41:36 + PACKAGES=/tmp/packages_start.txt 06:41:36 + '[' /w/workspace/edgex-go/1 ']' 06:41:36 + PACKAGES=/tmp/packages_end.txt 06:41:36 + case "${OS_FAMILY}" in 06:41:36 + rpm -qa 06:41:36 + sort 06:41:40 + '[' -f /tmp/packages_start.txt ']' 06:41:40 + '[' -f /tmp/packages_end.txt ']' 06:41:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:41:40 + '[' /w/workspace/edgex-go/1 ']' 06:41:40 + mkdir -p /w/workspace/edgex-go/1/archives/ 06:41:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 06:41:40 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 06:41:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:41:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:41:40 06:41:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:41:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:41:41 alpine: Pulling from edgex-lftools-log-publisher 06:41:41 df20fa9351a1: Pulling fs layer 06:41:41 36b3adc4ff6f: Pulling fs layer 06:41:41 8ad3a11d3b57: Pulling fs layer 06:41:41 46f8f816bc3b: Pulling fs layer 06:41:41 93b61091891f: Pulling fs layer 06:41:41 93b9cdb0e59b: Pulling fs layer 06:41:41 5e14af77c1be: Pulling fs layer 06:41:41 01666e4c0597: Pulling fs layer 06:41:41 aa168da1d23b: Pulling fs layer 06:41:41 93b9cdb0e59b: Waiting 06:41:41 aa168da1d23b: Waiting 06:41:41 5e14af77c1be: Waiting 06:41:41 46f8f816bc3b: Waiting 06:41:41 93b61091891f: Waiting 06:41:41 01666e4c0597: Waiting 06:41:41 36b3adc4ff6f: Download complete 06:41:41 46f8f816bc3b: Verifying Checksum 06:41:41 46f8f816bc3b: Download complete 06:41:41 df20fa9351a1: Verifying Checksum 06:41:41 df20fa9351a1: Download complete 06:41:41 93b9cdb0e59b: Verifying Checksum 06:41:41 93b9cdb0e59b: Download complete 06:41:41 5e14af77c1be: Verifying Checksum 06:41:41 5e14af77c1be: Download complete 06:41:41 93b61091891f: Download complete 06:41:41 01666e4c0597: Verifying Checksum 06:41:41 01666e4c0597: Download complete 06:41:41 8ad3a11d3b57: Verifying Checksum 06:41:41 8ad3a11d3b57: Download complete 06:41:41 df20fa9351a1: Pull complete 06:41:42 36b3adc4ff6f: Pull complete 06:41:42 8ad3a11d3b57: Pull complete 06:41:42 46f8f816bc3b: Pull complete 06:41:43 93b61091891f: Pull complete 06:41:43 aa168da1d23b: Verifying Checksum 06:41:43 aa168da1d23b: Download complete 06:41:43 93b9cdb0e59b: Pull complete 06:41:43 5e14af77c1be: Pull complete 06:41:44 01666e4c0597: Pull complete 06:41:50 aa168da1d23b: Pull complete 06:41:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:41:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:41:50 prd-centos7-docker-4c-2g-5551 does not seem to be running inside a container 06:41:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:41:54 $ docker top 064c3d54ad08cbcd151409f7bdbda09ecae390155e527ede6a2fa4c920fcb6fd -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:41:55 + mkdir -p /var/log/sa [Pipeline] sh 06:41:55 + ls /var/log/sa-host 06:41:55 + sadf -c /var/log/sa-host/sa05 06:41:55 file_magic: OK 06:41:55 HZ: Using current value: 100 06:41:55 file_header: OK 06:41:55 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 06:41:55 Statistics: 06:41:55 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:55 File successfully converted to sysstat format version 12.2.1 06:41:55 + sadf -c /var/log/sa-host/sa15 06:41:55 file_magic: OK 06:41:55 HZ: Using current value: 100 06:41:55 file_header: OK 06:41:55 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 06:41:55 Statistics: 06:41:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:55 provisioning config files... 06:41:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2564973149673615377tmp [Pipeline] { [Pipeline] echo 06:41:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:56 ---> create-netrc.sh [Pipeline] } 06:41:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:41:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:41:56 ---> python-tools-install.sh [Pipeline] echo 06:41:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:57 ---> sudo-logs.sh 06:41:57 Archiving 'sudo' log.. [Pipeline] echo 06:41:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:57 ---> job-cost.sh 06:41:57 lf-activate-venv: SKIPPING 06:41:57 INFO: No Stack... 06:41:58 INFO: Retrieving Pricing Info for: v1-standard-2 06:41:59 INFO: Archiving Costs [Pipeline] echo 06:41:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:59 ---> logs-deploy.sh 06:41:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2797/1 06:41:59 INFO: archiving workspace using pattern(s): 06:42:00 Archives upload complete. 06:42:01 INFO: archiving logs to Nexus