Pull request #121 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 lenny-intel for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from f3c659393e81f6218897f09ac35785bc0647aedc+cb664274c0dca40b320a1658e35cf4dfcb3ecab3 (7da48ce5099b2c53a76f3790d9b2360a1846ac26) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh1121044053725901883.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh191463572308256749.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-messaging/branches/PR-121/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-messaging/branches/PR-121/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1987994042936434737.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-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-ssh9099602660558727092.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-121/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-messaging/branches/PR-121/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7481805450956971758.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-messaging, 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-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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-messaging 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-28133 in /w/workspace/xfoundry_go-mod-messaging_PR-121 [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-messaging.git > git init /w/workspace/xfoundry_go-mod-messaging_PR-121 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.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/xfoundry_go-mod-messaging_PR-121@tmp/jenkins-gitclient-ssh3073304353881126578.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cb664274c0dca40b320a1658e35cf4dfcb3ecab3 into PR head commit f3c659393e81f6218897f09ac35785bc0647aedc Merge succeeded, producing f3c659393e81f6218897f09ac35785bc0647aedc Checking out Revision f3c659393e81f6218897f09ac35785bc0647aedc (PR-121) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.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-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.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/xfoundry_go-mod-messaging_PR-121@tmp/jenkins-gitclient-ssh6899330925417350819.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3c659393e81f6218897f09ac35785bc0647aedc # 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/xfoundry_go-mod-messaging_PR-121@tmp/jenkins-gitclient-ssh7997902239745886545.key > git merge cb664274c0dca40b320a1658e35cf4dfcb3ecab3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3c659393e81f6218897f09ac35785bc0647aedc # timeout=10 Commit message: "docs: Update Change Log for 2.1.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:58:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:58:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:58:37 ========================================================= 17:58:37 EdgeX Global Pipelines Version Info 17:58:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ea76cd6c09b72b3aa62677a18e268dafa3edad8e # timeout=10 17:58:38 ------------------- 17:58:38 stable info: 17:58:38 ------------------- 17:58:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:58:38 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 17:58:38 Message: update stable to v1.0.211 17:58:38 ------------------- 17:58:38 experimental info: 17:58:38 ------------------- 17:58:38 Commited By: **** collab-it+edgex@linuxfoundation.org 17:58:38 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 17:58:38 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:58:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-121 [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-121 [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-121 [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3c659393e81f6218897f09ac35785bc0647aedc [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3c6593 [Pipeline] echo 17:58:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:58:40 + git rev-list -1 --merges f3c659393e81f6218897f09ac35785bc0647aedc~1..f3c659393e81f6218897f09ac35785bc0647aedc [Pipeline] echo 17:58:40 -----------> git rev-list -1 --merges f3c659393e81f6218897f09ac35785bc0647aedc~1..f3c659393e81f6218897f09ac35785bc0647aedc f3c659393e81f6218897f09ac35785bc0647aedc [false] [Pipeline] sh 17:58:40 + git log --format=format:%s -1 f3c659393e81f6218897f09ac35785bc0647aedc [Pipeline] echo 17:58:41 ========================================================= 17:58:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:58:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:58:41 + git log --format=format:%s -1 f3c659393e81f6218897f09ac35785bc0647aedc [Pipeline] echo 17:58:41 [semverPrep] GIT_COMMIT: f3c659393e81f6218897f09ac35785bc0647aedc, Commit Message: docs: Update Change Log for 2.1.0 [Pipeline] echo 17:58:41 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:58:41 17:58:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:58:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:58:42 latest: Pulling from edgex-devops/git-semver 17:58:42 a0d0a0d46f8b: Pulling fs layer 17:58:42 3e5f54012d9b: Pulling fs layer 17:58:42 4c7163046ea9: Pulling fs layer 17:58:42 0c2d73faf560: Pulling fs layer 17:58:42 0c2d73faf560: Waiting 17:58:42 3e5f54012d9b: Verifying Checksum 17:58:42 3e5f54012d9b: Download complete 17:58:42 a0d0a0d46f8b: Verifying Checksum 17:58:42 a0d0a0d46f8b: Download complete 17:58:42 4c7163046ea9: Verifying Checksum 17:58:42 4c7163046ea9: Download complete 17:58:42 0c2d73faf560: Verifying Checksum 17:58:42 0c2d73faf560: Download complete 17:58:42 a0d0a0d46f8b: Pull complete 17:58:42 3e5f54012d9b: Pull complete 17:58:42 4c7163046ea9: Pull complete 17:58:42 0c2d73faf560: Pull complete 17:58:42 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:58:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:58:42 prd-centos7-docker-4c-2g-28133 does not seem to be running inside a container 17:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-121 -v /w/workspace/xfoundry_go-mod-messaging_PR-121:/w/workspace/xfoundry_go-mod-messaging_PR-121:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-121@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-121@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 17:58:43 $ docker top ea12fde7a7e88fa904de1836a69c9f8219f0dcc91c13d14c02c7e57668d4d2e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:58:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:43 [ssh-agent] Looking for ssh-agent implementation... 17:58:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:43 $ docker exec ea12fde7a7e88fa904de1836a69c9f8219f0dcc91c13d14c02c7e57668d4d2e1 ssh-agent 17:58:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeiGDOJ/agent.14 17:58:44 SSH_AGENT_PID=21 17:58:44 Running ssh-add (command line suppressed) 17:58:44 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-121@tmp/private_key_4123858686288965664.key (/w/workspace/xfoundry_go-mod-messaging_PR-121@tmp/private_key_4123858686288965664.key) 17:58:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:44 + git tag --points-at HEAD [Pipeline] } 17:58:44 $ docker exec --env ******** --env ******** ea12fde7a7e88fa904de1836a69c9f8219f0dcc91c13d14c02c7e57668d4d2e1 ssh-agent -k 17:58:44 unset SSH_AUTH_SOCK; 17:58:44 unset SSH_AGENT_PID; 17:58:44 echo Agent pid 21 killed; 17:58:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:58:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:44 [ssh-agent] Looking for ssh-agent implementation... 17:58:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:44 $ docker exec ea12fde7a7e88fa904de1836a69c9f8219f0dcc91c13d14c02c7e57668d4d2e1 ssh-agent 17:58:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXogBdEf/agent.53 17:58:44 SSH_AGENT_PID=59 17:58:44 Running ssh-add (command line suppressed) 17:58:44 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-121@tmp/private_key_5655278591101019030.key (/w/workspace/xfoundry_go-mod-messaging_PR-121@tmp/private_key_5655278591101019030.key) 17:58:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:45 + git semver init 17:58:45 # -> Open(): unable to determine branch for HEAD 17:58:45 # $GIT_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-121/.git 17:58:45 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-messaging_PR-121 17:58:45 # $SEMVER_REMOTE_NAME = origin 17:58:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:58:45 # $SEMVER_USER_NAME = edgex-jenkins 17:58:45 # $SEMVER_BRANCH = PR-121 17:58:45 # $SEMVER_TEMP = /tmp/semver-020587673 17:58:45 # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP 17:58:45 # '/tmp/semver-020587673' -> '/w/workspace/xfoundry_go-mod-messaging_PR-121/.semver' 17:58:45 # -> Force: false 17:58:45 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-121/.semver [Pipeline] } 17:58:45 $ docker exec --env ******** --env ******** ea12fde7a7e88fa904de1836a69c9f8219f0dcc91c13d14c02c7e57668d4d2e1 ssh-agent -k 17:58:45 unset SSH_AUTH_SOCK; 17:58:45 unset SSH_AGENT_PID; 17:58:45 echo Agent pid 59 killed; 17:58:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:58:46 + git semver [Pipeline] } 17:58:46 $ docker stop --time=1 ea12fde7a7e88fa904de1836a69c9f8219f0dcc91c13d14c02c7e57668d4d2e1 17:58:47 $ docker rm -f ea12fde7a7e88fa904de1836a69c9f8219f0dcc91c13d14c02c7e57668d4d2e1 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:58:48 Stashed 1 file(s) [Pipeline] echo 17:58:48 [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 17:59:03 Still waiting to schedule task 17:59:03 ‘prd-centos7-docker-4c-2g-28125’ is offline 17:59:03 ‘prd-centos7-docker-4c-2g-28126’ is offline 17:59:03 ‘prd-centos7-docker-4c-2g-28136’ is offline 17:59:03 ‘prd-ubuntu18.04-docker-arm64-4c-16g-28128’ doesn’t have label ‘centos7-docker-4c-2g’ 17:59:03 ‘prd-ubuntu18.04-docker-arm64-4c-16g-28130’ doesn’t have label ‘centos7-docker-4c-2g’ 17:59:03 ‘prd-ubuntu18.04-docker-arm64-4c-16g-28135’ doesn’t have label ‘centos7-docker-4c-2g’ 17:59:03 Still waiting to schedule task 17:59:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:59:46 Running on prd-centos7-docker-4c-2g-28138 in /w/workspace/xfoundry_go-mod-messaging_PR-121 [Pipeline] { [Pipeline] ws 17:59:46 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout 17:59:46 Selected Git installation does not exist. Using Default 17:59:46 The recommended git tool is: NONE 17:59:48 using credential edgex-jenkins-ssh 17:59:48 Cloning the remote Git repository 17:59:48 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 17:59:48 > git init /w/workspace/go-mod-messaging/2 # timeout=10 17:59:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 17:59:48 > git --version # timeout=10 17:59:48 > git --version # 'git version 2.24.4' 17:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:48 [INFO] Currently running in a labeled security context 17:59:48 [INFO] Currently SELinux is 'enforcing' on the host 17:59:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/2@tmp/jenkins-gitclient-ssh3058821830112964649.key 17:59:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:49 Merging remotes/origin/main commit cb664274c0dca40b320a1658e35cf4dfcb3ecab3 into PR head commit f3c659393e81f6218897f09ac35785bc0647aedc 17:59:49 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 17:59:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:49 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 17:59:49 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 17:59:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:49 [INFO] Currently running in a labeled security context 17:59:49 [INFO] Currently SELinux is 'enforcing' on the host 17:59:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/2@tmp/jenkins-gitclient-ssh1073321363335126986.key 17:59:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:59:49 > git config core.sparsecheckout # timeout=10 17:59:49 > git checkout -f f3c659393e81f6218897f09ac35785bc0647aedc # timeout=10 17:59:50 Merge succeeded, producing f3c659393e81f6218897f09ac35785bc0647aedc 17:59:50 Checking out Revision f3c659393e81f6218897f09ac35785bc0647aedc (PR-121) 17:59:49 > git remote # timeout=10 17:59:49 > git config --get remote.origin.url # timeout=10 17:59:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:49 [INFO] Currently running in a labeled security context 17:59:49 [INFO] Currently SELinux is 'enforcing' on the host 17:59:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/2@tmp/jenkins-gitclient-ssh8500140853817838809.key 17:59:49 > git merge cb664274c0dca40b320a1658e35cf4dfcb3ecab3 # timeout=10 17:59:49 > git rev-parse HEAD^{commit} # timeout=10 17:59:49 > git config core.sparsecheckout # timeout=10 17:59:49 > git checkout -f f3c659393e81f6218897f09ac35785bc0647aedc # timeout=10 17:59:53 Commit message: "docs: Update Change Log for 2.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:59:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:59:54 ========================================================= 17:59:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:59:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:59:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:59:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:59:54 a0d0a0d46f8b: Pulling fs layer 17:59:54 31adcdaf11c8: Pulling fs layer 17:59:54 b8b176561691: Pulling fs layer 17:59:54 4527c011a84f: Pulling fs layer 17:59:54 5d74067f8e1e: Pulling fs layer 17:59:54 e0aca202a116: Pulling fs layer 17:59:54 3a43be97a3b4: Pulling fs layer 17:59:54 34cad66bf833: Pulling fs layer 17:59:54 b4e3c513aaa6: Pulling fs layer 17:59:54 e0aca202a116: Waiting 17:59:54 3a43be97a3b4: Waiting 17:59:54 34cad66bf833: Waiting 17:59:54 b4e3c513aaa6: Waiting 17:59:54 4527c011a84f: Waiting 17:59:54 5d74067f8e1e: Waiting 17:59:54 b8b176561691: Verifying Checksum 17:59:54 b8b176561691: Download complete 17:59:54 31adcdaf11c8: Verifying Checksum 17:59:54 31adcdaf11c8: Download complete 17:59:54 5d74067f8e1e: Verifying Checksum 17:59:54 5d74067f8e1e: Download complete 17:59:54 e0aca202a116: Verifying Checksum 17:59:54 e0aca202a116: Download complete 17:59:54 3a43be97a3b4: Verifying Checksum 17:59:54 3a43be97a3b4: Download complete 17:59:54 a0d0a0d46f8b: Verifying Checksum 17:59:54 a0d0a0d46f8b: Download complete 17:59:54 34cad66bf833: Verifying Checksum 17:59:54 34cad66bf833: Download complete 17:59:55 b4e3c513aaa6: Verifying Checksum 17:59:55 b4e3c513aaa6: Download complete 17:59:55 4527c011a84f: Verifying Checksum 17:59:55 4527c011a84f: Download complete 17:59:55 a0d0a0d46f8b: Pull complete 17:59:55 31adcdaf11c8: Pull complete 17:59:55 b8b176561691: Pull complete 17:59:59 4527c011a84f: Pull complete 17:59:59 5d74067f8e1e: Pull complete 17:59:59 e0aca202a116: Pull complete 17:59:59 3a43be97a3b4: Pull complete 17:59:59 34cad66bf833: Pull complete 18:00:01 b4e3c513aaa6: Pull complete 18:00:01 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 18:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:00:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 18:00:01 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 18:00:02 + docker inspect -f . ci-base-image-x86_64 18:00:02 . [Pipeline] withDockerContainer 18:00:02 prd-centos7-docker-4c-2g-28138 does not seem to be running inside a container 18:00:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/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-x86_64 cat 18:00:04 $ docker top db77a308edab05c1d0e02357bae18233a3336553b1af8827cd7e7f8cf2d1e325 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:04 + go version 18:00:04 go version go1.16.8 linux/amd64 [Pipeline] } 18:00:04 $ docker stop --time=1 db77a308edab05c1d0e02357bae18233a3336553b1af8827cd7e7f8cf2d1e325 18:00:06 $ docker rm -f db77a308edab05c1d0e02357bae18233a3336553b1af8827cd7e7f8cf2d1e325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:00:06 + docker inspect -f . ci-base-image-x86_64 18:00:06 . [Pipeline] withDockerContainer 18:00:06 prd-centos7-docker-4c-2g-28138 does not seem to be running inside a container 18:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/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-x86_64 cat 18:00:07 $ docker top 2721738156f48c18f43f0e93dcc5c5b957455444f06e814eac57e97d9702a19e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:00:07 + make test 18:00:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:00:07 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:00:07 go: downloading github.com/stretchr/testify v1.7.0 18:00:07 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:00:07 go: downloading github.com/pebbe/zmq4 v1.2.7 18:00:07 go: downloading github.com/davecgh/go-spew v1.1.0 18:00:07 go: downloading github.com/pmezard/go-difflib v1.0.0 18:00:07 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:00:07 go: downloading github.com/gorilla/websocket v1.4.2 18:00:07 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 18:00:07 go: downloading github.com/stretchr/objx v0.1.0 18:00:11 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 18:00:13 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.007s coverage: 90.3% of statements 18:00:17 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.005s coverage: 67.3% of statements 18:00:17 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 18:00:39 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.338s coverage: 83.8% of statements 18:00:39 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.005s coverage: 85.7% of statements 18:00:39 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.003s coverage: 100.0% of statements 18:00:39 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.004s coverage: 100.0% of statements 18:00:39 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.005s coverage: 90.9% of statements 18:00:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:00:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:00:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 18:00:43 $ docker stop --time=1 2721738156f48c18f43f0e93dcc5c5b957455444f06e814eac57e97d9702a19e 18:00:44 $ docker rm -f 2721738156f48c18f43f0e93dcc5c5b957455444f06e814eac57e97d9702a19e [Pipeline] // withDockerContainer [Pipeline] sh 18:00:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:00:45 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 18:00:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:45 18:00:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:00:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:46 latest: Pulling from edgex-lftools-log-publisher 18:00:46 b4d181a07f80: Pulling fs layer 18:00:46 a1111a8f2ec3: Pulling fs layer 18:00:46 ed53099fbce6: Pulling fs layer 18:00:46 dc539afda2c1: Pulling fs layer 18:00:46 77bc0d833cb6: Pulling fs layer 18:00:46 9065ff56babe: Pulling fs layer 18:00:46 d287ab97295c: Pulling fs layer 18:00:46 dc539afda2c1: Waiting 18:00:46 77bc0d833cb6: Waiting 18:00:46 9065ff56babe: Waiting 18:00:46 d287ab97295c: Waiting 18:00:46 a1111a8f2ec3: Verifying Checksum 18:00:46 a1111a8f2ec3: Download complete 18:00:46 dc539afda2c1: Verifying Checksum 18:00:46 dc539afda2c1: Download complete 18:00:46 ed53099fbce6: Verifying Checksum 18:00:46 ed53099fbce6: Download complete 18:00:46 9065ff56babe: Verifying Checksum 18:00:46 9065ff56babe: Download complete 18:00:46 77bc0d833cb6: Verifying Checksum 18:00:46 77bc0d833cb6: Download complete 18:00:46 b4d181a07f80: Verifying Checksum 18:00:46 b4d181a07f80: Download complete 18:00:47 d287ab97295c: Verifying Checksum 18:00:47 d287ab97295c: Download complete 18:00:48 b4d181a07f80: Pull complete 18:00:48 a1111a8f2ec3: Pull complete 18:00:48 ed53099fbce6: Pull complete 18:00:48 dc539afda2c1: Pull complete 18:00:48 77bc0d833cb6: Pull complete 18:00:48 9065ff56babe: Pull complete 18:00:54 d287ab97295c: Pull complete 18:00:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:00:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:00:54 prd-centos7-docker-4c-2g-28138 does not seem to be running inside a container 18:00:54 $ 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-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/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:latest cat 18:00:56 $ docker top 050f46751943a1c5d7970fbdecbd80890a7161819447b899cca328ac695c227f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:56 ---> job-cost.sh 18:00:56 lf-activate-venv: SKIPPING 18:00:56 INFO: No Stack... 18:00:57 INFO: Retrieving Pricing Info for: v3-standard-2 18:00:57 INFO: Archiving Costs [Pipeline] sh 18:00:57 + cat /w/workspace/go-mod-messaging/2/archives/cost.csv 18:00:57 + cut -d, -f6 [Pipeline] lock 18:00:57 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] 18:00:57 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] did not exist. Created. 18:00:57 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:00:58 + echo total: 0.05999999865889549 [Pipeline] stash 18:00:58 Stashed 1 file(s) [Pipeline] } 18:00:58 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:00:58 $ docker stop --time=1 050f46751943a1c5d7970fbdecbd80890a7161819447b899cca328ac695c227f 18:00:59 $ docker rm -f 050f46751943a1c5d7970fbdecbd80890a7161819447b899cca328ac695c227f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:01:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28140 in /w/workspace/xfoundry_go-mod-messaging_PR-121 [Pipeline] { [Pipeline] ws 18:01:47 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout 18:01:47 Selected Git installation does not exist. Using Default 18:01:47 The recommended git tool is: NONE 18:01:55 using credential edgex-jenkins-ssh 18:01:55 Cloning the remote Git repository 18:01:55 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 18:01:55 > git init /w/workspace/go-mod-messaging/2 # timeout=10 18:01:55 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 18:01:55 > git --version # timeout=10 18:01:55 > git --version # 'git version 2.17.1' 18:01:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:01:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:01:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 18:01:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:01:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 18:01:57 Merging remotes/origin/main commit cb664274c0dca40b320a1658e35cf4dfcb3ecab3 into PR head commit f3c659393e81f6218897f09ac35785bc0647aedc 18:01:57 Merge succeeded, producing f3c659393e81f6218897f09ac35785bc0647aedc 18:01:57 Checking out Revision f3c659393e81f6218897f09ac35785bc0647aedc (PR-121) 18:01:56 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 18:01:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:01:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:01:57 > git config core.sparsecheckout # timeout=10 18:01:57 > git checkout -f f3c659393e81f6218897f09ac35785bc0647aedc # timeout=10 18:01:57 > git remote # timeout=10 18:01:57 > git config --get remote.origin.url # timeout=10 18:01:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:01:57 > git merge cb664274c0dca40b320a1658e35cf4dfcb3ecab3 # timeout=10 18:01:57 > git rev-parse HEAD^{commit} # timeout=10 18:01:57 > git config core.sparsecheckout # timeout=10 18:01:57 > git checkout -f f3c659393e81f6218897f09ac35785bc0647aedc # timeout=10 18:02:01 Commit message: "docs: Update Change Log for 2.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:02:02 % Total % Received % Xferd Average Speed Time Time Time Current 18:02:02 Dload Upload Total Spent Left Speed 18:02:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 18:02:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:02:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:02:03 + sudo tee /etc/docker/daemon.new 18:02:03 { 18:02:03 "registry-mirrors": [ 18:02:03 "https://nexus3.edgexfoundry.org:10001" 18:02:03 ], 18:02:03 "bip": "10.250.0.254/24", 18:02:03 "hosts": [ 18:02:03 "tcp://0.0.0.0:5555", 18:02:03 "unix:///var/run/docker.sock" 18:02:03 ], 18:02:03 "mtu": 1458, 18:02:03 "selinux-enabled": true, 18:02:03 "seccomp-profile": "/etc/docker/seccomp.json" 18:02:03 } [Pipeline] sh 18:02:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:02:04 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 18:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:02:23 ========================================================= 18:02:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:02:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:02:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:02:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:02:25 552d1f2373af: Pulling fs layer 18:02:25 ea3f2d53f512: Pulling fs layer 18:02:25 9e70ebbbe112: Pulling fs layer 18:02:25 7a9cfe048b4a: Pulling fs layer 18:02:25 72dc09318566: Pulling fs layer 18:02:25 f4f7b4309257: Pulling fs layer 18:02:25 0ac9a79272e3: Pulling fs layer 18:02:25 b78e95d17946: Pulling fs layer 18:02:25 7a9cfe048b4a: Waiting 18:02:25 f4f7b4309257: Waiting 18:02:25 72dc09318566: Waiting 18:02:25 0ac9a79272e3: Waiting 18:02:25 b78e95d17946: Waiting 18:02:25 9e70ebbbe112: Download complete 18:02:25 ea3f2d53f512: Verifying Checksum 18:02:25 ea3f2d53f512: Download complete 18:02:25 72dc09318566: Download complete 18:02:25 f4f7b4309257: Verifying Checksum 18:02:25 f4f7b4309257: Download complete 18:02:25 552d1f2373af: Verifying Checksum 18:02:25 552d1f2373af: Download complete 18:02:25 0ac9a79272e3: Verifying Checksum 18:02:25 0ac9a79272e3: Download complete 18:02:25 552d1f2373af: Pull complete 18:02:26 ea3f2d53f512: Pull complete 18:02:26 9e70ebbbe112: Pull complete 18:02:26 b78e95d17946: Verifying Checksum 18:02:26 b78e95d17946: Download complete 18:02:27 7a9cfe048b4a: Verifying Checksum 18:02:27 7a9cfe048b4a: Download complete 18:02:37 7a9cfe048b4a: Pull complete 18:02:37 72dc09318566: Pull complete 18:02:37 f4f7b4309257: Pull complete 18:02:38 0ac9a79272e3: Pull complete 18:02:44 b78e95d17946: Pull complete 18:02:44 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 18:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:02:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 18:02:45 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 18:02:45 + docker inspect -f . ci-base-image-arm64 18:02:45 . [Pipeline] withDockerContainer 18:02:46 prd-ubuntu18.04-docker-arm64-4c-16g-28140 does not seem to be running inside a container 18:02:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/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 18:02:49 $ docker top a06448454a8c884cd8897d56f1cf55e04d971025a6cefc543f487fd7ea9229d2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:51 + go version 18:02:51 go version go1.16.8 linux/arm64 [Pipeline] } 18:02:51 $ docker stop --time=1 a06448454a8c884cd8897d56f1cf55e04d971025a6cefc543f487fd7ea9229d2 18:02:53 $ docker rm -f a06448454a8c884cd8897d56f1cf55e04d971025a6cefc543f487fd7ea9229d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:02:54 + docker inspect -f . ci-base-image-arm64 18:02:54 . [Pipeline] withDockerContainer 18:02:54 prd-ubuntu18.04-docker-arm64-4c-16g-28140 does not seem to be running inside a container 18:02:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/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 18:02:56 $ docker top f3da05b3d4cf5c4ac6e7b52bb70cc9139831717384e9e5d3ce5e8d814c0c0007 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:02:57 + make test 18:02:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:02:57 go: downloading github.com/stretchr/testify v1.7.0 18:02:57 go: downloading github.com/pebbe/zmq4 v1.2.7 18:02:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:02:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:02:57 go: downloading github.com/davecgh/go-spew v1.1.0 18:02:57 go: downloading github.com/pmezard/go-difflib v1.0.0 18:02:57 go: downloading github.com/stretchr/objx v0.1.0 18:02:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:02:57 go: downloading github.com/gorilla/websocket v1.4.2 18:02:57 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 18:03:20 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 18:03:31 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.068s coverage: 90.3% of statements 18:03:31 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.061s coverage: 67.3% of statements 18:03:31 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 18:04:03 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.381s coverage: 83.8% of statements 18:04:03 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.019s coverage: 85.7% of statements 18:04:03 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.017s coverage: 100.0% of statements 18:04:03 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.024s coverage: 100.0% of statements 18:04:03 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.012s coverage: 90.9% of statements 18:04:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:04:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:04:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 18:04:23 $ docker stop --time=1 f3da05b3d4cf5c4ac6e7b52bb70cc9139831717384e9e5d3ce5e8d814c0c0007 18:04:24 $ docker rm -f f3da05b3d4cf5c4ac6e7b52bb70cc9139831717384e9e5d3ce5e8d814c0c0007 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:04:25 Warning: overwriting stash ‘coverage-report’ 18:04:26 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 18:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:27 18:04:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:28 arm64: Pulling from edgex-lftools-log-publisher 18:04:28 448f6bf000e3: Pulling fs layer 18:04:28 f757da607395: Pulling fs layer 18:04:28 05883995daec: Pulling fs layer 18:04:28 8603b9c90790: Pulling fs layer 18:04:28 1560dd03e051: Pulling fs layer 18:04:28 27f5ce0e4adf: Pulling fs layer 18:04:28 c2d8d7efcc4b: Pulling fs layer 18:04:28 1560dd03e051: Waiting 18:04:28 c2d8d7efcc4b: Waiting 18:04:28 8603b9c90790: Waiting 18:04:28 27f5ce0e4adf: Waiting 18:04:28 f757da607395: Verifying Checksum 18:04:28 f757da607395: Download complete 18:04:28 8603b9c90790: Verifying Checksum 18:04:28 8603b9c90790: Download complete 18:04:28 1560dd03e051: Verifying Checksum 18:04:28 1560dd03e051: Download complete 18:04:28 27f5ce0e4adf: Download complete 18:04:28 05883995daec: Verifying Checksum 18:04:28 05883995daec: Download complete 18:04:28 448f6bf000e3: Verifying Checksum 18:04:28 448f6bf000e3: Download complete 18:04:31 c2d8d7efcc4b: Verifying Checksum 18:04:31 c2d8d7efcc4b: Download complete 18:04:32 448f6bf000e3: Pull complete 18:04:33 f757da607395: Pull complete 18:04:34 05883995daec: Pull complete 18:04:34 8603b9c90790: Pull complete 18:04:35 1560dd03e051: Pull complete 18:04:36 27f5ce0e4adf: Pull complete 18:04:51 c2d8d7efcc4b: Pull complete 18:04:51 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:04:51 prd-ubuntu18.04-docker-arm64-4c-16g-28140 does not seem to be running inside a container 18:04:51 $ 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-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/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 18:04:54 $ docker top 486d4fad2763481a3efc5f5214d21711240fc311768e308924083b6d9d88012d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:55 ---> job-cost.sh 18:04:55 lf-activate-venv: SKIPPING 18:04:55 INFO: No Stack... 18:04:58 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:58 INFO: Archiving Costs [Pipeline] sh 18:04:59 + cut -d, -f6 18:04:59 + cat /w/workspace/go-mod-messaging/2/archives/cost.csv [Pipeline] lock 18:04:59 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] 18:04:59 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] did not exist. Created. 18:04:59 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:59 /w/workspace/go-mod-messaging/2@tmp/durable-21819d81/script.sh: 1: /w/workspace/go-mod-messaging/2@tmp/durable-21819d81/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:05:00 + echo total: 0.10999999940395355 [Pipeline] stash 18:05:00 Warning: overwriting stash ‘stack-cost’ 18:05:00 Stashed 1 file(s) [Pipeline] } 18:05:00 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-121-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:05:00 $ docker stop --time=1 486d4fad2763481a3efc5f5214d21711240fc311768e308924083b6d9d88012d 18:05:02 $ docker rm -f 486d4fad2763481a3efc5f5214d21711240fc311768e308924083b6d9d88012d [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 18:05:02 provisioning config files... 18:05:02 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-121@tmp/config4250365370137307675tmp [Pipeline] { [Pipeline] sh 18:05:03 + set +x 18:05:03 + curl -s https://codecov.io/bash 18:05:03 + bash -s -- 18:05:03 18:05:03 _____ _ 18:05:03 / ____| | | 18:05:03 | | ___ __| | ___ ___ _____ __ 18:05:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:05:03 | |___| (_) | (_| | __/ (_| (_) \ V / 18:05:03 \_____\___/ \__,_|\___|\___\___/ \_/ 18:05:03 Bash-1.0.6 18:05:03 18:05:03 18:05:03 ==> git version 2.24.4 found 18:05:03 ==> 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 18:05:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:05:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:05:03 ==> Jenkins CI detected. 18:05:03 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-121 18:05:03 project root: . 18:05:03 --> token set from env 18:05:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:05:03 ==> Running gcov in . (disable via -X gcov) 18:05:03 ==> Python coveragepy not found 18:05:03 ==> Searching for coverage reports in: 18:05:03 + . 18:05:03 -> Found 1 reports 18:05:03 ==> Detecting git/mercurial file structure 18:05:03 ==> Reading reports 18:05:03 + ./coverage.out bytes=22036 18:05:03 ==> Appending adjustments 18:05:03 https://docs.codecov.io/docs/fixing-reports 18:05:03 + Found adjustments 18:05:03 ==> Gzipping contents 18:05:03 8.0K /tmp/codecov.qFlspl.gz 18:05:03 ==> Uploading reports 18:05:03 url: https://codecov.io 18:05:03 query: branch=PR-121&commit=f3c659393e81f6218897f09ac35785bc0647aedc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-121%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=121&job=&cmd_args= 18:05:03 -> Pinging Codecov 18:05:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-121&commit=f3c659393e81f6218897f09ac35785bc0647aedc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-121%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=121&job=&cmd_args= 18:05:03 -> Uploading to 18:05:03 https://storage.googleapis.com/codecov/v4/raw/2021-11-09/F6E385568367DD0E4001BA4F8F1CB792/f3c659393e81f6218897f09ac35785bc0647aedc/e86be951-5598-40aa-b648-bc1d978e1854.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T180503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b02f942df0d0f35c9089d5fb24e33edeb5c02f0e355f8fd7a8b1027f1e168685 18:05:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:03 Dload Upload Total Spent Left Speed 18:05:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5081 0 0 100 5081 0 18014 --:--:-- --:--:-- --:--:-- 18081 18:05:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/f3c659393e81f6218897f09ac35785bc0647aedc [Pipeline] } 18:05:04 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 18:05:06 + '[' -d /w/workspace/xfoundry_go-mod-messaging_PR-121/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:05:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:07 ---> package-listing.sh 18:05:07 ++ facter osfamily 18:05:07 ++ tr '[:upper:]' '[:lower:]' 18:05:07 + OS_FAMILY=redhat 18:05:07 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-121 18:05:07 + START_PACKAGES=/tmp/packages_start.txt 18:05:07 + END_PACKAGES=/tmp/packages_end.txt 18:05:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:07 + PACKAGES=/tmp/packages_start.txt 18:05:07 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-121 ']' 18:05:07 + PACKAGES=/tmp/packages_end.txt 18:05:07 + case "${OS_FAMILY}" in 18:05:07 + rpm -qa 18:05:07 + sort 18:05:08 + '[' -f /tmp/packages_start.txt ']' 18:05:08 + '[' -f /tmp/packages_end.txt ']' 18:05:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:08 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-121 ']' 18:05:08 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-121/archives/ 18:05:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-121/archives/ [Pipeline] echo 18:05:08 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/xfoundry_go-mod-messaging_PR-121/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:05:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:08 18:05:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:05:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:09 latest: Pulling from edgex-lftools-log-publisher 18:05:09 b4d181a07f80: Pulling fs layer 18:05:09 a1111a8f2ec3: Pulling fs layer 18:05:09 ed53099fbce6: Pulling fs layer 18:05:09 dc539afda2c1: Pulling fs layer 18:05:09 77bc0d833cb6: Pulling fs layer 18:05:09 9065ff56babe: Pulling fs layer 18:05:09 d287ab97295c: Pulling fs layer 18:05:09 dc539afda2c1: Waiting 18:05:09 77bc0d833cb6: Waiting 18:05:09 9065ff56babe: Waiting 18:05:09 d287ab97295c: Waiting 18:05:09 a1111a8f2ec3: Verifying Checksum 18:05:09 a1111a8f2ec3: Download complete 18:05:09 dc539afda2c1: Download complete 18:05:09 77bc0d833cb6: Verifying Checksum 18:05:09 77bc0d833cb6: Download complete 18:05:09 9065ff56babe: Verifying Checksum 18:05:09 9065ff56babe: Download complete 18:05:09 ed53099fbce6: Verifying Checksum 18:05:09 ed53099fbce6: Download complete 18:05:09 b4d181a07f80: Verifying Checksum 18:05:09 b4d181a07f80: Download complete 18:05:10 d287ab97295c: Verifying Checksum 18:05:10 d287ab97295c: Download complete 18:05:11 b4d181a07f80: Pull complete 18:05:11 a1111a8f2ec3: Pull complete 18:05:11 ed53099fbce6: Pull complete 18:05:11 dc539afda2c1: Pull complete 18:05:12 77bc0d833cb6: Pull complete 18:05:12 9065ff56babe: Pull complete 18:05:18 d287ab97295c: Pull complete 18:05:18 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:05:18 prd-centos7-docker-4c-2g-28133 does not seem to be running inside a container 18:05:18 $ 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/xfoundry_go-mod-messaging_PR-121/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-messaging_PR-121 -v /w/workspace/xfoundry_go-mod-messaging_PR-121:/w/workspace/xfoundry_go-mod-messaging_PR-121:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-121@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-121@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 18:05:21 $ docker top 3cf3083016a7eb0eef4c54cf03d14ef95d73fd6bcc05315ea986e1b07db4c196 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:21 + touch /tmp/pre-build-complete [Pipeline] sh 18:05:21 + mkdir -p /var/log/sysstat [Pipeline] sh 18:05:22 + ls /var/log/sa-host 18:05:22 + sadf -c /var/log/sa-host/sa09 18:05:22 file_magic: OK 18:05:22 HZ: Using current value: 100 18:05:22 file_header: OK 18:05:22 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 18:05:22 Statistics: 18:05:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:05:22 File successfully converted to sysstat format version 12.0.3 18:05:22 + sadf -c /var/log/sa-host/sa30 18:05:22 file_magic: OK 18:05:22 HZ: Using current value: 100 18:05:22 file_header: OK 18:05:22 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 18:05:22 Statistics: 18:05:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:05:22 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:22 provisioning config files... 18:05:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-121@tmp/config3272738132554072128tmp [Pipeline] { [Pipeline] echo 18:05:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:05:22 ---> create-netrc.sh [Pipeline] } 18:05:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:05:23 ---> python-tools-install.sh [Pipeline] echo 18:05:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:05:23 ---> sudo-logs.sh 18:05:23 Archiving 'sudo' log.. 18:05:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-28133.novalocal: Name or service not known 18:05:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-28133.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:05:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:05:23 ---> job-cost.sh 18:05:23 lf-activate-venv: SKIPPING 18:05:23 DEBUG: total: 0.10999999940395355 18:05:23 INFO: Retrieving Stack Cost... 18:05:23 INFO: Retrieving Pricing Info for: v3-standard-2 18:05:24 INFO: Archiving Costs [Pipeline] echo 18:05:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:24 ---> logs-deploy.sh 18:05:24 lf-activate-venv: SKIPPING 18:05:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-121/2 18:05:24 INFO: archiving workspace using pattern(s): 18:05:25 Archives upload complete. 18:05:25 INFO: archiving logs to Nexus