Pull request #286 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 jpwhitemn for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 935a840f4c2285428cea98caa141869245fc97fc+9ed7be16d849faef73e281002eeec433bb10e1df (25355c3726761a34ce83511c9e6355a10d15ec2b) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2361 in /w/workspace/dry_go-mod-core-contracts_PR-286 [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-286 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/286/head:refs/remotes/origin/PR-286 +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 > git config --add remote.origin.fetch +refs/pull/286/head:refs/remotes/origin/PR-286 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9ed7be16d849faef73e281002eeec433bb10e1df into PR head commit 935a840f4c2285428cea98caa141869245fc97fc Merge succeeded, producing 935a840f4c2285428cea98caa141869245fc97fc Checking out Revision 935a840f4c2285428cea98caa141869245fc97fc (PR-286) > 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/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 935a840f4c2285428cea98caa141869245fc97fc # 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 9ed7be16d849faef73e281002eeec433bb10e1df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 935a840f4c2285428cea98caa141869245fc97fc # timeout=10 Commit message: "build: update to go 1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 33d00de26557d85565ddf191a1d3971b39057a86 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:21 ========================================================= 22:10:21 EdgeX Global Pipelines Version Info 22:10:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:23 ------------------- 22:10:23 stable info: 22:10:23 ------------------- 22:10:23 Commited By: Emilio Reyes emilio.reyes@intel.com 22:10:23 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 22:10:23 Message: update stable to v1.0.119 22:10:24 ------------------- 22:10:24 experimental info: 22:10:24 ------------------- 22:10:24 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:24 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 22:10:24 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:10:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 22:10:24 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 22:10:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-286 [Pipeline] echo 22:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-286 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-286 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 935a840f4c2285428cea98caa141869245fc97fc [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 935a840 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:28 + git log --format=format:%s -1 935a840f4c2285428cea98caa141869245fc97fc [Pipeline] echo 22:10:28 GIT_COMMIT: 935a840f4c2285428cea98caa141869245fc97fc, Commit Message: build: update to go 1.15 [Pipeline] echo 22:10:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:10:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:10:29 22:10:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:10:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:10:29 latest: Pulling from edgex-devops/git-semver 22:10:29 31603596830f: Pulling fs layer 22:10:29 2a8b12db71e7: Pulling fs layer 22:10:29 6ca5941a6612: Pulling fs layer 22:10:29 ecc8261a40a4: Pulling fs layer 22:10:29 ecc8261a40a4: Waiting 22:10:29 2a8b12db71e7: Verifying Checksum 22:10:29 2a8b12db71e7: Download complete 22:10:29 31603596830f: Download complete 22:10:30 ecc8261a40a4: Verifying Checksum 22:10:30 ecc8261a40a4: Download complete 22:10:30 6ca5941a6612: Verifying Checksum 22:10:30 6ca5941a6612: Download complete 22:10:30 31603596830f: Pull complete 22:10:30 2a8b12db71e7: Pull complete 22:10:31 6ca5941a6612: Pull complete 22:10:31 ecc8261a40a4: Pull complete 22:10:31 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:10:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:10:31 prd-centos7-docker-4c-2g-2361 does not seem to be running inside a container 22:10:31 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-286 -v /w/workspace/dry_go-mod-core-contracts_PR-286:/w/workspace/dry_go-mod-core-contracts_PR-286:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-286@tmp:/w/workspace/dry_go-mod-core-contracts_PR-286@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:10:34 $ docker top 8b9e8f2f989c7516a0f0fbf4ea022081998c80f2d0d82eef1038732168f74ee1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:34 [ssh-agent] Looking for ssh-agent implementation... 22:10:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:34 $ docker exec 8b9e8f2f989c7516a0f0fbf4ea022081998c80f2d0d82eef1038732168f74ee1 ssh-agent 22:10:34 SSH_AUTH_SOCK=/tmp/ssh-iURstRZ8UmHI/agent.12 22:10:34 SSH_AGENT_PID=18 22:10:34 Running ssh-add (command line suppressed) 22:10:34 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_3170757633106628270.key (/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_3170757633106628270.key) 22:10:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:35 + git describe --exact-match --tags HEAD 22:10:35 fatal: No names found, cannot describe anything. [Pipeline] } 22:10:35 $ docker exec --env ******** --env ******** 8b9e8f2f989c7516a0f0fbf4ea022081998c80f2d0d82eef1038732168f74ee1 ssh-agent -k 22:10:35 unset SSH_AUTH_SOCK; 22:10:35 unset SSH_AGENT_PID; 22:10:35 echo Agent pid 18 killed; 22:10:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:10:35 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:10:35 This usually means this commit has not been tagged. [Pipeline] sshagent 22:10:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:35 [ssh-agent] Looking for ssh-agent implementation... 22:10:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:35 $ docker exec 8b9e8f2f989c7516a0f0fbf4ea022081998c80f2d0d82eef1038732168f74ee1 ssh-agent 22:10:36 SSH_AUTH_SOCK=/tmp/ssh-6DSYzNzmfzdE/agent.46 22:10:36 SSH_AGENT_PID=51 22:10:36 Running ssh-add (command line suppressed) 22:10:36 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_3819140391553225949.key (/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_3819140391553225949.key) 22:10:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:36 + git semver init 22:10:36 # -> Open(): unable to determine branch for HEAD 22:10:36 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-286/.git 22:10:36 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-286 22:10:36 # $SEMVER_REMOTE_NAME = origin 22:10:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:10:36 # $SEMVER_USER_NAME = edgex-jenkins 22:10:36 # $SEMVER_BRANCH = PR-286 22:10:36 # $SEMVER_TEMP = /tmp/semver-161530735 22:10:36 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 22:10:37 # '/tmp/semver-161530735' -> '/w/workspace/dry_go-mod-core-contracts_PR-286/.semver' 22:10:37 # -> Force: false 22:10:37 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-286/.semver [Pipeline] } 22:10:37 $ docker exec --env ******** --env ******** 8b9e8f2f989c7516a0f0fbf4ea022081998c80f2d0d82eef1038732168f74ee1 ssh-agent -k 22:10:37 unset SSH_AUTH_SOCK; 22:10:37 unset SSH_AGENT_PID; 22:10:37 echo Agent pid 51 killed; 22:10:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:37 + git semver [Pipeline] } 22:10:37 $ docker stop --time=1 8b9e8f2f989c7516a0f0fbf4ea022081998c80f2d0d82eef1038732168f74ee1 22:10:39 $ docker rm -f 8b9e8f2f989c7516a0f0fbf4ea022081998c80f2d0d82eef1038732168f74ee1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:10:40 Stashed 94 file(s) [Pipeline] echo 22:10:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 22:10:40 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 22:10:56 Still waiting to schedule task 22:10:56 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:10:56 Still waiting to schedule task 22:10:56 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:13:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2366 in /w/workspace/dry_go-mod-core-contracts_PR-286 [Pipeline] { [Pipeline] ws 22:13:10 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 22:13:16 using credential edgex-jenkins-ssh 22:13:16 Cloning the remote Git repository 22:13:16 Cloning with configured refspecs honoured and without tags 22:13:16 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 22:13:16 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 22:13:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 22:13:16 > git --version # timeout=10 22:13:16 > git --version # 'git version 2.17.1' 22:13:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:13:17 Fetching without tags 22:13:18 Merging remotes/origin/master commit 9ed7be16d849faef73e281002eeec433bb10e1df into PR head commit 935a840f4c2285428cea98caa141869245fc97fc 22:13:17 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 22:13:17 > git config --add remote.origin.fetch +refs/pull/286/head:refs/remotes/origin/PR-286 # timeout=10 22:13:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:13:17 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 22:13:17 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 22:13:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:13:18 > git config core.sparsecheckout # timeout=10 22:13:18 > git checkout -f 935a840f4c2285428cea98caa141869245fc97fc # timeout=10 22:13:18 > git remote # timeout=10 22:13:18 > git config --get remote.origin.url # timeout=10 22:13:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:18 > git merge 9ed7be16d849faef73e281002eeec433bb10e1df # timeout=10 22:13:18 Merge succeeded, producing 935a840f4c2285428cea98caa141869245fc97fc 22:13:18 Checking out Revision 935a840f4c2285428cea98caa141869245fc97fc (PR-286) 22:13:18 > git rev-parse HEAD^{commit} # timeout=10 22:13:18 > git config core.sparsecheckout # timeout=10 22:13:18 > git checkout -f 935a840f4c2285428cea98caa141869245fc97fc # timeout=10 22:13:22 Commit message: "build: update to go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:13:24 ========================================================= 22:13:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:13:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:13:25 + 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 . 22:13:26 Sending build context to Docker daemon 2.256MB 22:13:26 Step 1/7 : ARG BASE=golang:1.15-alpine 22:13:26 Step 2/7 : FROM ${BASE} 22:13:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:26 b538f80385f9: Pulling fs layer 22:13:26 74f711af9a0d: Pulling fs layer 22:13:26 99f96fe45779: Pulling fs layer 22:13:26 8529a6b9a6be: Pulling fs layer 22:13:26 45590311c82a: Pulling fs layer 22:13:26 69ca0ff8b7b3: Pulling fs layer 22:13:26 209524e5b208: Pulling fs layer 22:13:26 8529a6b9a6be: Waiting 22:13:26 45590311c82a: Waiting 22:13:26 69ca0ff8b7b3: Waiting 22:13:26 209524e5b208: Waiting 22:13:26 99f96fe45779: Verifying Checksum 22:13:26 99f96fe45779: Download complete 22:13:26 74f711af9a0d: Verifying Checksum 22:13:26 74f711af9a0d: Download complete 22:13:27 45590311c82a: Download complete 22:13:27 69ca0ff8b7b3: Verifying Checksum 22:13:27 69ca0ff8b7b3: Download complete 22:13:27 b538f80385f9: Verifying Checksum 22:13:27 b538f80385f9: Download complete 22:13:27 b538f80385f9: Pull complete 22:13:28 74f711af9a0d: Pull complete 22:13:29 99f96fe45779: Pull complete 22:13:29 209524e5b208: Verifying Checksum 22:13:29 209524e5b208: Download complete 22:13:31 8529a6b9a6be: Verifying Checksum 22:13:31 8529a6b9a6be: Download complete 22:13:33 Running on prd-centos7-docker-4c-2g-2367 in /w/workspace/dry_go-mod-core-contracts_PR-286 [Pipeline] { [Pipeline] ws 22:13:33 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 22:13:40 using credential edgex-jenkins-ssh 22:13:40 Cloning the remote Git repository 22:13:40 Cloning with configured refspecs honoured and without tags 22:13:40 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 22:13:40 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 22:13:40 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 22:13:40 > git --version # timeout=10 22:13:41 8529a6b9a6be: Pull complete 22:13:41 45590311c82a: Pull complete 22:13:41 69ca0ff8b7b3: Pull complete 22:13:41 Fetching without tags 22:13:40 > git --version # 'git version 2.16.5' 22:13:40 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:13:41 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 22:13:41 > git config --add remote.origin.fetch +refs/pull/286/head:refs/remotes/origin/PR-286 # timeout=10 22:13:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:13:41 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 22:13:41 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 22:13:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:42 Merging remotes/origin/master commit 9ed7be16d849faef73e281002eeec433bb10e1df into PR head commit 935a840f4c2285428cea98caa141869245fc97fc 22:13:42 Merge succeeded, producing 935a840f4c2285428cea98caa141869245fc97fc 22:13:42 Checking out Revision 935a840f4c2285428cea98caa141869245fc97fc (PR-286) 22:13:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:13:42 > git config core.sparsecheckout # timeout=10 22:13:42 > git checkout -f 935a840f4c2285428cea98caa141869245fc97fc # timeout=10 22:13:42 > git remote # timeout=10 22:13:42 > git config --get remote.origin.url # timeout=10 22:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:42 > git merge 9ed7be16d849faef73e281002eeec433bb10e1df # timeout=10 22:13:42 > git rev-parse HEAD^{commit} # timeout=10 22:13:42 > git config core.sparsecheckout # timeout=10 22:13:42 > git checkout -f 935a840f4c2285428cea98caa141869245fc97fc # timeout=10 22:13:45 209524e5b208: Pull complete 22:13:45 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 22:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:13:45 ---> 5bddaf1c2fca 22:13:45 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:13:46 Commit message: "build: update to go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 22:13:47 ---> Running in 2d54b322b5e7 [Pipeline] echo 22:13:47 ========================================================= 22:13:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:13:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:13:48 Removing intermediate container 2d54b322b5e7 22:13:48 ---> 54f908613d10 22:13:48 Step 4/7 : RUN apk add bash 22:13:48 ---> Running in 84500d78f0c8 22:13:48 + 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 . 22:13:49 Sending build context to Docker daemon 2.256MB 22:13:49 Step 1/7 : ARG BASE=golang:1.15-alpine 22:13:49 Step 2/7 : FROM ${BASE} 22:13:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:13:49 df20fa9351a1: Pulling fs layer 22:13:49 ed8968b2872e: Pulling fs layer 22:13:49 a92cc7c5fd73: Pulling fs layer 22:13:49 e871e8e8d7a9: Pulling fs layer 22:13:49 e73272ec9a57: Pulling fs layer 22:13:49 1e910a182e73: Pulling fs layer 22:13:49 4e634b169226: Pulling fs layer 22:13:49 e871e8e8d7a9: Waiting 22:13:49 e73272ec9a57: Waiting 22:13:49 1e910a182e73: Waiting 22:13:49 4e634b169226: Waiting 22:13:49 a92cc7c5fd73: Verifying Checksum 22:13:49 a92cc7c5fd73: Download complete 22:13:49 ed8968b2872e: Verifying Checksum 22:13:49 ed8968b2872e: Download complete 22:13:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:13:49 e73272ec9a57: Verifying Checksum 22:13:49 e73272ec9a57: Download complete 22:13:49 1e910a182e73: Verifying Checksum 22:13:49 1e910a182e73: Download complete 22:13:49 df20fa9351a1: Verifying Checksum 22:13:49 df20fa9351a1: Download complete 22:13:50 df20fa9351a1: Pull complete 22:13:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:13:50 ed8968b2872e: Pull complete 22:13:50 a92cc7c5fd73: Pull complete 22:13:51 OK: 142 MiB in 39 packages 22:13:52 Removing intermediate container 84500d78f0c8 22:13:52 ---> 87cf3f14923e 22:13:52 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:13:52 ---> Running in bcb222692fea 22:13:53 Removing intermediate container bcb222692fea 22:13:53 ---> 1f9feea7e3ea 22:13:53 Step 6/7 : COPY go.mod . 22:13:53 ---> 80ac9ff3f66a 22:13:53 Step 7/7 : RUN go mod download 22:13:54 ---> Running in 89fa1bae961d 22:13:56 e871e8e8d7a9: Verifying Checksum 22:13:56 e871e8e8d7a9: Download complete 22:13:56 4e634b169226: Verifying Checksum 22:13:56 4e634b169226: Download complete 22:14:06 e871e8e8d7a9: Pull complete 22:14:06 e73272ec9a57: Pull complete 22:14:06 1e910a182e73: Pull complete 22:14:09 Removing intermediate container 89fa1bae961d 22:14:09 ---> a9e33da3c483 22:14:09 Successfully built a9e33da3c483 22:14:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:14:09 + docker inspect -f . ci-base-image-arm64 22:14:09 . [Pipeline] withDockerContainer 22:14:10 prd-ubuntu18.04-docker-arm64-4c-16g-2366 does not seem to be running inside a container 22:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:14:11 4e634b169226: Pull complete 22:14:11 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 22:14:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:14:11 ---> f7629b54cfaa 22:14:11 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:14:11 ---> Running in 31bf1c72cf5a 22:14:11 Removing intermediate container 31bf1c72cf5a 22:14:11 ---> 29be9aa25a2a 22:14:11 Step 4/7 : RUN apk add bash 22:14:11 ---> Running in d954b1fe9369 22:14:12 $ docker top 7f0ddad1216a822898ab11dc956314eaae80f4bb384a4128729b8b7a3278fec6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:14:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:14:13 + go version 22:14:13 go version go1.15.2 linux/arm64 [Pipeline] sh 22:14:14 OK: 166 MiB in 39 packages 22:14:14 + make test 22:14:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:14:14 Removing intermediate container d954b1fe9369 22:14:14 ---> 475d06e19916 22:14:14 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:14:14 ---> Running in 5d28e4eefe11 22:14:15 Removing intermediate container 5d28e4eefe11 22:14:15 ---> 6988e461d897 22:14:15 Step 6/7 : COPY go.mod . 22:14:15 ---> e212591894c9 22:14:15 Step 7/7 : RUN go mod download 22:14:15 ---> Running in b64e20fa20bb 22:14:28 Removing intermediate container b64e20fa20bb 22:14:28 ---> efd128853893 22:14:28 Successfully built efd128853893 22:14:28 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 22:14:29 + docker inspect -f . ci-base-image-x86_64 22:14:29 . [Pipeline] withDockerContainer 22:14:29 prd-centos7-docker-4c-2g-2367 does not seem to be running inside a container 22:14:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:14:31 $ docker top 16b703452b3c9ed50f95fa0170232dcb1acfdaff8e5f7d7b1c5a328b301305b2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:31 + go version 22:14:31 go version go1.15.2 linux/amd64 [Pipeline] sh 22:14:32 + make test 22:14:32 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:14:36 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 22:14:36 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.042s coverage: 85.7% of statements 22:14:36 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.054s coverage: 100.0% of statements 22:14:38 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.033s coverage: 45.4% of statements 22:14:38 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.038s coverage: 77.8% of statements 22:14:38 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 22:14:38 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.016s coverage: 6.4% of statements 22:14:39 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.074s coverage: 14.7% of statements 22:14:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.053s coverage: 100.0% of statements 22:14:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.093s coverage: 91.8% of statements 22:14:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 22:14:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 22:14:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.041s coverage: 100.0% of statements 22:14:42 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 22:14:42 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.021s coverage: 45.9% of statements 22:14:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.048s coverage: 85.7% of statements 22:14:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.040s coverage: 100.0% of statements 22:14:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.039s coverage: 45.4% of statements 22:14:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.020s coverage: 77.8% of statements 22:14:44 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 22:14:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.016s coverage: 6.4% of statements 22:14:45 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.045s coverage: 14.7% of statements 22:14:45 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.034s coverage: 100.0% of statements 22:14:45 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.068s coverage: 91.8% of statements 22:14:45 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 22:14:45 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 22:14:45 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.005s coverage: 100.0% of statements 22:14:46 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.098s coverage: 63.0% of statements 22:14:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.018s coverage: 26.3% of statements 22:14:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.023s coverage: 15.4% of statements 22:14:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.023s coverage: 15.4% of statements 22:14:46 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.013s coverage: 14.3% of statements 22:14:46 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 22:14:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.077s coverage: 31.7% of statements 22:14:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.027s coverage: 100.0% of statements 22:14:48 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.076s coverage: 45.9% of statements 22:14:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.055s coverage: 95.1% of statements 22:14:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.025s coverage: 100.0% of statements 22:14:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 22:14:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.055s coverage: 63.0% of statements 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.009s coverage: 26.3% of statements 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.046s coverage: 15.4% of statements 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.016s coverage: 15.4% of statements 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.014s coverage: 14.3% of statements 22:14:51 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.029s coverage: 31.7% of statements 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.047s coverage: 100.0% of statements 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.026s coverage: 95.1% of statements 22:14:51 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.039s coverage: 100.0% of statements 22:14:51 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 22:14:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:14:53 gofmt -l . 22:14:53 [ "`gofmt -l .`" = "" ] 22:14:53 gofmt -l . 22:14:53 [ "`gofmt -l .`" = "" ] [Pipeline] stash 22:14:54 Stashed 1 file(s) [Pipeline] } 22:14:54 $ docker stop --time=1 16b703452b3c9ed50f95fa0170232dcb1acfdaff8e5f7d7b1c5a328b301305b2 22:14:56 $ docker rm -f 16b703452b3c9ed50f95fa0170232dcb1acfdaff8e5f7d7b1c5a328b301305b2 [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] } 22:14:57 Warning: overwriting stash ‘coverage-report’ [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 22:14:57 Stashed 1 file(s) [Pipeline] // stage [Pipeline] } [Pipeline] } 22:14:58 $ docker stop --time=1 7f0ddad1216a822898ab11dc956314eaae80f4bb384a4128729b8b7a3278fec6 22:15:00 $ docker rm -f 7f0ddad1216a822898ab11dc956314eaae80f4bb384a4128729b8b7a3278fec6 [Pipeline] // withEnv [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] } Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 22:15:06 provisioning config files... 22:15:06 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/config1840439096093677399tmp [Pipeline] { [Pipeline] sh 22:15:06 + curl -s https://codecov.io/bash 22:15:06 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/config1840439096093677399tmp [Pipeline] } 22:15:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:15:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:15:09 ---> package-listing.sh 22:15:09 ++ tr '[:upper:]' '[:lower:]' 22:15:09 ++ facter osfamily 22:15:09 + OS_FAMILY=redhat 22:15:09 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-286 22:15:09 + START_PACKAGES=/tmp/packages_start.txt 22:15:09 + END_PACKAGES=/tmp/packages_end.txt 22:15:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:15:09 + PACKAGES=/tmp/packages_start.txt 22:15:09 + '[' /w/workspace/dry_go-mod-core-contracts_PR-286 ']' 22:15:09 + PACKAGES=/tmp/packages_end.txt 22:15:09 + case "${OS_FAMILY}" in 22:15:09 + rpm -qa 22:15:09 + sort 22:15:12 + '[' -f /tmp/packages_start.txt ']' 22:15:12 + '[' -f /tmp/packages_end.txt ']' 22:15:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:15:12 + '[' /w/workspace/dry_go-mod-core-contracts_PR-286 ']' 22:15:12 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-286/archives/ 22:15:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-286/archives/ [Pipeline] isUnix [Pipeline] sh 22:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:15:13 22:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:15:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:15:13 alpine: Pulling from edgex-lftools-log-publisher 22:15:13 df20fa9351a1: Pulling fs layer 22:15:13 36b3adc4ff6f: Pulling fs layer 22:15:13 8ad3a11d3b57: Pulling fs layer 22:15:13 46f8f816bc3b: Pulling fs layer 22:15:13 0dadc02b9964: Pulling fs layer 22:15:13 ce6a7cf60c04: Pulling fs layer 22:15:13 7a184a31f384: Pulling fs layer 22:15:13 0879bd2ef858: Pulling fs layer 22:15:13 46f8f816bc3b: Waiting 22:15:13 0dadc02b9964: Waiting 22:15:13 ce6a7cf60c04: Waiting 22:15:13 7a184a31f384: Waiting 22:15:13 0879bd2ef858: Waiting 22:15:13 36b3adc4ff6f: Verifying Checksum 22:15:13 36b3adc4ff6f: Download complete 22:15:13 46f8f816bc3b: Verifying Checksum 22:15:13 46f8f816bc3b: Download complete 22:15:14 df20fa9351a1: Verifying Checksum 22:15:14 df20fa9351a1: Download complete 22:15:14 0dadc02b9964: Verifying Checksum 22:15:14 0dadc02b9964: Download complete 22:15:14 ce6a7cf60c04: Verifying Checksum 22:15:14 ce6a7cf60c04: Download complete 22:15:14 7a184a31f384: Verifying Checksum 22:15:14 7a184a31f384: Download complete 22:15:14 8ad3a11d3b57: Verifying Checksum 22:15:14 8ad3a11d3b57: Download complete 22:15:14 df20fa9351a1: Pull complete 22:15:14 36b3adc4ff6f: Pull complete 22:15:14 0879bd2ef858: Verifying Checksum 22:15:14 0879bd2ef858: Download complete 22:15:15 8ad3a11d3b57: Pull complete 22:15:15 46f8f816bc3b: Pull complete 22:15:15 0dadc02b9964: Pull complete 22:15:15 ce6a7cf60c04: Pull complete 22:15:16 7a184a31f384: Pull complete 22:15:19 0879bd2ef858: Pull complete 22:15:19 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 22:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:15:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:15:19 prd-centos7-docker-4c-2g-2361 does not seem to be running inside a container 22:15:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dry_go-mod-core-contracts_PR-286 -v /w/workspace/dry_go-mod-core-contracts_PR-286:/w/workspace/dry_go-mod-core-contracts_PR-286:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-286@tmp:/w/workspace/dry_go-mod-core-contracts_PR-286@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:15:23 $ docker top c382e33a98f57fcdebf5e89877d7e6e147eee1c14981f65540e32e8175c53d6c -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:23 + mkdir -p /var/log/sa [Pipeline] sh 22:15:24 + ls /var/log/sa-host 22:15:24 + sadf -c /var/log/sa-host/sa05 22:15:24 file_magic: OK 22:15:24 HZ: Using current value: 100 22:15:24 file_header: OK 22:15:24 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 22:15:24 Statistics: 22:15:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:15:24 File successfully converted to sysstat format version 12.2.1 22:15:24 + sadf -c /var/log/sa-host/sa11 22:15:24 file_magic: OK 22:15:24 HZ: Using current value: 100 22:15:24 file_header: OK 22:15:24 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 22:15:24 Statistics: 22:15:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:15:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:24 provisioning config files... 22:15:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/config7404449855711928409tmp [Pipeline] { [Pipeline] echo 22:15:24 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:15:24 ---> create-netrc.sh [Pipeline] echo 22:15:24 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:15:24 ---> logs-deploy.sh 22:15:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-286/2 22:15:24 INFO: archiving workspace using pattern(s): 22:15:26 Archives upload complete. 22:15:26 INFO: archiving logs to Nexus