Pull request #534 opened 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 hahattan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 rather than 4743a61940975039428beea7bd45312b5e06b1c9 Obtained Jenkinsfile from eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 Running in Durability level: MAX_SURVIVABILITY 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-534/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-534/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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:pre] ========================================================= [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: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28959 in /w/workspace/dry_go-mod-core-contracts_PR-534 [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-534 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 into PR head commit 4743a61940975039428beea7bd45312b5e06b1c9 Merge succeeded, producing 4743a61940975039428beea7bd45312b5e06b1c9 Checking out Revision 4743a61940975039428beea7bd45312b5e06b1c9 (PR-534) > 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 --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4743a61940975039428beea7bd45312b5e06b1c9 # 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 eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4743a61940975039428beea7bd45312b5e06b1c9 # timeout=10 Commit message: "feat: expose functions to be reusable by device-sdk" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:02:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:02:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:02:29 ========================================================= 07:02:29 EdgeX Global Pipelines Version Info 07:02:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:02:31 ------------------- 07:02:31 stable info: 07:02:31 ------------------- 07:02:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:02:31 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:02:31 Message: update stable to v1.0.184 07:02:32 ------------------- 07:02:32 experimental info: 07:02:32 ------------------- 07:02:32 Commited By: **** collab-it+edgex@linuxfoundation.org 07:02:32 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:02:32 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:02:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 07:02:32 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 07:02:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:02:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:02:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:02:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:02:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:02:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:02:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:02:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 07:02:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:02:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:02:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 07:02:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:02:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:02:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:02:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:02:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:02:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:02:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:02:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:02:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:02:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 07:02:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:02:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-534 [Pipeline] echo 07:02:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-534 [Pipeline] echo 07:02:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-534 [Pipeline] echo 07:02:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4743a61940975039428beea7bd45312b5e06b1c9 [Pipeline] echo 07:02:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4743a61 [Pipeline] echo 07:02:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:02:38 + git log --format=format:%s -1 4743a61940975039428beea7bd45312b5e06b1c9 [Pipeline] echo 07:02:38 GIT_COMMIT: 4743a61940975039428beea7bd45312b5e06b1c9, Commit Message: feat: expose functions to be reusable by device-sdk [Pipeline] echo 07:02:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:02:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:02:39 07:02:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:02:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:02:40 latest: Pulling from edgex-devops/git-semver 07:02:40 31603596830f: Pulling fs layer 07:02:40 2a8b12db71e7: Pulling fs layer 07:02:40 6ca5941a6612: Pulling fs layer 07:02:40 ecc8261a40a4: Pulling fs layer 07:02:40 ecc8261a40a4: Waiting 07:02:40 2a8b12db71e7: Verifying Checksum 07:02:40 2a8b12db71e7: Download complete 07:02:40 31603596830f: Verifying Checksum 07:02:40 31603596830f: Download complete 07:02:40 ecc8261a40a4: Verifying Checksum 07:02:40 ecc8261a40a4: Download complete 07:02:40 6ca5941a6612: Verifying Checksum 07:02:40 6ca5941a6612: Download complete 07:02:41 31603596830f: Pull complete 07:02:41 2a8b12db71e7: Pull complete 07:02:41 6ca5941a6612: Pull complete 07:02:42 ecc8261a40a4: Pull complete 07:02:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:02:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:02:42 prd-centos7-docker-4c-2g-28959 does not seem to be running inside a container 07:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-534 -v /w/workspace/dry_go-mod-core-contracts_PR-534:/w/workspace/dry_go-mod-core-contracts_PR-534:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-534@tmp:/w/workspace/dry_go-mod-core-contracts_PR-534@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 07:02:45 $ docker top 8fe10c77068eb49a4122e0360e15f271d019babe2a823a744d187d0038c60bb1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:02:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:02:45 [ssh-agent] Looking for ssh-agent implementation... 07:02:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:02:45 $ docker exec 8fe10c77068eb49a4122e0360e15f271d019babe2a823a744d187d0038c60bb1 ssh-agent 07:02:45 SSH_AUTH_SOCK=/tmp/ssh-WXKN2tIbbCoV/agent.12 07:02:45 SSH_AGENT_PID=17 07:02:45 Running ssh-add (command line suppressed) 07:02:46 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-534@tmp/private_key_1120547167942377497.key (/w/workspace/dry_go-mod-core-contracts_PR-534@tmp/private_key_1120547167942377497.key) 07:02:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:02:46 + git tag --points-at HEAD [Pipeline] } 07:02:46 $ docker exec --env ******** --env ******** 8fe10c77068eb49a4122e0360e15f271d019babe2a823a744d187d0038c60bb1 ssh-agent -k 07:02:46 unset SSH_AUTH_SOCK; 07:02:46 unset SSH_AGENT_PID; 07:02:46 echo Agent pid 17 killed; 07:02:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:02:47 [ssh-agent] Looking for ssh-agent implementation... 07:02:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:02:47 $ docker exec 8fe10c77068eb49a4122e0360e15f271d019babe2a823a744d187d0038c60bb1 ssh-agent 07:02:47 SSH_AUTH_SOCK=/tmp/ssh-xDkYs9xusQUn/agent.45 07:02:47 SSH_AGENT_PID=50 07:02:47 Running ssh-add (command line suppressed) 07:02:47 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-534@tmp/private_key_4024788990461084902.key (/w/workspace/dry_go-mod-core-contracts_PR-534@tmp/private_key_4024788990461084902.key) 07:02:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:02:48 + git semver init 07:02:48 # -> Open(): unable to determine branch for HEAD 07:02:48 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-534/.git 07:02:48 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-534 07:02:48 # $SEMVER_REMOTE_NAME = origin 07:02:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:02:48 # $SEMVER_USER_NAME = edgex-jenkins 07:02:48 # $SEMVER_BRANCH = PR-534 07:02:48 # $SEMVER_TEMP = /tmp/semver-996829389 07:02:48 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 07:02:49 # '/tmp/semver-996829389' -> '/w/workspace/dry_go-mod-core-contracts_PR-534/.semver' 07:02:49 # -> Force: false 07:02:49 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-534/.semver [Pipeline] } 07:02:49 $ docker exec --env ******** --env ******** 8fe10c77068eb49a4122e0360e15f271d019babe2a823a744d187d0038c60bb1 ssh-agent -k 07:02:49 unset SSH_AUTH_SOCK; 07:02:49 unset SSH_AGENT_PID; 07:02:49 echo Agent pid 50 killed; 07:02:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:02:49 + git semver [Pipeline] } 07:02:49 $ docker stop --time=1 8fe10c77068eb49a4122e0360e15f271d019babe2a823a744d187d0038c60bb1 07:02:51 $ docker rm -f 8fe10c77068eb49a4122e0360e15f271d019babe2a823a744d187d0038c60bb1 [Pipeline] // withDockerContainer [Pipeline] sh 07:02:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:02:52 Stashed 1 file(s) [Pipeline] echo 07:02:52 [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 07:02:55 Running on prd-centos7-docker-4c-2g-28960 in /w/workspace/dry_go-mod-core-contracts_PR-534 [Pipeline] { [Pipeline] ws 07:02:55 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 07:02:57 using credential edgex-jenkins-ssh 07:02:57 Cloning the remote Git repository 07:02:57 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 07:02:57 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 07:02:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:02:58 > git --version # timeout=10 07:02:58 > git --version # 'git version 2.24.3' 07:02:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:58 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:02:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:58 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:02:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:02:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:02:59 Merging remotes/origin/master commit eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 into PR head commit 4743a61940975039428beea7bd45312b5e06b1c9 07:02:59 Merge succeeded, producing 4743a61940975039428beea7bd45312b5e06b1c9 07:02:59 Checking out Revision 4743a61940975039428beea7bd45312b5e06b1c9 (PR-534) 07:02:59 > git config core.sparsecheckout # timeout=10 07:02:59 > git checkout -f 4743a61940975039428beea7bd45312b5e06b1c9 # timeout=10 07:02:59 > git remote # timeout=10 07:02:59 > git config --get remote.origin.url # timeout=10 07:02:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:59 > git merge eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 # timeout=10 07:02:59 > git rev-parse HEAD^{commit} # timeout=10 07:02:59 > git config core.sparsecheckout # timeout=10 07:02:59 > git checkout -f 4743a61940975039428beea7bd45312b5e06b1c9 # timeout=10 07:03:03 Commit message: "feat: expose functions to be reusable by device-sdk" 07:03:03 > git --version # timeout=10 07:03:03 > git --version # 'git version 2.24.3' 07:03:03 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:03:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:03:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:03:05 + sudo service docker restart 07:03:05 + true 07:03:05 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 07:03:07 ========================================================= 07:03:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:03:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:03:08 + 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 . 07:03:08 Sending build context to Docker daemon 2.766MB 07:03:08 Step 1/7 : ARG BASE=golang:1.15-alpine 07:03:08 Step 2/7 : FROM ${BASE} 07:03:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:03:08 188c0c94c7c5: Pulling fs layer 07:03:08 0ef7d3d256c8: Pulling fs layer 07:03:08 de9db76c5a1d: Pulling fs layer 07:03:08 bca2f99d35d6: Pulling fs layer 07:03:08 93359f2a8cfa: Pulling fs layer 07:03:08 7c6f9722023f: Pulling fs layer 07:03:08 a35cf1a2eb13: Pulling fs layer 07:03:08 93359f2a8cfa: Waiting 07:03:08 7c6f9722023f: Waiting 07:03:08 a35cf1a2eb13: Waiting 07:03:08 bca2f99d35d6: Waiting 07:03:08 de9db76c5a1d: Verifying Checksum 07:03:08 de9db76c5a1d: Download complete 07:03:08 0ef7d3d256c8: Verifying Checksum 07:03:08 0ef7d3d256c8: Download complete 07:03:08 93359f2a8cfa: Verifying Checksum 07:03:08 93359f2a8cfa: Download complete 07:03:08 7c6f9722023f: Download complete 07:03:08 188c0c94c7c5: Verifying Checksum 07:03:08 188c0c94c7c5: Download complete 07:03:09 188c0c94c7c5: Pull complete 07:03:09 0ef7d3d256c8: Pull complete 07:03:09 de9db76c5a1d: Pull complete 07:03:10 Still waiting to schedule task 07:03:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:03:10 a35cf1a2eb13: Verifying Checksum 07:03:10 a35cf1a2eb13: Download complete 07:03:11 bca2f99d35d6: Download complete 07:03:17 bca2f99d35d6: Pull complete 07:03:17 93359f2a8cfa: Pull complete 07:03:17 7c6f9722023f: Pull complete 07:03:24 a35cf1a2eb13: Pull complete 07:03:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:03:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:03:24 ---> a62c8e92a672 07:03:24 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:03:24 ---> Running in 12060599c1f6 07:03:24 Removing intermediate container 12060599c1f6 07:03:24 ---> b9f183e1d725 07:03:24 Step 4/7 : RUN apk add bash 07:03:24 ---> Running in 87603dd641a7 07:03:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:03:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:03:26 OK: 166 MiB in 39 packages 07:03:27 Removing intermediate container 87603dd641a7 07:03:27 ---> 8686d75591c1 07:03:27 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 07:03:27 ---> Running in 9f72c6b95d89 07:03:27 Removing intermediate container 9f72c6b95d89 07:03:27 ---> c98134f28d82 07:03:27 Step 6/7 : COPY go.mod . 07:03:27 ---> b72fce96b48c 07:03:27 Step 7/7 : RUN go mod download 07:03:27 ---> Running in 2ce34af218e6 07:03:39 Removing intermediate container 2ce34af218e6 07:03:39 ---> 871e2f539eeb 07:03:39 Successfully built 871e2f539eeb 07:03:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:03:40 + docker inspect -f . ci-base-image-x86_64 07:03:40 . [Pipeline] withDockerContainer 07:03:40 prd-centos7-docker-4c-2g-28960 does not seem to be running inside a container 07:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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-x86_64 cat 07:03:41 $ docker top eace9103809cdb3f81e11962a8c225b65c6870ab10fab96d220604984a55849b -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:41 + go version 07:03:41 go version go1.15.5 linux/amd64 [Pipeline] } 07:03:41 $ docker stop --time=1 eace9103809cdb3f81e11962a8c225b65c6870ab10fab96d220604984a55849b 07:03:43 $ docker rm -f eace9103809cdb3f81e11962a8c225b65c6870ab10fab96d220604984a55849b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:03:44 + docker inspect -f . ci-base-image-x86_64 07:03:44 . [Pipeline] withDockerContainer 07:03:44 prd-centos7-docker-4c-2g-28960 does not seem to be running inside a container 07:03:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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-x86_64 cat 07:03:45 $ docker top c10c9ee23462ab110d95d51bed406bb4d3dc0444bb3e639a6b48f84931376e0e -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:45 + make test 07:03:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:03:52 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 07:03:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.012s coverage: 85.7% of statements 07:03:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.047s coverage: 100.0% of statements 07:03:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.018s coverage: 45.4% of statements 07:03:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.013s coverage: 77.8% of statements 07:03:53 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 07:03:54 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.008s coverage: 26.3% of statements 07:03:54 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.012s coverage: 14.7% of statements 07:03:54 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.020s coverage: 100.0% of statements 07:03:55 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.027s coverage: 91.8% of statements 07:03:55 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 07:03:55 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 07:03:55 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.013s coverage: 100.0% of statements 07:03:55 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.011s coverage: 36.7% of statements 07:03:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.052s coverage: 63.0% of statements 07:03:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.036s coverage: 26.3% of statements 07:03:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.020s coverage: 15.4% of statements 07:03:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.009s coverage: 15.4% of statements 07:03:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.004s coverage: 14.3% of statements 07:03:57 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 07:03:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.078s coverage: 84.6% of statements 07:03:59 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 07:03:59 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 07:03:59 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 07:03:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.013s coverage: 46.7% of statements 07:03:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.015s coverage: 94.7% of statements 07:03:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.065s coverage: 89.1% of statements 07:03:59 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.009s coverage: 100.0% of statements 07:03:59 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 07:03:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:04:01 gofmt -l . 07:04:01 [ "`gofmt -l .`" = "" ] [Pipeline] } 07:04:02 $ docker stop --time=1 c10c9ee23462ab110d95d51bed406bb4d3dc0444bb3e639a6b48f84931376e0e 07:04:04 $ docker rm -f c10c9ee23462ab110d95d51bed406bb4d3dc0444bb3e639a6b48f84931376e0e [Pipeline] // withDockerContainer [Pipeline] sh 07:04:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:04:05 Stashed 1 file(s) [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 Post stage [Pipeline] libraryResource [Pipeline] sh 07:04:07 ---> job-cost.sh 07:04:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SO6g 07:04:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:04:55 lf-activate-venv(): INFO: Adding /tmp/venv-SO6g/bin to PATH 07:04:55 INFO: No Stack... 07:04:55 INFO: Retrieving Pricing Info for: v1-standard-2 07:04:55 INFO: Archiving Costs [Pipeline] sh 07:04:56 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv 07:04:56 + cut -d, -f6 [Pipeline] lock 07:04:56 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] 07:04:56 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] did not exist. Created. 07:04:56 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:04:56 + echo total: 0.029999999329447746 [Pipeline] stash 07:04:56 Stashed 1 file(s) [Pipeline] } 07:04:56 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:05:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28965 in /w/workspace/dry_go-mod-core-contracts_PR-534 [Pipeline] { [Pipeline] ws 07:05:53 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 07:05:58 using credential edgex-jenkins-ssh 07:05:58 Cloning the remote Git repository 07:05:58 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 07:05:58 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 07:05:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:05:58 > git --version # timeout=10 07:05:58 > git --version # 'git version 2.17.1' 07:05:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:05:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:05:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:05:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:05:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:05:59 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:05:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:05:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:06:00 Merging remotes/origin/master commit eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 into PR head commit 4743a61940975039428beea7bd45312b5e06b1c9 07:06:00 Merge succeeded, producing 4743a61940975039428beea7bd45312b5e06b1c9 07:06:00 Checking out Revision 4743a61940975039428beea7bd45312b5e06b1c9 (PR-534) 07:06:00 > git config core.sparsecheckout # timeout=10 07:06:00 > git checkout -f 4743a61940975039428beea7bd45312b5e06b1c9 # timeout=10 07:06:00 > git remote # timeout=10 07:06:00 > git config --get remote.origin.url # timeout=10 07:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:06:00 > git merge eae89da2d9f7062a0fb5291e4b5ed6eacd6f3ce8 # timeout=10 07:06:00 > git rev-parse HEAD^{commit} # timeout=10 07:06:00 > git config core.sparsecheckout # timeout=10 07:06:00 > git checkout -f 4743a61940975039428beea7bd45312b5e06b1c9 # timeout=10 07:06:05 Commit message: "feat: expose functions to be reusable by device-sdk" 07:06:05 > git --version # timeout=10 07:06:05 > git --version # 'git version 2.17.1' 07:06:05 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:06:07 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:06:07 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:06:07 + + true 07:06:07 sudo service docker restart [Pipeline] unstash [Pipeline] echo 07:06:10 ========================================================= 07:06:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:06:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:06:10 + 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 . 07:06:11 Sending build context to Docker daemon 2.765MB 07:06:11 Step 1/7 : ARG BASE=golang:1.15-alpine 07:06:11 Step 2/7 : FROM ${BASE} 07:06:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:06:11 5f621e34cdf4: Pulling fs layer 07:06:11 a4357932f1b6: Pulling fs layer 07:06:11 18c013af1878: Pulling fs layer 07:06:11 00ac8860ef70: Pulling fs layer 07:06:11 63d7cb157983: Pulling fs layer 07:06:11 b116817d02f9: Pulling fs layer 07:06:11 745a02a5169b: Pulling fs layer 07:06:11 63d7cb157983: Waiting 07:06:11 b116817d02f9: Waiting 07:06:11 00ac8860ef70: Waiting 07:06:11 745a02a5169b: Waiting 07:06:11 18c013af1878: Download complete 07:06:11 a4357932f1b6: Download complete 07:06:12 63d7cb157983: Verifying Checksum 07:06:12 63d7cb157983: Download complete 07:06:12 b116817d02f9: Download complete 07:06:12 5f621e34cdf4: Verifying Checksum 07:06:12 5f621e34cdf4: Download complete 07:06:12 5f621e34cdf4: Pull complete 07:06:13 a4357932f1b6: Pull complete 07:06:13 18c013af1878: Pull complete 07:06:14 745a02a5169b: Verifying Checksum 07:06:14 745a02a5169b: Download complete 07:06:16 00ac8860ef70: Verifying Checksum 07:06:16 00ac8860ef70: Download complete 07:06:26 00ac8860ef70: Pull complete 07:06:26 63d7cb157983: Pull complete 07:06:26 b116817d02f9: Pull complete 07:06:31 745a02a5169b: Pull complete 07:06:31 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:06:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:06:31 ---> b7e6874047d6 07:06:31 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:06:33 ---> Running in 0c3230623e8c 07:06:34 Removing intermediate container 0c3230623e8c 07:06:34 ---> 434ea4aa88cf 07:06:34 Step 4/7 : RUN apk add bash 07:06:34 ---> Running in 10489a34773b 07:06:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:06:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:06:37 OK: 142 MiB in 39 packages 07:06:38 Removing intermediate container 10489a34773b 07:06:38 ---> 7ea232cf44e8 07:06:38 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 07:06:38 ---> Running in c9ac710f1486 07:06:39 Removing intermediate container c9ac710f1486 07:06:39 ---> d38f2104f0a9 07:06:39 Step 6/7 : COPY go.mod . 07:06:39 ---> 18b62e674b7c 07:06:39 Step 7/7 : RUN go mod download 07:06:39 ---> Running in 19f9ae924b3e 07:06:54 Removing intermediate container 19f9ae924b3e 07:06:54 ---> 92d83cdd7b0f 07:06:54 Successfully built 92d83cdd7b0f 07:06:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:06:55 + docker inspect -f . ci-base-image-arm64 07:06:55 . [Pipeline] withDockerContainer 07:06:55 prd-ubuntu18.04-docker-arm64-4c-16g-28965 does not seem to be running inside a container 07:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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-arm64 cat 07:06:56 $ docker top 8123379be5dafa836fd5c32fcfdf74e4c3ad30a7dcec1bed83b0795cfd4948af -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:58 + go version 07:06:58 go version go1.15.5 linux/arm64 [Pipeline] } 07:06:58 $ docker stop --time=1 8123379be5dafa836fd5c32fcfdf74e4c3ad30a7dcec1bed83b0795cfd4948af 07:07:00 $ docker rm -f 8123379be5dafa836fd5c32fcfdf74e4c3ad30a7dcec1bed83b0795cfd4948af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:07:01 + docker inspect -f . ci-base-image-arm64 07:07:01 . [Pipeline] withDockerContainer 07:07:01 prd-ubuntu18.04-docker-arm64-4c-16g-28965 does not seem to be running inside a container 07:07:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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-arm64 cat 07:07:03 $ docker top 944ed01a786f96cbbaa8cba2035bf77700ef2b9f3214c04000cd080421be764d -eo pid,comm [Pipeline] { [Pipeline] sh 07:07:04 + make test 07:07:04 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:07:26 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 07:07:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.048s coverage: 85.7% of statements 07:07:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.053s coverage: 100.0% of statements 07:07:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.040s coverage: 45.4% of statements 07:07:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.027s coverage: 77.8% of statements 07:07:29 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 07:07:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.031s coverage: 26.3% of statements 07:07:31 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.049s coverage: 14.7% of statements 07:07:31 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.027s coverage: 100.0% of statements 07:07:32 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.071s coverage: 91.8% of statements 07:07:32 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 07:07:32 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 07:07:32 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.034s coverage: 100.0% of statements 07:07:32 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.026s coverage: 36.7% of statements 07:07:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.214s coverage: 63.0% of statements 07:07:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.015s coverage: 26.3% of statements 07:07:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.010s coverage: 15.4% of statements 07:07:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.022s coverage: 15.4% of statements 07:07:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.055s coverage: 14.3% of statements 07:07:39 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 07:07:41 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.198s coverage: 84.6% of statements 07:07:41 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 07:07:41 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 07:07:41 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 07:07:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.050s coverage: 46.7% of statements 07:07:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.091s coverage: 94.7% of statements 07:07:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.179s coverage: 89.1% of statements 07:07:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.024s coverage: 100.0% of statements 07:07:45 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 07:07:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:07:50 gofmt -l . 07:07:51 [ "`gofmt -l .`" = "" ] [Pipeline] } 07:07:52 $ docker stop --time=1 944ed01a786f96cbbaa8cba2035bf77700ef2b9f3214c04000cd080421be764d 07:07:54 $ docker rm -f 944ed01a786f96cbbaa8cba2035bf77700ef2b9f3214c04000cd080421be764d [Pipeline] // withDockerContainer [Pipeline] sh 07:07:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:07:55 Warning: overwriting stash ‘coverage-report’ 07:07:56 Stashed 1 file(s) [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 Post stage [Pipeline] libraryResource [Pipeline] sh 07:07:57 ---> job-cost.sh 07:07:57 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C3Ez 07:08:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:10:43 lf-activate-venv(): INFO: Adding /tmp/venv-C3Ez/bin to PATH 07:10:43 INFO: No Stack... 07:10:43 INFO: Retrieving Pricing Info for: lf-standard-4 07:10:43 INFO: Archiving Costs [Pipeline] sh 07:10:44 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv 07:10:44 + cut -d, -f6 [Pipeline] lock 07:10:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] 07:10:44 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] did not exist. Created. 07:10:44 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:10:44 /w/workspace/go-mod-core-contracts/1@tmp/durable-ef41848a/script.sh: 1: /w/workspace/go-mod-core-contracts/1@tmp/durable-ef41848a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:10:45 + echo total: 0.20999999344348907 [Pipeline] stash 07:10:45 Warning: overwriting stash ‘stack-cost’ 07:10:45 Stashed 1 file(s) [Pipeline] } 07:10:45 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-534-1-stack-cost] [Pipeline] // lock [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 07:10:47 provisioning config files... 07:10:47 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-534@tmp/config6046049828687349452tmp [Pipeline] { [Pipeline] sh 07:10:47 + set +x 07:10:47 + curl -s https://codecov.io/bash 07:10:47 + bash -s -- 07:10:47 07:10:47 _____ _ 07:10:47 / ____| | | 07:10:47 | | ___ __| | ___ ___ _____ __ 07:10:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:10:47 | |___| (_) | (_| | __/ (_| (_) \ V / 07:10:47 \_____\___/ \__,_|\___|\___\___/ \_/ 07:10:47 Bash-20210226-7100762 07:10:47 07:10:47 07:10:47 ==> git version 2.24.3 found 07:10:47 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:10:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:10:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:10:47 ==> Jenkins CI detected. 07:10:47 project root: . 07:10:47 --> token set from env 07:10:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:10:47 ==> Running gcov in . (disable via -X gcov) 07:10:47 ==> Python coveragepy not found 07:10:47 ==> Searching for coverage reports in: 07:10:47 + . 07:10:47 -> Found 1 reports 07:10:47 ==> Detecting git/mercurial file structure 07:10:47 ==> Reading reports 07:10:47 + ./coverage.out bytes=160328 07:10:47 ==> Appending adjustments 07:10:47 https://docs.codecov.io/docs/fixing-reports 07:10:49 + Found adjustments 07:10:49 ==> Gzipping contents 07:10:49 24K /tmp/codecov.DMRjBy.gz 07:10:49 ==> Uploading reports 07:10:49 url: https://codecov.io 07:10:49 query: branch=PR-534&commit=4743a61940975039428beea7bd45312b5e06b1c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=534&job=&cmd_args= 07:10:49 -> Pinging Codecov 07:10:49 https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-534&commit=4743a61940975039428beea7bd45312b5e06b1c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=534&job=&cmd_args= 07:10:49 -> Uploading to 07:10:49 https://storage.googleapis.com/codecov/v4/raw/2021-03-08/71470A77251A30514AAF9C0BB2E5B6CE/4743a61940975039428beea7bd45312b5e06b1c9/f47f44a0-2156-4c17-83f9-b1353b4a1627.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210308T071049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=905d9d9db1c062b7f0c944b435b273a02bd2410d39b5c14d6cc49d460fefcd98 07:10:49 % Total % Received % Xferd Average Speed Time Time Time Current 07:10:49 Dload Upload Total Spent Left Speed 07:10:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23835 0 0 100 23835 0 48006 --:--:-- --:--:-- --:--:-- 47957 07:10:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/4743a61940975039428beea7bd45312b5e06b1c9 [Pipeline] } 07:10:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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 07:10:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:10:54 ---> package-listing.sh 07:10:54 ++ facter osfamily 07:10:54 ++ tr '[:upper:]' '[:lower:]' 07:10:54 + OS_FAMILY=redhat 07:10:54 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-534 07:10:54 + START_PACKAGES=/tmp/packages_start.txt 07:10:54 + END_PACKAGES=/tmp/packages_end.txt 07:10:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:10:54 + PACKAGES=/tmp/packages_start.txt 07:10:54 + '[' /w/workspace/dry_go-mod-core-contracts_PR-534 ']' 07:10:54 + PACKAGES=/tmp/packages_end.txt 07:10:54 + case "${OS_FAMILY}" in 07:10:54 + rpm -qa 07:10:54 + sort 07:10:59 + '[' -f /tmp/packages_start.txt ']' 07:10:59 + '[' -f /tmp/packages_end.txt ']' 07:10:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:10:59 + '[' /w/workspace/dry_go-mod-core-contracts_PR-534 ']' 07:10:59 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-534/archives/ 07:10:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-534/archives/ [Pipeline] echo 07:10:59 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-534/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:10:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:11:00 07:11:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:11:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:11:00 alpine: Pulling from edgex-lftools-log-publisher 07:11:00 df20fa9351a1: Pulling fs layer 07:11:00 36b3adc4ff6f: Pulling fs layer 07:11:00 8ad3a11d3b57: Pulling fs layer 07:11:00 46f8f816bc3b: Pulling fs layer 07:11:00 93b61091891f: Pulling fs layer 07:11:00 93b9cdb0e59b: Pulling fs layer 07:11:00 5e14af77c1be: Pulling fs layer 07:11:00 01666e4c0597: Pulling fs layer 07:11:00 aa168da1d23b: Pulling fs layer 07:11:00 93b9cdb0e59b: Waiting 07:11:00 5e14af77c1be: Waiting 07:11:00 01666e4c0597: Waiting 07:11:00 aa168da1d23b: Waiting 07:11:00 46f8f816bc3b: Waiting 07:11:00 93b61091891f: Waiting 07:11:00 36b3adc4ff6f: Verifying Checksum 07:11:00 36b3adc4ff6f: Download complete 07:11:00 46f8f816bc3b: Verifying Checksum 07:11:00 46f8f816bc3b: Download complete 07:11:00 df20fa9351a1: Download complete 07:11:00 93b9cdb0e59b: Verifying Checksum 07:11:00 93b9cdb0e59b: Download complete 07:11:00 5e14af77c1be: Download complete 07:11:00 93b61091891f: Verifying Checksum 07:11:00 93b61091891f: Download complete 07:11:00 01666e4c0597: Verifying Checksum 07:11:00 01666e4c0597: Download complete 07:11:00 8ad3a11d3b57: Verifying Checksum 07:11:00 8ad3a11d3b57: Download complete 07:11:00 df20fa9351a1: Pull complete 07:11:01 36b3adc4ff6f: Pull complete 07:11:02 8ad3a11d3b57: Pull complete 07:11:02 46f8f816bc3b: Pull complete 07:11:03 aa168da1d23b: Verifying Checksum 07:11:03 aa168da1d23b: Download complete 07:11:03 93b61091891f: Pull complete 07:11:03 93b9cdb0e59b: Pull complete 07:11:04 5e14af77c1be: Pull complete 07:11:04 01666e4c0597: Pull complete 07:11:12 aa168da1d23b: Pull complete 07:11:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:11:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:11:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:11:12 prd-centos7-docker-4c-2g-28959 does not seem to be running inside a container 07:11:12 $ 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-534/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-534 -v /w/workspace/dry_go-mod-core-contracts_PR-534:/w/workspace/dry_go-mod-core-contracts_PR-534:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-534@tmp:/w/workspace/dry_go-mod-core-contracts_PR-534@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 07:11:15 $ docker top 4bf9478d814fcdcc6152471cb0b9fb857e6cdf2a5aa7998da5a6c8ab52067c4a -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:15 + touch /tmp/pre-build-complete [Pipeline] sh 07:11:15 + mkdir -p /var/log/sa [Pipeline] sh 07:11:16 + ls /var/log/sa-host 07:11:16 + sadf -c /var/log/sa-host/sa08 07:11:16 file_magic: OK 07:11:16 HZ: Using current value: 100 07:11:16 file_header: OK 07:11:16 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 07:11:16 Statistics: 07:11:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:11:16 File successfully converted to sysstat format version 12.2.1 07:11:16 + sadf -c /var/log/sa-host/sa23 07:11:16 file_magic: OK 07:11:16 HZ: Using current value: 100 07:11:16 file_header: OK 07:11:16 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 07:11:16 Statistics: 07:11:16 Hnuu...uuuununununu... 07:11:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:16 provisioning config files... 07:11:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-534@tmp/config5676190204733542763tmp [Pipeline] { [Pipeline] echo 07:11:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:11:17 ---> create-netrc.sh [Pipeline] } 07:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:11:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:11:17 ---> python-tools-install.sh [Pipeline] echo 07:11:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:11:17 ---> sudo-logs.sh 07:11:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:11:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:11:18 ---> job-cost.sh 07:11:18 lf-activate-venv: SKIPPING 07:11:18 DEBUG: total: 0.20999999344348907 07:11:18 INFO: Retrieving Stack Cost... 07:11:19 INFO: Retrieving Pricing Info for: v1-standard-2 07:11:20 INFO: Archiving Costs [Pipeline] echo 07:11:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:11:20 ---> logs-deploy.sh 07:11:20 lf-activate-venv: SKIPPING 07:11:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-534/1 07:11:20 INFO: archiving workspace using pattern(s): 07:11:22 Archives upload complete. 07:11:22 INFO: archiving logs to Nexus