Pull request #236 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lindseysimple for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at ce12e3ca5eff886d773c4b0e75431aaee5057a0a rather than f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 Obtained Jenkinsfile from ce12e3ca5eff886d773c4b0e75431aaee5057a0a Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, goVersion:1.13, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3703 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-236 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ce12e3ca5eff886d773c4b0e75431aaee5057a0a into PR head commit f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 Checking out Revision f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 (PR-236) > git config core.sparsecheckout # timeout=10 > git checkout -f f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 # 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 ce12e3ca5eff886d773c4b0e75431aaee5057a0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 # timeout=10 Commit message: "Create core data DTOs and models for V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:04:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:04:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:04:58 ========================================================= 10:04:58 EdgeX Global Pipelines Version Info 10:04:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7a7709466f5dc5a20505bc5d9b68bd454b471111 # timeout=10 10:05:00 ------------------- 10:05:00 stable info: 10:05:00 ------------------- 10:05:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:05:00 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 10:05:00 Message: update stable to v1.0.89 10:05:01 ------------------- 10:05:01 experimental info: 10:05:01 ------------------- 10:05:01 Commited By: **** collab-it+edgex@linuxfoundation.org 10:05:01 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 10:05:01 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 10:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:05:03 10:05:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:05:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:05:04 latest: Pulling from edgex-devops/git-semver 10:05:04 9123ac7c32f7: Pulling fs layer 10:05:04 b8cc5d1170e3: Pulling fs layer 10:05:04 2924cbbf6a41: Pulling fs layer 10:05:04 93b08a4f1073: Pulling fs layer 10:05:04 93b08a4f1073: Waiting 10:05:04 b8cc5d1170e3: Verifying Checksum 10:05:04 b8cc5d1170e3: Download complete 10:05:04 9123ac7c32f7: Verifying Checksum 10:05:04 9123ac7c32f7: Download complete 10:05:04 2924cbbf6a41: Verifying Checksum 10:05:04 2924cbbf6a41: Download complete 10:05:04 93b08a4f1073: Verifying Checksum 10:05:04 93b08a4f1073: Download complete 10:05:05 9123ac7c32f7: Pull complete 10:05:05 b8cc5d1170e3: Pull complete 10:05:06 2924cbbf6a41: Pull complete 10:05:06 93b08a4f1073: Pull complete 10:05:06 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 10:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:05:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:05:06 prd-centos7-docker-4c-2g-3703 does not seem to be running inside a container 10:05:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-236 -v /w/workspace/dry_go-mod-core-contracts_PR-236:/w/workspace/dry_go-mod-core-contracts_PR-236:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-236@tmp:/w/workspace/dry_go-mod-core-contracts_PR-236@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:05:09 $ docker top b63652da9e176d6ddd96772689e5c38dae05fd5e33062c52a5f74d9bc3aac268 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:05:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:09 [ssh-agent] Looking for ssh-agent implementation... 10:05:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:09 $ docker exec b63652da9e176d6ddd96772689e5c38dae05fd5e33062c52a5f74d9bc3aac268 ssh-agent 10:05:10 SSH_AUTH_SOCK=/tmp/ssh-X0XmJf5v4OxG/agent.11 10:05:10 SSH_AGENT_PID=16 10:05:10 Running ssh-add (command line suppressed) 10:05:10 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_1502131308857376732.key (/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_1502131308857376732.key) 10:05:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:11 + git describe --exact-match --tags HEAD 10:05:11 fatal: No names found, cannot describe anything. [Pipeline] } 10:05:11 $ docker exec --env ******** --env ******** b63652da9e176d6ddd96772689e5c38dae05fd5e33062c52a5f74d9bc3aac268 ssh-agent -k 10:05:11 unset SSH_AUTH_SOCK; 10:05:11 unset SSH_AGENT_PID; 10:05:11 echo Agent pid 16 killed; 10:05:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:05:11 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:05:11 This usually means this commit has not been tagged. [Pipeline] sshagent 10:05:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:11 [ssh-agent] Looking for ssh-agent implementation... 10:05:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:11 $ docker exec b63652da9e176d6ddd96772689e5c38dae05fd5e33062c52a5f74d9bc3aac268 ssh-agent 10:05:12 SSH_AUTH_SOCK=/tmp/ssh-RXnQbNJw3JEi/agent.46 10:05:12 SSH_AGENT_PID=51 10:05:12 Running ssh-add (command line suppressed) 10:05:12 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_757848762829029369.key (/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_757848762829029369.key) 10:05:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:13 + git semver init 10:05:13 # -> Open(): unable to determine branch for HEAD 10:05:13 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-236/.git 10:05:13 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-236 10:05:13 # $SEMVER_REMOTE_NAME = origin 10:05:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:05:13 # $SEMVER_USER_NAME = edgex-jenkins 10:05:13 # $SEMVER_BRANCH = PR-236 10:05:13 # $SEMVER_TEMP = /tmp/semver-079600298 10:05:13 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 10:05:13 # '/tmp/semver-079600298' -> '/w/workspace/dry_go-mod-core-contracts_PR-236/.semver' 10:05:13 # -> Force: false 10:05:13 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-236/.semver [Pipeline] } 10:05:13 $ docker exec --env ******** --env ******** b63652da9e176d6ddd96772689e5c38dae05fd5e33062c52a5f74d9bc3aac268 ssh-agent -k 10:05:14 unset SSH_AUTH_SOCK; 10:05:14 unset SSH_AGENT_PID; 10:05:14 echo Agent pid 51 killed; 10:05:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:05:14 + git semver [Pipeline] } 10:05:14 $ docker stop --time=1 b63652da9e176d6ddd96772689e5c38dae05fd5e33062c52a5f74d9bc3aac268 10:05:16 $ docker rm -f b63652da9e176d6ddd96772689e5c38dae05fd5e33062c52a5f74d9bc3aac268 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:05:17 Stashed 75 file(s) [Pipeline] echo 10:05:17 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 10:05:32 Still waiting to schedule task 10:05:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:05:32 Still waiting to schedule task 10:05:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:07:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3704 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] ws 10:07:10 Running in /w/workspace/go-mod-core-contracts/21 [Pipeline] { [Pipeline] checkout 10:07:15 using credential edgex-jenkins-ssh 10:07:15 Cloning the remote Git repository 10:07:15 Cloning with configured refspecs honoured and without tags 10:07:16 Fetching without tags 10:07:15 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 10:07:15 > git init /w/workspace/go-mod-core-contracts/21 # timeout=10 10:07:15 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 10:07:15 > git --version # timeout=10 10:07:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:07:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 10:07:16 > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 10:07:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:07:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 10:07:17 Merging remotes/origin/master commit ce12e3ca5eff886d773c4b0e75431aaee5057a0a into PR head commit f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 10:07:17 Merge succeeded, producing f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 10:07:17 Checking out Revision f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 (PR-236) 10:07:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 10:07:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:07:17 > git config core.sparsecheckout # timeout=10 10:07:17 > git checkout -f f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 # timeout=10 10:07:17 > git remote # timeout=10 10:07:17 > git config --get remote.origin.url # timeout=10 10:07:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:17 > git merge ce12e3ca5eff886d773c4b0e75431aaee5057a0a # timeout=10 10:07:17 > git rev-parse HEAD^{commit} # timeout=10 10:07:17 > git config core.sparsecheckout # timeout=10 10:07:17 > git checkout -f f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 # timeout=10 10:07:22 Commit message: "Create core data DTOs and models for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:07:23 ========================================================= 10:07:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 10:07:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:07:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 10:07:25 Sending build context to Docker daemon 1.811MB 10:07:25 Step 1/7 : ARG BASE=golang:1.13-alpine 10:07:25 Step 2/7 : FROM ${BASE} 10:07:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:07:25 cde5963f3b93: Pulling fs layer 10:07:25 2a23fa8c16f7: Pulling fs layer 10:07:25 777b28850792: Pulling fs layer 10:07:25 8a11ddd9e578: Pulling fs layer 10:07:25 4cf88f913ddb: Pulling fs layer 10:07:25 1df406cf5192: Pulling fs layer 10:07:25 cd6300453558: Pulling fs layer 10:07:25 b9c365052c96: Pulling fs layer 10:07:25 a2d8cc88f415: Pulling fs layer 10:07:25 ea1d1ca13537: Pulling fs layer 10:07:25 3750a50a1c5e: Pulling fs layer 10:07:25 8a11ddd9e578: Waiting 10:07:25 4cf88f913ddb: Waiting 10:07:25 1df406cf5192: Waiting 10:07:25 cd6300453558: Waiting 10:07:25 b9c365052c96: Waiting 10:07:25 a2d8cc88f415: Waiting 10:07:25 ea1d1ca13537: Waiting 10:07:25 3750a50a1c5e: Waiting 10:07:25 777b28850792: Verifying Checksum 10:07:25 777b28850792: Download complete 10:07:25 2a23fa8c16f7: Download complete 10:07:25 4cf88f913ddb: Verifying Checksum 10:07:25 4cf88f913ddb: Download complete 10:07:25 1df406cf5192: Verifying Checksum 10:07:25 1df406cf5192: Download complete 10:07:25 cde5963f3b93: Download complete 10:07:26 cde5963f3b93: Pull complete 10:07:27 2a23fa8c16f7: Pull complete 10:07:27 777b28850792: Pull complete 10:07:28 cd6300453558: Verifying Checksum 10:07:28 cd6300453558: Download complete 10:07:28 a2d8cc88f415: Verifying Checksum 10:07:28 a2d8cc88f415: Download complete 10:07:29 ea1d1ca13537: Verifying Checksum 10:07:29 ea1d1ca13537: Download complete 10:07:29 3750a50a1c5e: Verifying Checksum 10:07:29 3750a50a1c5e: Download complete 10:07:30 b9c365052c96: Verifying Checksum 10:07:30 b9c365052c96: Download complete 10:07:31 8a11ddd9e578: Verifying Checksum 10:07:31 8a11ddd9e578: Download complete 10:07:43 8a11ddd9e578: Pull complete 10:07:43 4cf88f913ddb: Pull complete 10:07:43 1df406cf5192: Pull complete 10:07:47 cd6300453558: Pull complete 10:07:50 Running on prd-centos7-docker-4c-2g-3705 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] ws 10:07:50 Running in /w/workspace/go-mod-core-contracts/21 [Pipeline] { [Pipeline] checkout 10:07:52 b9c365052c96: Pull complete 10:07:52 a2d8cc88f415: Pull complete 10:07:52 using credential edgex-jenkins-ssh 10:07:52 Cloning the remote Git repository 10:07:52 Cloning with configured refspecs honoured and without tags 10:07:53 Fetching without tags 10:07:52 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 10:07:52 > git init /w/workspace/go-mod-core-contracts/21 # timeout=10 10:07:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 10:07:52 > git --version # timeout=10 10:07:52 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:07:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 10:07:53 > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 10:07:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:07:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 10:07:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 10:07:53 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:07:54 Merging remotes/origin/master commit ce12e3ca5eff886d773c4b0e75431aaee5057a0a into PR head commit f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 10:07:54 Merge succeeded, producing f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 10:07:54 Checking out Revision f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 (PR-236) 10:07:54 ea1d1ca13537: Pull complete 10:07:54 > git config core.sparsecheckout # timeout=10 10:07:54 > git checkout -f f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 # timeout=10 10:07:54 > git remote # timeout=10 10:07:54 > git config --get remote.origin.url # timeout=10 10:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:54 > git merge ce12e3ca5eff886d773c4b0e75431aaee5057a0a # timeout=10 10:07:54 > git rev-parse HEAD^{commit} # timeout=10 10:07:54 > git config core.sparsecheckout # timeout=10 10:07:54 > git checkout -f f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 # timeout=10 10:07:54 3750a50a1c5e: Pull complete 10:07:54 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 10:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 10:07:54 ---> 78745c68409d 10:07:54 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 10:07:57 Commit message: "Create core data DTOs and models for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:07:58 ========================================================= 10:07:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 10:07:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:07:59 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 10:07:59 ---> Running in 23708e569289 10:07:59 Removing intermediate container 23708e569289 10:07:59 ---> 8c1eab9a4a5a 10:07:59 Step 4/7 : RUN apk add bash 10:07:59 Sending build context to Docker daemon 1.811MB 10:07:59 Step 1/7 : ARG BASE=golang:1.13-alpine 10:07:59 Step 2/7 : FROM ${BASE} 10:07:59 ---> Running in 02a13af1723b 10:08:00 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 10:08:00 e6b0cf9c0882: Pulling fs layer 10:08:00 2848faf0eed1: Pulling fs layer 10:08:00 0f37312ad70f: Pulling fs layer 10:08:00 5788d62ee057: Pulling fs layer 10:08:00 0e6b1d234666: Pulling fs layer 10:08:00 bf5d7aec512f: Pulling fs layer 10:08:00 34c802a77dc8: Pulling fs layer 10:08:00 9eb99e56ec68: Pulling fs layer 10:08:00 27c7a5d97fbd: Pulling fs layer 10:08:00 5c102a31e300: Pulling fs layer 10:08:00 dcfb455df0a1: Pulling fs layer 10:08:00 5788d62ee057: Waiting 10:08:00 0e6b1d234666: Waiting 10:08:00 bf5d7aec512f: Waiting 10:08:00 34c802a77dc8: Waiting 10:08:00 9eb99e56ec68: Waiting 10:08:00 27c7a5d97fbd: Waiting 10:08:00 5c102a31e300: Waiting 10:08:00 dcfb455df0a1: Waiting 10:08:00 0f37312ad70f: Verifying Checksum 10:08:00 0f37312ad70f: Download complete 10:08:00 2848faf0eed1: Verifying Checksum 10:08:00 2848faf0eed1: Download complete 10:08:00 0e6b1d234666: Verifying Checksum 10:08:00 0e6b1d234666: Download complete 10:08:00 bf5d7aec512f: Verifying Checksum 10:08:00 bf5d7aec512f: Download complete 10:08:00 e6b0cf9c0882: Verifying Checksum 10:08:00 e6b0cf9c0882: Download complete 10:08:00 e6b0cf9c0882: Pull complete 10:08:00 34c802a77dc8: Verifying Checksum 10:08:00 34c802a77dc8: Download complete 10:08:00 27c7a5d97fbd: Verifying Checksum 10:08:00 27c7a5d97fbd: Download complete 10:08:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 10:08:01 5c102a31e300: Verifying Checksum 10:08:01 5c102a31e300: Download complete 10:08:01 dcfb455df0a1: Verifying Checksum 10:08:01 dcfb455df0a1: Download complete 10:08:01 9eb99e56ec68: Download complete 10:08:01 5788d62ee057: Verifying Checksum 10:08:02 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 10:08:02 2848faf0eed1: Pull complete 10:08:02 OK: 125 MiB in 39 packages 10:08:02 0f37312ad70f: Pull complete 10:08:04 Removing intermediate container 02a13af1723b 10:08:04 ---> 03276f7801bf 10:08:04 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 10:08:04 ---> Running in 5e9cdd0a12cd 10:08:04 Removing intermediate container 5e9cdd0a12cd 10:08:04 ---> 95587185e1c6 10:08:04 Step 6/7 : COPY go.mod . 10:08:05 ---> ce3d108dfe31 10:08:05 Step 7/7 : RUN go mod download 10:08:05 ---> Running in 3c57c56576e9 10:08:07 go: finding github.com/davecgh/go-spew v1.1.0 10:08:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:08:07 go: finding github.com/go-kit/kit v0.8.0 10:08:07 go: finding github.com/go-logfmt/logfmt v0.4.0 10:08:07 go: finding github.com/go-playground/assert/v2 v2.0.1 10:08:07 go: finding github.com/go-playground/locales v0.13.0 10:08:07 go: finding github.com/go-playground/universal-translator v0.17.0 10:08:07 go: finding github.com/go-playground/validator/v10 v10.3.0 10:08:07 go: finding github.com/go-stack/stack v1.8.0 10:08:07 go: finding github.com/google/uuid v1.1.0 10:08:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:08:07 go: finding github.com/leodido/go-urn v1.2.0 10:08:07 go: finding github.com/pmezard/go-difflib v1.0.0 10:08:07 go: finding github.com/stretchr/objx v0.1.0 10:08:07 go: finding github.com/stretchr/testify v1.4.0 10:08:07 go: finding github.com/x448/float16 v0.8.4 10:08:07 go: finding golang.org/x/text v0.3.2 10:08:07 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 10:08:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:08:07 go: finding gopkg.in/yaml.v2 v2.2.2 10:08:09 5788d62ee057: Pull complete 10:08:09 0e6b1d234666: Pull complete 10:08:09 bf5d7aec512f: Pull complete 10:08:13 34c802a77dc8: Pull complete 10:08:16 9eb99e56ec68: Pull complete 10:08:16 27c7a5d97fbd: Pull complete 10:08:16 5c102a31e300: Pull complete 10:08:17 dcfb455df0a1: Pull complete 10:08:17 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 10:08:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 10:08:17 ---> 7c70fe431013 10:08:17 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 10:08:19 ---> Running in c99ca1948428 10:08:19 Removing intermediate container c99ca1948428 10:08:19 ---> f635c164dada 10:08:19 Step 4/7 : RUN apk add bash 10:08:19 ---> Running in 6fb4b1b1b297 10:08:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 10:08:20 Removing intermediate container 3c57c56576e9 10:08:20 ---> b54ee415bd39 10:08:20 Successfully built b54ee415bd39 10:08:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:08:21 + docker inspect -f . ci-base-image-arm64 10:08:21 . [Pipeline] withDockerContainer 10:08:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 10:08:21 OK: 143 MiB in 39 packages 10:08:21 prd-ubuntu18.04-docker-arm64-4c-16g-3704 does not seem to be running inside a container 10:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/21 -v /w/workspace/go-mod-core-contracts/21:/w/workspace/go-mod-core-contracts/21:rw,z -v /w/workspace/go-mod-core-contracts/21@tmp:/w/workspace/go-mod-core-contracts/21@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 ******** ci-base-image-arm64 cat 10:08:22 Removing intermediate container 6fb4b1b1b297 10:08:22 ---> f29d8ffaf199 10:08:22 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 10:08:22 ---> Running in ddf3e64981a5 10:08:22 Removing intermediate container ddf3e64981a5 10:08:22 ---> dd8cca3b2e19 10:08:22 Step 6/7 : COPY go.mod . 10:08:22 ---> bb33b061962b 10:08:22 Step 7/7 : RUN go mod download 10:08:22 ---> Running in 9ae1c399a259 10:08:23 $ docker top 9a3d121cfc074603ed14e3a6aeef5bea19ddff763ed2a2096493bd1ea8342820 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:23 go: finding github.com/davecgh/go-spew v1.1.0 10:08:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:08:23 go: finding github.com/go-kit/kit v0.8.0 10:08:23 go: finding github.com/go-logfmt/logfmt v0.4.0 10:08:23 go: finding github.com/go-playground/assert/v2 v2.0.1 10:08:23 go: finding github.com/go-playground/locales v0.13.0 10:08:23 go: finding github.com/go-playground/universal-translator v0.17.0 10:08:23 go: finding github.com/go-playground/validator/v10 v10.3.0 10:08:23 go: finding github.com/go-stack/stack v1.8.0 10:08:23 go: finding github.com/google/uuid v1.1.0 10:08:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:08:23 go: finding github.com/leodido/go-urn v1.2.0 10:08:23 go: finding github.com/pmezard/go-difflib v1.0.0 10:08:23 go: finding github.com/stretchr/objx v0.1.0 10:08:23 go: finding github.com/stretchr/testify v1.4.0 10:08:23 go: finding github.com/x448/float16 v0.8.4 10:08:23 go: finding golang.org/x/text v0.3.2 10:08:23 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 10:08:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:08:23 go: finding gopkg.in/yaml.v2 v2.2.2 10:08:24 + go version 10:08:24 go version go1.13.5 linux/arm64 [Pipeline] sh 10:08:25 + make test 10:08:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:08:32 Removing intermediate container 9ae1c399a259 10:08:32 ---> d10740c2e563 10:08:32 Successfully built d10740c2e563 10:08:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:08:32 + docker inspect -f . ci-base-image-x86_64 10:08:32 . [Pipeline] withDockerContainer 10:08:32 prd-centos7-docker-4c-2g-3705 does not seem to be running inside a container 10:08:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/21 -v /w/workspace/go-mod-core-contracts/21:/w/workspace/go-mod-core-contracts/21:rw,z -v /w/workspace/go-mod-core-contracts/21@tmp:/w/workspace/go-mod-core-contracts/21@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 ******** ci-base-image-x86_64 cat 10:08:33 $ docker top 8d17ebba41c0342dbbcb27970f38a6fa07b0e62d2b3943c40a3c35ffb3e251cc -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:33 + go version 10:08:33 go version go1.13.5 linux/amd64 [Pipeline] sh 10:08:34 + make test 10:08:34 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:08:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 10:08:42 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.017s coverage: 85.7% of statements 10:08:42 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.011s coverage: 100.0% of statements 10:08:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.014s coverage: 45.4% of statements 10:08:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.006s coverage: 77.8% of statements 10:08:43 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 10:08:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.009s coverage: 6.4% of statements 10:08:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.035s coverage: 14.4% of statements 10:08:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.024s coverage: 100.0% of statements 10:08:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.056s coverage: 100.0% of statements 10:08:44 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 10:08:44 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 10:08:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.011s coverage: 100.0% of statements 10:08:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.042s coverage: 100.0% of statements 10:08:46 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.030s coverage: 62.5% of statements 10:08:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.019s coverage: 26.3% of statements 10:08:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.014s coverage: 15.4% of statements 10:08:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.004s coverage: 15.4% of statements 10:08:46 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.007s coverage: 14.3% of statements 10:08:46 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 10:08:47 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.004s coverage: 83.3% of statements 10:08:47 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 10:08:47 {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":"TestDevice","origin":1587540776,"readings":null} 10:08:47 --- FAIL: TestAddEvent_UnmarshalJSON (0.00s) 10:08:47 --- FAIL: TestAddEvent_UnmarshalJSON/unmarshal_AddEventRequest_with_success (0.00s) 10:08:47 event_test.go:78: 10:08:47 Error Trace: event_test.go:78 10:08:47 Error: Received unexpected error: 10:08:47 Origin field is not a Unix timestamp. 10:08:47 Test: TestAddEvent_UnmarshalJSON/unmarshal_AddEventRequest_with_success 10:08:47 FAIL 10:08:47 coverage: 91.3% of statements 10:08:47 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.008s 10:08:47 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 10:08:47 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 10:08:47 FAIL 10:08:47 make: *** [Makefile:6: test] Error 1 [Pipeline] } 10:08:47 $ docker stop --time=1 8d17ebba41c0342dbbcb27970f38a6fa07b0e62d2b3943c40a3c35ffb3e251cc 10:08:48 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 10:08:48 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.064s coverage: 85.7% of statements 10:08:48 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.059s coverage: 100.0% of statements 10:08:49 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.044s coverage: 45.4% of statements 10:08:49 $ docker rm -f 8d17ebba41c0342dbbcb27970f38a6fa07b0e62d2b3943c40a3c35ffb3e251cc 10:08:50 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.053s coverage: 77.8% of statements 10:08:50 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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 10:08:50 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.023s coverage: 6.4% of statements [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" 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] } 10:08:50 Failed in branch amd64 10:08:52 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.068s coverage: 14.4% of statements 10:08:52 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.046s coverage: 100.0% of statements 10:08:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.106s coverage: 100.0% of statements 10:08:53 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 10:08:53 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 10:08:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.023s coverage: 100.0% of statements 10:08:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.547s coverage: 100.0% of statements 10:08:58 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.102s coverage: 62.5% of statements 10:08:58 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.027s coverage: 26.3% of statements 10:08:58 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.038s coverage: 15.4% of statements 10:08:58 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.034s coverage: 15.4% of statements 10:08:59 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.013s coverage: 14.3% of statements 10:08:59 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 10:09:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.018s coverage: 83.3% of statements 10:09:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 10:09:01 {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":"TestDevice","origin":1587540776,"readings":null} 10:09:01 --- FAIL: TestAddEvent_UnmarshalJSON (0.00s) 10:09:01 --- FAIL: TestAddEvent_UnmarshalJSON/unmarshal_AddEventRequest_with_success (0.00s) 10:09:01 event_test.go:78: 10:09:01 Error Trace: event_test.go:78 10:09:01 Error: Received unexpected error: 10:09:01 Origin field is not a Unix timestamp. 10:09:01 Test: TestAddEvent_UnmarshalJSON/unmarshal_AddEventRequest_with_success 10:09:01 FAIL 10:09:01 coverage: 91.3% of statements 10:09:01 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.029s 10:09:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 10:09:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 10:09:01 FAIL 10:09:01 make: *** [Makefile:6: test] Error 1 [Pipeline] } 10:09:01 $ docker stop --time=1 9a3d121cfc074603ed14e3a6aeef5bea19ddff763ed2a2096493bd1ea8342820 10:09:03 $ docker rm -f 9a3d121cfc074603ed14e3a6aeef5bea19ddff763ed2a2096493bd1ea8342820 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:09:04 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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 10:09:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:09:06 ---> package-listing.sh 10:09:06 ++ facter osfamily 10:09:06 ++ tr '[:upper:]' '[:lower:]' 10:09:06 + OS_FAMILY=redhat 10:09:06 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-236 10:09:06 + START_PACKAGES=/tmp/packages_start.txt 10:09:06 + END_PACKAGES=/tmp/packages_end.txt 10:09:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:09:06 + PACKAGES=/tmp/packages_start.txt 10:09:06 + '[' /w/workspace/dry_go-mod-core-contracts_PR-236 ']' 10:09:06 + PACKAGES=/tmp/packages_end.txt 10:09:06 + case "${OS_FAMILY}" in 10:09:06 + sort 10:09:06 + rpm -qa 10:09:12 + '[' -f /tmp/packages_start.txt ']' 10:09:12 + '[' -f /tmp/packages_end.txt ']' 10:09:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:09:12 + '[' /w/workspace/dry_go-mod-core-contracts_PR-236 ']' 10:09:12 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-236/archives/ 10:09:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-236/archives/ [Pipeline] isUnix [Pipeline] sh 10:09:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:09:12 10:09:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:09:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:09:13 alpine: Pulling from edgex-lftools-log-publisher 10:09:13 c9b1b535fdd9: Pulling fs layer 10:09:13 2cc5ad85d9ab: Pulling fs layer 10:09:13 756a868c4378: Pulling fs layer 10:09:13 444b2fc9a129: Pulling fs layer 10:09:13 ea15f1150254: Pulling fs layer 10:09:13 41b27a9f41bf: Pulling fs layer 10:09:13 28c525ee5125: Pulling fs layer 10:09:13 094b1ea09ed8: Pulling fs layer 10:09:13 138eaada9080: Pulling fs layer 10:09:13 0622d0fa9048: Pulling fs layer 10:09:13 41b27a9f41bf: Waiting 10:09:13 28c525ee5125: Waiting 10:09:13 094b1ea09ed8: Waiting 10:09:13 138eaada9080: Waiting 10:09:13 444b2fc9a129: Waiting 10:09:13 0622d0fa9048: Waiting 10:09:13 ea15f1150254: Waiting 10:09:13 2cc5ad85d9ab: Verifying Checksum 10:09:13 2cc5ad85d9ab: Download complete 10:09:13 444b2fc9a129: Verifying Checksum 10:09:13 444b2fc9a129: Download complete 10:09:13 c9b1b535fdd9: Verifying Checksum 10:09:13 ea15f1150254: Download complete 10:09:13 28c525ee5125: Verifying Checksum 10:09:13 28c525ee5125: Download complete 10:09:14 756a868c4378: Verifying Checksum 10:09:14 756a868c4378: Download complete 10:09:14 c9b1b535fdd9: Pull complete 10:09:14 138eaada9080: Verifying Checksum 10:09:14 138eaada9080: Download complete 10:09:15 0622d0fa9048: Verifying Checksum 10:09:15 0622d0fa9048: Download complete 10:09:15 094b1ea09ed8: Verifying Checksum 10:09:15 094b1ea09ed8: Download complete 10:09:15 41b27a9f41bf: Verifying Checksum 10:09:15 41b27a9f41bf: Download complete 10:09:16 2cc5ad85d9ab: Pull complete 10:09:18 756a868c4378: Pull complete 10:09:18 444b2fc9a129: Pull complete 10:09:19 ea15f1150254: Pull complete 10:09:26 41b27a9f41bf: Pull complete 10:09:26 28c525ee5125: Pull complete 10:09:30 094b1ea09ed8: Pull complete 10:09:30 138eaada9080: Pull complete 10:09:30 0622d0fa9048: Pull complete 10:09:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 10:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:09:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:09:30 prd-centos7-docker-4c-2g-3703 does not seem to be running inside a container 10:09:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dry_go-mod-core-contracts_PR-236 -v /w/workspace/dry_go-mod-core-contracts_PR-236:/w/workspace/dry_go-mod-core-contracts_PR-236:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-236@tmp:/w/workspace/dry_go-mod-core-contracts_PR-236@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:09:33 $ docker top 3e179d00df0fcb2350fc76dbec463da3a39666f3d898e56e16fa2b733cdf989c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:34 provisioning config files... 10:09:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/config8510178198454693996tmp [Pipeline] { [Pipeline] echo 10:09:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:09:34 ---> create-netrc.sh [Pipeline] echo 10:09:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:09:34 ---> logs-deploy.sh 10:09:34 + ARCHIVE_ARTIFACTS= 10:09:34 + LOGS_SERVER=https://logs.edgexfoundry.org 10:09:34 + '[' https://logs.edgexfoundry.org == None ']' 10:09:34 + NEXUS_URL=https://nexus.edgexfoundry.org 10:09:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/21 10:09:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-236/21/ 10:09:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/21 /w/workspace/dry_go-mod-core-contracts_PR-236 10:09:36 Archives upload complete. 10:09:36 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/21 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-236/21/