Started by user Ernesto Ojeda Replayed #1 Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from addf93d35fd86a2bba4d6b28bab676da5f3a395e+5fa08527d925aa0d761a58fd1d2245c253eac308 (cc2f511f841562070e672b41f951aa93216a9732) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of src/main/groovy/edgeXDocGenerator.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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. Replacing contents of vars/lfInfraShipLogs.groovy [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5663 in /w/workspace/edgexfoundry_edgex-go_PR-2797 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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" > git rev-list --no-walk addf93d35fd86a2bba4d6b28bab676da5f3a395e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:27:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:27:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:27:44 ========================================================= 20:27:44 EdgeX Global Pipelines Version Info 20:27:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:27:46 ------------------- 20:27:46 stable info: 20:27:46 ------------------- 20:27:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:27:46 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 20:27:46 Message: update stable to v1.0.144 20:27:46 ------------------- 20:27:46 experimental info: 20:27:46 ------------------- 20:27:46 Commited By: **** collab-it+edgex@linuxfoundation.org 20:27:46 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 20:27:46 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 20:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:27:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2797 [Pipeline] echo 20:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2797 [Pipeline] echo 20:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2797 [Pipeline] echo 20:27:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = addf93d35fd86a2bba4d6b28bab676da5f3a395e [Pipeline] echo 20:27:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = addf93d [Pipeline] echo 20:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 20:27:49 ++ 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 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/core-command/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo core-command,cmd/core-command/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/core-data/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo core-data,cmd/core-data/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/core-metadata/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo core-metadata,cmd/core-metadata/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/security-proxy-setup/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/security-secrets-setup/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/security-secretstore-setup/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/support-logging/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo support-logging,cmd/support-logging/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/support-notifications/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo support-notifications,cmd/support-notifications/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/support-scheduler/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:27:49 + for file in '`ls cmd/**/Dockerfile`' 20:27:49 ++ dirname cmd/sys-mgmt-agent/Dockerfile 20:27:49 ++ cut -d/ -f2 20:27:49 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:27:49 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 20:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:27:51 20:27:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:27:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:27:52 latest: Pulling from edgex-devops/git-semver 20:27:52 31603596830f: Pulling fs layer 20:27:52 2a8b12db71e7: Pulling fs layer 20:27:52 6ca5941a6612: Pulling fs layer 20:27:52 ecc8261a40a4: Pulling fs layer 20:27:52 ecc8261a40a4: Waiting 20:27:52 2a8b12db71e7: Verifying Checksum 20:27:52 2a8b12db71e7: Download complete 20:27:52 31603596830f: Verifying Checksum 20:27:52 31603596830f: Download complete 20:27:52 6ca5941a6612: Verifying Checksum 20:27:52 6ca5941a6612: Download complete 20:27:52 ecc8261a40a4: Verifying Checksum 20:27:52 ecc8261a40a4: Download complete 20:27:52 31603596830f: Pull complete 20:27:52 2a8b12db71e7: Pull complete 20:27:53 6ca5941a6612: Pull complete 20:27:53 ecc8261a40a4: Pull complete 20:27:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:27:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:27:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:27:54 prd-centos7-docker-4c-2g-5663 does not seem to be running inside a container 20:27:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:27:56 $ docker top 1e3314b078e64e56bb11c78168eb893f98ee847ef14f51b67d43ba5995793b12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:27:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:57 [ssh-agent] Looking for ssh-agent implementation... 20:27:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:57 $ docker exec 1e3314b078e64e56bb11c78168eb893f98ee847ef14f51b67d43ba5995793b12 ssh-agent 20:27:57 SSH_AUTH_SOCK=/tmp/ssh-9i1hymSN4TNI/agent.12 20:27:57 SSH_AGENT_PID=17 20:27:57 Running ssh-add (command line suppressed) 20:27:57 Identity added: /w/workspace/edgex-go/2@tmp/private_key_904613456241293328.key (/w/workspace/edgex-go/2@tmp/private_key_904613456241293328.key) 20:27:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:58 + git tag --points-at HEAD [Pipeline] } 20:27:58 $ docker exec --env ******** --env ******** 1e3314b078e64e56bb11c78168eb893f98ee847ef14f51b67d43ba5995793b12 ssh-agent -k 20:27:58 unset SSH_AUTH_SOCK; 20:27:58 unset SSH_AGENT_PID; 20:27:58 echo Agent pid 17 killed; 20:27:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:27:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:58 [ssh-agent] Looking for ssh-agent implementation... 20:27:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:58 $ docker exec 1e3314b078e64e56bb11c78168eb893f98ee847ef14f51b67d43ba5995793b12 ssh-agent 20:27:58 SSH_AUTH_SOCK=/tmp/ssh-1wiZ3qZxcoDj/agent.46 20:27:58 SSH_AGENT_PID=51 20:27:58 Running ssh-add (command line suppressed) 20:27:58 Identity added: /w/workspace/edgex-go/2@tmp/private_key_6423499048860644518.key (/w/workspace/edgex-go/2@tmp/private_key_6423499048860644518.key) 20:27:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:59 + git semver init 20:27:59 # -> Open(): unable to determine branch for HEAD 20:27:59 # $GIT_DIR = /w/workspace/edgex-go/2/.git 20:27:59 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 20:27:59 # $SEMVER_REMOTE_NAME = origin 20:27:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:27:59 # $SEMVER_USER_NAME = edgex-jenkins 20:27:59 # $SEMVER_BRANCH = PR-2797 20:27:59 # $SEMVER_TEMP = /tmp/semver-891068816 20:27:59 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 20:28:17 # '/tmp/semver-891068816' -> '/w/workspace/edgex-go/2/.semver' 20:28:17 # -> Force: false 20:28:17 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 20:28:17 $ docker exec --env ******** --env ******** 1e3314b078e64e56bb11c78168eb893f98ee847ef14f51b67d43ba5995793b12 ssh-agent -k 20:28:17 unset SSH_AUTH_SOCK; 20:28:17 unset SSH_AGENT_PID; 20:28:17 echo Agent pid 51 killed; 20:28:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:28:18 + git semver [Pipeline] } 20:28:18 $ docker stop --time=1 1e3314b078e64e56bb11c78168eb893f98ee847ef14f51b67d43ba5995793b12 20:28:19 $ docker rm -f 1e3314b078e64e56bb11c78168eb893f98ee847ef14f51b67d43ba5995793b12 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:28:20 Stashed 1 file(s) [Pipeline] echo 20:28:20 [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 20:28:21 ========================================================= 20:28:21 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:28:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:28:21 + 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 . 20:28:21 error checking context: 'can't stat '/w/workspace/edgex-go/2/.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] } 20:28:23 Failed in branch amd64 20:28:36 Still waiting to schedule task 20:28:36 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 20:30:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5665 in /w/workspace/edgexfoundry_edgex-go_PR-2797 [Pipeline] { [Pipeline] ws 20:30:28 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 20:30:33 using credential edgex-jenkins-ssh 20:30:33 Cloning the remote Git repository 20:30:33 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:30:33 > git init /w/workspace/edgex-go/2 # timeout=10 20:30:33 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:30:33 > git --version # timeout=10 20:30:33 > git --version # 'git version 2.17.1' 20:30:33 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:57 Merging remotes/origin/master commit 75437401aaf0e0f587015af03db21405a724386e into PR head commit addf93d35fd86a2bba4d6b28bab676da5f3a395e 20:30:56 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:30:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:56 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:30:56 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:30:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:56 > 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 20:30:57 > git config core.sparsecheckout # timeout=10 20:30:57 > git checkout -f addf93d35fd86a2bba4d6b28bab676da5f3a395e # timeout=10 20:30:57 Merge succeeded, producing addf93d35fd86a2bba4d6b28bab676da5f3a395e 20:30:57 Checking out Revision addf93d35fd86a2bba4d6b28bab676da5f3a395e (PR-2797) 20:30:57 > git remote # timeout=10 20:30:57 > git config --get remote.origin.url # timeout=10 20:30:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:57 > git merge 75437401aaf0e0f587015af03db21405a724386e # timeout=10 20:30:57 > git rev-parse HEAD^{commit} # timeout=10 20:30:57 > git config core.sparsecheckout # timeout=10 20:30:57 > git checkout -f addf93d35fd86a2bba4d6b28bab676da5f3a395e # timeout=10 20:31:02 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:31:03 ========================================================= 20:31:03 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:31:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:31:04 + 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 . 20:31:06 Sending build context to Docker daemon 164.9MB 20:31:06 Step 1/7 : ARG BASE=golang:1.15-alpine 20:31:06 Step 2/7 : FROM ${BASE} 20:31:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:07 b538f80385f9: Pulling fs layer 20:31:07 74f711af9a0d: Pulling fs layer 20:31:07 99f96fe45779: Pulling fs layer 20:31:07 8529a6b9a6be: Pulling fs layer 20:31:07 45590311c82a: Pulling fs layer 20:31:07 69ca0ff8b7b3: Pulling fs layer 20:31:07 209524e5b208: Pulling fs layer 20:31:07 8529a6b9a6be: Waiting 20:31:07 45590311c82a: Waiting 20:31:07 69ca0ff8b7b3: Waiting 20:31:07 209524e5b208: Waiting 20:31:07 99f96fe45779: Verifying Checksum 20:31:07 99f96fe45779: Download complete 20:31:07 b538f80385f9: Verifying Checksum 20:31:07 b538f80385f9: Download complete 20:31:07 74f711af9a0d: Verifying Checksum 20:31:07 74f711af9a0d: Download complete 20:31:07 45590311c82a: Verifying Checksum 20:31:07 45590311c82a: Download complete 20:31:07 69ca0ff8b7b3: Verifying Checksum 20:31:07 69ca0ff8b7b3: Download complete 20:31:08 b538f80385f9: Pull complete 20:31:08 74f711af9a0d: Pull complete 20:31:08 99f96fe45779: Pull complete 20:31:10 209524e5b208: Verifying Checksum 20:31:10 209524e5b208: Download complete 20:31:11 8529a6b9a6be: Verifying Checksum 20:31:11 8529a6b9a6be: Download complete 20:31:23 8529a6b9a6be: Pull complete 20:31:23 45590311c82a: Pull complete 20:31:23 69ca0ff8b7b3: Pull complete 20:31:26 209524e5b208: Pull complete 20:31:26 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 20:31:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:31:26 ---> 5bddaf1c2fca 20:31:26 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 20:31:29 ---> Running in ea871c424691 20:31:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:31:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:31:32 (1/12) Installing libmagic (5.38-r0) 20:31:33 (2/12) Installing file (5.38-r0) 20:31:33 (3/12) Installing libc-dev (0.7.2-r3) 20:31:33 (4/12) Installing g++ (9.3.0-r2) 20:31:37 (5/12) Installing fortify-headers (1.1-r0) 20:31:37 (6/12) Installing patch (2.7.6-r6) 20:31:37 (7/12) Installing build-base (0.5-r2) 20:31:37 (8/12) Installing libsodium (1.0.18-r0) 20:31:37 (9/12) Installing pkgconf (1.7.2-r0) 20:31:37 (10/12) Installing libsodium-dev (1.0.18-r0) 20:31:37 (11/12) Installing libzmq (4.3.3-r0) 20:31:37 (12/12) Installing zeromq-dev (4.3.3-r0) 20:31:37 Executing busybox-1.31.1-r16.trigger 20:31:37 OK: 217 MiB in 51 packages 20:31:42 Removing intermediate container ea871c424691 20:31:42 ---> bddc14f38e38 20:31:42 Step 4/7 : WORKDIR /edgex-go 20:31:42 ---> Running in 5283e7c16bad 20:31:42 Removing intermediate container 5283e7c16bad 20:31:42 ---> 06fd55de37b8 20:31:42 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:31:43 latest: Pulling from library/docker 20:31:43 b538f80385f9: Already exists 20:31:43 259a493cd78d: Pulling fs layer 20:31:43 b8e66b5100f5: Pulling fs layer 20:31:43 7f8258a56ab6: Pulling fs layer 20:31:43 75a0a0ebb566: Pulling fs layer 20:31:43 4a2c62f0a2a3: Pulling fs layer 20:31:43 294320357d30: Pulling fs layer 20:31:43 75a0a0ebb566: Waiting 20:31:43 4a2c62f0a2a3: Waiting 20:31:44 259a493cd78d: Download complete 20:31:44 b8e66b5100f5: Verifying Checksum 20:31:44 b8e66b5100f5: Download complete 20:31:44 75a0a0ebb566: Verifying Checksum 20:31:44 75a0a0ebb566: Download complete 20:31:44 294320357d30: Download complete 20:31:44 7f8258a56ab6: Verifying Checksum 20:31:44 7f8258a56ab6: Download complete 20:31:45 259a493cd78d: Pull complete 20:31:45 b8e66b5100f5: Pull complete 20:31:46 4a2c62f0a2a3: Verifying Checksum 20:31:46 4a2c62f0a2a3: Download complete 20:31:48 7f8258a56ab6: Pull complete 20:31:49 75a0a0ebb566: Pull complete 20:31:49 4a2c62f0a2a3: Pull complete 20:31:49 294320357d30: Pull complete 20:31:49 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 20:31:49 Status: Downloaded newer image for docker:latest 20:31:53 ---> 981eccb2e3f1 20:31:53 Step 6/7 : COPY go.mod . 20:31:53 ---> 5fd6c989672c 20:31:53 Step 7/7 : RUN go mod download 20:31:53 ---> Running in 5147caab29ca 20:32:20 Removing intermediate container 5147caab29ca 20:32:20 ---> f3a309eed11c 20:32:20 Successfully built f3a309eed11c 20:32:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:32:21 + docker inspect -f . ci-base-image-arm64 20:32:21 . [Pipeline] withDockerContainer 20:32:21 prd-ubuntu18.04-docker-arm64-4c-16g-5665 does not seem to be running inside a container 20:32:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 20:32:23 $ docker top d1a35dd2ffeb819c9ba58e3ba6baf8b7d7eb890f98497c2bbfd43f18b5b4e0f8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:24 + go version 20:32:24 go version go1.15.2 linux/arm64 [Pipeline] } 20:32:24 $ docker stop --time=1 d1a35dd2ffeb819c9ba58e3ba6baf8b7d7eb890f98497c2bbfd43f18b5b4e0f8 20:32:26 $ docker rm -f d1a35dd2ffeb819c9ba58e3ba6baf8b7d7eb890f98497c2bbfd43f18b5b4e0f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:32:27 + docker inspect -f . ci-base-image-arm64 20:32:27 . [Pipeline] withDockerContainer 20:32:27 prd-ubuntu18.04-docker-arm64-4c-16g-5665 does not seem to be running inside a container 20:32:27 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 20:32:29 $ docker top 90f7161cbd898c972f1072813248a98ed6600cca1cbb34e7cd9b6e8d17ca6a56 -eo pid,comm [Pipeline] { [Pipeline] echo 20:32:29 ========================================================= 20:32:29 [edgeXBuildGoParallel] Running Tests and Build... 20:32:29 ========================================================= [Pipeline] sh 20:32:30 + make test 20:32:30 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:32:32 ? github.com/edgexfoundry/edgex-go [no test files] 20:33:05 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:33:10 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 20:33:10 internal/core/metadata/v2/controller/http/deviceprofile.go:66:35: addDeviceProfileDTOs[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 20:33:10 internal/core/metadata/v2/controller/http/deviceprofile.go:116:37: updateDeviceProfileReq[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 20:33:10 internal/core/metadata/v2/controller/http/deviceservice.go:73:35: addDeviceServiceDTOs[i].RequestID undefined (type requests.AddDeviceServiceRequest has no field or method RequestID) 20:33:10 internal/core/metadata/v2/controller/http/deviceservice.go:152:15: dto.RequestID undefined (type requests.UpdateDeviceServiceRequest has no field or method RequestID) 20:33:17 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 20:33:17 internal/core/data/v2/controller/http/event.go:71:30: addEventReqDTOs[i].RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 20:33:19 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.014s 20:33:29 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 20:33:29 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) 20:33:30 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 20:33:30 internal/core/data/v2/controller/http/event.go:71: addEventReqDTOs[i].RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 20:33:30 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) 20:33:30 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) 20:33:30 internal/core/data/v2/controller/http/event_test.go:108:13: noRequestId.RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 20:33:30 internal/core/data/v2/controller/http/event_test.go:110:14: badRequestId.RequestID undefined (type requests.AddEventRequest has no field or method RequestID) 20:33:30 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) 20:33:30 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) 20:33:30 internal/core/data/v2/controller/http/event_test.go:222:24: actualResponse[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 20:33:30 internal/core/data/v2/controller/http/event_test.go:223:57: actualResponse[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 20:33:30 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) 20:33:30 internal/core/data/v2/controller/http/event_test.go:286:59: too many errors 20:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.085s coverage: 46.6% of statements 20:33:31 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 20:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.013s coverage: 100.0% of statements 20:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.032s coverage: 100.0% of statements 20:33:31 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 20:33:31 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 20:33:31 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 20:33:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.076s coverage: 100.0% of statements 20:33:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.046s coverage: 100.0% of statements 20:33:35 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile.go:66: addDeviceProfileDTOs[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile.go:116: updateDeviceProfileReq[i].RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceservice.go:73: addDeviceServiceDTOs[i].RequestID undefined (type requests.AddDeviceServiceRequest has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceservice.go:152: dto.RequestID undefined (type requests.UpdateDeviceServiceRequest has no field or method RequestID) 20:33:35 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) 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile_test.go:150:13: noRequestId.RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile_test.go:179:13: res[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile_test.go:180:46: res[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile_test.go:196:14: badRequestId.RequestID undefined (type requests.DeviceProfileRequest has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile_test.go:325:45: res[0].RequestID undefined (type common.BaseWithIdResponse has no field or method RequestID) 20:33:35 internal/core/metadata/v2/controller/http/deviceprofile_test.go:325:45: too many errors 20:33:35 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.065s coverage: 86.7% of statements 20:33:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.111s coverage: 97.5% of statements 20:33:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.070s coverage: 100.0% of statements 20:33:36 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 20:33:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.036s coverage: 58.8% of statements 20:33:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.020s coverage: 0.0% of statements [no tests to run] 20:33:40 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.146s coverage: 63.5% of statements 20:33:40 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.011s coverage: 100.0% of statements 20:33:40 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 91.3% of statements 20:33:40 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.026s coverage: 100.0% of statements 20:33:41 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.087s coverage: 73.7% of statements 20:33:41 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.017s coverage: 100.0% of statements 20:33:45 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.275s coverage: 55.9% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 26.535s coverage: 86.3% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.157s coverage: 72.2% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.406s coverage: 72.1% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.030s coverage: 82.4% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.029s coverage: 48.4% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.023s coverage: 28.8% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.073s coverage: 96.8% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.070s coverage: 36.5% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.261s coverage: 84.1% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.015s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.037s coverage: 42.9% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.027s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.028s coverage: 83.8% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.109s coverage: 47.1% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.007s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.041s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.030s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.149s coverage: 29.1% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.044s coverage: 99.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.034s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/system 0.008s coverage: 0.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.022s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.029s coverage: 87.9% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.012s coverage: 100.0% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.010s coverage: 32.1% of statements 20:34:12 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.021s coverage: 100.0% of statements 20:34:12 make: *** [Makefile:81: test] Error 2 [Pipeline] } 20:34:12 $ docker stop --time=1 90f7161cbd898c972f1072813248a98ed6600cca1cbb34e7cd9b6e8d17ca6a56 20:34:14 $ docker rm -f 90f7161cbd898c972f1072813248a98ed6600cca1cbb34e7cd9b6e8d17ca6a56 [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] } 20:34:16 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 20:34:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:34:20 ---> package-listing.sh 20:34:20 ++ facter osfamily 20:34:20 ++ tr '[:upper:]' '[:lower:]' 20:34:20 + OS_FAMILY=redhat 20:34:20 + workspace=/w/workspace/edgex-go/2 20:34:20 + START_PACKAGES=/tmp/packages_start.txt 20:34:20 + END_PACKAGES=/tmp/packages_end.txt 20:34:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:34:20 + PACKAGES=/tmp/packages_start.txt 20:34:20 + '[' /w/workspace/edgex-go/2 ']' 20:34:20 + PACKAGES=/tmp/packages_end.txt 20:34:20 + case "${OS_FAMILY}" in 20:34:20 + rpm -qa 20:34:20 + sort 20:34:24 + '[' -f /tmp/packages_start.txt ']' 20:34:24 + '[' -f /tmp/packages_end.txt ']' 20:34:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:34:24 + '[' /w/workspace/edgex-go/2 ']' 20:34:24 + mkdir -p /w/workspace/edgex-go/2/archives/ 20:34:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 20:34:24 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:34:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:34:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:34:25 20:34:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:34:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:34:25 alpine: Pulling from edgex-lftools-log-publisher 20:34:25 df20fa9351a1: Pulling fs layer 20:34:25 36b3adc4ff6f: Pulling fs layer 20:34:25 8ad3a11d3b57: Pulling fs layer 20:34:25 46f8f816bc3b: Pulling fs layer 20:34:25 93b61091891f: Pulling fs layer 20:34:25 93b9cdb0e59b: Pulling fs layer 20:34:25 5e14af77c1be: Pulling fs layer 20:34:25 01666e4c0597: Pulling fs layer 20:34:25 aa168da1d23b: Pulling fs layer 20:34:25 93b9cdb0e59b: Waiting 20:34:25 5e14af77c1be: Waiting 20:34:25 01666e4c0597: Waiting 20:34:25 aa168da1d23b: Waiting 20:34:25 46f8f816bc3b: Waiting 20:34:25 93b61091891f: Waiting 20:34:25 36b3adc4ff6f: Download complete 20:34:25 46f8f816bc3b: Verifying Checksum 20:34:25 46f8f816bc3b: Download complete 20:34:25 df20fa9351a1: Verifying Checksum 20:34:25 df20fa9351a1: Download complete 20:34:25 93b9cdb0e59b: Verifying Checksum 20:34:25 93b9cdb0e59b: Download complete 20:34:25 93b61091891f: Verifying Checksum 20:34:25 93b61091891f: Download complete 20:34:25 5e14af77c1be: Verifying Checksum 20:34:25 5e14af77c1be: Download complete 20:34:25 01666e4c0597: Verifying Checksum 20:34:25 01666e4c0597: Download complete 20:34:25 8ad3a11d3b57: Verifying Checksum 20:34:25 8ad3a11d3b57: Download complete 20:34:25 df20fa9351a1: Pull complete 20:34:26 36b3adc4ff6f: Pull complete 20:34:26 8ad3a11d3b57: Pull complete 20:34:26 46f8f816bc3b: Pull complete 20:34:27 93b61091891f: Pull complete 20:34:27 93b9cdb0e59b: Pull complete 20:34:27 5e14af77c1be: Pull complete 20:34:27 aa168da1d23b: Verifying Checksum 20:34:27 aa168da1d23b: Download complete 20:34:27 01666e4c0597: Pull complete 20:34:34 aa168da1d23b: Pull complete 20:34:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:34:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:34:34 prd-centos7-docker-4c-2g-5663 does not seem to be running inside a container 20:34:34 $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:34:38 $ docker top 43adbdbef679b98ef7391fda5e2a971802156a48058a6660d31380e85a9d30e3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:39 + touch /tmp/pre-build-complete [Pipeline] sh 20:34:39 + mkdir -p /var/log/sa [Pipeline] sh 20:34:39 + ls /var/log/sa-host 20:34:39 + sadf -c /var/log/sa-host/sa05 20:34:39 file_magic: OK 20:34:39 HZ: Using current value: 100 20:34:39 file_header: OK 20:34:39 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 20:34:39 Statistics: 20:34:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:34:39 File successfully converted to sysstat format version 12.2.1 20:34:39 + sadf -c /var/log/sa-host/sa15 20:34:39 file_magic: OK 20:34:39 HZ: Using current value: 100 20:34:39 file_header: OK 20:34:39 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 20:34:39 Statistics: 20:34:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:34:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:40 provisioning config files... 20:34:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config637088610889328761tmp [Pipeline] { [Pipeline] echo 20:34:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:34:40 ---> create-netrc.sh [Pipeline] } 20:34:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:34:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:34:41 ---> python-tools-install.sh [Pipeline] echo 20:34:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:34:41 ---> sudo-logs.sh 20:34:41 Archiving 'sudo' log.. [Pipeline] echo 20:34:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:34:41 ---> job-cost.sh 20:34:41 lf-activate-venv: SKIPPING 20:34:41 INFO: No Stack... 20:34:42 INFO: Retrieving Pricing Info for: v1-standard-2 20:34:42 INFO: Archiving Costs [Pipeline] echo 20:34:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:34:43 ---> logs-deploy.sh 20:34:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2797/2 20:34:43 INFO: archiving workspace using pattern(s): 20:34:45 Archives upload complete. 20:34:45 INFO: archiving logs to Nexus