Pull request #2805 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/edgex-go Obtained Jenkinsfile from 6ecc3078caa220b00538d24a8ff0a4a697adee11+f81604f83b5d28606a5077acf1e60dc404b0b1e1 (fc6a4bb6a908f886259bf000c5371502c5edacd4) 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 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 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-2805/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 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 > 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-2805/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5891 in /w/workspace/edgexfoundry_edgex-go_PR-2805 [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 f81604f83b5d28606a5077acf1e60dc404b0b1e1 into PR head commit 6ecc3078caa220b00538d24a8ff0a4a697adee11 Merge succeeded, producing 6ecc3078caa220b00538d24a8ff0a4a697adee11 Checking out Revision 6ecc3078caa220b00538d24a8ff0a4a697adee11 (PR-2805) > 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/2805/head:refs/remotes/origin/PR-2805 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ecc3078caa220b00538d24a8ff0a4a697adee11 # 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 f81604f83b5d28606a5077acf1e60dc404b0b1e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ecc3078caa220b00538d24a8ff0a4a697adee11 # timeout=10 Commit message: "fix(metadata): V2 GET /deviceservice/all returns inconsistent response when specifying labels or not" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:46:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:46:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:46:38 ========================================================= 12:46:38 EdgeX Global Pipelines Version Info 12:46:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:46:40 ------------------- 12:46:40 stable info: 12:46:40 ------------------- 12:46:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:46:40 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 12:46:40 Message: update stable to v1.0.144 12:46:41 ------------------- 12:46:41 experimental info: 12:46:41 ------------------- 12:46:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:46:41 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 12:46:41 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:46:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 12:46:42 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 12:46:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:46:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:46:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:46:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 12:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 12:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 12:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 12:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 12:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:46:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:46:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:46:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:46:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:46:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:46:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 12:46:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 12:46:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2805 [Pipeline] echo 12:46:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2805 [Pipeline] echo 12:46:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2805 [Pipeline] echo 12:46:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ecc3078caa220b00538d24a8ff0a4a697adee11 [Pipeline] echo 12:46:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ecc307 [Pipeline] echo 12:46:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 12:46:46 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/core-command/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo core-command,cmd/core-command/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/core-data/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo core-data,cmd/core-data/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/core-metadata/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo core-metadata,cmd/core-metadata/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/security-proxy-setup/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/security-secrets-setup/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/security-secretstore-setup/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/support-logging/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo support-logging,cmd/support-logging/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/support-notifications/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo support-notifications,cmd/support-notifications/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/support-scheduler/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo support-scheduler,cmd/support-scheduler/Dockerfile 12:46:46 + for file in '`ls cmd/**/Dockerfile`' 12:46:46 ++ dirname cmd/sys-mgmt-agent/Dockerfile 12:46:46 ++ cut -d/ -f2 12:46:46 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 12:46:46 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 12:46:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:46:48 12:46:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:46:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:46:48 latest: Pulling from edgex-devops/git-semver 12:46:48 31603596830f: Pulling fs layer 12:46:48 2a8b12db71e7: Pulling fs layer 12:46:48 6ca5941a6612: Pulling fs layer 12:46:48 ecc8261a40a4: Pulling fs layer 12:46:48 ecc8261a40a4: Waiting 12:46:48 2a8b12db71e7: Verifying Checksum 12:46:48 2a8b12db71e7: Download complete 12:46:48 31603596830f: Verifying Checksum 12:46:48 31603596830f: Download complete 12:46:48 6ca5941a6612: Verifying Checksum 12:46:48 6ca5941a6612: Download complete 12:46:48 ecc8261a40a4: Verifying Checksum 12:46:48 ecc8261a40a4: Download complete 12:46:49 31603596830f: Pull complete 12:46:49 2a8b12db71e7: Pull complete 12:46:50 6ca5941a6612: Pull complete 12:46:50 ecc8261a40a4: Pull complete 12:46:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:46:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:46:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:46:50 prd-centos7-docker-4c-2g-5891 does not seem to be running inside a container 12:46:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:46:52 $ docker top c2054095bb9b2d5676e310e2780e25f29bc430dab517cdc49a3263cef3f33d3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:46:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:46:53 [ssh-agent] Looking for ssh-agent implementation... 12:46:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:46:53 $ docker exec c2054095bb9b2d5676e310e2780e25f29bc430dab517cdc49a3263cef3f33d3c ssh-agent 12:46:53 SSH_AUTH_SOCK=/tmp/ssh-2S12IhmbhIoK/agent.11 12:46:53 SSH_AGENT_PID=16 12:46:53 Running ssh-add (command line suppressed) 12:46:53 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8497898061198836466.key (/w/workspace/edgex-go/1@tmp/private_key_8497898061198836466.key) 12:46:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:46:54 + git tag --points-at HEAD [Pipeline] } 12:46:54 $ docker exec --env ******** --env ******** c2054095bb9b2d5676e310e2780e25f29bc430dab517cdc49a3263cef3f33d3c ssh-agent -k 12:46:54 unset SSH_AUTH_SOCK; 12:46:54 unset SSH_AGENT_PID; 12:46:54 echo Agent pid 16 killed; 12:46:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:46:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:46:54 [ssh-agent] Looking for ssh-agent implementation... 12:46:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:46:54 $ docker exec c2054095bb9b2d5676e310e2780e25f29bc430dab517cdc49a3263cef3f33d3c ssh-agent 12:46:55 SSH_AUTH_SOCK=/tmp/ssh-kCaMy6mFdgx6/agent.45 12:46:55 SSH_AGENT_PID=50 12:46:55 Running ssh-add (command line suppressed) 12:46:55 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8162770429374158930.key (/w/workspace/edgex-go/1@tmp/private_key_8162770429374158930.key) 12:46:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:46:55 + git semver init 12:46:55 # -> Open(): unable to determine branch for HEAD 12:46:55 # $GIT_DIR = /w/workspace/edgex-go/1/.git 12:46:55 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 12:46:55 # $SEMVER_REMOTE_NAME = origin 12:46:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:46:55 # $SEMVER_USER_NAME = edgex-jenkins 12:46:55 # $SEMVER_BRANCH = PR-2805 12:46:55 # $SEMVER_TEMP = /tmp/semver-083343480 12:46:55 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 12:47:13 # '/tmp/semver-083343480' -> '/w/workspace/edgex-go/1/.semver' 12:47:13 # -> Force: false 12:47:13 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 12:47:13 $ docker exec --env ******** --env ******** c2054095bb9b2d5676e310e2780e25f29bc430dab517cdc49a3263cef3f33d3c ssh-agent -k 12:47:14 unset SSH_AUTH_SOCK; 12:47:14 unset SSH_AGENT_PID; 12:47:14 echo Agent pid 50 killed; 12:47:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:47:14 + git semver [Pipeline] } 12:47:14 $ docker stop --time=1 c2054095bb9b2d5676e310e2780e25f29bc430dab517cdc49a3263cef3f33d3c 12:47:16 $ docker rm -f c2054095bb9b2d5676e310e2780e25f29bc430dab517cdc49a3263cef3f33d3c [Pipeline] // withDockerContainer [Pipeline] sh 12:47:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:47:17 Stashed 1 file(s) [Pipeline] echo 12:47:17 [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 12:47:18 ========================================================= 12:47:18 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 12:47:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:47:19 + 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 . 12:47:22 Sending build context to Docker daemon 325.3MB 12:47:22 Step 1/7 : ARG BASE=golang:1.15-alpine 12:47:22 Step 2/7 : FROM ${BASE} 12:47:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 12:47:22 df20fa9351a1: Pulling fs layer 12:47:22 ed8968b2872e: Pulling fs layer 12:47:22 a92cc7c5fd73: Pulling fs layer 12:47:22 e871e8e8d7a9: Pulling fs layer 12:47:22 e73272ec9a57: Pulling fs layer 12:47:22 1e910a182e73: Pulling fs layer 12:47:22 4e634b169226: Pulling fs layer 12:47:22 e73272ec9a57: Waiting 12:47:22 1e910a182e73: Waiting 12:47:22 4e634b169226: Waiting 12:47:22 e871e8e8d7a9: Waiting 12:47:22 a92cc7c5fd73: Verifying Checksum 12:47:22 ed8968b2872e: Download complete 12:47:22 e73272ec9a57: Verifying Checksum 12:47:22 e73272ec9a57: Download complete 12:47:22 df20fa9351a1: Verifying Checksum 12:47:22 df20fa9351a1: Download complete 12:47:22 1e910a182e73: Download complete 12:47:22 df20fa9351a1: Pull complete 12:47:22 ed8968b2872e: Pull complete 12:47:23 a92cc7c5fd73: Pull complete 12:47:25 4e634b169226: Verifying Checksum 12:47:25 4e634b169226: Download complete 12:47:26 e871e8e8d7a9: Verifying Checksum 12:47:26 e871e8e8d7a9: Download complete 12:47:30 e871e8e8d7a9: Pull complete 12:47:31 e73272ec9a57: Pull complete 12:47:31 1e910a182e73: Pull complete 12:47:33 Still waiting to schedule task 12:47:33 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 12:47:37 4e634b169226: Pull complete 12:47:37 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 12:47:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 12:47:37 ---> f7629b54cfaa 12:47:37 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 12:47:37 ---> Running in ca41682cd0f1 12:47:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:47:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:47:39 (1/12) Installing libmagic (5.38-r0) 12:47:39 (2/12) Installing file (5.38-r0) 12:47:39 (3/12) Installing libc-dev (0.7.2-r3) 12:47:39 (4/12) Installing g++ (9.3.0-r2) 12:47:44 (5/12) Installing fortify-headers (1.1-r0) 12:47:44 (6/12) Installing patch (2.7.6-r6) 12:47:44 (7/12) Installing build-base (0.5-r2) 12:47:44 (8/12) Installing libsodium (1.0.18-r0) 12:47:44 (9/12) Installing pkgconf (1.7.2-r0) 12:47:44 (10/12) Installing libsodium-dev (1.0.18-r0) 12:47:44 (11/12) Installing libzmq (4.3.3-r0) 12:47:44 (12/12) Installing zeromq-dev (4.3.3-r0) 12:47:44 Executing busybox-1.31.1-r16.trigger 12:47:44 OK: 233 MiB in 51 packages 12:47:47 Removing intermediate container ca41682cd0f1 12:47:47 ---> eba0d79ccc58 12:47:47 Step 4/7 : WORKDIR /edgex-go 12:47:47 ---> Running in 263c0b75d1f1 12:47:47 Removing intermediate container 263c0b75d1f1 12:47:47 ---> 316ad4ebd05d 12:47:47 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 12:47:47 latest: Pulling from library/docker 12:47:48 df20fa9351a1: Already exists 12:47:48 25ad7478873d: Pulling fs layer 12:47:48 4684f6177b5d: Pulling fs layer 12:47:48 8ba584e970af: Pulling fs layer 12:47:48 3cdc74d2b06d: Pulling fs layer 12:47:48 4cf5a0d07c1f: Pulling fs layer 12:47:48 fca0ccc462d5: Pulling fs layer 12:47:48 3cdc74d2b06d: Waiting 12:47:48 fca0ccc462d5: Waiting 12:47:48 4cf5a0d07c1f: Waiting 12:47:48 4684f6177b5d: Verifying Checksum 12:47:48 4684f6177b5d: Download complete 12:47:48 25ad7478873d: Verifying Checksum 12:47:48 25ad7478873d: Download complete 12:47:48 4cf5a0d07c1f: Verifying Checksum 12:47:48 4cf5a0d07c1f: Download complete 12:47:48 3cdc74d2b06d: Verifying Checksum 12:47:48 3cdc74d2b06d: Download complete 12:47:48 fca0ccc462d5: Verifying Checksum 12:47:48 fca0ccc462d5: Download complete 12:47:48 25ad7478873d: Pull complete 12:47:48 4684f6177b5d: Pull complete 12:47:49 8ba584e970af: Verifying Checksum 12:47:49 8ba584e970af: Download complete 12:47:51 8ba584e970af: Pull complete 12:47:51 3cdc74d2b06d: Pull complete 12:47:51 4cf5a0d07c1f: Pull complete 12:47:51 fca0ccc462d5: Pull complete 12:47:51 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 12:47:51 Status: Downloaded newer image for docker:latest 12:47:53 ---> a1b02b452e54 12:47:53 Step 6/7 : COPY go.mod . 12:47:53 ---> 2068ffc46c88 12:47:53 Step 7/7 : RUN go mod download 12:47:53 ---> Running in cbc4627881e0 12:48:15 Removing intermediate container cbc4627881e0 12:48:15 ---> 70563f3c998b 12:48:15 Successfully built 70563f3c998b 12:48:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:48:16 + docker inspect -f . ci-base-image-x86_64 12:48:16 . [Pipeline] withDockerContainer 12:48:16 prd-centos7-docker-4c-2g-5891 does not seem to be running inside a container 12:48:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:48:16 $ docker top cc6ba79510bc1fe4b835dbe53f4df17e16437c893781b8aa4066946b019503c1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:48:17 + go version 12:48:17 go version go1.15.2 linux/amd64 [Pipeline] } 12:48:17 $ docker stop --time=1 cc6ba79510bc1fe4b835dbe53f4df17e16437c893781b8aa4066946b019503c1 12:48:18 $ docker rm -f cc6ba79510bc1fe4b835dbe53f4df17e16437c893781b8aa4066946b019503c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:48:20 + docker inspect -f . ci-base-image-x86_64 12:48:20 . [Pipeline] withDockerContainer 12:48:20 prd-centos7-docker-4c-2g-5891 does not seem to be running inside a container 12:48:20 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:48:20 $ docker top f1cbfac159f701106a1fe100ad8e19325044546dd6d7f39209040332c9d983ad -eo pid,comm [Pipeline] { [Pipeline] echo 12:48:21 ========================================================= 12:48:21 [edgeXBuildGoParallel] Running Tests and Build... 12:48:21 ========================================================= [Pipeline] sh 12:48:21 + make test 12:48:21 GO111MODULE=on go test -coverprofile=coverage.out ./... 12:48:24 ? github.com/edgexfoundry/edgex-go [no test files] 12:48:34 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 12:48:39 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 12:48:39 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 12:48:39 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 12:48:39 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 12:48:40 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.016s 12:48:40 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 12:48:40 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 12:48:40 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 12:48:41 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 12:48:42 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 12:48:42 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 12:48:42 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 12:48:42 ? github.com/edgexfoundry/edgex-go/internal [no test files] 12:48:44 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.025s coverage: 46.6% of statements 12:48:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 12:48:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 12:48:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 12:48:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 12:48:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.040s coverage: 27.1% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.026s coverage: 100.0% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.013s coverage: 100.0% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.336s coverage: 85.5% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.343s coverage: 88.9% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.076s coverage: 28.6% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.015s coverage: 100.0% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 12:48:50 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.048s coverage: 100.0% of statements 12:48:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 12:48:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.046s coverage: 86.7% of statements 12:48:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 12:48:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.038s coverage: 97.5% of statements 12:48:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 12:48:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.014s coverage: 100.0% of statements 12:48:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 12:48:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 12:48:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 12:48:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 12:48:52 --- FAIL: TestGetDeviceServices (0.00s) 12:48:52 --- FAIL: TestGetDeviceServices/Valid_-_get_device_services_without_labels (0.00s) 12:48:52 deviceservice_test.go:447: 12:48:52 Error Trace: deviceservice_test.go:447 12:48:52 Error: Not equal: 12:48:52 expected: 200 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:48:52 Messages: HTTP status code not as expected 12:48:52 deviceservice_test.go:448: 12:48:52 Error Trace: deviceservice_test.go:448 12:48:52 Error: Not equal: 12:48:52 expected: 200 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:48:52 Messages: Response status code not as expected 12:48:52 deviceservice_test.go:449: 12:48:52 Error Trace: deviceservice_test.go:449 12:48:52 Error: Not equal: 12:48:52 expected: 3 12:48:52 actual : 0 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:48:52 Messages: Service count not as expected 12:48:52 deviceservice_test.go:450: 12:48:52 Error Trace: deviceservice_test.go:450 12:48:52 Error: Should be empty, but was querystring limit's value 10 is out of min -1 ~ max 0 range. 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:48:52 Messages: Message should be empty when it is successful 12:48:52 --- FAIL: TestGetDeviceServices/Valid_-_get_device_services_with_labels (0.00s) 12:48:52 deviceservice_test.go:447: 12:48:52 Error Trace: deviceservice_test.go:447 12:48:52 Error: Not equal: 12:48:52 expected: 200 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:48:52 Messages: HTTP status code not as expected 12:48:52 deviceservice_test.go:448: 12:48:52 Error Trace: deviceservice_test.go:448 12:48:52 Error: Not equal: 12:48:52 expected: 200 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:48:52 Messages: Response status code not as expected 12:48:52 deviceservice_test.go:449: 12:48:52 Error Trace: deviceservice_test.go:449 12:48:52 Error: Not equal: 12:48:52 expected: 2 12:48:52 actual : 0 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:48:52 Messages: Service count not as expected 12:48:52 deviceservice_test.go:450: 12:48:52 Error Trace: deviceservice_test.go:450 12:48:52 Error: Should be empty, but was querystring limit's value 5 is out of min -1 ~ max 0 range. 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:48:52 Messages: Message should be empty when it is successful 12:48:52 --- FAIL: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels (0.00s) 12:48:52 deviceservice_test.go:447: 12:48:52 Error Trace: deviceservice_test.go:447 12:48:52 Error: Not equal: 12:48:52 expected: 200 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:48:52 Messages: HTTP status code not as expected 12:48:52 deviceservice_test.go:448: 12:48:52 Error Trace: deviceservice_test.go:448 12:48:52 Error: Not equal: 12:48:52 expected: 200 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:48:52 Messages: Response status code not as expected 12:48:52 deviceservice_test.go:449: 12:48:52 Error Trace: deviceservice_test.go:449 12:48:52 Error: Not equal: 12:48:52 expected: 2 12:48:52 actual : 0 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:48:52 Messages: Service count not as expected 12:48:52 deviceservice_test.go:450: 12:48:52 Error Trace: deviceservice_test.go:450 12:48:52 Error: Should be empty, but was querystring limit's value 2 is out of min -1 ~ max 0 range. 12:48:52 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:48:52 Messages: Message should be empty when it is successful 12:48:52 --- FAIL: TestGetDeviceServices/Invalid_-_offset_out_of_range (0.00s) 12:48:52 deviceservice_test.go:439: 12:48:52 Error Trace: deviceservice_test.go:439 12:48:52 Error: Not equal: 12:48:52 expected: 404 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Invalid_-_offset_out_of_range 12:48:52 Messages: HTTP status code not as expected 12:48:52 deviceservice_test.go:440: 12:48:52 Error Trace: deviceservice_test.go:440 12:48:52 Error: Not equal: 12:48:52 expected: 404 12:48:52 actual : 400 12:48:52 Test: TestGetDeviceServices/Invalid_-_offset_out_of_range 12:48:52 Messages: Response status code not as expected 12:48:52 FAIL 12:48:52 coverage: 96.3% of statements 12:48:52 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.080s 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.041s coverage: 58.8% of statements 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.005s coverage: 0.0% of statements [no tests to run] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.050s coverage: 63.5% of statements 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 12:48:52 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.008s coverage: 100.0% of statements 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.012s coverage: 91.3% of statements 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.012s coverage: 100.0% of statements 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.012s coverage: 73.7% of statements 12:48:52 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.005s coverage: 100.0% of statements 12:48:53 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.068s coverage: 55.9% of statements 12:48:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 12:48:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 12:48:53 ? github.com/edgexfoundry/edgex-go/internal/security/secretread [no test files] 12:48:53 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 3.861s coverage: 86.3% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.303s coverage: 72.2% of statements 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.144s coverage: 72.1% of statements 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.010s coverage: 82.4% of statements 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.009s coverage: 48.4% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.027s coverage: 28.8% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.012s coverage: 96.8% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.039s coverage: 36.5% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.113s coverage: 84.1% of statements 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.029s coverage: 100.0% of statements 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.053s coverage: 42.9% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.020s coverage: 100.0% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 12:48:57 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.015s coverage: 83.8% of statements 12:48:57 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 12:48:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.027s coverage: 47.1% of statements 12:48:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 12:48:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 12:48:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.003s coverage: 100.0% of statements 12:48:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 12:48:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 12:48:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 12:48:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.022s coverage: 100.0% of statements 12:48:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 12:48:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.017s coverage: 100.0% of statements 12:48:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 12:48:59 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.054s coverage: 29.1% of statements 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 12:48:59 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.011s coverage: 99.0% of statements 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 12:48:59 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.010s coverage: 100.0% of statements 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 12:48:59 ok github.com/edgexfoundry/edgex-go/internal/system 0.012s coverage: 0.0% of statements 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 12:48:59 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.006s coverage: 100.0% of statements 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 12:48:59 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 12:49:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.010s coverage: 87.9% of statements 12:49:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 12:49:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 12:49:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.004s coverage: 100.0% of statements 12:49:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.005s coverage: 32.1% of statements 12:49:00 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.006s coverage: 100.0% of statements 12:49:00 FAIL 12:49:01 make: *** [Makefile:81: test] Error 1 [Pipeline] } 12:49:01 $ docker stop --time=1 f1cbfac159f701106a1fe100ad8e19325044546dd6d7f39209040332c9d983ad 12:49:03 $ docker rm -f f1cbfac159f701106a1fe100ad8e19325044546dd6d7f39209040332c9d983ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:49:05 Failed in branch amd64 12:49:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5892 in /w/workspace/edgexfoundry_edgex-go_PR-2805 [Pipeline] { [Pipeline] ws 12:49:28 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 12:49:34 using credential edgex-jenkins-ssh 12:49:34 Cloning the remote Git repository 12:49:34 Cloning repository git@github.com:edgexfoundry/edgex-go.git 12:49:34 > git init /w/workspace/edgex-go/1 # timeout=10 12:49:34 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 12:49:34 > git --version # timeout=10 12:49:34 > git --version # 'git version 2.17.1' 12:49:34 using GIT_SSH to set credentials SSH Credentials for GitHub 12:49:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:09 Merging remotes/origin/master commit f81604f83b5d28606a5077acf1e60dc404b0b1e1 into PR head commit 6ecc3078caa220b00538d24a8ff0a4a697adee11 12:50:09 Merge succeeded, producing 6ecc3078caa220b00538d24a8ff0a4a697adee11 12:50:09 Checking out Revision 6ecc3078caa220b00538d24a8ff0a4a697adee11 (PR-2805) 12:50:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 12:50:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 12:50:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 12:50:08 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2805/head:refs/remotes/origin/PR-2805 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:50:09 > git config core.sparsecheckout # timeout=10 12:50:09 > git checkout -f 6ecc3078caa220b00538d24a8ff0a4a697adee11 # timeout=10 12:50:09 > git remote # timeout=10 12:50:09 > git config --get remote.origin.url # timeout=10 12:50:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:09 > git merge f81604f83b5d28606a5077acf1e60dc404b0b1e1 # timeout=10 12:50:09 > git rev-parse HEAD^{commit} # timeout=10 12:50:09 > git config core.sparsecheckout # timeout=10 12:50:09 > git checkout -f 6ecc3078caa220b00538d24a8ff0a4a697adee11 # timeout=10 12:50:14 Commit message: "fix(metadata): V2 GET /deviceservice/all returns inconsistent response when specifying labels or not" 12:50:14 > git --version # timeout=10 12:50:14 > git --version # 'git version 2.17.1' 12:50:14 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:50:15 ========================================================= 12:50:15 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:50:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:50:17 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 12:50:19 Sending build context to Docker daemon 165MB 12:50:19 Step 1/7 : ARG BASE=golang:1.15-alpine 12:50:19 Step 2/7 : FROM ${BASE} 12:50:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:50:20 b538f80385f9: Pulling fs layer 12:50:20 74f711af9a0d: Pulling fs layer 12:50:20 99f96fe45779: Pulling fs layer 12:50:20 8529a6b9a6be: Pulling fs layer 12:50:20 45590311c82a: Pulling fs layer 12:50:20 69ca0ff8b7b3: Pulling fs layer 12:50:20 209524e5b208: Pulling fs layer 12:50:20 8529a6b9a6be: Waiting 12:50:20 45590311c82a: Waiting 12:50:20 69ca0ff8b7b3: Waiting 12:50:20 209524e5b208: Waiting 12:50:20 99f96fe45779: Verifying Checksum 12:50:20 99f96fe45779: Download complete 12:50:20 74f711af9a0d: Verifying Checksum 12:50:20 74f711af9a0d: Download complete 12:50:20 45590311c82a: Verifying Checksum 12:50:20 45590311c82a: Download complete 12:50:20 69ca0ff8b7b3: Verifying Checksum 12:50:20 69ca0ff8b7b3: Download complete 12:50:20 b538f80385f9: Verifying Checksum 12:50:20 b538f80385f9: Download complete 12:50:20 b538f80385f9: Pull complete 12:50:21 74f711af9a0d: Pull complete 12:50:21 99f96fe45779: Pull complete 12:50:23 209524e5b208: Verifying Checksum 12:50:23 209524e5b208: Download complete 12:50:24 8529a6b9a6be: Verifying Checksum 12:50:24 8529a6b9a6be: Download complete 12:50:34 8529a6b9a6be: Pull complete 12:50:35 45590311c82a: Pull complete 12:50:35 69ca0ff8b7b3: Pull complete 12:50:38 209524e5b208: Pull complete 12:50:38 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 12:50:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 12:50:38 ---> 5bddaf1c2fca 12:50:38 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 12:50:42 ---> Running in e8da1e82ab08 12:50:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:50:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:50:45 (1/12) Installing libmagic (5.38-r0) 12:50:45 (2/12) Installing file (5.38-r0) 12:50:45 (3/12) Installing libc-dev (0.7.2-r3) 12:50:45 (4/12) Installing g++ (9.3.0-r2) 12:50:51 (5/12) Installing fortify-headers (1.1-r0) 12:50:51 (6/12) Installing patch (2.7.6-r6) 12:50:51 (7/12) Installing build-base (0.5-r2) 12:50:51 (8/12) Installing libsodium (1.0.18-r0) 12:50:52 (9/12) Installing pkgconf (1.7.2-r0) 12:50:52 (10/12) Installing libsodium-dev (1.0.18-r0) 12:50:52 (11/12) Installing libzmq (4.3.3-r0) 12:50:52 (12/12) Installing zeromq-dev (4.3.3-r0) 12:50:52 Executing busybox-1.31.1-r16.trigger 12:50:52 OK: 217 MiB in 51 packages 12:50:56 Removing intermediate container e8da1e82ab08 12:50:56 ---> 304644d651e4 12:50:56 Step 4/7 : WORKDIR /edgex-go 12:50:56 ---> Running in f0c0817ebd99 12:50:56 Removing intermediate container f0c0817ebd99 12:50:56 ---> ecdcfb436508 12:50:56 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 12:50:57 latest: Pulling from library/docker 12:50:57 b538f80385f9: Already exists 12:50:57 259a493cd78d: Pulling fs layer 12:50:57 b8e66b5100f5: Pulling fs layer 12:50:57 7f8258a56ab6: Pulling fs layer 12:50:57 75a0a0ebb566: Pulling fs layer 12:50:57 4a2c62f0a2a3: Pulling fs layer 12:50:57 294320357d30: Pulling fs layer 12:50:57 75a0a0ebb566: Waiting 12:50:57 4a2c62f0a2a3: Waiting 12:50:57 294320357d30: Waiting 12:50:57 b8e66b5100f5: Verifying Checksum 12:50:57 b8e66b5100f5: Download complete 12:50:57 259a493cd78d: Verifying Checksum 12:50:57 75a0a0ebb566: Verifying Checksum 12:50:57 75a0a0ebb566: Download complete 12:50:58 4a2c62f0a2a3: Verifying Checksum 12:50:58 4a2c62f0a2a3: Download complete 12:50:58 294320357d30: Verifying Checksum 12:50:58 294320357d30: Download complete 12:50:58 259a493cd78d: Pull complete 12:50:59 b8e66b5100f5: Pull complete 12:50:59 7f8258a56ab6: Verifying Checksum 12:50:59 7f8258a56ab6: Download complete 12:51:02 7f8258a56ab6: Pull complete 12:51:02 75a0a0ebb566: Pull complete 12:51:02 4a2c62f0a2a3: Pull complete 12:51:03 294320357d30: Pull complete 12:51:03 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 12:51:03 Status: Downloaded newer image for docker:latest 12:51:06 ---> f95310cb2c44 12:51:06 Step 6/7 : COPY go.mod . 12:51:07 ---> d5022a6d29e1 12:51:07 Step 7/7 : RUN go mod download 12:51:07 ---> Running in 24e946e04235 12:51:34 Removing intermediate container 24e946e04235 12:51:34 ---> 4333c055fb4c 12:51:34 Successfully built 4333c055fb4c 12:51:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:51:34 + docker inspect -f . ci-base-image-arm64 12:51:34 . [Pipeline] withDockerContainer 12:51:35 prd-ubuntu18.04-docker-arm64-4c-16g-5892 does not seem to be running inside a container 12:51:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:51:37 $ docker top 1b4f33d668c7e48bfe3272a5ab19f9fc950ad789b9394837ffa4f8a85460e653 -eo pid,comm [Pipeline] { [Pipeline] sh 12:51:38 + go version 12:51:38 go version go1.15.2 linux/arm64 [Pipeline] } 12:51:38 $ docker stop --time=1 1b4f33d668c7e48bfe3272a5ab19f9fc950ad789b9394837ffa4f8a85460e653 12:51:40 $ docker rm -f 1b4f33d668c7e48bfe3272a5ab19f9fc950ad789b9394837ffa4f8a85460e653 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:51:42 + docker inspect -f . ci-base-image-arm64 12:51:42 . [Pipeline] withDockerContainer 12:51:42 prd-ubuntu18.04-docker-arm64-4c-16g-5892 does not seem to be running inside a container 12:51:42 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:51:44 $ docker top a1f3ac25eedebb5145e0d08cc988a7a1a66584598a003fa4c5df0c7f0c102de0 -eo pid,comm [Pipeline] { [Pipeline] echo 12:51:44 ========================================================= 12:51:44 [edgeXBuildGoParallel] Running Tests and Build... 12:51:44 ========================================================= [Pipeline] sh 12:51:45 + make test 12:51:45 GO111MODULE=on go test -coverprofile=coverage.out ./... 12:51:47 ? github.com/edgexfoundry/edgex-go [no test files] 12:52:20 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 12:52:35 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 12:52:35 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 12:52:35 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 12:52:35 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 12:52:37 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.015s 12:52:37 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 12:52:37 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 12:52:37 ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] 12:52:39 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 12:52:40 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 12:52:40 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 12:52:40 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 12:52:40 ? github.com/edgexfoundry/edgex-go/internal [no test files] 12:52:49 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.065s coverage: 46.6% of statements 12:52:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 12:52:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 12:52:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 12:52:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 12:52:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 12:52:54 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.251s coverage: 27.1% of statements 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 12:52:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.015s coverage: 100.0% of statements 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 12:52:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.052s coverage: 100.0% of statements 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 12:52:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.095s coverage: 83.6% of statements 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 12:52:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 12:52:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.358s coverage: 88.9% of statements 12:52:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 12:52:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 12:52:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 12:52:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 12:53:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.469s coverage: 28.6% of statements 12:53:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 12:53:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 12:53:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 12:53:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 12:53:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 12:53:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.071s coverage: 100.0% of statements 12:53:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 12:53:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.020s coverage: 100.0% of statements 12:53:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 12:53:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.151s coverage: 86.7% of statements 12:53:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 12:53:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.109s coverage: 97.5% of statements 12:53:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 12:53:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.069s coverage: 100.0% of statements 12:53:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 12:53:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 12:53:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 12:53:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 12:53:05 --- FAIL: TestGetDeviceServices (0.00s) 12:53:05 --- FAIL: TestGetDeviceServices/Valid_-_get_device_services_without_labels (0.00s) 12:53:05 deviceservice_test.go:447: 12:53:05 Error Trace: deviceservice_test.go:447 12:53:05 Error: Not equal: 12:53:05 expected: 200 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:53:05 Messages: HTTP status code not as expected 12:53:05 deviceservice_test.go:448: 12:53:05 Error Trace: deviceservice_test.go:448 12:53:05 Error: Not equal: 12:53:05 expected: 200 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:53:05 Messages: Response status code not as expected 12:53:05 deviceservice_test.go:449: 12:53:05 Error Trace: deviceservice_test.go:449 12:53:05 Error: Not equal: 12:53:05 expected: 3 12:53:05 actual : 0 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:53:05 Messages: Service count not as expected 12:53:05 deviceservice_test.go:450: 12:53:05 Error Trace: deviceservice_test.go:450 12:53:05 Error: Should be empty, but was querystring limit's value 10 is out of min -1 ~ max 0 range. 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_without_labels 12:53:05 Messages: Message should be empty when it is successful 12:53:05 --- FAIL: TestGetDeviceServices/Valid_-_get_device_services_with_labels (0.00s) 12:53:05 deviceservice_test.go:447: 12:53:05 Error Trace: deviceservice_test.go:447 12:53:05 Error: Not equal: 12:53:05 expected: 200 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:53:05 Messages: HTTP status code not as expected 12:53:05 deviceservice_test.go:448: 12:53:05 Error Trace: deviceservice_test.go:448 12:53:05 Error: Not equal: 12:53:05 expected: 200 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:53:05 Messages: Response status code not as expected 12:53:05 deviceservice_test.go:449: 12:53:05 Error Trace: deviceservice_test.go:449 12:53:05 Error: Not equal: 12:53:05 expected: 2 12:53:05 actual : 0 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:53:05 Messages: Service count not as expected 12:53:05 deviceservice_test.go:450: 12:53:05 Error Trace: deviceservice_test.go:450 12:53:05 Error: Should be empty, but was querystring limit's value 5 is out of min -1 ~ max 0 range. 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_labels 12:53:05 Messages: Message should be empty when it is successful 12:53:05 --- FAIL: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels (0.00s) 12:53:05 deviceservice_test.go:447: 12:53:05 Error Trace: deviceservice_test.go:447 12:53:05 Error: Not equal: 12:53:05 expected: 200 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:53:05 Messages: HTTP status code not as expected 12:53:05 deviceservice_test.go:448: 12:53:05 Error Trace: deviceservice_test.go:448 12:53:05 Error: Not equal: 12:53:05 expected: 200 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:53:05 Messages: Response status code not as expected 12:53:05 deviceservice_test.go:449: 12:53:05 Error Trace: deviceservice_test.go:449 12:53:05 Error: Not equal: 12:53:05 expected: 2 12:53:05 actual : 0 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:53:05 Messages: Service count not as expected 12:53:05 deviceservice_test.go:450: 12:53:05 Error Trace: deviceservice_test.go:450 12:53:05 Error: Should be empty, but was querystring limit's value 2 is out of min -1 ~ max 0 range. 12:53:05 Test: TestGetDeviceServices/Valid_-_get_device_services_with_offset_and_no_labels 12:53:05 Messages: Message should be empty when it is successful 12:53:05 --- FAIL: TestGetDeviceServices/Invalid_-_offset_out_of_range (0.00s) 12:53:05 deviceservice_test.go:439: 12:53:05 Error Trace: deviceservice_test.go:439 12:53:05 Error: Not equal: 12:53:05 expected: 404 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Invalid_-_offset_out_of_range 12:53:05 Messages: HTTP status code not as expected 12:53:05 deviceservice_test.go:440: 12:53:05 Error Trace: deviceservice_test.go:440 12:53:05 Error: Not equal: 12:53:05 expected: 404 12:53:05 actual : 400 12:53:05 Test: TestGetDeviceServices/Invalid_-_offset_out_of_range 12:53:05 Messages: Response status code not as expected 12:53:05 FAIL 12:53:05 coverage: 96.3% of statements 12:53:05 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.185s 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 12:53:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.026s coverage: 58.8% of statements 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 12:53:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.029s coverage: 0.0% of statements [no tests to run] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 12:53:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 12:53:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.212s coverage: 63.5% of statements 12:53:07 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 12:53:07 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 12:53:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.012s coverage: 100.0% of statements 12:53:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.034s coverage: 91.3% of statements 12:53:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.011s coverage: 100.0% of statements 12:53:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.075s coverage: 73.7% of statements 12:53:09 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements 12:53:12 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.286s coverage: 55.9% of statements 12:53:12 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 12:53:12 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 12:53:12 ? github.com/edgexfoundry/edgex-go/internal/security/secretread [no test files] 12:53:12 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 42.096s coverage: 86.3% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.071s coverage: 72.2% of statements 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.500s coverage: 72.1% of statements 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.025s coverage: 82.4% of statements 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.046s coverage: 48.4% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.015s coverage: 28.8% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.044s coverage: 96.8% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.077s coverage: 36.5% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.258s coverage: 84.1% of statements 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.040s coverage: 100.0% of statements 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.099s coverage: 42.9% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.025s coverage: 100.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.024s coverage: 83.8% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.097s coverage: 47.1% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.047s coverage: 100.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.031s coverage: 100.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.035s coverage: 100.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.150s coverage: 29.1% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.065s coverage: 99.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.025s coverage: 100.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/system 0.008s coverage: 0.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.015s coverage: 100.0% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.056s coverage: 87.9% of statements 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 12:54:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.035s coverage: 100.0% of statements 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.011s coverage: 32.1% of statements 12:54:00 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.023s coverage: 100.0% of statements 12:54:00 FAIL 12:54:00 make: *** [Makefile:81: test] Error 1 [Pipeline] } 12:54:00 $ docker stop --time=1 a1f3ac25eedebb5145e0d08cc988a7a1a66584598a003fa4c5df0c7f0c102de0 12:54:02 $ docker rm -f a1f3ac25eedebb5145e0d08cc988a7a1a66584598a003fa4c5df0c7f0c102de0 [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] } 12:54:05 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 12:54:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:54:09 ---> package-listing.sh 12:54:09 ++ facter osfamily 12:54:09 ++ tr '[:upper:]' '[:lower:]' 12:54:09 + OS_FAMILY=redhat 12:54:09 + workspace=/w/workspace/edgex-go/1 12:54:09 + START_PACKAGES=/tmp/packages_start.txt 12:54:09 + END_PACKAGES=/tmp/packages_end.txt 12:54:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:54:09 + PACKAGES=/tmp/packages_start.txt 12:54:09 + '[' /w/workspace/edgex-go/1 ']' 12:54:09 + PACKAGES=/tmp/packages_end.txt 12:54:09 + case "${OS_FAMILY}" in 12:54:09 + rpm -qa 12:54:09 + sort 12:54:13 + '[' -f /tmp/packages_start.txt ']' 12:54:13 + '[' -f /tmp/packages_end.txt ']' 12:54:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:54:13 + '[' /w/workspace/edgex-go/1 ']' 12:54:13 + mkdir -p /w/workspace/edgex-go/1/archives/ 12:54:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 12:54:13 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 12:54:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:14 12:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:54:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:14 alpine: Pulling from edgex-lftools-log-publisher 12:54:14 df20fa9351a1: Already exists 12:54:14 36b3adc4ff6f: Pulling fs layer 12:54:14 8ad3a11d3b57: Pulling fs layer 12:54:14 46f8f816bc3b: Pulling fs layer 12:54:14 93b61091891f: Pulling fs layer 12:54:14 93b9cdb0e59b: Pulling fs layer 12:54:14 5e14af77c1be: Pulling fs layer 12:54:14 01666e4c0597: Pulling fs layer 12:54:14 aa168da1d23b: Pulling fs layer 12:54:14 93b61091891f: Waiting 12:54:14 93b9cdb0e59b: Waiting 12:54:14 5e14af77c1be: Waiting 12:54:14 aa168da1d23b: Waiting 12:54:14 01666e4c0597: Waiting 12:54:14 46f8f816bc3b: Verifying Checksum 12:54:14 46f8f816bc3b: Download complete 12:54:14 36b3adc4ff6f: Download complete 12:54:14 93b9cdb0e59b: Verifying Checksum 12:54:14 93b9cdb0e59b: Download complete 12:54:15 5e14af77c1be: Verifying Checksum 12:54:15 5e14af77c1be: Download complete 12:54:15 01666e4c0597: Verifying Checksum 12:54:15 01666e4c0597: Download complete 12:54:15 93b61091891f: Download complete 12:54:15 36b3adc4ff6f: Pull complete 12:54:16 8ad3a11d3b57: Verifying Checksum 12:54:16 8ad3a11d3b57: Download complete 12:54:16 8ad3a11d3b57: Pull complete 12:54:16 46f8f816bc3b: Pull complete 12:54:17 93b61091891f: Pull complete 12:54:17 93b9cdb0e59b: Pull complete 12:54:17 5e14af77c1be: Pull complete 12:54:17 aa168da1d23b: Verifying Checksum 12:54:17 aa168da1d23b: Download complete 12:54:17 01666e4c0597: Pull complete 12:54:24 aa168da1d23b: Pull complete 12:54:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:54:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:54:24 prd-centos7-docker-4c-2g-5891 does not seem to be running inside a container 12:54:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:54:28 $ docker top c6e69c85f9e780ea0e83fd9cc7b40fc016e8ccc778474ee05f9388576fe69d8c -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:29 + touch /tmp/pre-build-complete [Pipeline] sh 12:54:29 + mkdir -p /var/log/sa [Pipeline] sh 12:54:29 + ls /var/log/sa-host 12:54:29 + sadf -c /var/log/sa-host/sa05 12:54:29 file_magic: OK 12:54:29 HZ: Using current value: 100 12:54:29 file_header: OK 12:54:29 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 12:54:29 Statistics: 12:54:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:54:29 File successfully converted to sysstat format version 12.2.1 12:54:29 + sadf -c /var/log/sa-host/sa16 12:54:29 file_magic: OK 12:54:29 HZ: Using current value: 100 12:54:29 file_header: OK 12:54:29 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 12:54:29 Statistics: 12:54:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:54:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:54:30 provisioning config files... 12:54:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config4411903612242540747tmp [Pipeline] { [Pipeline] echo 12:54:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:54:31 ---> create-netrc.sh [Pipeline] } 12:54:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:54:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:54:31 ---> python-tools-install.sh [Pipeline] echo 12:54:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:54:32 ---> sudo-logs.sh 12:54:32 Archiving 'sudo' log.. [Pipeline] echo 12:54:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:54:32 ---> job-cost.sh 12:54:32 lf-activate-venv: SKIPPING 12:54:32 INFO: No Stack... 12:54:34 INFO: Retrieving Pricing Info for: v1-standard-2 12:54:34 INFO: Archiving Costs [Pipeline] echo 12:54:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:54:34 ---> logs-deploy.sh 12:54:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2805/1 12:54:34 INFO: archiving workspace using pattern(s): 12:54:36 Archives upload complete. 12:54:36 INFO: archiving logs to Nexus