Pull request #727 updated 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 hahattan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch main at f15f824b1eec816acbffc2f16477bafbbe936aad rather than a13ffb3886c40f26cbcaf093c0def8cf00f1b57f Obtained Jenkinsfile from f15f824b1eec816acbffc2f16477bafbbe936aad 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-ssh18265121330971306109.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh5934000064194265519.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-727/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-727/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9695160840056675635.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh15042549249387307190.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-727/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-727/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2363240648728013737.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true 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 Running on prd-ubuntu20.04-docker-8c-8g-21735 in /w/workspace/dry_go-mod-core-contracts_PR-727 [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-727 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.25.1' 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 > 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/727/head:refs/remotes/origin/PR-727 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f15f824b1eec816acbffc2f16477bafbbe936aad into PR head commit a13ffb3886c40f26cbcaf093c0def8cf00f1b57f Merge succeeded, producing a13ffb3886c40f26cbcaf093c0def8cf00f1b57f Checking out Revision a13ffb3886c40f26cbcaf093c0def8cf00f1b57f (PR-727) > git config core.sparsecheckout # timeout=10 > git checkout -f a13ffb3886c40f26cbcaf093c0def8cf00f1b57f # 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 f15f824b1eec816acbffc2f16477bafbbe936aad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a13ffb3886c40f26cbcaf093c0def8cf00f1b57f # timeout=10 Commit message: "feat: add new method for CommandClient" First time build. Skipping changelog. > git rev-list --no-walk 678bcc52224ce61c1556c86c19bffb71844cf481 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T03:42:53.524Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T03:42:53.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T03:42:53.607Z] ========================================================= [2022-04-22T03:42:53.607Z] EdgeX Global Pipelines Version Info [2022-04-22T03:42:53.607Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:42:54.371Z] ------------------- [2022-04-22T03:42:54.371Z] stable info: [2022-04-22T03:42:54.371Z] ------------------- [2022-04-22T03:42:54.371Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T03:42:54.371Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T03:42:54.371Z] Message: update stable to v1.0.221 [2022-04-22T03:42:54.946Z] ------------------- [2022-04-22T03:42:54.946Z] experimental info: [2022-04-22T03:42:54.946Z] ------------------- [2022-04-22T03:42:54.946Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T03:42:54.946Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T03:42:54.946Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T03:42:55.076Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2022-04-22T03:42:55.085Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2022-04-22T03:42:55.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T03:42:55.103Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T03:42:55.112Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T03:42:55.121Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T03:42:55.130Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T03:42:55.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-22T03:42:55.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T03:42:55.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T03:42:55.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T03:42:55.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2022-04-22T03:42:55.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T03:42:55.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T03:42:55.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T03:42:55.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T03:42:55.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T03:42:55.296Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T03:42:55.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T03:42:55.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T03:42:55.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-22T03:42:55.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-22T03:42:55.360Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T03:42:55.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T03:42:55.400Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-04-22T03:42:55.419Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T03:42:55.434Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-727 [Pipeline] echo [2022-04-22T03:42:55.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-727 [Pipeline] echo [2022-04-22T03:42:55.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-727 [Pipeline] echo [2022-04-22T03:42:55.469Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [Pipeline] echo [2022-04-22T03:42:55.483Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a13ffb3 [Pipeline] echo [2022-04-22T03:42:55.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T03:42:55.841Z] + git rev-list -1 --merges a13ffb3886c40f26cbcaf093c0def8cf00f1b57f~1..a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [Pipeline] echo [2022-04-22T03:42:55.880Z] -----------> git rev-list -1 --merges a13ffb3886c40f26cbcaf093c0def8cf00f1b57f~1..a13ffb3886c40f26cbcaf093c0def8cf00f1b57f a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [false] [Pipeline] sh [2022-04-22T03:42:56.174Z] + git log --format=format:%s -1 a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [Pipeline] echo [2022-04-22T03:42:56.190Z] ========================================================= [2022-04-22T03:42:56.190Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T03:42:56.190Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T03:42:56.537Z] + git log --format=format:%s -1 a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [Pipeline] echo [2022-04-22T03:42:56.555Z] [semverPrep] GIT_COMMIT: a13ffb3886c40f26cbcaf093c0def8cf00f1b57f, Commit Message: feat: add new method for CommandClient [Pipeline] echo [2022-04-22T03:42:56.566Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T03:42:56.990Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T03:42:56.990Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T03:42:56.990Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T03:42:56.990Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T03:42:56.990Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T03:42:56.990Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T03:42:56.990Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:42:57.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T03:42:57.674Z] [2022-04-22T03:42:57.674Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:42:57.985Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T03:42:57.985Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T03:42:57.985Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T03:42:57.985Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T03:42:57.985Z] 4c7163046ea9: Pulling fs layer [2022-04-22T03:42:57.985Z] 0c2d73faf560: Pulling fs layer [2022-04-22T03:42:57.985Z] 0c2d73faf560: Waiting [2022-04-22T03:42:57.985Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T03:42:57.985Z] 3e5f54012d9b: Download complete [2022-04-22T03:42:58.247Z] a0d0a0d46f8b: Verifying Checksum [2022-04-22T03:42:58.247Z] a0d0a0d46f8b: Download complete [2022-04-22T03:42:58.247Z] 0c2d73faf560: Verifying Checksum [2022-04-22T03:42:58.247Z] 0c2d73faf560: Download complete [2022-04-22T03:42:58.247Z] 4c7163046ea9: Verifying Checksum [2022-04-22T03:42:58.247Z] 4c7163046ea9: Download complete [2022-04-22T03:42:58.247Z] a0d0a0d46f8b: Pull complete [2022-04-22T03:42:58.511Z] 3e5f54012d9b: Pull complete [2022-04-22T03:42:58.774Z] 4c7163046ea9: Pull complete [2022-04-22T03:42:58.774Z] 0c2d73faf560: Pull complete [2022-04-22T03:42:59.038Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T03:42:59.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T03:42:59.038Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T03:42:59.226Z] prd-ubuntu20.04-docker-8c-8g-21735 does not seem to be running inside a container [2022-04-22T03:42:59.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-727 -v /w/workspace/dry_go-mod-core-contracts_PR-727:/w/workspace/dry_go-mod-core-contracts_PR-727:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-727@tmp:/w/workspace/dry_go-mod-core-contracts_PR-727@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T03:43:00.095Z] $ docker top 5dda0c4073e9b12cf8f3b00bf3dc4009a041ea98b13c40709e23d53647fa94c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T03:43:00.201Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T03:43:00.201Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T03:43:00.350Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T03:43:00.361Z] $ docker exec 5dda0c4073e9b12cf8f3b00bf3dc4009a041ea98b13c40709e23d53647fa94c7 ssh-agent [2022-04-22T03:43:00.481Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEcjgan/agent.14 [2022-04-22T03:43:00.481Z] SSH_AGENT_PID=20 [2022-04-22T03:43:00.489Z] Running ssh-add (command line suppressed) [2022-04-22T03:43:00.610Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-727@tmp/private_key_6278462838616897920.key (/w/workspace/dry_go-mod-core-contracts_PR-727@tmp/private_key_6278462838616897920.key) [2022-04-22T03:43:00.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T03:43:00.923Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T03:43:00.945Z] $ docker exec --env ******** --env ******** 5dda0c4073e9b12cf8f3b00bf3dc4009a041ea98b13c40709e23d53647fa94c7 ssh-agent -k [2022-04-22T03:43:01.058Z] unset SSH_AUTH_SOCK; [2022-04-22T03:43:01.058Z] unset SSH_AGENT_PID; [2022-04-22T03:43:01.059Z] echo Agent pid 20 killed; [2022-04-22T03:43:01.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T03:43:01.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T03:43:01.096Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T03:43:01.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T03:43:01.257Z] $ docker exec 5dda0c4073e9b12cf8f3b00bf3dc4009a041ea98b13c40709e23d53647fa94c7 ssh-agent [2022-04-22T03:43:01.382Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHECjaL/agent.53 [2022-04-22T03:43:01.382Z] SSH_AGENT_PID=60 [2022-04-22T03:43:01.387Z] Running ssh-add (command line suppressed) [2022-04-22T03:43:01.523Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-727@tmp/private_key_1739993468591060312.key (/w/workspace/dry_go-mod-core-contracts_PR-727@tmp/private_key_1739993468591060312.key) [2022-04-22T03:43:01.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T03:43:01.822Z] + git semver init [2022-04-22T03:43:01.822Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T03:43:01.822Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-727/.git [2022-04-22T03:43:01.822Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-727 [2022-04-22T03:43:01.822Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T03:43:01.822Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T03:43:01.822Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T03:43:01.822Z] # $SEMVER_BRANCH = PR-727 [2022-04-22T03:43:01.822Z] # $SEMVER_TEMP = /tmp/semver-444121021 [2022-04-22T03:43:01.823Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2022-04-22T03:43:02.768Z] # '/tmp/semver-444121021' -> '/w/workspace/dry_go-mod-core-contracts_PR-727/.semver' [2022-04-22T03:43:02.768Z] # -> Force: false [2022-04-22T03:43:02.768Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-727/.semver [Pipeline] } [2022-04-22T03:43:02.787Z] $ docker exec --env ******** --env ******** 5dda0c4073e9b12cf8f3b00bf3dc4009a041ea98b13c40709e23d53647fa94c7 ssh-agent -k [2022-04-22T03:43:02.897Z] unset SSH_AUTH_SOCK; [2022-04-22T03:43:02.898Z] unset SSH_AGENT_PID; [2022-04-22T03:43:02.898Z] echo Agent pid 60 killed; [2022-04-22T03:43:02.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T03:43:03.221Z] + git semver [Pipeline] } [2022-04-22T03:43:03.244Z] $ docker stop --time=1 5dda0c4073e9b12cf8f3b00bf3dc4009a041ea98b13c40709e23d53647fa94c7 [2022-04-22T03:43:04.658Z] $ docker rm -f 5dda0c4073e9b12cf8f3b00bf3dc4009a041ea98b13c40709e23d53647fa94c7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T03:43:05.018Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T03:43:05.327Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T03:43:05.332Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-04-22T03:43:05.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T03:43:05.495Z] ========================================================= [2022-04-22T03:43:05.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T03:43:05.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-22T03:43:05.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T03:43:05.799Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T03:43:05.799Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T03:43:05.799Z] 666ba61612fd: Pulling fs layer [2022-04-22T03:43:05.799Z] 8ed8ca486205: Pulling fs layer [2022-04-22T03:43:05.799Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T03:43:05.799Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T03:43:05.799Z] 640e595b4fbd: Pulling fs layer [2022-04-22T03:43:05.799Z] 763cafe07f6e: Pulling fs layer [2022-04-22T03:43:05.799Z] 0c0b528cf693: Pulling fs layer [2022-04-22T03:43:05.799Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T03:43:05.799Z] 4fe6c5a15a65: Waiting [2022-04-22T03:43:05.799Z] 640e595b4fbd: Waiting [2022-04-22T03:43:05.799Z] 0c0b528cf693: Waiting [2022-04-22T03:43:05.799Z] 10935f4eaf8b: Waiting [2022-04-22T03:43:05.799Z] 763cafe07f6e: Waiting [2022-04-22T03:43:05.799Z] 8ed8ca486205: Verifying Checksum [2022-04-22T03:43:05.799Z] 8ed8ca486205: Download complete [2022-04-22T03:43:05.799Z] 666ba61612fd: Download complete [2022-04-22T03:43:05.799Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T03:43:05.799Z] 22a0e8bec74d: Download complete [2022-04-22T03:43:05.799Z] 640e595b4fbd: Verifying Checksum [2022-04-22T03:43:05.799Z] 640e595b4fbd: Download complete [2022-04-22T03:43:05.799Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T03:43:05.799Z] 59bf1c3509f3: Download complete [2022-04-22T03:43:05.799Z] 763cafe07f6e: Verifying Checksum [2022-04-22T03:43:05.799Z] 763cafe07f6e: Download complete [2022-04-22T03:43:06.060Z] 0c0b528cf693: Verifying Checksum [2022-04-22T03:43:06.060Z] 0c0b528cf693: Download complete [2022-04-22T03:43:06.060Z] 59bf1c3509f3: Pull complete [2022-04-22T03:43:06.060Z] 666ba61612fd: Pull complete [2022-04-22T03:43:06.322Z] 8ed8ca486205: Pull complete [2022-04-22T03:43:06.582Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T03:43:06.582Z] 10935f4eaf8b: Download complete [2022-04-22T03:43:06.582Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T03:43:06.582Z] 4fe6c5a15a65: Download complete [2022-04-22T03:43:10.795Z] 4fe6c5a15a65: Pull complete [2022-04-22T03:43:11.056Z] 22a0e8bec74d: Pull complete [2022-04-22T03:43:11.056Z] 640e595b4fbd: Pull complete [2022-04-22T03:43:11.056Z] 763cafe07f6e: Pull complete [2022-04-22T03:43:11.316Z] 0c0b528cf693: Pull complete [2022-04-22T03:43:13.861Z] 10935f4eaf8b: Pull complete [2022-04-22T03:43:13.861Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T03:43:13.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T03:43:13.861Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-04-22T03:43:14.160Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:43:14.469Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T03:43:14.469Z] . [Pipeline] withDockerContainer [2022-04-22T03:43:14.545Z] prd-ubuntu20.04-docker-8c-8g-21735 does not seem to be running inside a container [2022-04-22T03:43:14.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-727 -v /w/workspace/dry_go-mod-core-contracts_PR-727:/w/workspace/dry_go-mod-core-contracts_PR-727:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-727@tmp:/w/workspace/dry_go-mod-core-contracts_PR-727@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T03:43:16.571Z] $ docker top 3e059f3658cbcf904e13c2c79e844f6c0787c0c29f25f4d7ea736fb0d397a386 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T03:43:16.933Z] + go version [2022-04-22T03:43:16.933Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T03:43:16.951Z] $ docker stop --time=1 3e059f3658cbcf904e13c2c79e844f6c0787c0c29f25f4d7ea736fb0d397a386 [2022-04-22T03:43:18.249Z] $ docker rm -f 3e059f3658cbcf904e13c2c79e844f6c0787c0c29f25f4d7ea736fb0d397a386 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:43:18.666Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T03:43:18.666Z] . [Pipeline] withDockerContainer [2022-04-22T03:43:18.739Z] prd-ubuntu20.04-docker-8c-8g-21735 does not seem to be running inside a container [2022-04-22T03:43:18.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-727 -v /w/workspace/dry_go-mod-core-contracts_PR-727:/w/workspace/dry_go-mod-core-contracts_PR-727:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-727@tmp:/w/workspace/dry_go-mod-core-contracts_PR-727@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T03:43:19.197Z] $ docker top 292374da150a1e64675aece34529556d5f2ae5a2bbc21d815d38a3e263d0b6ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T03:43:19.572Z] + make test [2022-04-22T03:43:19.572Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-22T03:43:19.572Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-04-22T03:43:19.572Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-22T03:43:19.572Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-22T03:43:19.572Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-22T03:43:19.572Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-22T03:43:19.572Z] go: downloading github.com/go-kit/log v0.2.0 [2022-04-22T03:43:19.833Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-04-22T03:43:19.833Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-22T03:43:19.833Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-22T03:43:19.833Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-22T03:43:19.833Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-22T03:43:19.833Z] go: downloading golang.org/x/text v0.3.7 [2022-04-22T03:43:19.833Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-22T03:43:19.833Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-22T03:43:19.833Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-04-22T03:43:19.833Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-22T03:43:20.418Z] Still waiting to schedule task [2022-04-22T03:43:20.419Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-22T03:43:21.747Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2022-04-22T03:43:27.036Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.091s coverage: 83.5% of statements [2022-04-22T03:43:27.036Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2022-04-22T03:43:27.036Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2022-04-22T03:43:27.036Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2022-04-22T03:43:27.036Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.024s coverage: 29.4% of statements [2022-04-22T03:43:27.036Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger/mocks [no test files] [2022-04-22T03:43:27.036Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2022-04-22T03:43:27.036Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.018s coverage: 49.5% of statements [2022-04-22T03:43:27.036Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.015s coverage: 90.5% of statements [2022-04-22T03:43:27.037Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.036s coverage: 86.8% of statements [2022-04-22T03:43:27.037Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.055s coverage: 59.5% of statements [2022-04-22T03:43:27.037Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.003s coverage: 36.1% of statements [2022-04-22T03:43:27.037Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.013s coverage: 48.7% of statements [2022-04-22T03:43:33.635Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-04-22T03:43:36.182Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T03:43:36.182Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-04-22T03:43:36.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T03:43:36.219Z] $ docker stop --time=1 292374da150a1e64675aece34529556d5f2ae5a2bbc21d815d38a3e263d0b6ae [2022-04-22T03:43:38.646Z] $ docker rm -f 292374da150a1e64675aece34529556d5f2ae5a2bbc21d815d38a3e263d0b6ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T03:43:39.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T03:43:39.239Z] 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 [2022-04-22T03:43:39.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T03:43:39.689Z] [2022-04-22T03:43:39.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:43:39.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T03:43:39.989Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T03:43:39.989Z] 5eb5b503b376: Pulling fs layer [2022-04-22T03:43:39.989Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T03:43:39.989Z] ec43610c2a17: Pulling fs layer [2022-04-22T03:43:39.989Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T03:43:39.989Z] 33b1e0a273af: Pulling fs layer [2022-04-22T03:43:39.989Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T03:43:39.989Z] 2f39f015ded8: Pulling fs layer [2022-04-22T03:43:39.989Z] 33b1e0a273af: Waiting [2022-04-22T03:43:39.989Z] 2f39f015ded8: Waiting [2022-04-22T03:43:39.989Z] 5d3b04190fa2: Waiting [2022-04-22T03:43:39.989Z] 5c69ac0246d0: Verifying Checksum [2022-04-22T03:43:39.989Z] 5c69ac0246d0: Download complete [2022-04-22T03:43:39.989Z] 3a2ae6a8a46f: Download complete [2022-04-22T03:43:39.989Z] 33b1e0a273af: Verifying Checksum [2022-04-22T03:43:39.989Z] 33b1e0a273af: Download complete [2022-04-22T03:43:39.989Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T03:43:39.989Z] 5d3b04190fa2: Download complete [2022-04-22T03:43:39.989Z] ec43610c2a17: Verifying Checksum [2022-04-22T03:43:39.989Z] ec43610c2a17: Download complete [2022-04-22T03:43:40.251Z] 5eb5b503b376: Download complete [2022-04-22T03:43:40.819Z] 2f39f015ded8: Download complete [2022-04-22T03:43:41.387Z] 5eb5b503b376: Pull complete [2022-04-22T03:43:41.646Z] 5c69ac0246d0: Pull complete [2022-04-22T03:43:42.214Z] ec43610c2a17: Pull complete [2022-04-22T03:43:42.214Z] 3a2ae6a8a46f: Pull complete [2022-04-22T03:43:42.473Z] 33b1e0a273af: Pull complete [2022-04-22T03:43:42.474Z] 5d3b04190fa2: Pull complete [2022-04-22T03:43:47.754Z] 2f39f015ded8: Pull complete [2022-04-22T03:43:47.755Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T03:43:47.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T03:43:47.755Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T03:43:47.846Z] prd-ubuntu20.04-docker-8c-8g-21735 does not seem to be running inside a container [2022-04-22T03:43:47.905Z] $ 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/dry_go-mod-core-contracts_PR-727 -v /w/workspace/dry_go-mod-core-contracts_PR-727:/w/workspace/dry_go-mod-core-contracts_PR-727:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-727@tmp:/w/workspace/dry_go-mod-core-contracts_PR-727@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T03:43:50.945Z] $ docker top e054487a4188be51f69bf963ce3f54061226265b19de375212c7756d9f3a0282 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:43:51.364Z] ---> job-cost.sh [2022-04-22T03:43:51.365Z] lf-activate-venv: SKIPPING [2022-04-22T03:43:51.365Z] INFO: No Stack... [2022-04-22T03:43:51.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T03:43:52.198Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T03:43:52.491Z] + cat /w/workspace/dry_go-mod-core-contracts_PR-727/archives/cost.csv [2022-04-22T03:43:52.491Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T03:43:52.508Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] [2022-04-22T03:43:52.515Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] did not exist. Created. [2022-04-22T03:43:52.515Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T03:43:52.826Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T03:43:52.851Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T03:43:52.858Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T03:43:52.885Z] $ docker stop --time=1 e054487a4188be51f69bf963ce3f54061226265b19de375212c7756d9f3a0282 [2022-04-22T03:43:54.066Z] $ docker rm -f e054487a4188be51f69bf963ce3f54061226265b19de375212c7756d9f3a0282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T03:45:01.310Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21736 in /w/workspace/dry_go-mod-core-contracts_PR-727 [Pipeline] { [Pipeline] ws [2022-04-22T03:45:01.321Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2022-04-22T03:45:01.563Z] Selected Git installation does not exist. Using Default [2022-04-22T03:45:01.563Z] The recommended git tool is: NONE [2022-04-22T03:45:07.081Z] using credential edgex-jenkins-ssh [2022-04-22T03:45:07.099Z] Cloning the remote Git repository [2022-04-22T03:45:07.168Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-04-22T03:45:07.252Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2022-04-22T03:45:07.406Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-04-22T03:45:07.407Z] > git --version # timeout=10 [2022-04-22T03:45:07.447Z] > git --version # 'git version 2.25.1' [2022-04-22T03:45:07.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T03:45:07.611Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T03:45:09.113Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2022-04-22T03:45:09.141Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T03:45:09.171Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2022-04-22T03:45:09.218Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-04-22T03:45:09.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T03:45:09.231Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/727/head:refs/remotes/origin/PR-727 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-22T03:45:09.942Z] Merging remotes/origin/main commit f15f824b1eec816acbffc2f16477bafbbe936aad into PR head commit a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [2022-04-22T03:45:10.221Z] Merge succeeded, producing a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [2022-04-22T03:45:10.221Z] Checking out Revision a13ffb3886c40f26cbcaf093c0def8cf00f1b57f (PR-727) [2022-04-22T03:45:09.968Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T03:45:09.994Z] > git checkout -f a13ffb3886c40f26cbcaf093c0def8cf00f1b57f # timeout=10 [2022-04-22T03:45:10.122Z] > git remote # timeout=10 [2022-04-22T03:45:10.147Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T03:45:10.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T03:45:10.178Z] > git merge f15f824b1eec816acbffc2f16477bafbbe936aad # timeout=10 [2022-04-22T03:45:10.202Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T03:45:10.232Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T03:45:10.249Z] > git checkout -f a13ffb3886c40f26cbcaf093c0def8cf00f1b57f # timeout=10 [2022-04-22T03:45:14.452Z] Commit message: "feat: add new method for CommandClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T03:45:15.344Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T03:45:15.344Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T03:45:15.344Z] Dload Upload Total Spent Left Speed [2022-04-22T03:45:15.344Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 95508 [Pipeline] sh [2022-04-22T03:45:15.879Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T03:45:16.230Z] + sudo tee /etc/docker/daemon.new [2022-04-22T03:45:16.230Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T03:45:16.230Z] { [2022-04-22T03:45:16.230Z] "registry-mirrors": [ [2022-04-22T03:45:16.230Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T03:45:16.230Z] ], [2022-04-22T03:45:16.230Z] "bip": "10.250.0.254/24", [2022-04-22T03:45:16.230Z] "hosts": [ [2022-04-22T03:45:16.230Z] "tcp://0.0.0.0:5555", [2022-04-22T03:45:16.230Z] "unix:///var/run/docker.sock" [2022-04-22T03:45:16.230Z] ], [2022-04-22T03:45:16.230Z] "mtu": 1458, [2022-04-22T03:45:16.230Z] "selinux-enabled": true, [2022-04-22T03:45:16.230Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T03:45:16.230Z] } [Pipeline] sh [2022-04-22T03:45:16.583Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T03:45:16.937Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-04-22T03:45:35.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T03:45:35.785Z] ========================================================= [2022-04-22T03:45:35.785Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T03:45:35.785Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-22T03:45:36.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T03:45:36.719Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T03:45:36.719Z] 9b3977197b4f: Pulling fs layer [2022-04-22T03:45:36.719Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T03:45:36.719Z] 94645a83ff95: Pulling fs layer [2022-04-22T03:45:36.719Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T03:45:36.719Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T03:45:36.719Z] f7c0051592d6: Pulling fs layer [2022-04-22T03:45:36.719Z] a227ed2f7395: Pulling fs layer [2022-04-22T03:45:36.719Z] 7b1c46037f91: Pulling fs layer [2022-04-22T03:45:36.719Z] 3f3a8bcf1eab: Waiting [2022-04-22T03:45:36.719Z] a227ed2f7395: Waiting [2022-04-22T03:45:36.719Z] 0c92f367c5e7: Waiting [2022-04-22T03:45:36.719Z] 7b1c46037f91: Waiting [2022-04-22T03:45:36.719Z] f7c0051592d6: Waiting [2022-04-22T03:45:36.719Z] 94645a83ff95: Verifying Checksum [2022-04-22T03:45:36.719Z] 94645a83ff95: Download complete [2022-04-22T03:45:36.719Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T03:45:36.719Z] 1a89e8eeedd5: Download complete [2022-04-22T03:45:36.719Z] 0c92f367c5e7: Download complete [2022-04-22T03:45:36.995Z] 9b3977197b4f: Verifying Checksum [2022-04-22T03:45:36.995Z] 9b3977197b4f: Download complete [2022-04-22T03:45:36.995Z] f7c0051592d6: Verifying Checksum [2022-04-22T03:45:36.995Z] f7c0051592d6: Download complete [2022-04-22T03:45:36.995Z] a227ed2f7395: Verifying Checksum [2022-04-22T03:45:36.995Z] a227ed2f7395: Download complete [2022-04-22T03:45:37.597Z] 9b3977197b4f: Pull complete [2022-04-22T03:45:38.201Z] 1a89e8eeedd5: Pull complete [2022-04-22T03:45:38.484Z] 94645a83ff95: Pull complete [2022-04-22T03:45:38.760Z] 7b1c46037f91: Verifying Checksum [2022-04-22T03:45:39.364Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T03:45:39.364Z] 3f3a8bcf1eab: Download complete [2022-04-22T03:45:51.814Z] 3f3a8bcf1eab: Pull complete [2022-04-22T03:45:51.814Z] 0c92f367c5e7: Pull complete [2022-04-22T03:45:51.814Z] f7c0051592d6: Pull complete [2022-04-22T03:45:52.089Z] a227ed2f7395: Pull complete [2022-04-22T03:45:58.818Z] 7b1c46037f91: Pull complete [2022-04-22T03:45:58.818Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T03:45:58.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T03:45:58.818Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-04-22T03:45:59.160Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:45:59.506Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T03:45:59.506Z] . [Pipeline] withDockerContainer [2022-04-22T03:45:59.749Z] prd-ubuntu20.04-docker-arm64-4c-16g-21736 does not seem to be running inside a container [2022-04-22T03:45:59.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T03:46:02.512Z] $ docker top 2a7a024d7e0e98744703f73fe33a3388f448165e140176089b0c23a7f76a0c89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T03:46:03.424Z] + go version [2022-04-22T03:46:03.424Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T03:46:03.458Z] $ docker stop --time=1 2a7a024d7e0e98744703f73fe33a3388f448165e140176089b0c23a7f76a0c89 [2022-04-22T03:46:05.112Z] $ docker rm -f 2a7a024d7e0e98744703f73fe33a3388f448165e140176089b0c23a7f76a0c89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:46:05.826Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T03:46:05.826Z] . [Pipeline] withDockerContainer [2022-04-22T03:46:06.094Z] prd-ubuntu20.04-docker-arm64-4c-16g-21736 does not seem to be running inside a container [2022-04-22T03:46:06.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T03:46:07.558Z] $ docker top 359d17174be44be476fbae65f4dd519a70c3c1d6369bd459adb3d85522a6bf66 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T03:46:08.459Z] + make test [2022-04-22T03:46:08.459Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-22T03:46:08.459Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-22T03:46:08.459Z] go: downloading github.com/go-kit/log v0.2.0 [2022-04-22T03:46:08.736Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-22T03:46:08.736Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-04-22T03:46:08.736Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-22T03:46:08.736Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-22T03:46:09.014Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-04-22T03:46:09.014Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-22T03:46:09.014Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-22T03:46:09.014Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-22T03:46:09.015Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-22T03:46:09.015Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-22T03:46:09.015Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-22T03:46:09.015Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-04-22T03:46:09.015Z] go: downloading golang.org/x/text v0.3.7 [2022-04-22T03:46:09.015Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-22T03:46:13.348Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2022-04-22T03:46:45.788Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.429s coverage: 83.5% of statements [2022-04-22T03:46:45.788Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2022-04-22T03:46:45.788Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2022-04-22T03:46:45.788Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2022-04-22T03:46:45.789Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.069s coverage: 29.4% of statements [2022-04-22T03:46:45.789Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger/mocks [no test files] [2022-04-22T03:46:45.789Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2022-04-22T03:46:46.067Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.094s coverage: 49.5% of statements [2022-04-22T03:46:46.067Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.061s coverage: 90.5% of statements [2022-04-22T03:46:50.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.215s coverage: 86.8% of statements [2022-04-22T03:46:50.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.066s coverage: 59.5% of statements [2022-04-22T03:46:50.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.048s coverage: 36.1% of statements [2022-04-22T03:46:50.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.043s coverage: 48.7% of statements [2022-04-22T03:46:50.397Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T03:46:50.397Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-04-22T03:47:05.509Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T03:47:05.509Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-04-22T03:47:06.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T03:47:06.154Z] $ docker stop --time=1 359d17174be44be476fbae65f4dd519a70c3c1d6369bd459adb3d85522a6bf66 [2022-04-22T03:47:07.980Z] $ docker rm -f 359d17174be44be476fbae65f4dd519a70c3c1d6369bd459adb3d85522a6bf66 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T03:47:09.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T03:47:09.380Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T03:47:09.951Z] 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 [2022-04-22T03:47:10.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T03:47:10.431Z] [2022-04-22T03:47:10.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:47:10.793Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T03:47:11.091Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T03:47:11.091Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T03:47:11.091Z] 04944245beec: Pulling fs layer [2022-04-22T03:47:11.091Z] 699f458cf7ca: Pulling fs layer [2022-04-22T03:47:11.091Z] 765212b225bb: Pulling fs layer [2022-04-22T03:47:11.091Z] f23df028b6ca: Pulling fs layer [2022-04-22T03:47:11.091Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T03:47:11.091Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T03:47:11.091Z] f23df028b6ca: Waiting [2022-04-22T03:47:11.091Z] d65c8cfc05b1: Waiting [2022-04-22T03:47:11.091Z] 2437ff75d9bd: Waiting [2022-04-22T03:47:11.091Z] 765212b225bb: Waiting [2022-04-22T03:47:11.091Z] 04944245beec: Verifying Checksum [2022-04-22T03:47:11.091Z] 04944245beec: Download complete [2022-04-22T03:47:11.091Z] 765212b225bb: Verifying Checksum [2022-04-22T03:47:11.091Z] 765212b225bb: Download complete [2022-04-22T03:47:11.091Z] f23df028b6ca: Verifying Checksum [2022-04-22T03:47:11.091Z] f23df028b6ca: Download complete [2022-04-22T03:47:11.091Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T03:47:11.091Z] d65c8cfc05b1: Download complete [2022-04-22T03:47:11.369Z] 699f458cf7ca: Verifying Checksum [2022-04-22T03:47:11.369Z] 699f458cf7ca: Download complete [2022-04-22T03:47:11.645Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T03:47:11.645Z] 8998bd30e6a1: Download complete [2022-04-22T03:47:14.277Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T03:47:14.277Z] 2437ff75d9bd: Download complete [2022-04-22T03:47:16.260Z] 8998bd30e6a1: Pull complete [2022-04-22T03:47:16.260Z] 04944245beec: Pull complete [2022-04-22T03:47:18.242Z] 699f458cf7ca: Pull complete [2022-04-22T03:47:18.242Z] 765212b225bb: Pull complete [2022-04-22T03:47:18.840Z] f23df028b6ca: Pull complete [2022-04-22T03:47:19.115Z] d65c8cfc05b1: Pull complete [2022-04-22T03:47:34.212Z] 2437ff75d9bd: Pull complete [2022-04-22T03:47:34.212Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T03:47:34.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T03:47:34.212Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T03:47:34.442Z] prd-ubuntu20.04-docker-arm64-4c-16g-21736 does not seem to be running inside a container [2022-04-22T03:47:34.535Z] $ 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/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-22T03:47:36.923Z] $ docker top e23bb9d7ebe11f44f10a12db13eb9a7e7e1588bde8315d0b9607c8b11f837dce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:37.850Z] ---> job-cost.sh [2022-04-22T03:47:37.850Z] lf-activate-venv: SKIPPING [2022-04-22T03:47:37.850Z] INFO: No Stack... [2022-04-22T03:47:38.446Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T03:47:39.040Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T03:47:39.698Z] + cat /w/workspace/go-mod-core-contracts/2/archives/cost.csv [2022-04-22T03:47:39.698Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T03:47:39.764Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] [2022-04-22T03:47:39.770Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] did not exist. Created. [2022-04-22T03:47:39.770Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T03:47:40.434Z] /w/workspace/go-mod-core-contracts/2@tmp/durable-508c4e36/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T03:47:41.113Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T03:47:41.140Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T03:47:41.192Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T03:47:41.197Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-727-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T03:47:41.225Z] $ docker stop --time=1 e23bb9d7ebe11f44f10a12db13eb9a7e7e1588bde8315d0b9607c8b11f837dce [2022-04-22T03:47:42.709Z] $ docker rm -f e23bb9d7ebe11f44f10a12db13eb9a7e7e1588bde8315d0b9607c8b11f837dce [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 [2022-04-22T03:47:43.179Z] provisioning config files... [2022-04-22T03:47:43.192Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-727@tmp/config7592039703318493851tmp [Pipeline] { [Pipeline] sh [2022-04-22T03:47:43.489Z] + set +x [2022-04-22T03:47:43.489Z] + curl -s https://codecov.io/bash [2022-04-22T03:47:43.489Z] + bash -s -- [2022-04-22T03:47:43.489Z] [2022-04-22T03:47:43.489Z] _____ _ [2022-04-22T03:47:43.489Z] / ____| | | [2022-04-22T03:47:43.489Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T03:47:43.489Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T03:47:43.489Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T03:47:43.489Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T03:47:43.489Z] Bash-1.0.6 [2022-04-22T03:47:43.489Z] [2022-04-22T03:47:43.489Z] [2022-04-22T03:47:43.489Z] ==> git version 2.25.1 found [2022-04-22T03:47:43.489Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-22T03:47:43.489Z] Release-Date: 2020-01-08 [2022-04-22T03:47:43.489Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-22T03:47:43.489Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T03:47:43.489Z] ==> Jenkins CI detected. [2022-04-22T03:47:43.489Z] current dir:  /w/workspace/dry_go-mod-core-contracts_PR-727 [2022-04-22T03:47:43.489Z] project root: . [2022-04-22T03:47:43.489Z] --> token set from env [2022-04-22T03:47:43.489Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T03:47:43.489Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T03:47:43.489Z] ==> Python coveragepy not found [2022-04-22T03:47:43.489Z] ==> Searching for coverage reports in: [2022-04-22T03:47:43.489Z] + . [2022-04-22T03:47:43.489Z] -> Found 1 reports [2022-04-22T03:47:43.489Z] ==> Detecting git/mercurial file structure [2022-04-22T03:47:43.489Z] ==> Reading reports [2022-04-22T03:47:43.489Z] + ./coverage.out bytes=113054 [2022-04-22T03:47:43.750Z] ==> Appending adjustments [2022-04-22T03:47:43.750Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T03:47:44.323Z] + Found adjustments [2022-04-22T03:47:44.323Z] ==> Gzipping contents [2022-04-22T03:47:44.323Z] 20K /tmp/codecov.fZDYI8.gz [2022-04-22T03:47:44.323Z] ==> Uploading reports [2022-04-22T03:47:44.323Z] url: https://codecov.io [2022-04-22T03:47:44.323Z] query: branch=PR-727&commit=a13ffb3886c40f26cbcaf093c0def8cf00f1b57f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-727%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=727&job=&cmd_args= [2022-04-22T03:47:44.323Z] -> Pinging Codecov [2022-04-22T03:47:44.323Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-727&commit=a13ffb3886c40f26cbcaf093c0def8cf00f1b57f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-727%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=727&job=&cmd_args= [2022-04-22T03:47:44.585Z] -> Uploading to [2022-04-22T03:47:44.585Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/71470A77251A30514AAF9C0BB2E5B6CE/a13ffb3886c40f26cbcaf093c0def8cf00f1b57f/48bb1121-4263-4fd2-b7b0-ef188635addf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T034744Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c5c88f61b3e1eb199593dd4166f21053d47a91608f4aa904d47da583813b2a6 [2022-04-22T03:47:44.585Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T03:47:44.585Z] Dload Upload Total Spent Left Speed [2022-04-22T03:47:44.847Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16958 0 0 100 16958 0 69216 --:--:-- --:--:-- --:--:-- 69216 [2022-04-22T03:47:44.847Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/a13ffb3886c40f26cbcaf093c0def8cf00f1b57f [Pipeline] } [2022-04-22T03:47:44.855Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-22T03:47:45.592Z] + [ -d /w/workspace/dry_go-mod-core-contracts_PR-727/archives ] [2022-04-22T03:47:45.592Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-727/archives [2022-04-22T03:47:45.592Z] total 16 [2022-04-22T03:47:45.592Z] drwxr-xr-x 3 root root 4096 Apr 22 03:43 . [2022-04-22T03:47:45.592Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 03:43 .. [2022-04-22T03:47:45.592Z] drwxr-xr-x 2 root root 4096 Apr 22 03:43 cost [2022-04-22T03:47:45.592Z] -rw-r--r-- 1 root root 92 Apr 22 03:43 cost.csv [2022-04-22T03:47:45.592Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-727/archives [2022-04-22T03:47:45.592Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-727/archives [2022-04-22T03:47:45.592Z] total 16 [2022-04-22T03:47:45.592Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 03:43 . [2022-04-22T03:47:45.592Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 03:43 .. [2022-04-22T03:47:45.592Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 03:43 cost [2022-04-22T03:47:45.592Z] -rw-r--r-- 1 jenkins jenkins 92 Apr 22 03:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:45.892Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:46.768Z] ---> package-listing.sh [2022-04-22T03:47:46.768Z] ++ facter osfamily [2022-04-22T03:47:46.768Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T03:47:47.029Z] + OS_FAMILY=debian [2022-04-22T03:47:47.029Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-727 [2022-04-22T03:47:47.029Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T03:47:47.029Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T03:47:47.029Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T03:47:47.029Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T03:47:47.029Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-727 ']' [2022-04-22T03:47:47.029Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T03:47:47.029Z] + case "${OS_FAMILY}" in [2022-04-22T03:47:47.029Z] + dpkg -l [2022-04-22T03:47:47.029Z] + grep '^ii' [2022-04-22T03:47:47.029Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T03:47:47.029Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T03:47:47.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T03:47:47.029Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-727 ']' [2022-04-22T03:47:47.029Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-727/archives/ [2022-04-22T03:47:47.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-727/archives/ [Pipeline] echo [2022-04-22T03:47:47.043Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-727/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T03:47:47.324Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:47:47.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T03:47:47.885Z] . [Pipeline] withDockerContainer [2022-04-22T03:47:47.960Z] prd-ubuntu20.04-docker-8c-8g-21735 does not seem to be running inside a container [2022-04-22T03:47:48.004Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-727/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-727 -v /w/workspace/dry_go-mod-core-contracts_PR-727:/w/workspace/dry_go-mod-core-contracts_PR-727:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-727@tmp:/w/workspace/dry_go-mod-core-contracts_PR-727@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T03:47:48.277Z] $ docker top d705fb28a36b019116cd0ba6b9a55d1822b8ea500339266da04526fa5b32a5ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T03:47:48.638Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T03:47:48.932Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T03:47:49.224Z] + ls /var/log/sa-host [2022-04-22T03:47:49.224Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T03:47:49.431Z] provisioning config files... [2022-04-22T03:47:49.441Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-727@tmp/config2166591613951075231tmp [Pipeline] { [Pipeline] echo [2022-04-22T03:47:49.455Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:49.744Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T03:47:49.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:50.097Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T03:47:50.108Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:50.399Z] ---> sudo-logs.sh [2022-04-22T03:47:50.399Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T03:47:50.425Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:50.712Z] ---> job-cost.sh [2022-04-22T03:47:50.712Z] lf-activate-venv: SKIPPING [2022-04-22T03:47:50.712Z] DEBUG: total: 0.2199999988079071 [2022-04-22T03:47:50.712Z] INFO: Retrieving Stack Cost... [2022-04-22T03:47:51.286Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T03:47:51.546Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T03:47:51.560Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:47:51.850Z] ---> logs-deploy.sh [2022-04-22T03:47:51.850Z] lf-activate-venv: SKIPPING [2022-04-22T03:47:51.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-727/2 [2022-04-22T03:47:51.850Z] INFO: archiving workspace using pattern(s): [2022-04-22T03:47:52.792Z] Archives upload complete. [2022-04-22T03:47:52.792Z] INFO: archiving logs to Nexus