Pull request #674 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from fa6107dc0bb8e6bba8a8084b73e736c34f435387+3eb1cdc35642f3c11554f344c583c1a273ea4a52 (9e08c5eab5d5c6dc45c402d9c7bc115c595a903e) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4880796227677710957.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4722113763961954083.key > 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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git 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-674/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-674/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7140513376580567010.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-674/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2744980586468019615.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6228300666860516600.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE 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-674/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-674/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh917517358259186147.key > 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 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: 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-2325 in /w/workspace/dry_go-mod-core-contracts_PR-674 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-674 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-674@tmp/jenkins-gitclient-ssh2227993854110630345.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-674@tmp/jenkins-gitclient-ssh7066613609348683550.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/674/head:refs/remotes/origin/PR-674 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3eb1cdc35642f3c11554f344c583c1a273ea4a52 into PR head commit fa6107dc0bb8e6bba8a8084b73e736c34f435387 Merge succeeded, producing fa6107dc0bb8e6bba8a8084b73e736c34f435387 Checking out Revision fa6107dc0bb8e6bba8a8084b73e736c34f435387 (PR-674) > git config core.sparsecheckout # timeout=10 > git checkout -f fa6107dc0bb8e6bba8a8084b73e736c34f435387 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-674@tmp/jenkins-gitclient-ssh1773573239407501938.key > git merge 3eb1cdc35642f3c11554f344c583c1a273ea4a52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa6107dc0bb8e6bba8a8084b73e736c34f435387 # timeout=10 Commit message: "fix(data): Add reading id mapping during conversion" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:18:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:18:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:18:55 ========================================================= 03:18:55 EdgeX Global Pipelines Version Info 03:18:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:18:56 ------------------- 03:18:56 stable info: 03:18:56 ------------------- 03:18:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:18:56 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 03:18:56 Message: update stable to v1.0.210 03:18:56 ------------------- 03:18:56 experimental info: 03:18:56 ------------------- 03:18:56 Commited By: **** collab-it+edgex@linuxfoundation.org 03:18:56 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 03:18:56 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:18:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 03:18:56 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 03:18:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-674 [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-674 [Pipeline] echo 03:18:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-674 [Pipeline] echo 03:18:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa6107dc0bb8e6bba8a8084b73e736c34f435387 [Pipeline] echo 03:18:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa6107d [Pipeline] echo 03:18:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:59 + git log --format=format:%s -1 fa6107dc0bb8e6bba8a8084b73e736c34f435387 [Pipeline] echo 03:18:59 GIT_COMMIT: fa6107dc0bb8e6bba8a8084b73e736c34f435387, Commit Message: fix(data): Add reading id mapping during conversion [Pipeline] echo 03:18:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:19:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:19:01 03:19:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:19:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:19:01 latest: Pulling from edgex-devops/git-semver 03:19:01 a0d0a0d46f8b: Pulling fs layer 03:19:01 3e5f54012d9b: Pulling fs layer 03:19:01 4c7163046ea9: Pulling fs layer 03:19:01 0c2d73faf560: Pulling fs layer 03:19:01 0c2d73faf560: Waiting 03:19:01 3e5f54012d9b: Verifying Checksum 03:19:01 3e5f54012d9b: Download complete 03:19:01 a0d0a0d46f8b: Verifying Checksum 03:19:01 a0d0a0d46f8b: Download complete 03:19:01 0c2d73faf560: Verifying Checksum 03:19:01 0c2d73faf560: Download complete 03:19:01 4c7163046ea9: Verifying Checksum 03:19:01 4c7163046ea9: Download complete 03:19:01 a0d0a0d46f8b: Pull complete 03:19:01 3e5f54012d9b: Pull complete 03:19:02 4c7163046ea9: Pull complete 03:19:02 0c2d73faf560: Pull complete 03:19:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:19:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:19:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:19:02 prd-centos7-docker-4c-2g-2325 does not seem to be running inside a container 03:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-674 -v /w/workspace/dry_go-mod-core-contracts_PR-674:/w/workspace/dry_go-mod-core-contracts_PR-674:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-674@tmp:/w/workspace/dry_go-mod-core-contracts_PR-674@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 03:19:02 $ docker top 3b2dbaa31e1fa5599f866ecbd670369e5ef158319662957b63bbe2e6acee5218 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:03 [ssh-agent] Looking for ssh-agent implementation... 03:19:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:03 $ docker exec 3b2dbaa31e1fa5599f866ecbd670369e5ef158319662957b63bbe2e6acee5218 ssh-agent 03:19:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcEpDgF/agent.14 03:19:03 SSH_AGENT_PID=20 03:19:03 Running ssh-add (command line suppressed) 03:19:03 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-674@tmp/private_key_5158965116924240965.key (/w/workspace/dry_go-mod-core-contracts_PR-674@tmp/private_key_5158965116924240965.key) 03:19:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:03 + git tag --points-at HEAD [Pipeline] } 03:19:03 $ docker exec --env ******** --env ******** 3b2dbaa31e1fa5599f866ecbd670369e5ef158319662957b63bbe2e6acee5218 ssh-agent -k 03:19:03 unset SSH_AUTH_SOCK; 03:19:03 unset SSH_AGENT_PID; 03:19:03 echo Agent pid 20 killed; 03:19:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:19:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:03 [ssh-agent] Looking for ssh-agent implementation... 03:19:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:04 $ docker exec 3b2dbaa31e1fa5599f866ecbd670369e5ef158319662957b63bbe2e6acee5218 ssh-agent 03:19:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIGbJhF/agent.53 03:19:04 SSH_AGENT_PID=59 03:19:04 Running ssh-add (command line suppressed) 03:19:04 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-674@tmp/private_key_4763932958049725710.key (/w/workspace/dry_go-mod-core-contracts_PR-674@tmp/private_key_4763932958049725710.key) 03:19:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:04 + git semver init 03:19:04 # -> Open(): unable to determine branch for HEAD 03:19:04 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-674/.git 03:19:04 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-674 03:19:04 # $SEMVER_REMOTE_NAME = origin 03:19:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:19:04 # $SEMVER_USER_NAME = edgex-jenkins 03:19:04 # $SEMVER_BRANCH = PR-674 03:19:04 # $SEMVER_TEMP = /tmp/semver-201518772 03:19:04 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 03:19:05 # '/tmp/semver-201518772' -> '/w/workspace/dry_go-mod-core-contracts_PR-674/.semver' 03:19:05 # -> Force: false 03:19:05 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-674/.semver [Pipeline] } 03:19:05 $ docker exec --env ******** --env ******** 3b2dbaa31e1fa5599f866ecbd670369e5ef158319662957b63bbe2e6acee5218 ssh-agent -k 03:19:05 unset SSH_AUTH_SOCK; 03:19:05 unset SSH_AGENT_PID; 03:19:05 echo Agent pid 59 killed; 03:19:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:06 + git semver [Pipeline] } 03:19:06 $ docker stop --time=1 3b2dbaa31e1fa5599f866ecbd670369e5ef158319662957b63bbe2e6acee5218 03:19:07 $ docker rm -f 3b2dbaa31e1fa5599f866ecbd670369e5ef158319662957b63bbe2e6acee5218 [Pipeline] // withDockerContainer [Pipeline] sh 03:19:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:19:08 Stashed 1 file(s) [Pipeline] echo 03:19:08 [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 03:19:23 Still waiting to schedule task 03:19:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:19:23 Still waiting to schedule task 03:19:23 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:21:49 Running on prd-centos7-docker-4c-2g-2326 in /w/workspace/dry_go-mod-core-contracts_PR-674 [Pipeline] { [Pipeline] ws 03:21:49 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 03:21:49 Selected Git installation does not exist. Using Default 03:21:49 The recommended git tool is: NONE 03:21:51 using credential edgex-jenkins-ssh 03:21:51 Cloning the remote Git repository 03:21:51 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 03:21:51 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 03:21:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:21:51 > git --version # timeout=10 03:21:51 > git --version # 'git version 2.24.4' 03:21:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:51 [INFO] Currently running in a labeled security context 03:21:51 [INFO] Currently SELinux is 'enforcing' on the host 03:21:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh6442078892373425813.key 03:21:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:21:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:21:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:21:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:21:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:52 [INFO] Currently running in a labeled security context 03:21:52 [INFO] Currently SELinux is 'enforcing' on the host 03:21:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh8159681277947160994.key 03:21:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/674/head:refs/remotes/origin/PR-674 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:21:53 Merging remotes/origin/main commit 3eb1cdc35642f3c11554f344c583c1a273ea4a52 into PR head commit fa6107dc0bb8e6bba8a8084b73e736c34f435387 03:21:53 Merge succeeded, producing fa6107dc0bb8e6bba8a8084b73e736c34f435387 03:21:53 Checking out Revision fa6107dc0bb8e6bba8a8084b73e736c34f435387 (PR-674) 03:21:53 > git config core.sparsecheckout # timeout=10 03:21:53 > git checkout -f fa6107dc0bb8e6bba8a8084b73e736c34f435387 # timeout=10 03:21:53 > git remote # timeout=10 03:21:53 > git config --get remote.origin.url # timeout=10 03:21:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:53 [INFO] Currently running in a labeled security context 03:21:53 [INFO] Currently SELinux is 'enforcing' on the host 03:21:53 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh1420209193863187421.key 03:21:53 > git merge 3eb1cdc35642f3c11554f344c583c1a273ea4a52 # timeout=10 03:21:53 > git rev-parse HEAD^{commit} # timeout=10 03:21:53 > git config core.sparsecheckout # timeout=10 03:21:53 > git checkout -f fa6107dc0bb8e6bba8a8084b73e736c34f435387 # timeout=10 03:21:58 Commit message: "fix(data): Add reading id mapping during conversion" 03:21:58 > git --version # timeout=10 03:21:58 > git --version # 'git version 2.24.4' 03:21:58 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:21:59 ========================================================= 03:21:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:21:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 03:21:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:21:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:21:59 a0d0a0d46f8b: Pulling fs layer 03:21:59 31adcdaf11c8: Pulling fs layer 03:21:59 b8b176561691: Pulling fs layer 03:21:59 4527c011a84f: Pulling fs layer 03:21:59 5d74067f8e1e: Pulling fs layer 03:21:59 e0aca202a116: Pulling fs layer 03:21:59 3a43be97a3b4: Pulling fs layer 03:21:59 34cad66bf833: Pulling fs layer 03:21:59 b4e3c513aaa6: Pulling fs layer 03:21:59 4527c011a84f: Waiting 03:21:59 3a43be97a3b4: Waiting 03:21:59 34cad66bf833: Waiting 03:21:59 b4e3c513aaa6: Waiting 03:21:59 5d74067f8e1e: Waiting 03:21:59 e0aca202a116: Waiting 03:21:59 b8b176561691: Verifying Checksum 03:21:59 b8b176561691: Download complete 03:21:59 31adcdaf11c8: Verifying Checksum 03:21:59 31adcdaf11c8: Download complete 03:21:59 5d74067f8e1e: Verifying Checksum 03:21:59 5d74067f8e1e: Download complete 03:21:59 e0aca202a116: Verifying Checksum 03:21:59 e0aca202a116: Download complete 03:21:59 a0d0a0d46f8b: Verifying Checksum 03:21:59 a0d0a0d46f8b: Download complete 03:21:59 3a43be97a3b4: Verifying Checksum 03:21:59 3a43be97a3b4: Download complete 03:21:59 34cad66bf833: Verifying Checksum 03:21:59 34cad66bf833: Download complete 03:22:00 a0d0a0d46f8b: Pull complete 03:22:00 31adcdaf11c8: Pull complete 03:22:00 4527c011a84f: Verifying Checksum 03:22:00 4527c011a84f: Download complete 03:22:00 b8b176561691: Pull complete 03:22:00 b4e3c513aaa6: Verifying Checksum 03:22:00 b4e3c513aaa6: Download complete 03:22:04 4527c011a84f: Pull complete 03:22:04 5d74067f8e1e: Pull complete 03:22:04 e0aca202a116: Pull complete 03:22:04 3a43be97a3b4: Pull complete 03:22:04 34cad66bf833: Pull complete 03:22:06 b4e3c513aaa6: Pull complete 03:22:06 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 03:22:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:22:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 03:22:07 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 03:22:07 + docker inspect -f . ci-base-image-x86_64 03:22:07 . [Pipeline] withDockerContainer 03:22:07 prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container 03:22:07 $ 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 ******** -e ******** ci-base-image-x86_64 cat 03:22:10 $ docker top 131a0732a926744ee0e4d1635eeff179a855e6d006235b07de914cd303577071 -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:10 + go version 03:22:10 go version go1.16.8 linux/amd64 [Pipeline] } 03:22:10 $ docker stop --time=1 131a0732a926744ee0e4d1635eeff179a855e6d006235b07de914cd303577071 03:22:11 $ docker rm -f 131a0732a926744ee0e4d1635eeff179a855e6d006235b07de914cd303577071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:22:12 + docker inspect -f . ci-base-image-x86_64 03:22:12 . [Pipeline] withDockerContainer 03:22:12 prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container 03:22:12 $ 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 ******** -e ******** ci-base-image-x86_64 cat 03:22:13 $ docker top 0a36ecd33f1a83e55fa593bcccddba1a00982eb5f16680c5efa6d31ee6300a71 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:22:14 + make test 03:22:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:22:15 go: downloading github.com/google/uuid v1.3.0 03:22:15 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 03:22:15 go: downloading github.com/stretchr/testify v1.7.0 03:22:15 go: downloading github.com/go-kit/kit v0.11.0 03:22:15 go: downloading github.com/go-playground/validator/v10 v10.9.0 03:22:15 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 03:22:15 go: downloading github.com/x448/float16 v0.8.4 03:22:15 go: downloading github.com/davecgh/go-spew v1.1.1 03:22:15 go: downloading github.com/pmezard/go-difflib v1.0.0 03:22:15 go: downloading github.com/go-playground/universal-translator v0.18.0 03:22:15 go: downloading github.com/leodido/go-urn v1.2.1 03:22:15 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 03:22:15 go: downloading golang.org/x/text v0.3.6 03:22:15 go: downloading github.com/stretchr/objx v0.1.1 03:22:15 go: downloading github.com/go-logfmt/logfmt v0.5.0 03:22:15 go: downloading github.com/go-playground/locales v0.14.0 03:22:17 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 03:22:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.077s coverage: 83.5% of statements 03:22:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 03:22:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 03:22:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 03:22:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.006s coverage: 26.3% of statements 03:22:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 03:22:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.009s coverage: 47.1% of statements 03:22:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.014s coverage: 90.0% of statements 03:22:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.029s coverage: 86.2% of statements 03:22:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.016s coverage: 59.5% of statements 03:22:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.004s coverage: 36.1% of statements 03:22:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.006s coverage: 48.7% of statements 03:22:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:22:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:22:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 03:22:33 $ docker stop --time=1 0a36ecd33f1a83e55fa593bcccddba1a00982eb5f16680c5efa6d31ee6300a71 03:22:34 $ docker rm -f 0a36ecd33f1a83e55fa593bcccddba1a00982eb5f16680c5efa6d31ee6300a71 [Pipeline] // withDockerContainer [Pipeline] sh 03:22:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:22:35 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:22:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:36 03:22:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:22:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:37 latest: Pulling from edgex-lftools-log-publisher 03:22:37 b4d181a07f80: Pulling fs layer 03:22:37 a1111a8f2ec3: Pulling fs layer 03:22:37 ed53099fbce6: Pulling fs layer 03:22:37 dc539afda2c1: Pulling fs layer 03:22:37 77bc0d833cb6: Pulling fs layer 03:22:37 9065ff56babe: Pulling fs layer 03:22:37 d287ab97295c: Pulling fs layer 03:22:37 dc539afda2c1: Waiting 03:22:37 77bc0d833cb6: Waiting 03:22:37 9065ff56babe: Waiting 03:22:37 d287ab97295c: Waiting 03:22:37 a1111a8f2ec3: Verifying Checksum 03:22:37 a1111a8f2ec3: Download complete 03:22:37 dc539afda2c1: Verifying Checksum 03:22:37 dc539afda2c1: Download complete 03:22:37 ed53099fbce6: Verifying Checksum 03:22:37 ed53099fbce6: Download complete 03:22:37 77bc0d833cb6: Verifying Checksum 03:22:37 77bc0d833cb6: Download complete 03:22:37 9065ff56babe: Verifying Checksum 03:22:37 9065ff56babe: Download complete 03:22:37 b4d181a07f80: Verifying Checksum 03:22:37 b4d181a07f80: Download complete 03:22:37 d287ab97295c: Verifying Checksum 03:22:37 d287ab97295c: Download complete 03:22:39 b4d181a07f80: Pull complete 03:22:39 a1111a8f2ec3: Pull complete 03:22:39 ed53099fbce6: Pull complete 03:22:39 dc539afda2c1: Pull complete 03:22:39 77bc0d833cb6: Pull complete 03:22:39 9065ff56babe: Pull complete 03:22:44 d287ab97295c: Pull complete 03:22:44 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 03:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:22:44 prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container 03:22:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:22:46 $ docker top d421b0ab2001c0eda824ea6b3d18859dd36f9af1af5d5bfc905ffc137f61fec1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:46 ---> job-cost.sh 03:22:46 lf-activate-venv: SKIPPING 03:22:46 INFO: No Stack... 03:22:46 INFO: Retrieving Pricing Info for: v3-standard-2 03:22:47 INFO: Archiving Costs [Pipeline] sh 03:22:47 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv 03:22:47 + cut -d, -f6 [Pipeline] lock 03:22:47 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] 03:22:47 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] did not exist. Created. 03:22:47 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:22:48 + echo total: 0.05999999865889549 [Pipeline] stash 03:22:48 Stashed 1 file(s) [Pipeline] } 03:22:48 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:22:48 $ docker stop --time=1 d421b0ab2001c0eda824ea6b3d18859dd36f9af1af5d5bfc905ffc137f61fec1 03:22:49 $ docker rm -f d421b0ab2001c0eda824ea6b3d18859dd36f9af1af5d5bfc905ffc137f61fec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:23:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2327 in /w/workspace/dry_go-mod-core-contracts_PR-674 [Pipeline] { [Pipeline] ws 03:23:40 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 03:23:40 Selected Git installation does not exist. Using Default 03:23:40 The recommended git tool is: NONE 03:23:47 using credential edgex-jenkins-ssh 03:23:47 Cloning the remote Git repository 03:23:47 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 03:23:47 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 03:23:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:23:48 > git --version # timeout=10 03:23:48 > git --version # 'git version 2.17.1' 03:23:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:23:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:23:49 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:23:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:23:49 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:23:49 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:23:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:23:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/674/head:refs/remotes/origin/PR-674 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:23:50 Merging remotes/origin/main commit 3eb1cdc35642f3c11554f344c583c1a273ea4a52 into PR head commit fa6107dc0bb8e6bba8a8084b73e736c34f435387 03:23:51 Merge succeeded, producing fa6107dc0bb8e6bba8a8084b73e736c34f435387 03:23:51 Checking out Revision fa6107dc0bb8e6bba8a8084b73e736c34f435387 (PR-674) 03:23:50 > git config core.sparsecheckout # timeout=10 03:23:50 > git checkout -f fa6107dc0bb8e6bba8a8084b73e736c34f435387 # timeout=10 03:23:50 > git remote # timeout=10 03:23:51 > git config --get remote.origin.url # timeout=10 03:23:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:23:51 > git merge 3eb1cdc35642f3c11554f344c583c1a273ea4a52 # timeout=10 03:23:51 > git rev-parse HEAD^{commit} # timeout=10 03:23:51 > git config core.sparsecheckout # timeout=10 03:23:51 > git checkout -f fa6107dc0bb8e6bba8a8084b73e736c34f435387 # timeout=10 03:23:55 Commit message: "fix(data): Add reading id mapping during conversion" 03:23:55 > git --version # timeout=10 03:23:55 > git --version # 'git version 2.17.1' 03:23:55 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:23:58 % Total % Received % Xferd Average Speed Time Time Time Current 03:23:58 Dload Upload Total Spent Left Speed 03:23:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 44451 0 --:--:-- --:--:-- --:--:-- 44451 [Pipeline] sh 03:23:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:23:59 + sudo tee /etc/docker/daemon.new 03:23:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:23:59 { 03:23:59 "registry-mirrors": [ 03:23:59 "https://nexus3.edgexfoundry.org:10001" 03:23:59 ], 03:23:59 "bip": "10.250.0.254/24", 03:23:59 "hosts": [ 03:23:59 "tcp://0.0.0.0:5555", 03:23:59 "unix:///var/run/docker.sock" 03:23:59 ], 03:23:59 "mtu": 1458, 03:23:59 "selinux-enabled": true, 03:23:59 "seccomp-profile": "/etc/docker/seccomp.json" 03:23:59 } [Pipeline] sh 03:23:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:24:00 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 03:24:18 ========================================================= 03:24:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:24:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 03:24:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:24:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:24:21 552d1f2373af: Pulling fs layer 03:24:21 ea3f2d53f512: Pulling fs layer 03:24:21 9e70ebbbe112: Pulling fs layer 03:24:21 7a9cfe048b4a: Pulling fs layer 03:24:21 72dc09318566: Pulling fs layer 03:24:21 f4f7b4309257: Pulling fs layer 03:24:21 0ac9a79272e3: Pulling fs layer 03:24:21 b78e95d17946: Pulling fs layer 03:24:21 7a9cfe048b4a: Waiting 03:24:21 72dc09318566: Waiting 03:24:21 f4f7b4309257: Waiting 03:24:21 0ac9a79272e3: Waiting 03:24:21 9e70ebbbe112: Verifying Checksum 03:24:21 9e70ebbbe112: Download complete 03:24:21 ea3f2d53f512: Verifying Checksum 03:24:21 ea3f2d53f512: Download complete 03:24:21 72dc09318566: Verifying Checksum 03:24:21 552d1f2373af: Verifying Checksum 03:24:21 552d1f2373af: Download complete 03:24:21 f4f7b4309257: Verifying Checksum 03:24:21 f4f7b4309257: Download complete 03:24:21 0ac9a79272e3: Verifying Checksum 03:24:21 0ac9a79272e3: Download complete 03:24:22 552d1f2373af: Pull complete 03:24:22 ea3f2d53f512: Pull complete 03:24:23 9e70ebbbe112: Pull complete 03:24:23 b78e95d17946: Verifying Checksum 03:24:23 b78e95d17946: Download complete 03:24:23 7a9cfe048b4a: Verifying Checksum 03:24:23 7a9cfe048b4a: Download complete 03:24:34 7a9cfe048b4a: Pull complete 03:24:34 72dc09318566: Pull complete 03:24:34 f4f7b4309257: Pull complete 03:24:34 0ac9a79272e3: Pull complete 03:24:39 b78e95d17946: Pull complete 03:24:39 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 03:24:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:24:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 03:24:39 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 03:24:40 + docker inspect -f . ci-base-image-arm64 03:24:40 . [Pipeline] withDockerContainer 03:24:40 prd-ubuntu18.04-docker-arm64-4c-16g-2327 does not seem to be running inside a container 03:24: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 03:24:47 $ docker top a6cf4a3cbb792833a55bfc8ebb5fddf793824355a3cfb311d11ab3c56240ca58 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:48 + go version 03:24:48 go version go1.16.8 linux/arm64 [Pipeline] } 03:24:48 $ docker stop --time=1 a6cf4a3cbb792833a55bfc8ebb5fddf793824355a3cfb311d11ab3c56240ca58 03:24:50 $ docker rm -f a6cf4a3cbb792833a55bfc8ebb5fddf793824355a3cfb311d11ab3c56240ca58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:24:51 + docker inspect -f . ci-base-image-arm64 03:24:51 . [Pipeline] withDockerContainer 03:24:52 prd-ubuntu18.04-docker-arm64-4c-16g-2327 does not seem to be running inside a container 03:24:52 $ 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 ******** -e ******** ci-base-image-arm64 cat 03:24:53 $ docker top 288ee0afad3c0c0aa442fb3c5fcd5c23275cad8bf09941bd658b3c58eecee571 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:24:55 + make test 03:24:55 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:24:57 go: downloading github.com/google/uuid v1.3.0 03:24:57 go: downloading github.com/go-kit/kit v0.11.0 03:24:57 go: downloading github.com/stretchr/testify v1.7.0 03:24:57 go: downloading github.com/go-playground/validator/v10 v10.9.0 03:24:57 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 03:24:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 03:24:57 go: downloading github.com/davecgh/go-spew v1.1.1 03:24:57 go: downloading github.com/pmezard/go-difflib v1.0.0 03:24:57 go: downloading github.com/stretchr/objx v0.1.1 03:24:57 go: downloading github.com/go-playground/universal-translator v0.18.0 03:24:57 go: downloading github.com/leodido/go-urn v1.2.1 03:24:57 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 03:24:57 go: downloading golang.org/x/text v0.3.6 03:24:57 go: downloading github.com/x448/float16 v0.8.4 03:24:58 go: downloading github.com/go-logfmt/logfmt v0.5.0 03:24:58 go: downloading github.com/go-playground/locales v0.14.0 03:25:02 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 03:25:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.408s coverage: 83.5% of statements 03:25:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 03:25:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 03:25:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 03:25:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.109s coverage: 26.3% of statements 03:25:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 03:25:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.086s coverage: 47.1% of statements 03:25:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.049s coverage: 90.0% of statements 03:25:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.283s coverage: 86.2% of statements 03:25:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.060s coverage: 59.5% of statements 03:25:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.014s coverage: 36.1% of statements 03:25:38 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.034s coverage: 48.7% of statements 03:25:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:26:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:26:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 03:26:01 $ docker stop --time=1 288ee0afad3c0c0aa442fb3c5fcd5c23275cad8bf09941bd658b3c58eecee571 03:26:02 $ docker rm -f 288ee0afad3c0c0aa442fb3c5fcd5c23275cad8bf09941bd658b3c58eecee571 [Pipeline] // withDockerContainer [Pipeline] sh 03:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:26:04 Warning: overwriting stash ‘coverage-report’ 03:26: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:06 03:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:26:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:07 arm64: Pulling from edgex-lftools-log-publisher 03:26:07 448f6bf000e3: Pulling fs layer 03:26:07 f757da607395: Pulling fs layer 03:26:07 05883995daec: Pulling fs layer 03:26:07 8603b9c90790: Pulling fs layer 03:26:07 1560dd03e051: Pulling fs layer 03:26:07 27f5ce0e4adf: Pulling fs layer 03:26:07 c2d8d7efcc4b: Pulling fs layer 03:26:07 27f5ce0e4adf: Waiting 03:26:07 c2d8d7efcc4b: Waiting 03:26:07 8603b9c90790: Waiting 03:26:07 1560dd03e051: Waiting 03:26:07 f757da607395: Verifying Checksum 03:26:07 f757da607395: Download complete 03:26:07 8603b9c90790: Verifying Checksum 03:26:07 8603b9c90790: Download complete 03:26:07 05883995daec: Verifying Checksum 03:26:07 05883995daec: Download complete 03:26:07 27f5ce0e4adf: Verifying Checksum 03:26:07 27f5ce0e4adf: Download complete 03:26:07 1560dd03e051: Verifying Checksum 03:26:07 1560dd03e051: Download complete 03:26:07 448f6bf000e3: Verifying Checksum 03:26:07 448f6bf000e3: Download complete 03:26:11 c2d8d7efcc4b: Verifying Checksum 03:26:11 c2d8d7efcc4b: Download complete 03:26:11 448f6bf000e3: Pull complete 03:26:12 f757da607395: Pull complete 03:26:14 05883995daec: Pull complete 03:26:14 8603b9c90790: Pull complete 03:26:15 1560dd03e051: Pull complete 03:26:16 27f5ce0e4adf: Pull complete 03:26:31 c2d8d7efcc4b: Pull complete 03:26:31 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 03:26:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:26:31 prd-ubuntu18.04-docker-arm64-4c-16g-2327 does not seem to be running inside a container 03:26:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:26:36 $ docker top 5e8833715097ea95b5601935e33c83446f637b2afa9eef572ac014944c7c68f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:38 ---> job-cost.sh 03:26:38 lf-activate-venv: SKIPPING 03:26:38 INFO: No Stack... 03:26:38 INFO: Retrieving Pricing Info for: v3-standard-4 03:26:39 INFO: Archiving Costs [Pipeline] sh 03:26:39 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv 03:26:39 + cut -d, -f6 [Pipeline] lock 03:26:39 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] 03:26:39 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] did not exist. Created. 03:26:39 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:40 /w/workspace/go-mod-core-contracts/1@tmp/durable-f81893e5/script.sh: 1: /w/workspace/go-mod-core-contracts/1@tmp/durable-f81893e5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:26:41 + echo total: 0.10999999940395355 [Pipeline] stash 03:26:41 Warning: overwriting stash ‘stack-cost’ 03:26:41 Stashed 1 file(s) [Pipeline] } 03:26:41 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-674-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:26:41 $ docker stop --time=1 5e8833715097ea95b5601935e33c83446f637b2afa9eef572ac014944c7c68f2 03:26:43 $ docker rm -f 5e8833715097ea95b5601935e33c83446f637b2afa9eef572ac014944c7c68f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider 03:26:44 provisioning config files... 03:26:44 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-674@tmp/config689298399094332017tmp [Pipeline] { [Pipeline] sh 03:26:44 + set +x 03:26:44 + curl -s https://codecov.io/bash 03:26:44 + bash -s -- 03:26:44 03:26:44 _____ _ 03:26:44 / ____| | | 03:26:44 | | ___ __| | ___ ___ _____ __ 03:26:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:26:44 | |___| (_) | (_| | __/ (_| (_) \ V / 03:26:44 \_____\___/ \__,_|\___|\___\___/ \_/ 03:26:44 Bash-1.0.6 03:26:44 03:26:44 03:26:44 ==> git version 2.24.4 found 03:26:44 ==> 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 03:26:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:26:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:26:44 ==> Jenkins CI detected. 03:26:44 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-674 03:26:44 project root: . 03:26:44 --> token set from env 03:26:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:26:44 ==> Running gcov in . (disable via -X gcov) 03:26:44 ==> Python coveragepy not found 03:26:44 ==> Searching for coverage reports in: 03:26:44 + . 03:26:44 -> Found 1 reports 03:26:44 ==> Detecting git/mercurial file structure 03:26:44 ==> Reading reports 03:26:44 + ./coverage.out bytes=102804 03:26:44 ==> Appending adjustments 03:26:44 https://docs.codecov.io/docs/fixing-reports 03:26:45 + Found adjustments 03:26:45 ==> Gzipping contents 03:26:45 16K /tmp/codecov.6y3kTG.gz 03:26:45 ==> Uploading reports 03:26:45 url: https://codecov.io 03:26:45 query: branch=PR-674&commit=fa6107dc0bb8e6bba8a8084b73e736c34f435387&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-674%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=674&job=&cmd_args= 03:26:45 -> Pinging Codecov 03:26:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-674&commit=fa6107dc0bb8e6bba8a8084b73e736c34f435387&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-674%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=674&job=&cmd_args= 03:26:45 -> Uploading to 03:26:45 https://storage.googleapis.com/codecov/v4/raw/2021-10-19/71470A77251A30514AAF9C0BB2E5B6CE/fa6107dc0bb8e6bba8a8084b73e736c34f435387/6950da42-b8e2-43f8-914e-48eff74edee3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211019T032645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d6bb9c772cf0129acb756b63dc7d7dc23e11e86cb26aa093136139a1db2c23c 03:26:45 % Total % Received % Xferd Average Speed Time Time Time Current 03:26:45 Dload Upload Total Spent Left Speed 03:26:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15310 0 0 100 15310 0 40669 --:--:-- --:--:-- --:--:-- 40718 03:26:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/fa6107dc0bb8e6bba8a8084b73e736c34f435387 [Pipeline] } 03:26:46 Deleting 1 temporary files [Pipeline] // configFileProvider [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] sh 03:26:49 + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-674/archives ']' [Pipeline] libraryResource [Pipeline] sh 03:26:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:50 ---> package-listing.sh 03:26:50 ++ facter osfamily 03:26:50 ++ tr '[:upper:]' '[:lower:]' 03:26:51 + OS_FAMILY=redhat 03:26:51 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-674 03:26:51 + START_PACKAGES=/tmp/packages_start.txt 03:26:51 + END_PACKAGES=/tmp/packages_end.txt 03:26:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:51 + PACKAGES=/tmp/packages_start.txt 03:26:51 + '[' /w/workspace/dry_go-mod-core-contracts_PR-674 ']' 03:26:51 + PACKAGES=/tmp/packages_end.txt 03:26:51 + case "${OS_FAMILY}" in 03:26:51 + sort 03:26:51 + rpm -qa 03:26:51 + '[' -f /tmp/packages_start.txt ']' 03:26:51 + '[' -f /tmp/packages_end.txt ']' 03:26:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:51 + '[' /w/workspace/dry_go-mod-core-contracts_PR-674 ']' 03:26:51 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-674/archives/ 03:26:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-674/archives/ [Pipeline] echo 03:26:51 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-674/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:26:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:52 03:26:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:26:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:52 latest: Pulling from edgex-lftools-log-publisher 03:26:52 b4d181a07f80: Pulling fs layer 03:26:52 a1111a8f2ec3: Pulling fs layer 03:26:52 ed53099fbce6: Pulling fs layer 03:26:52 dc539afda2c1: Pulling fs layer 03:26:52 77bc0d833cb6: Pulling fs layer 03:26:52 9065ff56babe: Pulling fs layer 03:26:52 d287ab97295c: Pulling fs layer 03:26:52 dc539afda2c1: Waiting 03:26:52 77bc0d833cb6: Waiting 03:26:52 9065ff56babe: Waiting 03:26:52 d287ab97295c: Waiting 03:26:52 a1111a8f2ec3: Verifying Checksum 03:26:52 a1111a8f2ec3: Download complete 03:26:52 dc539afda2c1: Verifying Checksum 03:26:52 dc539afda2c1: Download complete 03:26:52 ed53099fbce6: Verifying Checksum 03:26:52 ed53099fbce6: Download complete 03:26:52 9065ff56babe: Verifying Checksum 03:26:52 9065ff56babe: Download complete 03:26:52 77bc0d833cb6: Verifying Checksum 03:26:52 77bc0d833cb6: Download complete 03:26:53 b4d181a07f80: Verifying Checksum 03:26:53 b4d181a07f80: Download complete 03:26:53 d287ab97295c: Verifying Checksum 03:26:53 d287ab97295c: Download complete 03:26:54 b4d181a07f80: Pull complete 03:26:54 a1111a8f2ec3: Pull complete 03:26:55 ed53099fbce6: Pull complete 03:26:55 dc539afda2c1: Pull complete 03:26:55 77bc0d833cb6: Pull complete 03:26:55 9065ff56babe: Pull complete 03:27:01 d287ab97295c: Pull complete 03:27:01 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 03:27:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:27:01 prd-centos7-docker-4c-2g-2325 does not seem to be running inside a container 03:27:01 $ 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-674/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-674 -v /w/workspace/dry_go-mod-core-contracts_PR-674:/w/workspace/dry_go-mod-core-contracts_PR-674:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-674@tmp:/w/workspace/dry_go-mod-core-contracts_PR-674@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:latest cat 03:27:03 $ docker top 07e3a8a7e9414b12c6aba4e286f28ba0e3ba2be1bb100a352810edf268074951 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:04 + touch /tmp/pre-build-complete [Pipeline] sh 03:27:04 + mkdir -p /var/log/sysstat [Pipeline] sh 03:27:04 + ls /var/log/sa-host 03:27:04 + sadf -c /var/log/sa-host/sa19 03:27:04 file_magic: OK 03:27:04 HZ: Using current value: 100 03:27:04 file_header: OK 03:27:04 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 03:27:04 Statistics: 03:27:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:27:04 File successfully converted to sysstat format version 12.0.3 03:27:04 + sadf -c /var/log/sa-host/sa30 03:27:04 file_magic: OK 03:27:04 HZ: Using current value: 100 03:27:04 file_header: OK 03:27:04 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 03:27:04 Statistics: 03:27:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:27:04 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:06 provisioning config files... 03:27:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-674@tmp/config6109536850495431549tmp [Pipeline] { [Pipeline] echo 03:27:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:27:07 ---> create-netrc.sh [Pipeline] } 03:27:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:27:07 ---> python-tools-install.sh [Pipeline] echo 03:27:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:27:07 ---> sudo-logs.sh 03:27:07 Archiving 'sudo' log.. 03:27:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-2325.novalocal: Name or service not known 03:27:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-2325.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 03:27:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:27:08 ---> job-cost.sh 03:27:08 lf-activate-venv: SKIPPING 03:27:08 DEBUG: total: 0.10999999940395355 03:27:08 INFO: Retrieving Stack Cost... 03:27:30 INFO: Retrieving Pricing Info for: v3-standard-2 03:27:30 INFO: Archiving Costs [Pipeline] echo 03:27:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:27:30 ---> logs-deploy.sh 03:27:30 lf-activate-venv: SKIPPING 03:27:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-674/1 03:27:30 INFO: archiving workspace using pattern(s): 03:27:31 Archives upload complete. 03:27:31 INFO: archiving logs to Nexus