Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea+bbb161aa59ef099937232867751a09afbb087fa9 (7ad4110d4fbde3ac27bdd5a71233c8e39391672b) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16662 in /w/workspace/edgexfoundry_edgex-go_PR-2958 [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 Merging remotes/origin/master commit bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea Merge succeeded, producing 8c758c366d409889059c061b5d4fafe63476d06f Checking out Revision 8c758c366d409889059c061b5d4fafe63476d06f (PR-2958) Commit message: "Merge commit 'bbb161aa59ef099937232867751a09afbb087fa9' into HEAD" > 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/2958/head:refs/remotes/origin/PR-2958 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # 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 bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c758c366d409889059c061b5d4fafe63476d06f # timeout=10 > git rev-list --no-walk 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:32:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:32:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:32:18 ========================================================= 00:32:18 EdgeX Global Pipelines Version Info 00:32:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:32:20 ------------------- 00:32:20 stable info: 00:32:20 ------------------- 00:32:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:32:20 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:32:20 Message: update stable to v1.0.173 00:32:21 ------------------- 00:32:21 experimental info: 00:32:21 ------------------- 00:32:21 Commited By: **** collab-it+edgex@linuxfoundation.org 00:32:21 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:32:21 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:32:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:32:21 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:32:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:32:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:32:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:32:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:32:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2958 [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2958 [Pipeline] echo 00:32:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2958 [Pipeline] echo 00:32:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c758c366d409889059c061b5d4fafe63476d06f [Pipeline] echo 00:32:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c758c3 [Pipeline] echo 00:32:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:32:24 provisioning config files... 00:32:24 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7348345571719781710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:24 ---> docker-login.sh 00:32:24 nexus3.edgexfoundry.org:10001 00:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:25 Configure a credential helper to remove this warning. See 00:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:25 00:32:25 Login Succeeded 00:32:25 nexus3.edgexfoundry.org:10002 00:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:25 Configure a credential helper to remove this warning. See 00:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:25 00:32:25 Login Succeeded 00:32:25 nexus3.edgexfoundry.org:10003 00:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:25 Configure a credential helper to remove this warning. See 00:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:25 00:32:25 Login Succeeded 00:32:25 nexus3.edgexfoundry.org:10004 00:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:25 Configure a credential helper to remove this warning. See 00:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:25 00:32:25 Login Succeeded 00:32:25 docker.io 00:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:26 Configure a credential helper to remove this warning. See 00:32:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:26 00:32:26 Login Succeeded 00:32:26 ---> docker-login.sh ends [Pipeline] } 00:32:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:26 ++ 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-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/core-command/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo core-command,cmd/core-command/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/core-data/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo core-data,cmd/core-data/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/core-metadata/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo core-metadata,cmd/core-metadata/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/security-bootstrap-redis/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/security-proxy-setup/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/support-notifications/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo support-notifications,cmd/support-notifications/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/support-scheduler/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:32:26 + for file in '`ls cmd/**/Dockerfile`' 00:32:26 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:32:26 ++ cut -d/ -f2 00:32:26 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:32:26 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-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:32:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:32:28 00:32:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:32:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:32:28 latest: Pulling from edgex-devops/git-semver 00:32:28 31603596830f: Pulling fs layer 00:32:28 2a8b12db71e7: Pulling fs layer 00:32:28 6ca5941a6612: Pulling fs layer 00:32:28 ecc8261a40a4: Pulling fs layer 00:32:28 ecc8261a40a4: Waiting 00:32:28 2a8b12db71e7: Verifying Checksum 00:32:28 2a8b12db71e7: Download complete 00:32:28 31603596830f: Verifying Checksum 00:32:28 31603596830f: Download complete 00:32:29 6ca5941a6612: Verifying Checksum 00:32:29 6ca5941a6612: Download complete 00:32:29 ecc8261a40a4: Verifying Checksum 00:32:29 ecc8261a40a4: Download complete 00:32:29 31603596830f: Pull complete 00:32:29 2a8b12db71e7: Pull complete 00:32:30 6ca5941a6612: Pull complete 00:32:30 ecc8261a40a4: Pull complete 00:32:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:32:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:32:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:32:30 prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container 00:32:30 $ 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:32:33 $ docker top 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:33 [ssh-agent] Looking for ssh-agent implementation... 00:32:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:34 $ docker exec 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent 00:32:34 SSH_AUTH_SOCK=/tmp/ssh-NtCvRZtR3zn2/agent.11 00:32:34 SSH_AGENT_PID=17 00:32:34 Running ssh-add (command line suppressed) 00:32:34 Identity added: /w/workspace/edgex-go/2@tmp/private_key_5950647849131158071.key (/w/workspace/edgex-go/2@tmp/private_key_5950647849131158071.key) 00:32:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:34 + git tag --points-at HEAD [Pipeline] } 00:32:34 $ docker exec --env ******** --env ******** 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent -k 00:32:34 unset SSH_AUTH_SOCK; 00:32:34 unset SSH_AGENT_PID; 00:32:34 echo Agent pid 17 killed; 00:32:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:32:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:35 [ssh-agent] Looking for ssh-agent implementation... 00:32:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:35 $ docker exec 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent 00:32:35 SSH_AUTH_SOCK=/tmp/ssh-upP5rfpbpfab/agent.46 00:32:35 SSH_AGENT_PID=51 00:32:35 Running ssh-add (command line suppressed) 00:32:35 Identity added: /w/workspace/edgex-go/2@tmp/private_key_348671171195011283.key (/w/workspace/edgex-go/2@tmp/private_key_348671171195011283.key) 00:32:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:35 + git semver init 00:32:35 # -> Open(): unable to determine branch for HEAD 00:32:35 # $GIT_DIR = /w/workspace/edgex-go/2/.git 00:32:35 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 00:32:35 # $SEMVER_REMOTE_NAME = origin 00:32:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:32:35 # $SEMVER_USER_NAME = edgex-jenkins 00:32:35 # $SEMVER_BRANCH = PR-2958 00:32:35 # $SEMVER_TEMP = /tmp/semver-130732022 00:32:35 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:34:12 # '/tmp/semver-130732022' -> '/w/workspace/edgex-go/2/.semver' 00:34:12 # -> Force: false 00:34:12 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 00:34:12 $ docker exec --env ******** --env ******** 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent -k 00:34:12 unset SSH_AUTH_SOCK; 00:34:12 unset SSH_AGENT_PID; 00:34:12 echo Agent pid 51 killed; 00:34:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:34:13 + git semver [Pipeline] } 00:34:13 $ docker stop --time=1 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 00:34:15 $ docker rm -f 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 [Pipeline] // withDockerContainer [Pipeline] sh 00:34:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:34:16 Stashed 1 file(s) [Pipeline] echo 00:34:16 [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:34:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:34:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:34:17 + sudo service docker restart 00:34:17 + true 00:34:17 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:34:18 ========================================================= 00:34:18 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:34:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:34:18 + 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:34:22 Sending build context to Docker daemon 326.2MB 00:34:22 Step 1/7 : ARG BASE=golang:1.15-alpine 00:34:22 Step 2/7 : FROM ${BASE} 00:34:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:34:22 188c0c94c7c5: Pulling fs layer 00:34:22 0ef7d3d256c8: Pulling fs layer 00:34:22 de9db76c5a1d: Pulling fs layer 00:34:22 bca2f99d35d6: Pulling fs layer 00:34:22 93359f2a8cfa: Pulling fs layer 00:34:22 7c6f9722023f: Pulling fs layer 00:34:22 a35cf1a2eb13: Pulling fs layer 00:34:22 bca2f99d35d6: Waiting 00:34:22 93359f2a8cfa: Waiting 00:34:22 7c6f9722023f: Waiting 00:34:22 a35cf1a2eb13: Waiting 00:34:22 de9db76c5a1d: Verifying Checksum 00:34:22 de9db76c5a1d: Download complete 00:34:22 0ef7d3d256c8: Download complete 00:34:22 93359f2a8cfa: Verifying Checksum 00:34:22 93359f2a8cfa: Download complete 00:34:22 7c6f9722023f: Verifying Checksum 00:34:22 7c6f9722023f: Download complete 00:34:23 188c0c94c7c5: Verifying Checksum 00:34:23 188c0c94c7c5: Download complete 00:34:23 188c0c94c7c5: Pull complete 00:34:23 0ef7d3d256c8: Pull complete 00:34:23 de9db76c5a1d: Pull complete 00:34:26 a35cf1a2eb13: Verifying Checksum 00:34:26 a35cf1a2eb13: Download complete 00:34:27 bca2f99d35d6: Verifying Checksum 00:34:27 bca2f99d35d6: Download complete 00:34:31 Still waiting to schedule task 00:34:31 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16660’ 00:34:32 bca2f99d35d6: Pull complete 00:34:32 93359f2a8cfa: Pull complete 00:34:32 7c6f9722023f: Pull complete 00:34:39 a35cf1a2eb13: Pull complete 00:34:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:34:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:34:39 ---> a62c8e92a672 00:34:39 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:39 ---> Running in 9909f8a017a5 00:34:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:34:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:34:41 (1/12) Installing libmagic (5.38-r0) 00:34:42 (2/12) Installing file (5.38-r0) 00:34:42 (3/12) Installing libc-dev (0.7.2-r3) 00:34:42 (4/12) Installing g++ (9.3.0-r2) 00:35:20 (5/12) Installing fortify-headers (1.1-r0) 00:35:20 (6/12) Installing patch (2.7.6-r6) 00:35:20 (7/12) Installing build-base (0.5-r2) 00:35:20 (8/12) Installing libsodium (1.0.18-r0) 00:35:20 (9/12) Installing pkgconf (1.7.2-r0) 00:35:20 (10/12) Installing libsodium-dev (1.0.18-r0) 00:35:20 (11/12) Installing libzmq (4.3.3-r0) 00:35:20 (12/12) Installing zeromq-dev (4.3.3-r0) 00:35:20 Executing busybox-1.31.1-r19.trigger 00:35:20 OK: 233 MiB in 51 packages 00:35:21 Removing intermediate container 9909f8a017a5 00:35:21 ---> 1c4c3cbf005e 00:35:21 Step 4/7 : WORKDIR /edgex-go 00:35:21 ---> Running in 4bb17a3d4dfb 00:35:22 Removing intermediate container 4bb17a3d4dfb 00:35:22 ---> 2f8f2a07df16 00:35:22 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:35:22 latest: Pulling from library/docker 00:35:22 801bfaa63ef2: Pulling fs layer 00:35:22 4f7dc993c79e: Pulling fs layer 00:35:22 d39d95e4997f: Pulling fs layer 00:35:22 1cda4b703d87: Pulling fs layer 00:35:22 54e5375350ea: Pulling fs layer 00:35:22 f08cd1b3bb1b: Pulling fs layer 00:35:22 8e17d04e0c68: Pulling fs layer 00:35:22 54e5375350ea: Waiting 00:35:22 f08cd1b3bb1b: Waiting 00:35:22 8e17d04e0c68: Waiting 00:35:22 1cda4b703d87: Waiting 00:35:23 d39d95e4997f: Verifying Checksum 00:35:23 d39d95e4997f: Download complete 00:35:23 801bfaa63ef2: Verifying Checksum 00:35:23 801bfaa63ef2: Download complete 00:35:23 4f7dc993c79e: Verifying Checksum 00:35:23 4f7dc993c79e: Download complete 00:35:23 54e5375350ea: Verifying Checksum 00:35:23 54e5375350ea: Download complete 00:35:23 801bfaa63ef2: Pull complete 00:35:23 f08cd1b3bb1b: Verifying Checksum 00:35:23 f08cd1b3bb1b: Download complete 00:35:23 8e17d04e0c68: Verifying Checksum 00:35:23 8e17d04e0c68: Download complete 00:35:23 4f7dc993c79e: Pull complete 00:35:24 d39d95e4997f: Pull complete 00:35:24 1cda4b703d87: Verifying Checksum 00:35:24 1cda4b703d87: Download complete 00:35:27 1cda4b703d87: Pull complete 00:35:27 54e5375350ea: Pull complete 00:35:27 f08cd1b3bb1b: Pull complete 00:35:27 8e17d04e0c68: Pull complete 00:35:27 Digest: sha256:f5f9ba6ab98290000e7e5266b18d6b69d857f2af097916ef94b228351cb0fa81 00:35:27 Status: Downloaded newer image for docker:latest 00:35:29 ---> c2c4bc1d1ad3 00:35:29 Step 6/7 : COPY go.mod . 00:35:29 ---> d72fee40e4f8 00:35:29 Step 7/7 : RUN go mod download 00:35:29 ---> Running in ae2d65ce2dd2 00:35:51 Removing intermediate container ae2d65ce2dd2 00:35:51 ---> 85883dc1eb6e 00:35:51 Successfully built 85883dc1eb6e 00:35:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:35:51 + docker inspect -f . ci-base-image-x86_64 00:35:51 . [Pipeline] withDockerContainer 00:35:51 prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container 00:35:51 $ 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:35:53 $ docker top 2fd92e1349cdf995af76ca984ae02cc5c8ef1cfb42110d6e7110d4d5a12c1b6a -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:54 + go version 00:35:54 go version go1.15.5 linux/amd64 [Pipeline] } 00:35:54 $ docker stop --time=1 2fd92e1349cdf995af76ca984ae02cc5c8ef1cfb42110d6e7110d4d5a12c1b6a 00:35:55 $ docker rm -f 2fd92e1349cdf995af76ca984ae02cc5c8ef1cfb42110d6e7110d4d5a12c1b6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:35:56 + docker inspect -f . ci-base-image-x86_64 00:35:56 . [Pipeline] withDockerContainer 00:35:56 prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container 00:35:57 $ 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:35:57 $ docker top 60468733b9b3226872602019eaded361c5e44f24bf9eda61070fe9a7915a5781 -eo pid,comm [Pipeline] { [Pipeline] echo 00:35:57 ========================================================= 00:35:57 [edgeXBuildGoParallel] Running Tests and Build... 00:35:57 ========================================================= [Pipeline] sh 00:35:58 + make test 00:35:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:36:08 ? github.com/edgexfoundry/edgex-go [no test files] 00:36:23 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:36:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:36:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:36:30 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:36:30 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 00:36:30 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:36:30 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:36:31 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:36:31 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:36:32 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:36:33 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:36:33 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:36:33 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:36:36 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.089s coverage: 46.6% of statements 00:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:36:36 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 00:36:36 internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 00:36:36 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 00:36:36 internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 00:36:36 internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 00:36:36 internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary 00:36:36 internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary 00:36:39 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.191s coverage: 27.1% of statements 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:36:39 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.042s coverage: 100.0% of statements 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:36:39 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.042s coverage: 100.0% of statements 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:36:39 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:36:39 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 00:36:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:36:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.405s coverage: 28.6% of statements 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:36:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.068s coverage: 100.0% of statements 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:36:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.047s coverage: 100.0% of statements 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:36:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.107s coverage: 86.7% of statements 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:36:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.164s coverage: 97.5% of statements 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:36:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.056s coverage: 78.3% of statements 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:36:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:36:44 --- FAIL: TestAddDeviceProfile_Created (0.01s) 00:36:44 --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.01s) 00:36:44 panic: 00:36:44 00:36:44 mock: Unexpected Method Call 00:36:44 ----------------------------- 00:36:44 00:36:44 AddDeviceProfile(models.DeviceProfile) 00:36:44 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:36:44 00:36:44 The closest call I have is: 00:36:44 00:36:44 AddDeviceProfile(models.DeviceProfile) 00:36:44 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:36:44 00:36:44 Difference found in argument 0: 00:36:44 00:36:44 --- Expected 00:36:44 +++ Actual 00:36:44 @@ -20,3 +20,3 @@ 00:36:44 Properties: (models.PropertyValue) { 00:36:44 - Type: (string) (len=5) "INT16", 00:36:44 + Type: (string) (len=5) "Int16", 00:36:44 ReadWrite: (string) (len=2) "RW", 00:36:44 00:36:44 Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) [recovered] 00:36:44 panic: 00:36:44 00:36:44 mock: Unexpected Method Call 00:36:44 ----------------------------- 00:36:44 00:36:44 AddDeviceProfile(models.DeviceProfile) 00:36:44 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:36:44 00:36:44 The closest call I have is: 00:36:44 00:36:44 AddDeviceProfile(models.DeviceProfile) 00:36:44 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:36:44 00:36:44 Difference found in argument 0: 00:36:44 00:36:44 --- Expected 00:36:44 +++ Actual 00:36:44 @@ -20,3 +20,3 @@ 00:36:44 Properties: (models.PropertyValue) { 00:36:44 - Type: (string) (len=5) "INT16", 00:36:44 + Type: (string) (len=5) "Int16", 00:36:44 ReadWrite: (string) (len=2) "RW", 00:36:44 00:36:44 Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) 00:36:44 00:36:44 goroutine 85 [running]: 00:36:44 testing.tRunner.func1.1(0x8ad2a0, 0xc0004a85d0) 00:36:44 /usr/local/go/src/testing/testing.go:1072 +0x46a 00:36:44 testing.tRunner.func1(0xc000407e00) 00:36:44 /usr/local/go/src/testing/testing.go:1075 +0x636 00:36:44 panic(0x8ad2a0, 0xc0004a85d0) 00:36:44 /usr/local/go/src/runtime/panic.go:975 +0x47a 00:36:44 github.com/stretchr/testify/mock.(*Mock).fail(0xc000417270, 0x92e3cd, 0x6f, 0xc000489080, 0x4, 0x4) 00:36:44 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:236 +0x21f 00:36:44 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000417270, 0xb2ad17, 0x10, 0xc00046f7d0, 0x1, 0x1, 0xc000488d40, 0x4, 0x4) 00:36:44 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:366 +0x510 00:36:44 github.com/stretchr/testify/mock.(*Mock).Called(0xc000417270, 0xc00046f7d0, 0x1, 0x1, 0xc00049c360, 0x20, 0x1) 00:36:44 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:338 +0x1ee 00:36:44 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0xc000417270, 0x0, 0x0, 0xc00048cb00, 0xf, 0xc000424870, 0x24, 0xc0004571a0, 0x15, 0xc00048caf0, ...) 00:36:44 /w/workspace/edgex-go/2/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0x151 00:36:44 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0xc00048cb00, 0xf, 0xc000424870, 0x24, 0xc0004571a0, 0x15, 0xc00048caf0, 0x10, ...) 00:36:44 /w/workspace/edgex-go/2/internal/core/metadata/v2/application/deviceprofile.go:31 +0x282 00:36:44 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0xc00044b8a0, 0x9a1120, 0xc0004881c0, 0xc0003a1e00) 00:36:44 /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x565 00:36:44 net/http.HandlerFunc.ServeHTTP(...) 00:36:44 /usr/local/go/src/net/http/server.go:2042 00:36:44 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0xc000407e00) 00:36:44 /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x40e 00:36:44 testing.tRunner(0xc000407e00, 0xc000484270) 00:36:44 /usr/local/go/src/testing/testing.go:1123 +0x203 00:36:44 created by testing.(*T).Run 00:36:44 /usr/local/go/src/testing/testing.go:1168 +0x5bc 00:36:44 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.153s 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.032s coverage: 58.8% of statements 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.061s coverage: 0.1% of statements 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.073s coverage: 75.5% of statements 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.061s coverage: 80.8% of statements 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.078s coverage: 87.2% of statements 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.061s coverage: 84.2% of statements 00:36:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.090s coverage: 91.4% of statements 00:36:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:36:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.226s coverage: 63.5% of statements 00:36:45 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:36:45 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:36:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements 00:36:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 91.3% of statements 00:36:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.036s coverage: 100.0% of statements 00:36:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements 00:36:46 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 00:36:48 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.421s coverage: 55.9% of statements 00:36:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:36:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:36:48 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 00:36:48 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 00:36:48 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 00:36:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.084s coverage: 37.0% of statements 00:36:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:36:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:36:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.345s coverage: 84.0% of statements 00:36:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.060s coverage: 100.0% of statements 00:36:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.112s coverage: 47.1% of statements 00:36:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:36:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:36:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:36:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:36:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:36:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.074s coverage: 100.0% of statements 00:36:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:36:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.045s coverage: 100.0% of statements 00:36:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:36:51 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.709s coverage: 29.1% of statements 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:36:51 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.079s coverage: 99.0% of statements 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:36:51 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.046s coverage: 100.0% of statements 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:36:51 ok github.com/edgexfoundry/edgex-go/internal/system 0.038s coverage: 0.0% of statements 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:36:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.037s coverage: 100.0% of statements 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:36:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.045s coverage: 87.9% of statements 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:36:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:36:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.058s coverage: 100.0% of statements 00:36:52 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.028s coverage: 32.1% of statements 00:36:52 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 00:36:52 FAIL 00:36:53 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:36:53 $ docker stop --time=1 60468733b9b3226872602019eaded361c5e44f24bf9eda61070fe9a7915a5781 00:36:55 $ docker rm -f 60468733b9b3226872602019eaded361c5e44f24bf9eda61070fe9a7915a5781 [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:36:56 Failed in branch amd64 00:37:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16670 in /w/workspace/edgexfoundry_edgex-go_PR-2958 [Pipeline] { [Pipeline] ws 00:37:05 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 00:37:10 using credential edgex-jenkins-ssh 00:37:10 Cloning the remote Git repository 00:37:10 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:37:10 > git init /w/workspace/edgex-go/2 # timeout=10 00:37:10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:37:10 > git --version # timeout=10 00:37:10 > git --version # 'git version 2.17.1' 00:37:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:38 Merging remotes/origin/master commit bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea 00:37:37 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:37:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:37 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:37:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:37:37 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2958/head:refs/remotes/origin/PR-2958 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:37:38 > git config core.sparsecheckout # timeout=10 00:37:38 > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 00:37:38 > git remote # timeout=10 00:37:38 > git config --get remote.origin.url # timeout=10 00:37:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:38 > git merge bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 00:37:38 Merge succeeded, producing 53f78f7e8ab314ef4e37ac462f57cf1702d11a58 00:37:38 Checking out Revision 53f78f7e8ab314ef4e37ac462f57cf1702d11a58 (PR-2958) 00:37:38 > git rev-parse HEAD^{commit} # timeout=10 00:37:38 > git config core.sparsecheckout # timeout=10 00:37:39 > git checkout -f 53f78f7e8ab314ef4e37ac462f57cf1702d11a58 # timeout=10 00:37:43 Commit message: "Merge commit 'bbb161aa59ef099937232867751a09afbb087fa9' into HEAD" 00:37:43 > git rev-list --no-walk 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:37:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:37:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:37:46 + sudo service docker restart 00:37:46 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:37:48 provisioning config files... 00:37:48 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8272254850377665142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:48 ---> docker-login.sh 00:37:48 nexus3.edgexfoundry.org:10001 00:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:49 Configure a credential helper to remove this warning. See 00:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:49 00:37:49 Login Succeeded 00:37:49 nexus3.edgexfoundry.org:10002 00:37:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:50 Configure a credential helper to remove this warning. See 00:37:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:50 00:37:50 Login Succeeded 00:37:50 nexus3.edgexfoundry.org:10003 00:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:51 Configure a credential helper to remove this warning. See 00:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:51 00:37:51 Login Succeeded 00:37:51 nexus3.edgexfoundry.org:10004 00:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:51 Configure a credential helper to remove this warning. See 00:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:51 00:37:51 Login Succeeded 00:37:51 docker.io 00:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:52 Configure a credential helper to remove this warning. See 00:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:52 00:37:52 Login Succeeded 00:37:52 ---> docker-login.sh ends [Pipeline] } 00:37:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:37:53 ========================================================= 00:37:53 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:37:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:37:53 + 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:37:55 Sending build context to Docker daemon 165.3MB 00:37:55 Step 1/7 : ARG BASE=golang:1.15-alpine 00:37:55 Step 2/7 : FROM ${BASE} 00:37:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:37:55 5f621e34cdf4: Pulling fs layer 00:37:55 a4357932f1b6: Pulling fs layer 00:37:55 18c013af1878: Pulling fs layer 00:37:55 00ac8860ef70: Pulling fs layer 00:37:55 63d7cb157983: Pulling fs layer 00:37:55 b116817d02f9: Pulling fs layer 00:37:55 745a02a5169b: Pulling fs layer 00:37:55 00ac8860ef70: Waiting 00:37:55 b116817d02f9: Waiting 00:37:55 745a02a5169b: Waiting 00:37:55 63d7cb157983: Waiting 00:37:55 18c013af1878: Verifying Checksum 00:37:55 18c013af1878: Download complete 00:37:55 a4357932f1b6: Download complete 00:37:55 63d7cb157983: Verifying Checksum 00:37:55 63d7cb157983: Download complete 00:37:56 b116817d02f9: Verifying Checksum 00:37:56 b116817d02f9: Download complete 00:37:56 5f621e34cdf4: Verifying Checksum 00:37:56 5f621e34cdf4: Download complete 00:37:57 5f621e34cdf4: Pull complete 00:37:57 a4357932f1b6: Pull complete 00:37:58 18c013af1878: Pull complete 00:38:00 745a02a5169b: Verifying Checksum 00:38:00 745a02a5169b: Download complete 00:38:02 00ac8860ef70: Verifying Checksum 00:38:02 00ac8860ef70: Download complete 00:38:12 00ac8860ef70: Pull complete 00:38:12 63d7cb157983: Pull complete 00:38:12 b116817d02f9: Pull complete 00:38:15 745a02a5169b: Pull complete 00:38:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:38:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:38:15 ---> b7e6874047d6 00:38:15 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:38:19 ---> Running in 44880bf5929e 00:38:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:38:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:38:24 (1/12) Installing libmagic (5.38-r0) 00:38:24 (2/12) Installing file (5.38-r0) 00:38:24 (3/12) Installing libc-dev (0.7.2-r3) 00:38:24 (4/12) Installing g++ (9.3.0-r2) 00:38:51 (5/12) Installing fortify-headers (1.1-r0) 00:38:51 (6/12) Installing patch (2.7.6-r6) 00:38:51 (7/12) Installing build-base (0.5-r2) 00:38:51 (8/12) Installing libsodium (1.0.18-r0) 00:38:51 (9/12) Installing pkgconf (1.7.2-r0) 00:38:51 (10/12) Installing libsodium-dev (1.0.18-r0) 00:38:51 (11/12) Installing libzmq (4.3.3-r0) 00:38:51 (12/12) Installing zeromq-dev (4.3.3-r0) 00:38:51 Executing busybox-1.31.1-r19.trigger 00:38:51 OK: 217 MiB in 51 packages 00:38:54 Removing intermediate container 44880bf5929e 00:38:54 ---> 1b658339fe35 00:38:54 Step 4/7 : WORKDIR /edgex-go 00:38:54 ---> Running in f30d0eecafbc 00:38:55 Removing intermediate container f30d0eecafbc 00:38:55 ---> d5f760d5aacc 00:38:55 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:38:55 latest: Pulling from library/docker 00:38:56 a3cc7d3b244e: Pulling fs layer 00:38:56 02a3295e0d61: Pulling fs layer 00:38:56 0f4f2e6d8100: Pulling fs layer 00:38:56 065c9533d613: Pulling fs layer 00:38:56 9fce0df16b8b: Pulling fs layer 00:38:56 e3faa53604c1: Pulling fs layer 00:38:56 04b5adaa2053: Pulling fs layer 00:38:56 065c9533d613: Waiting 00:38:56 9fce0df16b8b: Waiting 00:38:56 e3faa53604c1: Waiting 00:38:56 04b5adaa2053: Waiting 00:38:56 0f4f2e6d8100: Verifying Checksum 00:38:56 0f4f2e6d8100: Download complete 00:38:56 a3cc7d3b244e: Verifying Checksum 00:38:56 a3cc7d3b244e: Download complete 00:38:56 02a3295e0d61: Verifying Checksum 00:38:56 02a3295e0d61: Download complete 00:38:56 9fce0df16b8b: Verifying Checksum 00:38:56 9fce0df16b8b: Download complete 00:38:56 e3faa53604c1: Verifying Checksum 00:38:56 e3faa53604c1: Download complete 00:38:56 04b5adaa2053: Verifying Checksum 00:38:56 04b5adaa2053: Download complete 00:38:56 a3cc7d3b244e: Pull complete 00:38:57 02a3295e0d61: Pull complete 00:38:58 065c9533d613: Verifying Checksum 00:38:58 065c9533d613: Download complete 00:38:58 0f4f2e6d8100: Pull complete 00:39:01 065c9533d613: Pull complete 00:39:01 9fce0df16b8b: Pull complete 00:39:02 e3faa53604c1: Pull complete 00:39:02 04b5adaa2053: Pull complete 00:39:02 Digest: sha256:f5f9ba6ab98290000e7e5266b18d6b69d857f2af097916ef94b228351cb0fa81 00:39:02 Status: Downloaded newer image for docker:latest 00:39:06 ---> afd74a3c4c68 00:39:06 Step 6/7 : COPY go.mod . 00:39:06 ---> 34cf302628c2 00:39:06 Step 7/7 : RUN go mod download 00:39:06 ---> Running in cf8cb80bc140 00:39:33 Removing intermediate container cf8cb80bc140 00:39:33 ---> f1ce902e0e5a 00:39:33 Successfully built f1ce902e0e5a 00:39:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:39:33 + docker inspect -f . ci-base-image-arm64 00:39:33 . [Pipeline] withDockerContainer 00:39:34 prd-ubuntu18.04-docker-arm64-4c-16g-16670 does not seem to be running inside a container 00:39:34 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:39:35 $ docker top f104bee39f36c4b7919a277bcc4ae79a8159174029e59bf4c3bbfd5c92493efc -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:36 + go version 00:39:36 go version go1.15.5 linux/arm64 [Pipeline] } 00:39:36 $ docker stop --time=1 f104bee39f36c4b7919a277bcc4ae79a8159174029e59bf4c3bbfd5c92493efc 00:39:38 $ docker rm -f f104bee39f36c4b7919a277bcc4ae79a8159174029e59bf4c3bbfd5c92493efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:39:39 + docker inspect -f . ci-base-image-arm64 00:39:39 . [Pipeline] withDockerContainer 00:39:40 prd-ubuntu18.04-docker-arm64-4c-16g-16670 does not seem to be running inside a container 00:39:40 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:39:41 $ docker top cbcb1481fee976b70c3388031c858b6d01e081613e889a999563d26c6baa50bd -eo pid,comm [Pipeline] { [Pipeline] echo 00:39:41 ========================================================= 00:39:41 [edgeXBuildGoParallel] Running Tests and Build... 00:39:41 ========================================================= [Pipeline] sh 00:39:42 + make test 00:39:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:40:04 ? github.com/edgexfoundry/edgex-go [no test files] 00:40:51 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:40:58 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:41:01 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:41:01 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:41:01 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 00:41:01 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:41:01 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:41:02 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:41:04 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:41:05 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:41:08 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:41:08 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:41:08 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:41:16 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 00:41:16 internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 00:41:16 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.339s coverage: 46.6% of statements 00:41:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:41:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:41:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:41:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:41:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:41:16 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 00:41:16 internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 00:41:16 internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 00:41:16 internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary 00:41:16 internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary 00:41:23 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.449s coverage: 27.1% of statements 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:41:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.083s coverage: 100.0% of statements 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:41:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.070s coverage: 100.0% of statements 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:41:23 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:41:23 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 00:41:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:41:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.271s coverage: 28.6% of statements 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:41:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.154s coverage: 100.0% of statements 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:41:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.070s coverage: 100.0% of statements 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:41:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.310s coverage: 86.7% of statements 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:41:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.340s coverage: 97.5% of statements 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:41:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.159s coverage: 78.3% of statements 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:41:29 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:41:35 --- FAIL: TestAddDeviceProfile_Created (0.03s) 00:41:35 --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.03s) 00:41:35 panic: 00:41:35 00:41:35 mock: Unexpected Method Call 00:41:35 ----------------------------- 00:41:35 00:41:35 AddDeviceProfile(models.DeviceProfile) 00:41:35 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:41:35 00:41:35 The closest call I have is: 00:41:35 00:41:35 AddDeviceProfile(models.DeviceProfile) 00:41:35 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:41:35 00:41:35 Difference found in argument 0: 00:41:35 00:41:35 --- Expected 00:41:35 +++ Actual 00:41:35 @@ -20,3 +20,3 @@ 00:41:35 Properties: (models.PropertyValue) { 00:41:35 - Type: (string) (len=5) "INT16", 00:41:35 + Type: (string) (len=5) "Int16", 00:41:35 ReadWrite: (string) (len=2) "RW", 00:41:35 00:41:35 Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) [recovered] 00:41:35 panic: 00:41:35 00:41:35 mock: Unexpected Method Call 00:41:35 ----------------------------- 00:41:35 00:41:35 AddDeviceProfile(models.DeviceProfile) 00:41:35 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:41:35 00:41:35 The closest call I have is: 00:41:35 00:41:35 AddDeviceProfile(models.DeviceProfile) 00:41:35 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} 00:41:35 00:41:35 Difference found in argument 0: 00:41:35 00:41:35 --- Expected 00:41:35 +++ Actual 00:41:35 @@ -20,3 +20,3 @@ 00:41:35 Properties: (models.PropertyValue) { 00:41:35 - Type: (string) (len=5) "INT16", 00:41:35 + Type: (string) (len=5) "Int16", 00:41:35 ReadWrite: (string) (len=2) "RW", 00:41:35 00:41:35 Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) 00:41:35 00:41:35 goroutine 5 [running]: 00:41:35 testing.tRunner.func1.1(0x3e9980, 0x4000360100) 00:41:35 /usr/local/go/src/testing/testing.go:1072 +0x320 00:41:35 testing.tRunner.func1(0x4000106d80) 00:41:35 /usr/local/go/src/testing/testing.go:1075 +0x460 00:41:35 panic(0x3e9980, 0x4000360100) 00:41:35 /usr/local/go/src/runtime/panic.go:975 +0x420 00:41:35 github.com/stretchr/testify/mock.(*Mock).fail(0x40004942d0, 0x46b615, 0x6f, 0x400037c200, 0x4, 0x4) 00:41:35 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:236 +0x180 00:41:35 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x40004942d0, 0x669377, 0x10, 0x40000a70d0, 0x1, 0x1, 0x40000abec0, 0x4, 0x4) 00:41:35 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:366 +0x394 00:41:35 github.com/stretchr/testify/mock.(*Mock).Called(0x40004942d0, 0x40000a70d0, 0x1, 0x1, 0x4000293000, 0x2e9400, 0x40000abe00) 00:41:35 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:338 +0x15c 00:41:35 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0x40004942d0, 0x0, 0x0, 0x40004238e0, 0xf, 0x4000342180, 0x24, 0x40003445a0, 0x15, 0x40004238d0, ...) 00:41:35 /w/workspace/edgex-go/2/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0xec 00:41:35 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0x40004238e0, 0xf, 0x4000342180, 0x24, 0x40003445a0, 0x15, 0x40004238d0, 0x10, ...) 00:41:35 /w/workspace/edgex-go/2/internal/core/metadata/v2/application/deviceprofile.go:31 +0x1ec 00:41:35 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0x40003746a0, 0x4df820, 0x40000aadc0, 0x40000b2400) 00:41:35 /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x3e8 00:41:35 net/http.HandlerFunc.ServeHTTP(...) 00:41:35 /usr/local/go/src/net/http/server.go:2042 00:41:35 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0x4000106d80) 00:41:35 /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x334 00:41:35 testing.tRunner(0x4000106d80, 0x400041eb40) 00:41:35 /usr/local/go/src/testing/testing.go:1123 +0x174 00:41:35 created by testing.(*T).Run 00:41:35 /usr/local/go/src/testing/testing.go:1168 +0x43c 00:41:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.410s 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:41:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.057s coverage: 58.8% of statements 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:41:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.183s coverage: 0.1% of statements 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:41:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.050s coverage: 100.0% of statements 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:41:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.103s coverage: 75.5% of statements 00:41:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:41:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.068s coverage: 80.8% of statements 00:41:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.146s coverage: 87.2% of statements 00:41:36 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.224s coverage: 84.2% of statements 00:41:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.199s coverage: 91.4% of statements 00:41:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:41:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.664s coverage: 63.5% of statements 00:41:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:41:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:41:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.068s coverage: 100.0% of statements 00:41:41 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.100s coverage: 91.3% of statements 00:41:41 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.069s coverage: 100.0% of statements 00:41:41 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.088s coverage: 73.7% of statements 00:41:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.053s coverage: 100.0% of statements 00:41:48 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.945s coverage: 55.9% of statements 00:41:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:41:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:41:48 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 00:41:48 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 00:41:48 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 00:41:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.410s coverage: 37.0% of statements 00:41:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:41:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:41:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.690s coverage: 84.0% of statements 00:41:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.112s coverage: 100.0% of statements 00:41:56 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.422s coverage: 47.1% of statements 00:41:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:41:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:41:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:41:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:41:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:41:56 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.143s coverage: 100.0% of statements 00:41:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:41:56 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.125s coverage: 100.0% of statements 00:41:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:42:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.389s coverage: 29.1% of statements 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:42:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.184s coverage: 99.0% of statements 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:42:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.099s coverage: 100.0% of statements 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:42:00 ok github.com/edgexfoundry/edgex-go/internal/system 0.049s coverage: 0.0% of statements 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:42:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.050s coverage: 100.0% of statements 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:42:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:42:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.094s coverage: 87.9% of statements 00:42:01 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:42:01 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:42:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.074s coverage: 100.0% of statements 00:42:02 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.059s coverage: 32.1% of statements 00:42:03 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements 00:42:03 FAIL 00:42:04 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:42:04 $ docker stop --time=1 cbcb1481fee976b70c3388031c858b6d01e081613e889a999563d26c6baa50bd 00:42:06 $ docker rm -f cbcb1481fee976b70c3388031c858b6d01e081613e889a999563d26c6baa50bd [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:42:08 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:42:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:42:11 ---> package-listing.sh 00:42:11 ++ facter osfamily 00:42:11 ++ tr '[:upper:]' '[:lower:]' 00:42:11 + OS_FAMILY=redhat 00:42:11 + workspace=/w/workspace/edgex-go/2 00:42:11 + START_PACKAGES=/tmp/packages_start.txt 00:42:11 + END_PACKAGES=/tmp/packages_end.txt 00:42:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:42:11 + PACKAGES=/tmp/packages_start.txt 00:42:11 + '[' /w/workspace/edgex-go/2 ']' 00:42:11 + PACKAGES=/tmp/packages_end.txt 00:42:11 + case "${OS_FAMILY}" in 00:42:11 + rpm -qa 00:42:11 + sort 00:42:16 + '[' -f /tmp/packages_start.txt ']' 00:42:16 + '[' -f /tmp/packages_end.txt ']' 00:42:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:42:16 + '[' /w/workspace/edgex-go/2 ']' 00:42:16 + mkdir -p /w/workspace/edgex-go/2/archives/ 00:42:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 00:42:16 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:42:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:42:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:17 00:42:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:42:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:17 alpine: Pulling from edgex-lftools-log-publisher 00:42:17 df20fa9351a1: Pulling fs layer 00:42:17 36b3adc4ff6f: Pulling fs layer 00:42:17 8ad3a11d3b57: Pulling fs layer 00:42:17 46f8f816bc3b: Pulling fs layer 00:42:17 93b61091891f: Pulling fs layer 00:42:17 93b9cdb0e59b: Pulling fs layer 00:42:17 5e14af77c1be: Pulling fs layer 00:42:17 01666e4c0597: Pulling fs layer 00:42:17 aa168da1d23b: Pulling fs layer 00:42:17 46f8f816bc3b: Waiting 00:42:17 93b61091891f: Waiting 00:42:17 93b9cdb0e59b: Waiting 00:42:17 5e14af77c1be: Waiting 00:42:17 01666e4c0597: Waiting 00:42:17 aa168da1d23b: Waiting 00:42:17 36b3adc4ff6f: Verifying Checksum 00:42:17 36b3adc4ff6f: Download complete 00:42:17 46f8f816bc3b: Verifying Checksum 00:42:17 46f8f816bc3b: Download complete 00:42:18 df20fa9351a1: Verifying Checksum 00:42:18 df20fa9351a1: Download complete 00:42:18 93b9cdb0e59b: Verifying Checksum 00:42:18 93b9cdb0e59b: Download complete 00:42:18 93b61091891f: Download complete 00:42:18 5e14af77c1be: Verifying Checksum 00:42:18 5e14af77c1be: Download complete 00:42:18 01666e4c0597: Verifying Checksum 00:42:18 01666e4c0597: Download complete 00:42:18 df20fa9351a1: Pull complete 00:42:18 8ad3a11d3b57: Verifying Checksum 00:42:18 8ad3a11d3b57: Download complete 00:42:18 36b3adc4ff6f: Pull complete 00:42:19 8ad3a11d3b57: Pull complete 00:42:19 46f8f816bc3b: Pull complete 00:42:20 93b61091891f: Pull complete 00:42:20 93b9cdb0e59b: Pull complete 00:42:20 5e14af77c1be: Pull complete 00:42:20 01666e4c0597: Pull complete 00:42:21 aa168da1d23b: Verifying Checksum 00:42:21 aa168da1d23b: Download complete 00:42:27 aa168da1d23b: Pull complete 00:42:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:42:27 prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container 00:42:27 $ 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:42:32 $ docker top f056c54b295dacc8e8620d6b7502280497f2c2f92c4fc6c2dd2ada2bd538bab3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:32 + touch /tmp/pre-build-complete [Pipeline] sh 00:42:33 + mkdir -p /var/log/sa [Pipeline] sh 00:42:33 + ls /var/log/sa-host 00:42:33 + sadf -c /var/log/sa-host/sa18 00:42:33 file_magic: OK 00:42:33 HZ: Using current value: 100 00:42:33 file_header: OK 00:42:33 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:42:33 Statistics: 00:42:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:42:33 File successfully converted to sysstat format version 12.2.1 00:42:33 + sadf -c /var/log/sa-host/sa23 00:42:33 file_magic: OK 00:42:33 HZ: Using current value: 100 00:42:33 file_header: OK 00:42:33 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:42:33 Statistics: 00:42:33 Hnuu...uuuununununu... 00:42:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:34 provisioning config files... 00:42:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config8092525538645076717tmp [Pipeline] { [Pipeline] echo 00:42:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:42:34 ---> create-netrc.sh [Pipeline] } 00:42:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:42:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:42:35 ---> python-tools-install.sh [Pipeline] echo 00:42:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:42:35 ---> sudo-logs.sh 00:42:35 Archiving 'sudo' log.. [Pipeline] echo 00:42:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:42:35 ---> job-cost.sh 00:42:35 lf-activate-venv: SKIPPING 00:42:35 INFO: No Stack... 00:42:36 INFO: Retrieving Pricing Info for: v1-standard-2 00:42:37 INFO: Archiving Costs [Pipeline] echo 00:42:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:42:37 ---> logs-deploy.sh 00:42:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2958/2 00:42:37 INFO: archiving workspace using pattern(s): 00:42:39 Archives upload complete. 00:42:39 INFO: archiving logs to Nexus 00:42:40 ---> uname -a: 00:42:40 Linux prd-centos7-docker-4c-2g-16662.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:42:40 00:42:40 00:42:40 ---> lscpu: 00:42:40 Architecture: x86_64 00:42:40 CPU op-mode(s): 32-bit, 64-bit 00:42:40 Byte Order: Little Endian 00:42:40 Address sizes: 40 bits physical, 48 bits virtual 00:42:40 CPU(s): 4 00:42:40 On-line CPU(s) list: 0-3 00:42:40 Thread(s) per core: 1 00:42:40 Core(s) per socket: 1 00:42:40 Socket(s): 4 00:42:40 NUMA node(s): 1 00:42:40 Vendor ID: GenuineIntel 00:42:40 CPU family: 6 00:42:40 Model: 44 00:42:40 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:42:40 Stepping: 1 00:42:40 CPU MHz: 2933.442 00:42:40 BogoMIPS: 5866.88 00:42:40 Virtualization: VT-x 00:42:40 Hypervisor vendor: KVM 00:42:40 Virtualization type: full 00:42:40 L1d cache: 128 KiB 00:42:40 L1i cache: 128 KiB 00:42:40 L2 cache: 16 MiB 00:42:40 L3 cache: 64 MiB 00:42:40 NUMA node0 CPU(s): 0-3 00:42:40 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:42:40 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:42:40 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:42:40 Vulnerability Meltdown: Mitigation; PTI 00:42:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:42:40 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:42:40 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:42:40 Vulnerability Srbds: Not affected 00:42:40 Vulnerability Tsx async abort: Not affected 00:42:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 00:42:40 00:42:40 00:42:40 ---> nproc: 00:42:40 4 00:42:40 00:42:40