Branch indexing 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 cloudxxx8 for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 6f5c3a0827eabd47dafe9bc54db47a842f950d73+c9efc357fe638ed4dbd739befcaf3df2c9dd2676 (c48780eccb6add1001a4c35ae155e7cb83108342) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6452 in /w/workspace/dry_go-mod-core-contracts_PR-345 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-345 # 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 --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c9efc357fe638ed4dbd739befcaf3df2c9dd2676 into PR head commit 6f5c3a0827eabd47dafe9bc54db47a842f950d73 Merge succeeded, producing 833786e239bc2f862d4adcd1b3debb7b818dd80d Checking out Revision 833786e239bc2f862d4adcd1b3debb7b818dd80d (PR-345) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/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 --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f5c3a0827eabd47dafe9bc54db47a842f950d73 # 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 c9efc357fe638ed4dbd739befcaf3df2c9dd2676 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 833786e239bc2f862d4adcd1b3debb7b818dd80d # timeout=10 Commit message: "Merge commit 'c9efc357fe638ed4dbd739befcaf3df2c9dd2676' into HEAD" > git rev-list --no-walk 6f5c3a0827eabd47dafe9bc54db47a842f950d73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-20T00:43:15.645Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-20T00:43:15.942Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-20T00:43:16.092Z] ========================================================= [2020-10-20T00:43:16.092Z] EdgeX Global Pipelines Version Info [2020-10-20T00:43:16.092Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-20T00:43:17.970Z] ------------------- [2020-10-20T00:43:17.970Z] stable info: [2020-10-20T00:43:17.970Z] ------------------- [2020-10-20T00:43:17.970Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-20T00:43:17.970Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-20T00:43:17.970Z] Message: update stable to v1.0.144 [2020-10-20T00:43:18.545Z] ------------------- [2020-10-20T00:43:18.545Z] experimental info: [2020-10-20T00:43:18.545Z] ------------------- [2020-10-20T00:43:18.545Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-20T00:43:18.545Z] Commit SHA: c640cc8e0f176a0a86b153ebfcb15f3e2f33f7bd [2020-10-20T00:43:18.545Z] Message: update experimental to v1.0.145 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-20T00:43:18.892Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-10-20T00:43:18.985Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-10-20T00:43:19.081Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-20T00:43:19.180Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-20T00:43:19.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-20T00:43:19.423Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-20T00:43:19.531Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-20T00:43:19.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-20T00:43:19.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-20T00:43:19.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-20T00:43:20.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-20T00:43:20.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-10-20T00:43:20.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-20T00:43:20.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-20T00:43:20.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T00:43:20.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T00:43:21.051Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T00:43:21.198Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T00:43:21.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-10-20T00:43:21.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-20T00:43:21.489Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-20T00:43:21.613Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-20T00:43:21.723Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-20T00:43:21.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-20T00:43:21.909Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-10-20T00:43:22.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-345 [Pipeline] echo [2020-10-20T00:43:22.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-345 [Pipeline] echo [2020-10-20T00:43:22.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-345 [Pipeline] echo [2020-10-20T00:43:22.333Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 833786e239bc2f862d4adcd1b3debb7b818dd80d [Pipeline] echo [2020-10-20T00:43:22.436Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 833786e [Pipeline] echo [2020-10-20T00:43:22.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-20T00:43:23.230Z] + git log --format=format:%s -1 833786e239bc2f862d4adcd1b3debb7b818dd80d [Pipeline] echo [2020-10-20T00:43:23.293Z] GIT_COMMIT: 833786e239bc2f862d4adcd1b3debb7b818dd80d, Commit Message: Merge commit 'c9efc357fe638ed4dbd739befcaf3df2c9dd2676' into HEAD [Pipeline] echo [2020-10-20T00:43:23.340Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:43:24.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T00:43:24.341Z] [2020-10-20T00:43:24.341Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:43:24.710Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T00:43:24.710Z] latest: Pulling from edgex-devops/git-semver [2020-10-20T00:43:24.710Z] 31603596830f: Pulling fs layer [2020-10-20T00:43:24.710Z] 2a8b12db71e7: Pulling fs layer [2020-10-20T00:43:24.710Z] 6ca5941a6612: Pulling fs layer [2020-10-20T00:43:24.710Z] ecc8261a40a4: Pulling fs layer [2020-10-20T00:43:24.710Z] ecc8261a40a4: Waiting [2020-10-20T00:43:24.710Z] 2a8b12db71e7: Verifying Checksum [2020-10-20T00:43:24.710Z] 2a8b12db71e7: Download complete [2020-10-20T00:43:24.972Z] 31603596830f: Verifying Checksum [2020-10-20T00:43:24.972Z] 31603596830f: Download complete [2020-10-20T00:43:24.972Z] ecc8261a40a4: Verifying Checksum [2020-10-20T00:43:24.972Z] ecc8261a40a4: Download complete [2020-10-20T00:43:24.972Z] 6ca5941a6612: Verifying Checksum [2020-10-20T00:43:24.972Z] 6ca5941a6612: Download complete [2020-10-20T00:43:25.235Z] 31603596830f: Pull complete [2020-10-20T00:43:25.235Z] 2a8b12db71e7: Pull complete [2020-10-20T00:43:26.188Z] 6ca5941a6612: Pull complete [2020-10-20T00:43:26.451Z] ecc8261a40a4: Pull complete [2020-10-20T00:43:26.451Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-20T00:43:26.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T00:43:26.451Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-20T00:43:26.564Z] prd-centos7-docker-4c-2g-6452 does not seem to be running inside a container [2020-10-20T00:43:26.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-345 -v /w/workspace/dry_go-mod-core-contracts_PR-345:/w/workspace/dry_go-mod-core-contracts_PR-345:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-345@tmp:/w/workspace/dry_go-mod-core-contracts_PR-345@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-20T00:43:28.925Z] $ docker top 7d20a886c5b1c3e34fe5bde53237d5a53a0a6547cd3ffeee483d2c6d235912a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-20T00:43:29.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-20T00:43:29.213Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-20T00:43:29.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-20T00:43:29.420Z] $ docker exec 7d20a886c5b1c3e34fe5bde53237d5a53a0a6547cd3ffeee483d2c6d235912a1 ssh-agent [2020-10-20T00:43:29.583Z] SSH_AUTH_SOCK=/tmp/ssh-VdpzFlEhxs63/agent.12 [2020-10-20T00:43:29.583Z] SSH_AGENT_PID=17 [2020-10-20T00:43:29.595Z] Running ssh-add (command line suppressed) [2020-10-20T00:43:29.721Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-345@tmp/private_key_586728306442586798.key (/w/workspace/dry_go-mod-core-contracts_PR-345@tmp/private_key_586728306442586798.key) [2020-10-20T00:43:29.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-20T00:43:30.199Z] + git tag --points-at HEAD [Pipeline] } [2020-10-20T00:43:30.233Z] $ docker exec --env ******** --env ******** 7d20a886c5b1c3e34fe5bde53237d5a53a0a6547cd3ffeee483d2c6d235912a1 ssh-agent -k [2020-10-20T00:43:30.351Z] unset SSH_AUTH_SOCK; [2020-10-20T00:43:30.352Z] unset SSH_AGENT_PID; [2020-10-20T00:43:30.352Z] echo Agent pid 17 killed; [2020-10-20T00:43:30.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-20T00:43:30.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-20T00:43:30.551Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-20T00:43:30.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-20T00:43:30.723Z] $ docker exec 7d20a886c5b1c3e34fe5bde53237d5a53a0a6547cd3ffeee483d2c6d235912a1 ssh-agent [2020-10-20T00:43:30.901Z] SSH_AUTH_SOCK=/tmp/ssh-A4Alt4kAKLWa/agent.46 [2020-10-20T00:43:30.901Z] SSH_AGENT_PID=51 [2020-10-20T00:43:30.908Z] Running ssh-add (command line suppressed) [2020-10-20T00:43:31.030Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-345@tmp/private_key_3211752640055906457.key (/w/workspace/dry_go-mod-core-contracts_PR-345@tmp/private_key_3211752640055906457.key) [2020-10-20T00:43:31.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-20T00:43:31.421Z] + git semver init [2020-10-20T00:43:31.421Z] # -> Open(): unable to determine branch for HEAD [2020-10-20T00:43:31.421Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-345/.git [2020-10-20T00:43:31.421Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-345 [2020-10-20T00:43:31.421Z] # $SEMVER_REMOTE_NAME = origin [2020-10-20T00:43:31.421Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-20T00:43:31.421Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-20T00:43:31.421Z] # $SEMVER_BRANCH = PR-345 [2020-10-20T00:43:31.421Z] # $SEMVER_TEMP = /tmp/semver-659449891 [2020-10-20T00:43:31.421Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-10-20T00:43:31.996Z] # '/tmp/semver-659449891' -> '/w/workspace/dry_go-mod-core-contracts_PR-345/.semver' [2020-10-20T00:43:31.996Z] # -> Force: false [2020-10-20T00:43:31.996Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-345/.semver [Pipeline] } [2020-10-20T00:43:32.006Z] $ docker exec --env ******** --env ******** 7d20a886c5b1c3e34fe5bde53237d5a53a0a6547cd3ffeee483d2c6d235912a1 ssh-agent -k [2020-10-20T00:43:32.132Z] unset SSH_AUTH_SOCK; [2020-10-20T00:43:32.132Z] unset SSH_AGENT_PID; [2020-10-20T00:43:32.132Z] echo Agent pid 51 killed; [2020-10-20T00:43:32.185Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-20T00:43:32.657Z] + git semver [Pipeline] } [2020-10-20T00:43:32.672Z] $ docker stop --time=1 7d20a886c5b1c3e34fe5bde53237d5a53a0a6547cd3ffeee483d2c6d235912a1 [2020-10-20T00:43:34.476Z] $ docker rm -f 7d20a886c5b1c3e34fe5bde53237d5a53a0a6547cd3ffeee483d2c6d235912a1 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-20T00:43:34.975Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-20T00:43:35.370Z] Stashed 1 file(s) [Pipeline] echo [2020-10-20T00:43:35.373Z] [edgeXSemver]: initialized semver on 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 [2020-10-20T00:43:36.289Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6440 in /w/workspace/dry_go-mod-core-contracts_PR-345 [Pipeline] { [Pipeline] ws [2020-10-20T00:43:36.342Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-10-20T00:43:42.620Z] using credential edgex-jenkins-ssh [2020-10-20T00:43:42.744Z] Cloning the remote Git repository [2020-10-20T00:43:42.832Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-20T00:43:42.968Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-10-20T00:43:43.055Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-20T00:43:43.056Z] > git --version # timeout=10 [2020-10-20T00:43:43.082Z] > git --version # 'git version 2.17.1' [2020-10-20T00:43:43.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T00:43:43.151Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T00:43:44.981Z] Merging remotes/origin/master commit c9efc357fe638ed4dbd739befcaf3df2c9dd2676 into PR head commit 6f5c3a0827eabd47dafe9bc54db47a842f950d73 [2020-10-20T00:43:45.359Z] Merge succeeded, producing cf2f377b4a12b10ecb57964261436427b9175274 [2020-10-20T00:43:45.360Z] Checking out Revision cf2f377b4a12b10ecb57964261436427b9175274 (PR-345) [2020-10-20T00:43:44.195Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-20T00:43:44.224Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T00:43:44.261Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-20T00:43:44.300Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-20T00:43:44.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T00:43:44.316Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-20T00:43:45.010Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T00:43:45.027Z] > git checkout -f 6f5c3a0827eabd47dafe9bc54db47a842f950d73 # timeout=10 [2020-10-20T00:43:45.167Z] > git remote # timeout=10 [2020-10-20T00:43:45.188Z] > git config --get remote.origin.url # timeout=10 [2020-10-20T00:43:45.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T00:43:45.224Z] > git merge c9efc357fe638ed4dbd739befcaf3df2c9dd2676 # timeout=10 [2020-10-20T00:43:45.347Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-20T00:43:45.379Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T00:43:45.393Z] > git checkout -f cf2f377b4a12b10ecb57964261436427b9175274 # timeout=10 [2020-10-20T00:43:50.041Z] Commit message: "Merge commit 'c9efc357fe638ed4dbd739befcaf3df2c9dd2676' into HEAD" [2020-10-20T00:43:50.059Z] > git rev-list --no-walk 6f5c3a0827eabd47dafe9bc54db47a842f950d73 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-20T00:43:50.931Z] Still waiting to schedule task [2020-10-20T00:43:50.932Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] echo [2020-10-20T00:43:51.075Z] ========================================================= [2020-10-20T00:43:51.075Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-20T00:43:51.075Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:43:52.101Z] + 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 . [2020-10-20T00:43:53.087Z] Sending build context to Docker daemon 1.793MB [2020-10-20T00:43:53.087Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-10-20T00:43:53.087Z] Step 2/7 : FROM ${BASE} [2020-10-20T00:43:54.073Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-20T00:43:54.073Z] b538f80385f9: Pulling fs layer [2020-10-20T00:43:54.073Z] 74f711af9a0d: Pulling fs layer [2020-10-20T00:43:54.073Z] 99f96fe45779: Pulling fs layer [2020-10-20T00:43:54.073Z] 8529a6b9a6be: Pulling fs layer [2020-10-20T00:43:54.073Z] 45590311c82a: Pulling fs layer [2020-10-20T00:43:54.073Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-20T00:43:54.073Z] 209524e5b208: Pulling fs layer [2020-10-20T00:43:54.073Z] 45590311c82a: Waiting [2020-10-20T00:43:54.073Z] 8529a6b9a6be: Waiting [2020-10-20T00:43:54.073Z] 69ca0ff8b7b3: Waiting [2020-10-20T00:43:54.073Z] 209524e5b208: Waiting [2020-10-20T00:43:54.073Z] 99f96fe45779: Verifying Checksum [2020-10-20T00:43:54.073Z] 99f96fe45779: Download complete [2020-10-20T00:43:54.073Z] 74f711af9a0d: Verifying Checksum [2020-10-20T00:43:54.073Z] 74f711af9a0d: Download complete [2020-10-20T00:43:54.073Z] 45590311c82a: Verifying Checksum [2020-10-20T00:43:54.073Z] 45590311c82a: Download complete [2020-10-20T00:43:54.073Z] 69ca0ff8b7b3: Download complete [2020-10-20T00:43:54.356Z] b538f80385f9: Verifying Checksum [2020-10-20T00:43:54.356Z] b538f80385f9: Download complete [2020-10-20T00:43:54.978Z] b538f80385f9: Pull complete [2020-10-20T00:43:55.595Z] 74f711af9a0d: Pull complete [2020-10-20T00:43:56.209Z] 99f96fe45779: Pull complete [2020-10-20T00:43:57.208Z] 209524e5b208: Verifying Checksum [2020-10-20T00:43:57.208Z] 209524e5b208: Download complete [2020-10-20T00:43:59.202Z] 8529a6b9a6be: Verifying Checksum [2020-10-20T00:43:59.202Z] 8529a6b9a6be: Download complete [2020-10-20T00:44:09.375Z] 8529a6b9a6be: Pull complete [2020-10-20T00:44:09.375Z] 45590311c82a: Pull complete [2020-10-20T00:44:09.375Z] 69ca0ff8b7b3: Pull complete [2020-10-20T00:44:12.782Z] 209524e5b208: Pull complete [2020-10-20T00:44:12.782Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-20T00:44:12.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-20T00:44:12.782Z] ---> 5bddaf1c2fca [2020-10-20T00:44:12.782Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-20T00:44:16.247Z] ---> Running in 80e3e29d0746 [2020-10-20T00:44:16.522Z] Removing intermediate container 80e3e29d0746 [2020-10-20T00:44:16.522Z] ---> 6cbe314ba644 [2020-10-20T00:44:16.523Z] Step 4/7 : RUN apk add bash [2020-10-20T00:44:16.798Z] ---> Running in 95246de1f892 [2020-10-20T00:44:18.782Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-20T00:44:19.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-20T00:44:20.749Z] OK: 142 MiB in 39 packages [2020-10-20T00:44:21.728Z] Removing intermediate container 95246de1f892 [2020-10-20T00:44:21.728Z] ---> c9988c0b7bf9 [2020-10-20T00:44:21.728Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-10-20T00:44:22.004Z] ---> Running in 379f4cbdf34a [2020-10-20T00:44:22.602Z] Removing intermediate container 379f4cbdf34a [2020-10-20T00:44:22.602Z] ---> 4f3aaa1b13d1 [2020-10-20T00:44:22.602Z] Step 6/7 : COPY go.mod . [2020-10-20T00:44:23.201Z] ---> 26f68b09fc25 [2020-10-20T00:44:23.201Z] Step 7/7 : RUN go mod download [2020-10-20T00:44:23.493Z] ---> Running in 72840eac14d0 [2020-10-20T00:44:38.703Z] Removing intermediate container 72840eac14d0 [2020-10-20T00:44:38.703Z] ---> 6c6ece29d81c [2020-10-20T00:44:38.703Z] Successfully built 6c6ece29d81c [2020-10-20T00:44:38.703Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:44:39.159Z] + docker inspect -f . ci-base-image-arm64 [2020-10-20T00:44:39.159Z] . [Pipeline] withDockerContainer [2020-10-20T00:44:39.491Z] prd-ubuntu18.04-docker-arm64-4c-16g-6440 does not seem to be running inside a container [2020-10-20T00:44:39.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-20T00:44:41.645Z] $ docker top c12080752f695cc44fdb3f1994e45a9faa75fd4fa1fd2a0cc17934940574c00e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T00:44:43.212Z] + go version [2020-10-20T00:44:43.212Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-20T00:44:43.249Z] $ docker stop --time=1 c12080752f695cc44fdb3f1994e45a9faa75fd4fa1fd2a0cc17934940574c00e [2020-10-20T00:44:45.247Z] $ docker rm -f c12080752f695cc44fdb3f1994e45a9faa75fd4fa1fd2a0cc17934940574c00e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:44:46.354Z] + docker inspect -f . ci-base-image-arm64 [2020-10-20T00:44:46.354Z] . [Pipeline] withDockerContainer [2020-10-20T00:44:46.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-6440 does not seem to be running inside a container [2020-10-20T00:44:46.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-20T00:44:49.117Z] $ docker top 3943c64f89dcb72468ee2a93b51191e1ca1d60d9ca221719baf36898497b4451 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T00:44:50.634Z] + make test [2020-10-20T00:44:50.634Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-20T00:45:23.172Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-10-20T00:45:23.172Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.033s coverage: 85.7% of statements [2020-10-20T00:45:23.172Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.047s coverage: 100.0% of statements [2020-10-20T00:45:23.813Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.067s coverage: 45.4% of statements [2020-10-20T00:45:23.813Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.032s coverage: 77.8% of statements [2020-10-20T00:45:23.813Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-10-20T00:45:23.813Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.017s coverage: 6.4% of statements [2020-10-20T00:45:24.819Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.070s coverage: 14.7% of statements [2020-10-20T00:45:25.435Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.057s coverage: 100.0% of statements [2020-10-20T00:45:26.920Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.082s coverage: 91.8% of statements [2020-10-20T00:45:26.920Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-10-20T00:45:26.920Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-10-20T00:45:26.920Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.046s coverage: 100.0% of statements [2020-10-20T00:45:28.391Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.017s coverage: 48.9% of statements [2020-10-20T00:45:36.748Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.167s coverage: 63.0% of statements [2020-10-20T00:45:36.748Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.030s coverage: 26.3% of statements [2020-10-20T00:45:36.748Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.011s coverage: 15.4% of statements [2020-10-20T00:45:36.748Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.015s coverage: 15.4% of statements [2020-10-20T00:45:36.748Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.054s coverage: 14.3% of statements [2020-10-20T00:45:36.748Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-10-20T00:45:36.748Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.034s coverage: 29.1% of statements [2020-10-20T00:45:36.748Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.059s coverage: 100.0% of statements [2020-10-20T00:45:37.739Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.062s coverage: 94.4% of statements [2020-10-20T00:45:37.739Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.037s coverage: 92.3% of statements [2020-10-20T00:45:37.739Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-10-20T00:45:38.012Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-20T00:45:43.442Z] gofmt -l . [2020-10-20T00:45:43.442Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-10-20T00:45:45.084Z] Stashed 1 file(s) [Pipeline] } [2020-10-20T00:45:45.105Z] $ docker stop --time=1 3943c64f89dcb72468ee2a93b51191e1ca1d60d9ca221719baf36898497b4451 [2020-10-20T00:45:47.385Z] $ docker rm -f 3943c64f89dcb72468ee2a93b51191e1ca1d60d9ca221719baf36898497b4451 [Pipeline] // withDockerContainer [Pipeline] } [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] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-20T00:51:32.968Z] Running on prd-centos7-docker-4c-2g-6723 in /w/workspace/dry_go-mod-core-contracts_PR-345 [Pipeline] { [Pipeline] ws [2020-10-20T00:51:33.120Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-10-20T00:51:36.124Z] using credential edgex-jenkins-ssh [2020-10-20T00:51:36.175Z] Cloning the remote Git repository [2020-10-20T00:51:36.205Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-20T00:51:36.274Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-10-20T00:51:36.337Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-20T00:51:36.337Z] > git --version # timeout=10 [2020-10-20T00:51:36.347Z] > git --version # 'git version 2.16.5' [2020-10-20T00:51:36.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T00:51:36.384Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T00:51:37.506Z] Merging remotes/origin/master commit c9efc357fe638ed4dbd739befcaf3df2c9dd2676 into PR head commit 6f5c3a0827eabd47dafe9bc54db47a842f950d73 [2020-10-20T00:51:37.642Z] Merge succeeded, producing b57ddb272dbc0bb07d8e07c79a22aa0643e52fcf [2020-10-20T00:51:37.642Z] Checking out Revision b57ddb272dbc0bb07d8e07c79a22aa0643e52fcf (PR-345) [2020-10-20T00:51:37.008Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-20T00:51:37.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T00:51:37.027Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-20T00:51:37.039Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-20T00:51:37.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T00:51:37.044Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-20T00:51:37.516Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T00:51:37.524Z] > git checkout -f 6f5c3a0827eabd47dafe9bc54db47a842f950d73 # timeout=10 [2020-10-20T00:51:37.584Z] > git remote # timeout=10 [2020-10-20T00:51:37.594Z] > git config --get remote.origin.url # timeout=10 [2020-10-20T00:51:37.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T00:51:37.603Z] > git merge c9efc357fe638ed4dbd739befcaf3df2c9dd2676 # timeout=10 [2020-10-20T00:51:37.636Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-20T00:51:37.647Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T00:51:37.652Z] > git checkout -f b57ddb272dbc0bb07d8e07c79a22aa0643e52fcf # timeout=10 [2020-10-20T00:51:41.327Z] Commit message: "Merge commit 'c9efc357fe638ed4dbd739befcaf3df2c9dd2676' into HEAD" [2020-10-20T00:51:41.333Z] > git rev-list --no-walk 6f5c3a0827eabd47dafe9bc54db47a842f950d73 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-20T00:51:42.222Z] ========================================================= [2020-10-20T00:51:42.223Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-20T00:51:42.223Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:51:42.960Z] + 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 . [2020-10-20T00:51:43.227Z] Sending build context to Docker daemon 1.793MB [2020-10-20T00:51:43.490Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-10-20T00:51:43.490Z] Step 2/7 : FROM ${BASE} [2020-10-20T00:51:43.490Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-20T00:51:43.490Z] df20fa9351a1: Pulling fs layer [2020-10-20T00:51:43.490Z] ed8968b2872e: Pulling fs layer [2020-10-20T00:51:43.490Z] a92cc7c5fd73: Pulling fs layer [2020-10-20T00:51:43.490Z] e871e8e8d7a9: Pulling fs layer [2020-10-20T00:51:43.490Z] e73272ec9a57: Pulling fs layer [2020-10-20T00:51:43.490Z] 1e910a182e73: Pulling fs layer [2020-10-20T00:51:43.490Z] 4e634b169226: Pulling fs layer [2020-10-20T00:51:43.490Z] e73272ec9a57: Waiting [2020-10-20T00:51:43.490Z] 1e910a182e73: Waiting [2020-10-20T00:51:43.490Z] e871e8e8d7a9: Waiting [2020-10-20T00:51:43.490Z] 4e634b169226: Waiting [2020-10-20T00:51:43.490Z] a92cc7c5fd73: Download complete [2020-10-20T00:51:43.490Z] ed8968b2872e: Verifying Checksum [2020-10-20T00:51:43.490Z] ed8968b2872e: Download complete [2020-10-20T00:51:43.490Z] e73272ec9a57: Verifying Checksum [2020-10-20T00:51:43.490Z] e73272ec9a57: Download complete [2020-10-20T00:51:43.490Z] 1e910a182e73: Verifying Checksum [2020-10-20T00:51:43.490Z] 1e910a182e73: Download complete [2020-10-20T00:51:44.467Z] df20fa9351a1: Verifying Checksum [2020-10-20T00:51:44.467Z] df20fa9351a1: Download complete [2020-10-20T00:51:44.467Z] df20fa9351a1: Pull complete [2020-10-20T00:51:44.755Z] ed8968b2872e: Pull complete [2020-10-20T00:51:44.755Z] a92cc7c5fd73: Pull complete [2020-10-20T00:51:46.158Z] 4e634b169226: Verifying Checksum [2020-10-20T00:51:46.158Z] 4e634b169226: Download complete [2020-10-20T00:51:46.731Z] e871e8e8d7a9: Verifying Checksum [2020-10-20T00:51:46.731Z] e871e8e8d7a9: Download complete [2020-10-20T00:51:52.109Z] e871e8e8d7a9: Pull complete [2020-10-20T00:51:52.109Z] e73272ec9a57: Pull complete [2020-10-20T00:51:52.109Z] 1e910a182e73: Pull complete [2020-10-20T00:51:58.736Z] 4e634b169226: Pull complete [2020-10-20T00:51:58.737Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-20T00:51:58.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-20T00:51:58.737Z] ---> f7629b54cfaa [2020-10-20T00:51:58.737Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-20T00:51:58.737Z] ---> Running in f7596d727d65 [2020-10-20T00:51:58.737Z] Removing intermediate container f7596d727d65 [2020-10-20T00:51:58.737Z] ---> d235b7626e46 [2020-10-20T00:51:58.737Z] Step 4/7 : RUN apk add bash [2020-10-20T00:51:58.737Z] ---> Running in d06c3bc6d2b4 [2020-10-20T00:51:59.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-20T00:52:00.263Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-20T00:52:00.841Z] OK: 166 MiB in 39 packages [2020-10-20T00:52:01.419Z] Removing intermediate container d06c3bc6d2b4 [2020-10-20T00:52:01.419Z] ---> 059785ecbcd5 [2020-10-20T00:52:01.419Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-10-20T00:52:01.419Z] ---> Running in fb2dca1ff6e8 [2020-10-20T00:52:01.419Z] Removing intermediate container fb2dca1ff6e8 [2020-10-20T00:52:01.419Z] ---> ce2e5bb8091a [2020-10-20T00:52:01.419Z] Step 6/7 : COPY go.mod . [2020-10-20T00:52:01.688Z] ---> b6d3aedff891 [2020-10-20T00:52:01.688Z] Step 7/7 : RUN go mod download [2020-10-20T00:52:01.688Z] ---> Running in 484ceea2da81 [2020-10-20T00:52:13.974Z] Removing intermediate container 484ceea2da81 [2020-10-20T00:52:13.974Z] ---> afb7018c9b9d [2020-10-20T00:52:13.974Z] Successfully built afb7018c9b9d [2020-10-20T00:52:13.974Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:52:14.497Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-20T00:52:14.497Z] . [Pipeline] withDockerContainer [2020-10-20T00:52:14.600Z] prd-centos7-docker-4c-2g-6723 does not seem to be running inside a container [2020-10-20T00:52:14.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-20T00:52:15.401Z] $ docker top f22a43fc168cf8c037ebd22054fb04e93d833c59f318672ea9602c4a0d1bab0f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T00:52:15.962Z] + go version [2020-10-20T00:52:15.962Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-20T00:52:15.979Z] $ docker stop --time=1 f22a43fc168cf8c037ebd22054fb04e93d833c59f318672ea9602c4a0d1bab0f [2020-10-20T00:52:17.355Z] $ docker rm -f f22a43fc168cf8c037ebd22054fb04e93d833c59f318672ea9602c4a0d1bab0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:52:18.254Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-20T00:52:18.254Z] . [Pipeline] withDockerContainer [2020-10-20T00:52:18.355Z] prd-centos7-docker-4c-2g-6723 does not seem to be running inside a container [2020-10-20T00:52:18.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-20T00:52:19.064Z] $ docker top cf1d3baae620cdade52744c0242f6fbd3d09c5112b412cc02b4c05e99d268628 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T00:52:19.557Z] + make test [2020-10-20T00:52:19.557Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-20T00:52:26.238Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-10-20T00:52:26.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.013s coverage: 85.7% of statements [2020-10-20T00:52:26.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.020s coverage: 100.0% of statements [2020-10-20T00:52:26.510Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.022s coverage: 45.4% of statements [2020-10-20T00:52:26.510Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.025s coverage: 77.8% of statements [2020-10-20T00:52:26.510Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-10-20T00:52:26.510Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.006s coverage: 6.4% of statements [2020-10-20T00:52:27.124Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.012s coverage: 14.7% of statements [2020-10-20T00:52:27.124Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.012s coverage: 100.0% of statements [2020-10-20T00:52:27.401Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.062s coverage: 91.8% of statements [2020-10-20T00:52:27.401Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-10-20T00:52:27.401Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-10-20T00:52:27.401Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.013s coverage: 100.0% of statements [2020-10-20T00:52:28.819Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.006s coverage: 48.9% of statements [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.024s coverage: 63.0% of statements [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.008s coverage: 26.3% of statements [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.034s coverage: 15.4% of statements [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.015s coverage: 15.4% of statements [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.011s coverage: 14.3% of statements [2020-10-20T00:52:30.765Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.020s coverage: 29.1% of statements [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.017s coverage: 100.0% of statements [2020-10-20T00:52:30.765Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.015s coverage: 94.4% of statements [2020-10-20T00:52:31.028Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 92.3% of statements [2020-10-20T00:52:31.028Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-10-20T00:52:31.028Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-20T00:52:32.453Z] gofmt -l . [2020-10-20T00:52:32.731Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-10-20T00:52:32.746Z] Warning: overwriting stash ‘coverage-report’ [2020-10-20T00:52:33.067Z] Stashed 1 file(s) [Pipeline] } [2020-10-20T00:52:33.076Z] $ docker stop --time=1 cf1d3baae620cdade52744c0242f6fbd3d09c5112b412cc02b4c05e99d268628 [2020-10-20T00:52:35.273Z] $ docker rm -f cf1d3baae620cdade52744c0242f6fbd3d09c5112b412cc02b4c05e99d268628 [Pipeline] // withDockerContainer [Pipeline] } [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] } [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 [2020-10-20T00:52:39.044Z] provisioning config files... [2020-10-20T00:52:39.071Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-345@tmp/config5941316835718920654tmp [Pipeline] { [Pipeline] sh [2020-10-20T00:52:39.506Z] + set +x [2020-10-20T00:52:39.506Z] + curl -s https://codecov.io/bash [2020-10-20T00:52:39.506Z] + bash -s -- [2020-10-20T00:52:39.777Z] [2020-10-20T00:52:39.777Z] _____ _ [2020-10-20T00:52:39.777Z] / ____| | | [2020-10-20T00:52:39.777Z] | | ___ __| | ___ ___ _____ __ [2020-10-20T00:52:39.777Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-20T00:52:39.777Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-20T00:52:39.777Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-20T00:52:39.777Z] Bash-20201009-048fee3 [2020-10-20T00:52:39.777Z] [2020-10-20T00:52:39.777Z] [2020-10-20T00:52:39.777Z] ==> Jenkins CI detected. [2020-10-20T00:52:39.777Z] project root: . [2020-10-20T00:52:39.777Z] Fixing merge commit SHA [2020-10-20T00:52:39.777Z] --> token set from env [2020-10-20T00:52:39.777Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-20T00:52:39.777Z] ==> Running gcov in . (disable via -X gcov) [2020-10-20T00:52:39.777Z] ==> Python coveragepy not found [2020-10-20T00:52:39.777Z] ==> Searching for coverage reports in: [2020-10-20T00:52:39.777Z] + . [2020-10-20T00:52:39.777Z] -> Found 1 reports [2020-10-20T00:52:39.777Z] ==> Detecting git/mercurial file structure [2020-10-20T00:52:39.777Z] ==> Reading reports [2020-10-20T00:52:39.777Z] + ./coverage.out bytes=105826 [2020-10-20T00:52:39.777Z] ==> Appending adjustments [2020-10-20T00:52:39.777Z] https://docs.codecov.io/docs/fixing-reports [2020-10-20T00:52:40.738Z] + Found adjustments [2020-10-20T00:52:40.738Z] ==> Gzipping contents [2020-10-20T00:52:40.738Z] ==> Uploading reports [2020-10-20T00:52:40.738Z] url: https://codecov.io [2020-10-20T00:52:40.738Z] query: branch=PR-345&commit=c9efc357fe638ed4dbd739befcaf3df2c9dd2676&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-345%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=345&job=&cmd_args= [2020-10-20T00:52:40.738Z] -> Pinging Codecov [2020-10-20T00:52:40.738Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-345&commit=c9efc357fe638ed4dbd739befcaf3df2c9dd2676&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-345%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=345&job=&cmd_args= [2020-10-20T00:52:41.003Z] -> Uploading to [2020-10-20T00:52:41.003Z] [2020-10-20T00:52:41.003Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-20T00:52:41.003Z] Dload Upload Total Spent Left Speed [2020-10-20T00:52:41.003Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-20T00:52:41.003Z] X> Failed to upload [2020-10-20T00:52:41.003Z] ==> Uploading to Codecov [2020-10-20T00:52:41.003Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-20T00:52:41.003Z] Dload Upload Total Spent Left Speed [2020-10-20T00:52:41.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17069 100 118 100 16951 239 34408 --:--:-- --:--:-- --:--:-- 34453 [2020-10-20T00:52:41.583Z] View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/c9efc357fe638ed4dbd739befcaf3df2c9dd2676 [Pipeline] } [2020-10-20T00:52:41.594Z] 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] { (Archive Prep) Stage "Archive Prep" 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 [2020-10-20T00:52:44.596Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T00:52:45.173Z] ---> package-listing.sh [2020-10-20T00:52:45.173Z] ++ facter osfamily [2020-10-20T00:52:45.173Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-20T00:52:45.173Z] + OS_FAMILY=redhat [2020-10-20T00:52:45.173Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-345 [2020-10-20T00:52:45.173Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-20T00:52:45.173Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-20T00:52:45.173Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-20T00:52:45.173Z] + PACKAGES=/tmp/packages_start.txt [2020-10-20T00:52:45.173Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-345 ']' [2020-10-20T00:52:45.173Z] + PACKAGES=/tmp/packages_end.txt [2020-10-20T00:52:45.173Z] + case "${OS_FAMILY}" in [2020-10-20T00:52:45.173Z] + rpm -qa [2020-10-20T00:52:45.173Z] + sort [2020-10-20T00:52:49.411Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-20T00:52:49.411Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-20T00:52:49.411Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-20T00:52:49.411Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-345 ']' [2020-10-20T00:52:49.411Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-345/archives/ [2020-10-20T00:52:49.411Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-345/archives/ [Pipeline] echo [2020-10-20T00:52:49.425Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-20T00:52:49.723Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:52:50.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T00:52:50.045Z] [2020-10-20T00:52:50.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-20T00:52:50.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T00:52:50.412Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-20T00:52:50.412Z] df20fa9351a1: Pulling fs layer [2020-10-20T00:52:50.412Z] 36b3adc4ff6f: Pulling fs layer [2020-10-20T00:52:50.412Z] 8ad3a11d3b57: Pulling fs layer [2020-10-20T00:52:50.412Z] 46f8f816bc3b: Pulling fs layer [2020-10-20T00:52:50.412Z] 93b61091891f: Pulling fs layer [2020-10-20T00:52:50.412Z] 93b9cdb0e59b: Pulling fs layer [2020-10-20T00:52:50.412Z] 5e14af77c1be: Pulling fs layer [2020-10-20T00:52:50.412Z] 01666e4c0597: Pulling fs layer [2020-10-20T00:52:50.412Z] aa168da1d23b: Pulling fs layer [2020-10-20T00:52:50.412Z] 93b9cdb0e59b: Waiting [2020-10-20T00:52:50.412Z] 5e14af77c1be: Waiting [2020-10-20T00:52:50.412Z] aa168da1d23b: Waiting [2020-10-20T00:52:50.412Z] 01666e4c0597: Waiting [2020-10-20T00:52:50.412Z] 46f8f816bc3b: Waiting [2020-10-20T00:52:50.412Z] 93b61091891f: Waiting [2020-10-20T00:52:50.412Z] 36b3adc4ff6f: Verifying Checksum [2020-10-20T00:52:50.412Z] 36b3adc4ff6f: Download complete [2020-10-20T00:52:50.412Z] 46f8f816bc3b: Verifying Checksum [2020-10-20T00:52:50.412Z] 46f8f816bc3b: Download complete [2020-10-20T00:52:50.412Z] df20fa9351a1: Verifying Checksum [2020-10-20T00:52:50.412Z] df20fa9351a1: Download complete [2020-10-20T00:52:50.687Z] 93b9cdb0e59b: Verifying Checksum [2020-10-20T00:52:50.687Z] 93b9cdb0e59b: Download complete [2020-10-20T00:52:50.687Z] 5e14af77c1be: Verifying Checksum [2020-10-20T00:52:50.687Z] 5e14af77c1be: Download complete [2020-10-20T00:52:50.687Z] 01666e4c0597: Verifying Checksum [2020-10-20T00:52:50.687Z] 01666e4c0597: Download complete [2020-10-20T00:52:50.687Z] 93b61091891f: Verifying Checksum [2020-10-20T00:52:50.687Z] 93b61091891f: Download complete [2020-10-20T00:52:50.687Z] 8ad3a11d3b57: Verifying Checksum [2020-10-20T00:52:50.687Z] 8ad3a11d3b57: Download complete [2020-10-20T00:52:50.960Z] df20fa9351a1: Pull complete [2020-10-20T00:52:51.232Z] 36b3adc4ff6f: Pull complete [2020-10-20T00:52:52.224Z] 8ad3a11d3b57: Pull complete [2020-10-20T00:52:52.491Z] 46f8f816bc3b: Pull complete [2020-10-20T00:52:53.111Z] aa168da1d23b: Verifying Checksum [2020-10-20T00:52:53.111Z] aa168da1d23b: Download complete [2020-10-20T00:52:53.111Z] 93b61091891f: Pull complete [2020-10-20T00:52:53.111Z] 93b9cdb0e59b: Pull complete [2020-10-20T00:52:53.383Z] 5e14af77c1be: Pull complete [2020-10-20T00:52:53.383Z] 01666e4c0597: Pull complete [2020-10-20T00:53:01.678Z] aa168da1d23b: Pull complete [2020-10-20T00:53:01.679Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-20T00:53:01.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T00:53:01.679Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-20T00:53:01.960Z] prd-centos7-docker-4c-2g-6452 does not seem to be running inside a container [2020-10-20T00:53:02.027Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-345 -v /w/workspace/dry_go-mod-core-contracts_PR-345:/w/workspace/dry_go-mod-core-contracts_PR-345:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-345@tmp:/w/workspace/dry_go-mod-core-contracts_PR-345@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-20T00:53:08.276Z] $ docker top 016ea810abcbdef4583630265bbc40a9f365835113f23e464ace63239bdfb3a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T00:53:08.789Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-20T00:53:09.103Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-20T00:53:09.414Z] + ls /var/log/sa-host [2020-10-20T00:53:09.414Z] + sadf -c /var/log/sa-host/sa05 [2020-10-20T00:53:09.414Z] file_magic: OK [2020-10-20T00:53:09.414Z] HZ: Using current value: 100 [2020-10-20T00:53:09.414Z] file_header: OK [2020-10-20T00:53:09.414Z] 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 [2020-10-20T00:53:09.414Z] Statistics: [2020-10-20T00:53:09.414Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-20T00:53:09.414Z] File successfully converted to sysstat format version 12.2.1 [2020-10-20T00:53:09.414Z] + sadf -c /var/log/sa-host/sa20 [2020-10-20T00:53:09.414Z] file_magic: OK [2020-10-20T00:53:09.414Z] HZ: Using current value: 100 [2020-10-20T00:53:09.414Z] file_header: OK [2020-10-20T00:53:09.414Z] 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 [2020-10-20T00:53:09.414Z] Statistics: [2020-10-20T00:53:09.414Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-20T00:53:09.414Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-20T00:53:09.627Z] provisioning config files... [2020-10-20T00:53:09.644Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-345@tmp/config7158622745947332966tmp [Pipeline] { [Pipeline] echo [2020-10-20T00:53:09.741Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T00:53:10.064Z] ---> create-netrc.sh [Pipeline] } [2020-10-20T00:53:10.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-20T00:53:10.270Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T00:53:10.576Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-20T00:53:10.594Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T00:53:10.902Z] ---> sudo-logs.sh [2020-10-20T00:53:10.902Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-20T00:53:10.914Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T00:53:11.228Z] ---> job-cost.sh [2020-10-20T00:53:11.228Z] lf-activate-venv: SKIPPING [2020-10-20T00:53:11.228Z] INFO: No Stack... [2020-10-20T00:53:12.626Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-20T00:53:12.888Z] INFO: Archiving Costs [Pipeline] echo [2020-10-20T00:53:12.903Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T00:53:13.208Z] ---> logs-deploy.sh [2020-10-20T00:53:13.208Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-345/5 [2020-10-20T00:53:13.208Z] INFO: archiving workspace using pattern(s): [2020-10-20T00:53:15.779Z] Archives upload complete. [2020-10-20T00:53:16.042Z] INFO: archiving logs to Nexus