Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 067699cb15ed6cd337cb4b4a78a8093ab02ee89e+8905b2aeb998c2429dd3dac7113c428985f887cf (22d50f0ac1eab8f8eb0cd5769e810f29f8f6253c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15976 in /w/workspace/edgexfoundry_edgex-go_PR-2945 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2945/head:refs/remotes/origin/PR-2945 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8905b2aeb998c2429dd3dac7113c428985f887cf into PR head commit 067699cb15ed6cd337cb4b4a78a8093ab02ee89e Merge succeeded, producing 38f57b7d7f7c14ec135b8cc2f60d2a479b4d75ad Checking out Revision 38f57b7d7f7c14ec135b8cc2f60d2a479b4d75ad (PR-2945) > git config core.sparsecheckout # timeout=10 > git checkout -f 067699cb15ed6cd337cb4b4a78a8093ab02ee89e # 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 8905b2aeb998c2429dd3dac7113c428985f887cf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38f57b7d7f7c14ec135b8cc2f60d2a479b4d75ad # timeout=10 Commit message: "Merge commit '8905b2aeb998c2429dd3dac7113c428985f887cf' into HEAD" > git rev-list --no-walk 067699cb15ed6cd337cb4b4a78a8093ab02ee89e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:30:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:30:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:30:03 ========================================================= 00:30:03 EdgeX Global Pipelines Version Info 00:30:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:30:05 ------------------- 00:30:05 stable info: 00:30:05 ------------------- 00:30:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:05 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 00:30:05 Message: update stable to v1.0.172 00:30:06 ------------------- 00:30:06 experimental info: 00:30:06 ------------------- 00:30:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:06 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 00:30:06 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:30:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:30:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2945 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2945 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2945 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38f57b7d7f7c14ec135b8cc2f60d2a479b4d75ad [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38f57b7 [Pipeline] echo 00:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:30:09 provisioning config files... 00:30:09 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config5235917164118903102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:10 ---> docker-login.sh 00:30:10 nexus3.edgexfoundry.org:10001 00:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:10 Configure a credential helper to remove this warning. See 00:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:10 00:30:10 Login Succeeded 00:30:10 nexus3.edgexfoundry.org:10002 00:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:10 Configure a credential helper to remove this warning. See 00:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:10 00:30:10 Login Succeeded 00:30:11 nexus3.edgexfoundry.org:10003 00:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:11 Configure a credential helper to remove this warning. See 00:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:11 00:30:11 Login Succeeded 00:30:11 nexus3.edgexfoundry.org:10004 00:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:11 Configure a credential helper to remove this warning. See 00:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:11 00:30:11 Login Succeeded 00:30:11 docker.io 00:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:11 Configure a credential helper to remove this warning. See 00:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:11 00:30:11 Login Succeeded 00:30:11 ---> docker-login.sh ends [Pipeline] } 00:30:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:12 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/core-command/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo core-command,cmd/core-command/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/core-data/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo core-data,cmd/core-data/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/core-metadata/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo core-metadata,cmd/core-metadata/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/security-bootstrap-redis/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/security-proxy-setup/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/security-secrets-setup/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/support-notifications/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo support-notifications,cmd/support-notifications/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/support-scheduler/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:30:12 + for file in '`ls cmd/**/Dockerfile`' 00:30:12 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:30:12 ++ cut -d/ -f2 00:30:12 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:30:12 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-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/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-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 00:30:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:14 00:30:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:30:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:14 latest: Pulling from edgex-devops/git-semver 00:30:14 31603596830f: Pulling fs layer 00:30:14 2a8b12db71e7: Pulling fs layer 00:30:14 6ca5941a6612: Pulling fs layer 00:30:14 ecc8261a40a4: Pulling fs layer 00:30:14 ecc8261a40a4: Waiting 00:30:14 2a8b12db71e7: Verifying Checksum 00:30:14 2a8b12db71e7: Download complete 00:30:14 31603596830f: Verifying Checksum 00:30:14 31603596830f: Download complete 00:30:14 ecc8261a40a4: Verifying Checksum 00:30:14 ecc8261a40a4: Download complete 00:30:14 6ca5941a6612: Verifying Checksum 00:30:14 6ca5941a6612: Download complete 00:30:14 31603596830f: Pull complete 00:30:14 2a8b12db71e7: Pull complete 00:30:15 6ca5941a6612: Pull complete 00:30:15 ecc8261a40a4: Pull complete 00:30:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:30:16 prd-centos7-docker-4c-2g-15976 does not seem to be running inside a container 00:30:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:30:18 $ docker top 79bb6f427f856dde4269f3a75e301c0813fb4ffa43defadbf5102ca4712ede1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:19 [ssh-agent] Looking for ssh-agent implementation... 00:30:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:19 $ docker exec 79bb6f427f856dde4269f3a75e301c0813fb4ffa43defadbf5102ca4712ede1e ssh-agent 00:30:19 SSH_AUTH_SOCK=/tmp/ssh-gRD5BztMlNMc/agent.12 00:30:19 SSH_AGENT_PID=17 00:30:19 Running ssh-add (command line suppressed) 00:30:19 Identity added: /w/workspace/edgex-go/2@tmp/private_key_5073810759892135853.key (/w/workspace/edgex-go/2@tmp/private_key_5073810759892135853.key) 00:30:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:20 + git tag --points-at HEAD [Pipeline] } 00:30:20 $ docker exec --env ******** --env ******** 79bb6f427f856dde4269f3a75e301c0813fb4ffa43defadbf5102ca4712ede1e ssh-agent -k 00:30:20 unset SSH_AUTH_SOCK; 00:30:20 unset SSH_AGENT_PID; 00:30:20 echo Agent pid 17 killed; 00:30:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:20 [ssh-agent] Looking for ssh-agent implementation... 00:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:20 $ docker exec 79bb6f427f856dde4269f3a75e301c0813fb4ffa43defadbf5102ca4712ede1e ssh-agent 00:30:20 SSH_AUTH_SOCK=/tmp/ssh-ZnxN9cz8ZX1O/agent.45 00:30:20 SSH_AGENT_PID=50 00:30:20 Running ssh-add (command line suppressed) 00:30:20 Identity added: /w/workspace/edgex-go/2@tmp/private_key_7303767887170177983.key (/w/workspace/edgex-go/2@tmp/private_key_7303767887170177983.key) 00:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:21 + git semver init 00:30:21 # -> Open(): unable to determine branch for HEAD 00:30:21 # $GIT_DIR = /w/workspace/edgex-go/2/.git 00:30:21 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 00:30:21 # $SEMVER_REMOTE_NAME = origin 00:30:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:30:21 # $SEMVER_USER_NAME = edgex-jenkins 00:30:21 # $SEMVER_BRANCH = PR-2945 00:30:21 # $SEMVER_TEMP = /tmp/semver-395031183 00:30:21 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:30:39 # '/tmp/semver-395031183' -> '/w/workspace/edgex-go/2/.semver' 00:30:39 # -> Force: false 00:30:39 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 00:30:39 $ docker exec --env ******** --env ******** 79bb6f427f856dde4269f3a75e301c0813fb4ffa43defadbf5102ca4712ede1e ssh-agent -k 00:30:39 unset SSH_AUTH_SOCK; 00:30:39 unset SSH_AGENT_PID; 00:30:39 echo Agent pid 50 killed; 00:30:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:40 + git semver [Pipeline] } 00:30:40 $ docker stop --time=1 79bb6f427f856dde4269f3a75e301c0813fb4ffa43defadbf5102ca4712ede1e 00:30:42 $ docker rm -f 79bb6f427f856dde4269f3a75e301c0813fb4ffa43defadbf5102ca4712ede1e [Pipeline] // withDockerContainer [Pipeline] sh 00:30:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:30:43 Stashed 1 file(s) [Pipeline] echo 00:30:43 [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] sh 00:30:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:30:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:30:45 + sudo service docker restart 00:30:45 + true 00:30:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:30:45 ========================================================= 00:30:45 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:30:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:30:46 + 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 . 00:30:49 Sending build context to Docker daemon 326.4MB 00:30:49 Step 1/7 : ARG BASE=golang:1.15-alpine 00:30:49 Step 2/7 : FROM ${BASE} 00:30:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:30:49 188c0c94c7c5: Pulling fs layer 00:30:49 0ef7d3d256c8: Pulling fs layer 00:30:49 de9db76c5a1d: Pulling fs layer 00:30:49 bca2f99d35d6: Pulling fs layer 00:30:49 93359f2a8cfa: Pulling fs layer 00:30:49 7c6f9722023f: Pulling fs layer 00:30:49 a35cf1a2eb13: Pulling fs layer 00:30:49 93359f2a8cfa: Waiting 00:30:49 7c6f9722023f: Waiting 00:30:49 a35cf1a2eb13: Waiting 00:30:49 bca2f99d35d6: Waiting 00:30:49 de9db76c5a1d: Verifying Checksum 00:30:49 de9db76c5a1d: Download complete 00:30:49 188c0c94c7c5: Download complete 00:30:49 0ef7d3d256c8: Verifying Checksum 00:30:49 0ef7d3d256c8: Download complete 00:30:49 7c6f9722023f: Verifying Checksum 00:30:49 7c6f9722023f: Download complete 00:30:49 93359f2a8cfa: Download complete 00:30:50 188c0c94c7c5: Pull complete 00:30:51 0ef7d3d256c8: Pull complete 00:30:51 de9db76c5a1d: Pull complete 00:30:52 a35cf1a2eb13: Verifying Checksum 00:30:52 a35cf1a2eb13: Download complete 00:30:52 bca2f99d35d6: Verifying Checksum 00:30:52 bca2f99d35d6: Download complete 00:30:57 bca2f99d35d6: Pull complete 00:30:58 93359f2a8cfa: Pull complete 00:30:58 7c6f9722023f: Pull complete 00:30:58 Still waiting to schedule task 00:30:58 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15973’ 00:31:03 a35cf1a2eb13: Pull complete 00:31:03 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:31:03 ---> a62c8e92a672 00:31:03 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 00:31:03 ---> Running in f3f4869e1751 00:31:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:31:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:31:07 (1/12) Installing libmagic (5.38-r0) 00:31:08 (2/12) Installing file (5.38-r0) 00:31:08 (3/12) Installing libc-dev (0.7.2-r3) 00:31:08 (4/12) Installing g++ (9.3.0-r2) 00:31:26 (5/12) Installing fortify-headers (1.1-r0) 00:31:26 (6/12) Installing patch (2.7.6-r6) 00:31:26 (7/12) Installing build-base (0.5-r2) 00:31:26 (8/12) Installing libsodium (1.0.18-r0) 00:31:26 (9/12) Installing pkgconf (1.7.2-r0) 00:31:26 (10/12) Installing libsodium-dev (1.0.18-r0) 00:31:26 (11/12) Installing libzmq (4.3.3-r0) 00:31:27 (12/12) Installing zeromq-dev (4.3.3-r0) 00:31:27 Executing busybox-1.31.1-r19.trigger 00:31:27 OK: 233 MiB in 51 packages 00:31:31 Removing intermediate container f3f4869e1751 00:31:31 ---> bf72244528da 00:31:31 Step 4/7 : WORKDIR /edgex-go 00:31:31 ---> Running in 113300ee4e6b 00:31:31 Removing intermediate container 113300ee4e6b 00:31:31 ---> b4a9381f3889 00:31:31 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:31:31 latest: Pulling from library/docker 00:31:32 05e7bc50f07f: Pulling fs layer 00:31:32 6db28d0fdbf6: Pulling fs layer 00:31:32 292df0bc6bf3: Pulling fs layer 00:31:32 2e060f4bd70b: Pulling fs layer 00:31:32 80e8d568a223: Pulling fs layer 00:31:32 8dc6ef1a942a: Pulling fs layer 00:31:32 2312dd95470a: Pulling fs layer 00:31:32 2e060f4bd70b: Waiting 00:31:32 80e8d568a223: Waiting 00:31:32 8dc6ef1a942a: Waiting 00:31:32 2312dd95470a: Waiting 00:31:32 292df0bc6bf3: Verifying Checksum 00:31:32 292df0bc6bf3: Download complete 00:31:32 6db28d0fdbf6: Verifying Checksum 00:31:32 6db28d0fdbf6: Download complete 00:31:32 05e7bc50f07f: Verifying Checksum 00:31:32 05e7bc50f07f: Download complete 00:31:32 80e8d568a223: Verifying Checksum 00:31:32 80e8d568a223: Download complete 00:31:32 8dc6ef1a942a: Verifying Checksum 00:31:32 8dc6ef1a942a: Download complete 00:31:32 2312dd95470a: Verifying Checksum 00:31:32 2312dd95470a: Download complete 00:31:32 05e7bc50f07f: Pull complete 00:31:32 6db28d0fdbf6: Pull complete 00:31:32 292df0bc6bf3: Pull complete 00:31:33 2e060f4bd70b: Verifying Checksum 00:31:33 2e060f4bd70b: Download complete 00:31:35 2e060f4bd70b: Pull complete 00:31:36 80e8d568a223: Pull complete 00:31:36 8dc6ef1a942a: Pull complete 00:31:36 2312dd95470a: Pull complete 00:31:36 Digest: sha256:11663df6a04f355f0d726c8ae20de03ee3b1ef1008bbb63027d0e13b137a8186 00:31:36 Status: Downloaded newer image for docker:latest 00:31:37 ---> 0804025a6ef5 00:31:37 Step 6/7 : COPY go.mod . 00:31:37 ---> dc3d70f20510 00:31:37 Step 7/7 : RUN go mod download 00:31:38 ---> Running in 8b8cd429781b 00:32:00 Removing intermediate container 8b8cd429781b 00:32:00 ---> 4579ea0006f3 00:32:00 Successfully built 4579ea0006f3 00:32:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:32:00 + docker inspect -f . ci-base-image-x86_64 00:32:00 . [Pipeline] withDockerContainer 00:32:00 prd-centos7-docker-4c-2g-15976 does not seem to be running inside a container 00:32:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:32:01 $ docker top 40428667c4339e64e41cb0e578152d056c9145ff440a2c9fafa331c0aa08f68f -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:01 + go version 00:32:01 go version go1.15.5 linux/amd64 [Pipeline] } 00:32:01 $ docker stop --time=1 40428667c4339e64e41cb0e578152d056c9145ff440a2c9fafa331c0aa08f68f 00:32:03 $ docker rm -f 40428667c4339e64e41cb0e578152d056c9145ff440a2c9fafa331c0aa08f68f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:32:04 + docker inspect -f . ci-base-image-x86_64 00:32:04 . [Pipeline] withDockerContainer 00:32:04 prd-centos7-docker-4c-2g-15976 does not seem to be running inside a container 00:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:32:05 $ docker top 6cbe4dc06c87a10b384b267f293c5bbf347e4bc3860367d487a2e401557e7ee7 -eo pid,comm [Pipeline] { [Pipeline] echo 00:32:05 ========================================================= 00:32:05 [edgeXBuildGoParallel] Running Tests and Build... 00:32:05 ========================================================= [Pipeline] sh 00:32:05 + make test 00:32:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:32:15 ? github.com/edgexfoundry/edgex-go [no test files] 00:32:30 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:32:37 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:32:37 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:32:37 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:32:37 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 00:32:37 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:32:37 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:32:40 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.043s 00:32:40 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:32:40 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:32:40 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:32:40 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:32:40 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:32:40 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:32:44 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.079s coverage: 46.6% of statements 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:32:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:32:45 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.184s coverage: 27.1% of statements 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:32:45 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.034s coverage: 100.0% of statements 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:32:45 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.029s coverage: 100.0% of statements 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:32:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:32:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.376s coverage: 68.9% of statements 00:32:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:32:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:32:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.105s coverage: 82.6% of statements 00:32:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:32:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:32:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 00:32:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:32:48 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.361s coverage: 28.6% of statements 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:32:48 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.079s coverage: 100.0% of statements 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:32:48 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.041s coverage: 100.0% of statements 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:32:48 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.115s coverage: 86.7% of statements 00:32:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:32:49 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 00:32:49 internal/core/metadata/v2/controller/http/device_test.go:57:20: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled 00:32:49 internal/core/metadata/v2/controller/http/device_test.go:75:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled 00:32:49 internal/core/metadata/v2/controller/http/deviceservice_test.go:49:4: unknown field 'OperatingState' in struct literal of type dtos.DeviceService 00:32:49 internal/core/metadata/v2/controller/http/deviceservice_test.go:60:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled 00:32:49 internal/core/metadata/v2/controller/http/deviceservice_test.go:70:4: unknown field 'OperatingState' in struct literal of type dtos.UpdateDeviceService 00:32:49 internal/core/metadata/v2/controller/http/deviceservice_test.go:269:3: unknown field 'OperatingState' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".DeviceService 00:32:49 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.114s coverage: 97.5% of statements 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:32:49 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.064s coverage: 78.3% of statements 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:32:49 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:32:49 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:32:50 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.060s coverage: 0.1% of statements 00:32:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:32:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements 00:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.086s coverage: 75.5% of statements 00:32:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.044s coverage: 80.8% of statements 00:32:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.065s coverage: 87.2% of statements 00:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.049s coverage: 84.2% of statements 00:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.123s coverage: 91.4% of statements 00:32:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:32:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.209s coverage: 63.5% of statements 00:32:52 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:32:52 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:32:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.039s coverage: 100.0% of statements 00:32:52 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 91.3% of statements 00:32:52 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 00:32:52 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements 00:32:52 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.038s coverage: 100.0% of statements 00:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.307s coverage: 55.9% of statements 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 23.790s coverage: 86.3% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.095s coverage: 72.2% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.370s coverage: 72.1% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.044s coverage: 82.4% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.033s coverage: 48.4% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.038s coverage: 28.8% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.036s coverage: 96.8% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.105s coverage: 37.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.275s coverage: 84.0% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.040s coverage: 100.0% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.123s coverage: 47.1% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.024s coverage: 100.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.052s coverage: 100.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.039s coverage: 100.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.662s coverage: 29.1% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.078s coverage: 99.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.046s coverage: 100.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/system 0.040s coverage: 0.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.040s coverage: 100.0% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.062s coverage: 87.9% of statements 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:33:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.038s coverage: 100.0% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.031s coverage: 32.1% of statements 00:33:21 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 00:33:21 FAIL 00:33:21 make: *** [Makefile:99: test] Error 2 [Pipeline] } 00:33:21 $ docker stop --time=1 6cbe4dc06c87a10b384b267f293c5bbf347e4bc3860367d487a2e401557e7ee7 00:33:22 $ docker rm -f 6cbe4dc06c87a10b384b267f293c5bbf347e4bc3860367d487a2e401557e7ee7 [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] } 00:33:24 Failed in branch amd64 00:33:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15985 in /w/workspace/edgexfoundry_edgex-go_PR-2945 [Pipeline] { [Pipeline] ws 00:33:51 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 00:33:56 using credential edgex-jenkins-ssh 00:33:57 Cloning the remote Git repository 00:33:57 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:33:57 > git init /w/workspace/edgex-go/2 # timeout=10 00:33:57 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:33:57 > git --version # timeout=10 00:33:57 > git --version # 'git version 2.17.1' 00:33:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:11 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2945/head:refs/remotes/origin/PR-2945 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:34:12 Merging remotes/origin/master commit 8905b2aeb998c2429dd3dac7113c428985f887cf into PR head commit 067699cb15ed6cd337cb4b4a78a8093ab02ee89e 00:34:13 Merge succeeded, producing a8339f42333195707db3c9d6c36f0130300c65b6 00:34:13 Checking out Revision a8339f42333195707db3c9d6c36f0130300c65b6 (PR-2945) 00:34:12 > git config core.sparsecheckout # timeout=10 00:34:12 > git checkout -f 067699cb15ed6cd337cb4b4a78a8093ab02ee89e # timeout=10 00:34:12 > git remote # timeout=10 00:34:12 > git config --get remote.origin.url # timeout=10 00:34:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:12 > git merge 8905b2aeb998c2429dd3dac7113c428985f887cf # timeout=10 00:34:13 > git rev-parse HEAD^{commit} # timeout=10 00:34:13 > git config core.sparsecheckout # timeout=10 00:34:13 > git checkout -f a8339f42333195707db3c9d6c36f0130300c65b6 # timeout=10 00:34:17 Commit message: "Merge commit '8905b2aeb998c2429dd3dac7113c428985f887cf' into HEAD" 00:34:17 > git rev-list --no-walk 067699cb15ed6cd337cb4b4a78a8093ab02ee89e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:19 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:34:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:34:20 + true 00:34:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:34:23 provisioning config files... 00:34:23 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6763554875930940633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:24 ---> docker-login.sh 00:34:24 nexus3.edgexfoundry.org:10001 00:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:25 Configure a credential helper to remove this warning. See 00:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:25 00:34:25 Login Succeeded 00:34:25 nexus3.edgexfoundry.org:10002 00:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:25 Configure a credential helper to remove this warning. See 00:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:25 00:34:25 Login Succeeded 00:34:25 nexus3.edgexfoundry.org:10003 00:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:26 Configure a credential helper to remove this warning. See 00:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:26 00:34:26 Login Succeeded 00:34:26 nexus3.edgexfoundry.org:10004 00:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:26 Configure a credential helper to remove this warning. See 00:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:26 00:34:26 Login Succeeded 00:34:26 docker.io 00:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:27 Configure a credential helper to remove this warning. See 00:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:27 00:34:27 Login Succeeded 00:34:27 ---> docker-login.sh ends [Pipeline] } 00:34:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:34:28 ========================================================= 00:34:28 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:34:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:34:28 + 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 . 00:34:31 Sending build context to Docker daemon 165.7MB 00:34:31 Step 1/7 : ARG BASE=golang:1.15-alpine 00:34:31 Step 2/7 : FROM ${BASE} 00:34:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:31 5f621e34cdf4: Pulling fs layer 00:34:31 a4357932f1b6: Pulling fs layer 00:34:31 18c013af1878: Pulling fs layer 00:34:31 00ac8860ef70: Pulling fs layer 00:34:31 63d7cb157983: Pulling fs layer 00:34:31 b116817d02f9: Pulling fs layer 00:34:31 745a02a5169b: Pulling fs layer 00:34:31 00ac8860ef70: Waiting 00:34:31 63d7cb157983: Waiting 00:34:31 b116817d02f9: Waiting 00:34:31 745a02a5169b: Waiting 00:34:31 18c013af1878: Verifying Checksum 00:34:31 18c013af1878: Download complete 00:34:31 a4357932f1b6: Verifying Checksum 00:34:31 a4357932f1b6: Download complete 00:34:31 63d7cb157983: Verifying Checksum 00:34:31 63d7cb157983: Download complete 00:34:31 b116817d02f9: Download complete 00:34:31 5f621e34cdf4: Verifying Checksum 00:34:31 5f621e34cdf4: Download complete 00:34:31 5f621e34cdf4: Pull complete 00:34:32 a4357932f1b6: Pull complete 00:34:32 18c013af1878: Pull complete 00:34:33 745a02a5169b: Verifying Checksum 00:34:33 745a02a5169b: Download complete 00:34:34 00ac8860ef70: Verifying Checksum 00:34:34 00ac8860ef70: Download complete 00:34:45 00ac8860ef70: Pull complete 00:34:45 63d7cb157983: Pull complete 00:34:45 b116817d02f9: Pull complete 00:34:48 745a02a5169b: Pull complete 00:34:48 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:34:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:34:48 ---> b7e6874047d6 00:34:48 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 00:34:51 ---> Running in 856fd87866af 00:34:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:34:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:34:54 (1/12) Installing libmagic (5.38-r0) 00:34:54 (2/12) Installing file (5.38-r0) 00:34:54 (3/12) Installing libc-dev (0.7.2-r3) 00:34:54 (4/12) Installing g++ (9.3.0-r2) 00:35:00 (5/12) Installing fortify-headers (1.1-r0) 00:35:00 (6/12) Installing patch (2.7.6-r6) 00:35:00 (7/12) Installing build-base (0.5-r2) 00:35:00 (8/12) Installing libsodium (1.0.18-r0) 00:35:00 (9/12) Installing pkgconf (1.7.2-r0) 00:35:00 (10/12) Installing libsodium-dev (1.0.18-r0) 00:35:00 (11/12) Installing libzmq (4.3.3-r0) 00:35:01 (12/12) Installing zeromq-dev (4.3.3-r0) 00:35:01 Executing busybox-1.31.1-r19.trigger 00:35:01 OK: 217 MiB in 51 packages 00:35:05 Removing intermediate container 856fd87866af 00:35:05 ---> c76a86e37cbe 00:35:05 Step 4/7 : WORKDIR /edgex-go 00:35:05 ---> Running in ae187bd22821 00:35:05 Removing intermediate container ae187bd22821 00:35:05 ---> 2ff3fd7596ce 00:35:05 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:35:06 latest: Pulling from library/docker 00:35:06 a3cc7d3b244e: Pulling fs layer 00:35:06 02a3295e0d61: Pulling fs layer 00:35:06 0f4f2e6d8100: Pulling fs layer 00:35:06 330b718f631f: Pulling fs layer 00:35:06 a93816041522: Pulling fs layer 00:35:06 bdb6da89ff94: Pulling fs layer 00:35:06 2a70c0c122f4: Pulling fs layer 00:35:06 a93816041522: Waiting 00:35:06 bdb6da89ff94: Waiting 00:35:06 2a70c0c122f4: Waiting 00:35:06 330b718f631f: Waiting 00:35:06 0f4f2e6d8100: Verifying Checksum 00:35:06 0f4f2e6d8100: Download complete 00:35:06 02a3295e0d61: Verifying Checksum 00:35:06 02a3295e0d61: Download complete 00:35:07 a3cc7d3b244e: Verifying Checksum 00:35:07 a3cc7d3b244e: Download complete 00:35:07 a93816041522: Verifying Checksum 00:35:07 a93816041522: Download complete 00:35:07 bdb6da89ff94: Verifying Checksum 00:35:07 bdb6da89ff94: Download complete 00:35:07 2a70c0c122f4: Verifying Checksum 00:35:07 2a70c0c122f4: Download complete 00:35:07 a3cc7d3b244e: Pull complete 00:35:08 02a3295e0d61: Pull complete 00:35:08 0f4f2e6d8100: Pull complete 00:35:08 330b718f631f: Verifying Checksum 00:35:08 330b718f631f: Download complete 00:35:13 330b718f631f: Pull complete 00:35:13 a93816041522: Pull complete 00:35:13 bdb6da89ff94: Pull complete 00:35:13 2a70c0c122f4: Pull complete 00:35:13 Digest: sha256:11663df6a04f355f0d726c8ae20de03ee3b1ef1008bbb63027d0e13b137a8186 00:35:13 Status: Downloaded newer image for docker:latest 00:35:17 ---> 59f1c38a19bc 00:35:17 Step 6/7 : COPY go.mod . 00:35:17 ---> 31f9b8580b69 00:35:17 Step 7/7 : RUN go mod download 00:35:18 ---> Running in 25d1284c30d1 00:35:44 Removing intermediate container 25d1284c30d1 00:35:44 ---> 79855fba4746 00:35:44 Successfully built 79855fba4746 00:35:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:35:45 + docker inspect -f . ci-base-image-arm64 00:35:45 . [Pipeline] withDockerContainer 00:35:45 prd-ubuntu18.04-docker-arm64-4c-16g-15985 does not seem to be running inside a container 00:35:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:35:46 $ docker top f8fb5c2a5672edccbc108b71a9737390137acd58da5b9b5e2e63a65eaaadca45 -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:47 + go version 00:35:47 go version go1.15.5 linux/arm64 [Pipeline] } 00:35:47 $ docker stop --time=1 f8fb5c2a5672edccbc108b71a9737390137acd58da5b9b5e2e63a65eaaadca45 00:35:49 $ docker rm -f f8fb5c2a5672edccbc108b71a9737390137acd58da5b9b5e2e63a65eaaadca45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:35:50 + docker inspect -f . ci-base-image-arm64 00:35:50 . [Pipeline] withDockerContainer 00:35:51 prd-ubuntu18.04-docker-arm64-4c-16g-15985 does not seem to be running inside a container 00:35:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:35:52 $ docker top dfbde429ec37fd90f080049da3b9f97489a2d1b1ba25826c46449296e4c5c3a5 -eo pid,comm [Pipeline] { [Pipeline] echo 00:35:52 ========================================================= 00:35:52 [edgeXBuildGoParallel] Running Tests and Build... 00:35:52 ========================================================= [Pipeline] sh 00:35:53 + make test 00:35:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:36:15 ? github.com/edgexfoundry/edgex-go [no test files] 00:37:02 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:37:18 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:37:19 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.054s 00:37:19 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:37:21 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:37:22 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:37:22 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:37:22 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:37:22 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:37:31 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.218s coverage: 46.6% of statements 00:37:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:37:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:37:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:37:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:37:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:37:38 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.521s coverage: 27.1% of statements 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:37:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.076s coverage: 100.0% of statements 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:37:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.065s coverage: 100.0% of statements 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:37:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.197s coverage: 68.2% of statements 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:37:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:37:39 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.636s coverage: 82.6% of statements 00:37:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:37:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:37:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 00:37:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:37:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.180s coverage: 28.6% of statements 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:37:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.208s coverage: 100.0% of statements 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:37:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.110s coverage: 100.0% of statements 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:37:45 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.309s coverage: 86.7% of statements 00:37:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:37:46 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 00:37:46 internal/core/metadata/v2/controller/http/device_test.go:57:20: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled 00:37:46 internal/core/metadata/v2/controller/http/device_test.go:75:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled 00:37:46 internal/core/metadata/v2/controller/http/deviceservice_test.go:49:4: unknown field 'OperatingState' in struct literal of type dtos.DeviceService 00:37:46 internal/core/metadata/v2/controller/http/deviceservice_test.go:60:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled 00:37:46 internal/core/metadata/v2/controller/http/deviceservice_test.go:70:4: unknown field 'OperatingState' in struct literal of type dtos.UpdateDeviceService 00:37:46 internal/core/metadata/v2/controller/http/deviceservice_test.go:269:3: unknown field 'OperatingState' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".DeviceService 00:37:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.354s coverage: 97.5% of statements 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:37:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.144s coverage: 78.3% of statements 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:37:47 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:37:47 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.078s coverage: 58.8% of statements 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:37:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:37:48 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.187s coverage: 0.1% of statements 00:37:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:37:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:37:48 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:37:48 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:37:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.084s coverage: 100.0% of statements 00:37:48 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:37:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.112s coverage: 75.5% of statements 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:37:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.081s coverage: 80.8% of statements 00:37:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.195s coverage: 87.2% of statements 00:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.148s coverage: 84.2% of statements 00:37:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.200s coverage: 91.4% of statements 00:37:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.715s coverage: 63.5% of statements 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.070s coverage: 100.0% of statements 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.092s coverage: 91.3% of statements 00:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.072s coverage: 100.0% of statements 00:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.077s coverage: 73.7% of statements 00:37:59 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.065s coverage: 100.0% of statements 00:38:02 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.831s coverage: 55.9% of statements 00:38:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:38:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:38:02 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 00:38:02 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 00:38:02 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 00:38:02 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 25.095s coverage: 86.3% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.383s coverage: 72.2% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.451s coverage: 72.1% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.103s coverage: 82.4% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.064s coverage: 48.4% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.075s coverage: 28.8% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.075s coverage: 96.8% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.355s coverage: 37.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.493s coverage: 84.0% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.077s coverage: 100.0% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.383s coverage: 47.1% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.050s coverage: 100.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.110s coverage: 100.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.112s coverage: 100.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.941s coverage: 29.1% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.213s coverage: 99.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.131s coverage: 100.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system 0.040s coverage: 0.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.053s coverage: 100.0% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.138s coverage: 87.9% of statements 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:38:30 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.057s coverage: 100.0% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.054s coverage: 32.1% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements 00:38:30 FAIL 00:38:31 make: *** [Makefile:99: test] Error 2 [Pipeline] } 00:38:31 $ docker stop --time=1 dfbde429ec37fd90f080049da3b9f97489a2d1b1ba25826c46449296e4c5c3a5 00:38:33 $ docker rm -f dfbde429ec37fd90f080049da3b9f97489a2d1b1ba25826c46449296e4c5c3a5 [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] } 00:38:36 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 00:38:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:38:39 ---> package-listing.sh 00:38:39 ++ facter osfamily 00:38:39 ++ tr '[:upper:]' '[:lower:]' 00:38:39 + OS_FAMILY=redhat 00:38:39 + workspace=/w/workspace/edgex-go/2 00:38:39 + START_PACKAGES=/tmp/packages_start.txt 00:38:39 + END_PACKAGES=/tmp/packages_end.txt 00:38:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:39 + PACKAGES=/tmp/packages_start.txt 00:38:39 + '[' /w/workspace/edgex-go/2 ']' 00:38:39 + PACKAGES=/tmp/packages_end.txt 00:38:39 + case "${OS_FAMILY}" in 00:38:39 + rpm -qa 00:38:39 + sort 00:38:45 + '[' -f /tmp/packages_start.txt ']' 00:38:45 + '[' -f /tmp/packages_end.txt ']' 00:38:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:45 + '[' /w/workspace/edgex-go/2 ']' 00:38:45 + mkdir -p /w/workspace/edgex-go/2/archives/ 00:38:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 00:38:45 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:38:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:38:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:45 00:38:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:38:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:46 alpine: Pulling from edgex-lftools-log-publisher 00:38:46 df20fa9351a1: Pulling fs layer 00:38:46 36b3adc4ff6f: Pulling fs layer 00:38:46 8ad3a11d3b57: Pulling fs layer 00:38:46 46f8f816bc3b: Pulling fs layer 00:38:46 93b61091891f: Pulling fs layer 00:38:46 93b9cdb0e59b: Pulling fs layer 00:38:46 5e14af77c1be: Pulling fs layer 00:38:46 01666e4c0597: Pulling fs layer 00:38:46 aa168da1d23b: Pulling fs layer 00:38:46 93b61091891f: Waiting 00:38:46 46f8f816bc3b: Waiting 00:38:46 93b9cdb0e59b: Waiting 00:38:46 5e14af77c1be: Waiting 00:38:46 aa168da1d23b: Waiting 00:38:46 36b3adc4ff6f: Verifying Checksum 00:38:46 36b3adc4ff6f: Download complete 00:38:46 46f8f816bc3b: Verifying Checksum 00:38:46 46f8f816bc3b: Download complete 00:38:46 93b61091891f: Verifying Checksum 00:38:46 93b61091891f: Download complete 00:38:46 df20fa9351a1: Download complete 00:38:46 93b9cdb0e59b: Download complete 00:38:46 5e14af77c1be: Verifying Checksum 00:38:46 5e14af77c1be: Download complete 00:38:46 01666e4c0597: Verifying Checksum 00:38:46 01666e4c0597: Download complete 00:38:47 df20fa9351a1: Pull complete 00:38:47 8ad3a11d3b57: Verifying Checksum 00:38:47 8ad3a11d3b57: Download complete 00:38:47 36b3adc4ff6f: Pull complete 00:38:48 8ad3a11d3b57: Pull complete 00:38:48 46f8f816bc3b: Pull complete 00:38:49 93b61091891f: Pull complete 00:38:49 93b9cdb0e59b: Pull complete 00:38:49 5e14af77c1be: Pull complete 00:38:49 01666e4c0597: Pull complete 00:38:51 aa168da1d23b: Verifying Checksum 00:38:51 aa168da1d23b: Download complete 00:38:57 aa168da1d23b: Pull complete 00:38:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:38:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:38:58 prd-centos7-docker-4c-2g-15976 does not seem to be running inside a container 00:38:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:39:02 $ docker top 10073d659fdc54758c1f343c95b79ecd7360c6ae7be6f685d28354102c0d8196 -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:03 + touch /tmp/pre-build-complete [Pipeline] sh 00:39:03 + mkdir -p /var/log/sa [Pipeline] sh 00:39:04 + ls /var/log/sa-host 00:39:04 + sadf -c /var/log/sa-host/sa15 00:39:04 file_magic: OK 00:39:04 HZ: Using current value: 100 00:39:04 file_header: OK 00:39:04 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 00:39:04 Statistics: 00:39:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:39:04 File successfully converted to sysstat format version 12.2.1 00:39:04 + sadf -c /var/log/sa-host/sa23 00:39:04 file_magic: OK 00:39:04 HZ: Using current value: 100 00:39:04 file_header: OK 00:39:04 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 00:39:04 Statistics: 00:39:04 Hnuu...uuuununununu... 00:39:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:39:04 provisioning config files... 00:39:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config7784038382504457403tmp [Pipeline] { [Pipeline] echo 00:39:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:39:04 ---> create-netrc.sh [Pipeline] } 00:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:39:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:39:05 ---> python-tools-install.sh [Pipeline] echo 00:39:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:39:06 ---> sudo-logs.sh 00:39:06 Archiving 'sudo' log.. [Pipeline] echo 00:39:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:39:06 ---> job-cost.sh 00:39:06 lf-activate-venv: SKIPPING 00:39:06 INFO: No Stack... 00:39:07 INFO: Retrieving Pricing Info for: v1-standard-2 00:39:08 INFO: Archiving Costs [Pipeline] echo 00:39:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:39:08 ---> logs-deploy.sh 00:39:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2945/2 00:39:08 INFO: archiving workspace using pattern(s): 00:39:10 Archives upload complete. 00:39:10 INFO: archiving logs to Nexus