Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66dc79061175e14a91b978425bc80dba9e95b8d2 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-ssh6151757917189738496.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-ssh8822612134460586310.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-messaging/branches/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2755254068267523873.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-ssh13392946525032018617.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-messaging/branches/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1604216263628377540.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-messaging, 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-messaging-settings PROJECT: go-mod-messaging 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-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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7873 in /w/workspace/gexfoundry_go-mod-messaging_main [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/gexfoundry_go-mod-messaging_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.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-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 66dc79061175e14a91b978425bc80dba9e95b8d2 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 66dc79061175e14a91b978425bc80dba9e95b8d2 # timeout=10 Commit message: "Merge pull request #135 from lenny-intel/mock" > git rev-list --no-walk 9cef39bd3146322b57f6fe0fab06460a5d1166bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T19:23:19.726Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T19:23:19.770Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T19:23:19.787Z] ========================================================= [2022-03-17T19:23:19.787Z] EdgeX Global Pipelines Version Info [2022-03-17T19:23:19.787Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:23:20.575Z] ------------------- [2022-03-17T19:23:20.575Z] stable info: [2022-03-17T19:23:20.576Z] ------------------- [2022-03-17T19:23:20.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T19:23:20.576Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T19:23:20.576Z] Message: update stable to v1.0.221 [2022-03-17T19:23:21.148Z] ------------------- [2022-03-17T19:23:21.148Z] experimental info: [2022-03-17T19:23:21.148Z] ------------------- [2022-03-17T19:23:21.148Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T19:23:21.148Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T19:23:21.148Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T19:23:21.297Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-03-17T19:23:21.309Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-03-17T19:23:21.320Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T19:23:21.333Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T19:23:21.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T19:23:21.356Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T19:23:21.369Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T19:23:21.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-17T19:23:21.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T19:23:21.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T19:23:21.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T19:23:21.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-03-17T19:23:21.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T19:23:21.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T19:23:21.463Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T19:23:21.477Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T19:23:21.488Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T19:23:21.500Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T19:23:21.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T19:23:21.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T19:23:21.532Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-17T19:23:21.545Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-17T19:23:21.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T19:23:21.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T19:23:21.583Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-03-17T19:23:21.594Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T19:23:21.606Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T19:23:21.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T19:23:21.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T19:23:21.642Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66dc79061175e14a91b978425bc80dba9e95b8d2 [Pipeline] echo [2022-03-17T19:23:21.654Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66dc790 [Pipeline] echo [2022-03-17T19:23:21.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T19:23:22.053Z] + git rev-list -1 --merges 66dc79061175e14a91b978425bc80dba9e95b8d2~1..66dc79061175e14a91b978425bc80dba9e95b8d2 [Pipeline] echo [2022-03-17T19:23:22.085Z] -----------> git rev-list -1 --merges 66dc79061175e14a91b978425bc80dba9e95b8d2~1..66dc79061175e14a91b978425bc80dba9e95b8d2 66dc79061175e14a91b978425bc80dba9e95b8d2 [2022-03-17T19:23:22.085Z] 66dc79061175e14a91b978425bc80dba9e95b8d2 [false] [Pipeline] sh [2022-03-17T19:23:22.383Z] + git log --format=format:%s -1 66dc79061175e14a91b978425bc80dba9e95b8d2 [Pipeline] echo [2022-03-17T19:23:22.403Z] ========================================================= [2022-03-17T19:23:22.403Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T19:23:22.403Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T19:23:22.730Z] + git log --format=format:%s -1 66dc79061175e14a91b978425bc80dba9e95b8d2 [Pipeline] echo [2022-03-17T19:23:22.748Z] [semverPrep] GIT_COMMIT: 66dc79061175e14a91b978425bc80dba9e95b8d2, Commit Message: Merge pull request #135 from lenny-intel/mock [Pipeline] echo [2022-03-17T19:23:22.759Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T19:23:23.376Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T19:23:23.376Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T19:23:23.376Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T19:23:23.376Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T19:23:23.376Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T19:23:23.376Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T19:23:23.376Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:23:23.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T19:23:24.086Z] [2022-03-17T19:23:24.086Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:23:24.397Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T19:23:24.397Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T19:23:24.397Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T19:23:24.397Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T19:23:24.397Z] 4c7163046ea9: Pulling fs layer [2022-03-17T19:23:24.397Z] 0c2d73faf560: Pulling fs layer [2022-03-17T19:23:24.397Z] 0c2d73faf560: Waiting [2022-03-17T19:23:24.397Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T19:23:24.397Z] 3e5f54012d9b: Download complete [2022-03-17T19:23:24.658Z] a0d0a0d46f8b: Verifying Checksum [2022-03-17T19:23:24.658Z] a0d0a0d46f8b: Download complete [2022-03-17T19:23:24.658Z] 4c7163046ea9: Verifying Checksum [2022-03-17T19:23:24.658Z] 4c7163046ea9: Download complete [2022-03-17T19:23:24.658Z] 0c2d73faf560: Verifying Checksum [2022-03-17T19:23:24.658Z] 0c2d73faf560: Download complete [2022-03-17T19:23:24.658Z] a0d0a0d46f8b: Pull complete [2022-03-17T19:23:24.920Z] 3e5f54012d9b: Pull complete [2022-03-17T19:23:25.181Z] 4c7163046ea9: Pull complete [2022-03-17T19:23:25.181Z] 0c2d73faf560: Pull complete [2022-03-17T19:23:25.181Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T19:23:25.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T19:23:25.181Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T19:23:25.320Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:23:25.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T19:23:26.070Z] $ docker top ae601c64d07d59b301b5a6c258e2f6354de417c659a78b4e51b407620dc692f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T19:23:26.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T19:23:26.207Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T19:23:26.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T19:23:26.335Z] $ docker exec ae601c64d07d59b301b5a6c258e2f6354de417c659a78b4e51b407620dc692f5 ssh-agent [2022-03-17T19:23:26.482Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLecLMd/agent.12 [2022-03-17T19:23:26.482Z] SSH_AGENT_PID=18 [2022-03-17T19:23:26.490Z] Running ssh-add (command line suppressed) [2022-03-17T19:23:26.588Z] Identity added: /w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_8720618642055565506.key (/w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_8720618642055565506.key) [2022-03-17T19:23:26.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T19:23:26.916Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T19:23:26.928Z] $ docker exec --env ******** --env ******** ae601c64d07d59b301b5a6c258e2f6354de417c659a78b4e51b407620dc692f5 ssh-agent -k [2022-03-17T19:23:27.033Z] unset SSH_AUTH_SOCK; [2022-03-17T19:23:27.033Z] unset SSH_AGENT_PID; [2022-03-17T19:23:27.033Z] echo Agent pid 18 killed; [2022-03-17T19:23:27.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T19:23:27.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T19:23:27.090Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T19:23:27.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T19:23:27.207Z] $ docker exec ae601c64d07d59b301b5a6c258e2f6354de417c659a78b4e51b407620dc692f5 ssh-agent [2022-03-17T19:23:27.321Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCHejIn/agent.51 [2022-03-17T19:23:27.321Z] SSH_AGENT_PID=57 [2022-03-17T19:23:27.326Z] Running ssh-add (command line suppressed) [2022-03-17T19:23:27.439Z] Identity added: /w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_9090138226540492184.key (/w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_9090138226540492184.key) [2022-03-17T19:23:27.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T19:23:27.765Z] + git semver init [2022-03-17T19:23:27.765Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T19:23:27.765Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.git [2022-03-17T19:23:27.765Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-messaging_main [2022-03-17T19:23:27.765Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T19:23:27.765Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T19:23:27.765Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T19:23:27.765Z] # $SEMVER_BRANCH = main [2022-03-17T19:23:27.765Z] # $SEMVER_TEMP = /tmp/semver-430303766 [2022-03-17T19:23:27.765Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2022-03-17T19:23:28.335Z] # '/tmp/semver-430303766' -> '/w/workspace/gexfoundry_go-mod-messaging_main/.semver' [2022-03-17T19:23:28.335Z] # -> Force: false [2022-03-17T19:23:28.335Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.semver [Pipeline] } [2022-03-17T19:23:28.338Z] $ docker exec --env ******** --env ******** ae601c64d07d59b301b5a6c258e2f6354de417c659a78b4e51b407620dc692f5 ssh-agent -k [2022-03-17T19:23:28.445Z] unset SSH_AUTH_SOCK; [2022-03-17T19:23:28.445Z] unset SSH_AGENT_PID; [2022-03-17T19:23:28.446Z] echo Agent pid 57 killed; [2022-03-17T19:23:28.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T19:23:28.787Z] + git semver [Pipeline] } [2022-03-17T19:23:28.796Z] $ docker stop --time=1 ae601c64d07d59b301b5a6c258e2f6354de417c659a78b4e51b407620dc692f5 [2022-03-17T19:23:30.142Z] $ docker rm -f ae601c64d07d59b301b5a6c258e2f6354de417c659a78b4e51b407620dc692f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T19:23:30.507Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T19:23:30.788Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T19:23:30.792Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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-03-17T19:23:30.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T19:23:30.980Z] ========================================================= [2022-03-17T19:23:30.980Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T19:23:30.980Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-03-17T19:23:31.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T19:23:31.284Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T19:23:31.284Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T19:23:31.284Z] 666ba61612fd: Pulling fs layer [2022-03-17T19:23:31.284Z] 8ed8ca486205: Pulling fs layer [2022-03-17T19:23:31.284Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T19:23:31.284Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T19:23:31.284Z] 640e595b4fbd: Pulling fs layer [2022-03-17T19:23:31.284Z] 763cafe07f6e: Pulling fs layer [2022-03-17T19:23:31.284Z] 0c0b528cf693: Pulling fs layer [2022-03-17T19:23:31.284Z] 4fe6c5a15a65: Waiting [2022-03-17T19:23:31.284Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T19:23:31.284Z] 22a0e8bec74d: Waiting [2022-03-17T19:23:31.284Z] 0c0b528cf693: Waiting [2022-03-17T19:23:31.284Z] 763cafe07f6e: Waiting [2022-03-17T19:23:31.284Z] 10935f4eaf8b: Waiting [2022-03-17T19:23:31.284Z] 640e595b4fbd: Waiting [2022-03-17T19:23:31.285Z] 8ed8ca486205: Verifying Checksum [2022-03-17T19:23:31.285Z] 8ed8ca486205: Download complete [2022-03-17T19:23:31.285Z] 666ba61612fd: Download complete [2022-03-17T19:23:31.285Z] 22a0e8bec74d: Download complete [2022-03-17T19:23:31.285Z] 640e595b4fbd: Verifying Checksum [2022-03-17T19:23:31.285Z] 640e595b4fbd: Download complete [2022-03-17T19:23:31.285Z] 763cafe07f6e: Verifying Checksum [2022-03-17T19:23:31.285Z] 763cafe07f6e: Download complete [2022-03-17T19:23:31.285Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T19:23:31.285Z] 59bf1c3509f3: Download complete [2022-03-17T19:23:31.285Z] 0c0b528cf693: Download complete [2022-03-17T19:23:31.545Z] 59bf1c3509f3: Pull complete [2022-03-17T19:23:31.545Z] 666ba61612fd: Pull complete [2022-03-17T19:23:31.806Z] 8ed8ca486205: Pull complete [2022-03-17T19:23:32.066Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T19:23:32.066Z] 10935f4eaf8b: Download complete [2022-03-17T19:23:32.066Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T19:23:32.066Z] 4fe6c5a15a65: Download complete [2022-03-17T19:23:35.358Z] 4fe6c5a15a65: Pull complete [2022-03-17T19:23:35.618Z] 22a0e8bec74d: Pull complete [2022-03-17T19:23:35.619Z] 640e595b4fbd: Pull complete [2022-03-17T19:23:35.619Z] 763cafe07f6e: Pull complete [2022-03-17T19:23:35.877Z] 0c0b528cf693: Pull complete [2022-03-17T19:23:37.784Z] 10935f4eaf8b: Pull complete [2022-03-17T19:23:37.784Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T19:23:37.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T19:23:37.784Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-03-17T19:23:38.077Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:23:38.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T19:23:38.373Z] . [Pipeline] withDockerContainer [2022-03-17T19:23:38.438Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:23:38.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** ci-base-image-x86_64 cat [2022-03-17T19:23:40.428Z] $ docker top 007e28f0338203ce2b8ce76ea583a9cb06460a7420dfc738bc82483ba9001180 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T19:23:40.779Z] + go version [2022-03-17T19:23:40.779Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T19:23:40.792Z] $ docker stop --time=1 007e28f0338203ce2b8ce76ea583a9cb06460a7420dfc738bc82483ba9001180 [2022-03-17T19:23:42.087Z] $ docker rm -f 007e28f0338203ce2b8ce76ea583a9cb06460a7420dfc738bc82483ba9001180 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:23:42.477Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T19:23:42.477Z] . [Pipeline] withDockerContainer [2022-03-17T19:23:42.547Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:23:42.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** ci-base-image-x86_64 cat [2022-03-17T19:23:42.990Z] $ docker top 93a517c43703c116552ac56c7950b176d429de2c4d834d4716d26bf6f46b9917 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T19:23:43.359Z] + make test [2022-03-17T19:23:43.359Z] CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... [2022-03-17T19:23:43.359Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-03-17T19:23:43.359Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-03-17T19:23:43.359Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-03-17T19:23:43.359Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-03-17T19:23:43.359Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-03-17T19:23:43.359Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2022-03-17T19:23:43.359Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-03-17T19:23:43.359Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-03-17T19:23:43.359Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2022-03-17T19:23:43.359Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-03-17T19:23:45.903Z] Still waiting to schedule task [2022-03-17T19:23:45.904Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-03-17T19:23:53.353Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-03-17T19:23:55.917Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.061s coverage: 90.3% of statements [2022-03-17T19:23:55.917Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.036s coverage: 67.3% of statements [2022-03-17T19:23:55.917Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-03-17T19:24:17.883Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.374s coverage: 83.8% of statements [2022-03-17T19:24:17.883Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.025s coverage: 85.7% of statements [2022-03-17T19:24:17.883Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-03-17T19:24:17.883Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.024s coverage: 100.0% of statements [2022-03-17T19:24:17.883Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.025s coverage: 100.0% of statements [2022-03-17T19:24:17.883Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.023s coverage: 90.9% of statements [2022-03-17T19:24:26.013Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T19:24:26.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T19:24:26.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-03-17T19:24:27.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T19:24:27.251Z] $ docker stop --time=1 93a517c43703c116552ac56c7950b176d429de2c4d834d4716d26bf6f46b9917 [2022-03-17T19:24:28.824Z] $ docker rm -f 93a517c43703c116552ac56c7950b176d429de2c4d834d4716d26bf6f46b9917 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T19:24:29.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T19:24:29.305Z] 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-03-17T19:24:29.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T19:24:29.798Z] [2022-03-17T19:24:29.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:24:30.101Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T19:24:30.101Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T19:24:30.101Z] 5eb5b503b376: Pulling fs layer [2022-03-17T19:24:30.101Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T19:24:30.101Z] ec43610c2a17: Pulling fs layer [2022-03-17T19:24:30.101Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T19:24:30.101Z] 33b1e0a273af: Pulling fs layer [2022-03-17T19:24:30.101Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T19:24:30.101Z] 2f39f015ded8: Pulling fs layer [2022-03-17T19:24:30.101Z] 33b1e0a273af: Waiting [2022-03-17T19:24:30.101Z] 5d3b04190fa2: Waiting [2022-03-17T19:24:30.101Z] 3a2ae6a8a46f: Waiting [2022-03-17T19:24:30.101Z] 2f39f015ded8: Waiting [2022-03-17T19:24:30.101Z] 5c69ac0246d0: Download complete [2022-03-17T19:24:30.101Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T19:24:30.101Z] 33b1e0a273af: Verifying Checksum [2022-03-17T19:24:30.101Z] 33b1e0a273af: Download complete [2022-03-17T19:24:30.101Z] 5d3b04190fa2: Download complete [2022-03-17T19:24:30.362Z] ec43610c2a17: Verifying Checksum [2022-03-17T19:24:30.362Z] ec43610c2a17: Download complete [2022-03-17T19:24:30.362Z] 5eb5b503b376: Verifying Checksum [2022-03-17T19:24:30.362Z] 5eb5b503b376: Download complete [2022-03-17T19:24:30.930Z] 2f39f015ded8: Verifying Checksum [2022-03-17T19:24:30.930Z] 2f39f015ded8: Download complete [2022-03-17T19:24:31.499Z] 5eb5b503b376: Pull complete [2022-03-17T19:24:31.757Z] 5c69ac0246d0: Pull complete [2022-03-17T19:24:32.017Z] ec43610c2a17: Pull complete [2022-03-17T19:24:32.017Z] 3a2ae6a8a46f: Pull complete [2022-03-17T19:24:32.277Z] 33b1e0a273af: Pull complete [2022-03-17T19:24:32.277Z] 5d3b04190fa2: Pull complete [2022-03-17T19:24:37.553Z] 2f39f015ded8: Pull complete [2022-03-17T19:24:37.553Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T19:24:37.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T19:24:37.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T19:24:37.629Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:24:37.677Z] $ 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/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T19:24:39.282Z] $ docker top b67080c172fabf749ecaf68064801bc037152f40eb93e84264307076d1efdc81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:24:39.719Z] ---> job-cost.sh [2022-03-17T19:24:39.719Z] lf-activate-venv: SKIPPING [2022-03-17T19:24:39.719Z] INFO: No Stack... [2022-03-17T19:24:40.298Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T19:24:40.558Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T19:24:40.848Z] + cat /w/workspace/gexfoundry_go-mod-messaging_main/archives/cost.csv [2022-03-17T19:24:40.848Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T19:24:40.863Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] [2022-03-17T19:24:40.867Z] Resource [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] did not exist. Created. [2022-03-17T19:24:40.867Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T19:24:41.168Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T19:24:41.188Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T19:24:41.194Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T19:24:41.226Z] $ docker stop --time=1 b67080c172fabf749ecaf68064801bc037152f40eb93e84264307076d1efdc81 [2022-03-17T19:24:42.394Z] $ docker rm -f b67080c172fabf749ecaf68064801bc037152f40eb93e84264307076d1efdc81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T19:28:07.658Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7874 in /w/workspace/gexfoundry_go-mod-messaging_main [Pipeline] { [Pipeline] ws [2022-03-17T19:28:07.675Z] Running in /w/workspace/go-mod-messaging/18 [Pipeline] { [Pipeline] checkout [2022-03-17T19:28:07.974Z] Selected Git installation does not exist. Using Default [2022-03-17T19:28:07.975Z] The recommended git tool is: NONE [2022-03-17T19:28:17.006Z] using credential edgex-jenkins-ssh [2022-03-17T19:28:17.050Z] Cloning the remote Git repository [2022-03-17T19:28:17.128Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-03-17T19:28:17.229Z] > git init /w/workspace/go-mod-messaging/18 # timeout=10 [2022-03-17T19:28:17.326Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-03-17T19:28:17.327Z] > git --version # timeout=10 [2022-03-17T19:28:17.354Z] > git --version # 'git version 2.25.1' [2022-03-17T19:28:17.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T19:28:17.461Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T19:28:18.352Z] Avoid second fetch [2022-03-17T19:28:18.352Z] Checking out Revision 66dc79061175e14a91b978425bc80dba9e95b8d2 (main) [2022-03-17T19:28:18.283Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-03-17T19:28:18.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T19:28:18.390Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T19:28:18.413Z] > git checkout -f 66dc79061175e14a91b978425bc80dba9e95b8d2 # timeout=10 [2022-03-17T19:28:22.796Z] Commit message: "Merge pull request #135 from lenny-intel/mock" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T19:28:23.729Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T19:28:23.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T19:28:23.729Z] Dload Upload Total Spent Left Speed [2022-03-17T19:28:23.729Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46081 0 --:--:-- --:--:-- --:--:-- 46081 [Pipeline] sh [2022-03-17T19:28:24.280Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T19:28:24.634Z] + sudo tee /etc/docker/daemon.new [2022-03-17T19:28:24.634Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T19:28:24.634Z] { [2022-03-17T19:28:24.634Z] "registry-mirrors": [ [2022-03-17T19:28:24.634Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T19:28:24.634Z] ], [2022-03-17T19:28:24.634Z] "bip": "10.250.0.254/24", [2022-03-17T19:28:24.634Z] "hosts": [ [2022-03-17T19:28:24.634Z] "tcp://0.0.0.0:5555", [2022-03-17T19:28:24.634Z] "unix:///var/run/docker.sock" [2022-03-17T19:28:24.634Z] ], [2022-03-17T19:28:24.634Z] "mtu": 1458, [2022-03-17T19:28:24.634Z] "selinux-enabled": true, [2022-03-17T19:28:24.634Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T19:28:24.634Z] } [Pipeline] sh [2022-03-17T19:28:24.991Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T19:28:25.342Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-03-17T19:28:44.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T19:28:44.292Z] ========================================================= [2022-03-17T19:28:44.292Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T19:28:44.292Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-03-17T19:28:44.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T19:28:45.241Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T19:28:45.241Z] 9b3977197b4f: Pulling fs layer [2022-03-17T19:28:45.241Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T19:28:45.241Z] 94645a83ff95: Pulling fs layer [2022-03-17T19:28:45.241Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T19:28:45.241Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T19:28:45.241Z] f7c0051592d6: Pulling fs layer [2022-03-17T19:28:45.241Z] a227ed2f7395: Pulling fs layer [2022-03-17T19:28:45.241Z] 7b1c46037f91: Pulling fs layer [2022-03-17T19:28:45.241Z] 3f3a8bcf1eab: Waiting [2022-03-17T19:28:45.241Z] 0c92f367c5e7: Waiting [2022-03-17T19:28:45.241Z] f7c0051592d6: Waiting [2022-03-17T19:28:45.241Z] a227ed2f7395: Waiting [2022-03-17T19:28:45.241Z] 7b1c46037f91: Waiting [2022-03-17T19:28:45.533Z] 94645a83ff95: Verifying Checksum [2022-03-17T19:28:45.533Z] 94645a83ff95: Download complete [2022-03-17T19:28:45.533Z] 1a89e8eeedd5: Verifying Checksum [2022-03-17T19:28:45.533Z] 1a89e8eeedd5: Download complete [2022-03-17T19:28:45.533Z] 0c92f367c5e7: Download complete [2022-03-17T19:28:45.533Z] f7c0051592d6: Verifying Checksum [2022-03-17T19:28:45.533Z] f7c0051592d6: Download complete [2022-03-17T19:28:45.533Z] 9b3977197b4f: Download complete [2022-03-17T19:28:45.533Z] a227ed2f7395: Verifying Checksum [2022-03-17T19:28:45.533Z] a227ed2f7395: Download complete [2022-03-17T19:28:46.139Z] 9b3977197b4f: Pull complete [2022-03-17T19:28:46.753Z] 1a89e8eeedd5: Pull complete [2022-03-17T19:28:47.033Z] 94645a83ff95: Pull complete [2022-03-17T19:28:47.639Z] 7b1c46037f91: Verifying Checksum [2022-03-17T19:28:47.639Z] 7b1c46037f91: Download complete [2022-03-17T19:28:48.236Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T19:28:48.236Z] 3f3a8bcf1eab: Download complete [2022-03-17T19:29:00.667Z] 3f3a8bcf1eab: Pull complete [2022-03-17T19:29:00.667Z] 0c92f367c5e7: Pull complete [2022-03-17T19:29:00.667Z] f7c0051592d6: Pull complete [2022-03-17T19:29:00.942Z] a227ed2f7395: Pull complete [2022-03-17T19:29:07.664Z] 7b1c46037f91: Pull complete [2022-03-17T19:29:07.664Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T19:29:07.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T19:29:07.665Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-03-17T19:29:08.006Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:29:08.358Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T19:29:08.358Z] . [Pipeline] withDockerContainer [2022-03-17T19:29:08.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-7874 does not seem to be running inside a container [2022-03-17T19:29:08.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/18 -v /w/workspace/go-mod-messaging/18:/w/workspace/go-mod-messaging/18:rw,z -v /w/workspace/go-mod-messaging/18@tmp:/w/workspace/go-mod-messaging/18@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 ******** ci-base-image-arm64 cat [2022-03-17T19:29:11.528Z] $ docker top 55ab167e27634ca50d3dd8399f6b6b97ce2c70c0a7a3b4153cb09915f587629d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T19:29:12.461Z] + go version [2022-03-17T19:29:12.461Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T19:29:12.490Z] $ docker stop --time=1 55ab167e27634ca50d3dd8399f6b6b97ce2c70c0a7a3b4153cb09915f587629d [2022-03-17T19:29:14.108Z] $ docker rm -f 55ab167e27634ca50d3dd8399f6b6b97ce2c70c0a7a3b4153cb09915f587629d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:29:14.741Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T19:29:14.741Z] . [Pipeline] withDockerContainer [2022-03-17T19:29:14.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-7874 does not seem to be running inside a container [2022-03-17T19:29:15.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/18 -v /w/workspace/go-mod-messaging/18:/w/workspace/go-mod-messaging/18:rw,z -v /w/workspace/go-mod-messaging/18@tmp:/w/workspace/go-mod-messaging/18@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 ******** ci-base-image-arm64 cat [2022-03-17T19:29:16.471Z] $ docker top 061a3f51f2a2e74e7300541652b107f9e56746d3ccefd79fa3ec173fddaa3a18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T19:29:17.430Z] + make test [2022-03-17T19:29:17.430Z] CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... [2022-03-17T19:29:17.430Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-03-17T19:29:17.430Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-03-17T19:29:17.706Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-03-17T19:29:17.706Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-03-17T19:29:17.706Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2022-03-17T19:29:17.981Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-03-17T19:29:17.981Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-03-17T19:29:17.981Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-03-17T19:29:17.981Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-03-17T19:29:17.981Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2022-03-17T19:30:14.599Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-03-17T19:30:32.956Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.215s coverage: 90.3% of statements [2022-03-17T19:30:38.420Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.114s coverage: 67.3% of statements [2022-03-17T19:30:38.420Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-03-17T19:30:56.708Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.479s coverage: 83.8% of statements [2022-03-17T19:30:56.708Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.068s coverage: 85.7% of statements [2022-03-17T19:30:56.708Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-03-17T19:30:56.708Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.101s coverage: 100.0% of statements [2022-03-17T19:30:56.708Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.057s coverage: 100.0% of statements [2022-03-17T19:30:56.708Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.082s coverage: 90.9% of statements [2022-03-17T19:30:56.708Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-17T19:30:56.708Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T19:31:29.134Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T19:31:29.134Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-03-17T19:31:29.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T19:31:29.176Z] $ docker stop --time=1 061a3f51f2a2e74e7300541652b107f9e56746d3ccefd79fa3ec173fddaa3a18 [2022-03-17T19:31:31.007Z] $ docker rm -f 061a3f51f2a2e74e7300541652b107f9e56746d3ccefd79fa3ec173fddaa3a18 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T19:31:32.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T19:31:32.052Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T19:31:32.506Z] 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-03-17T19:31:32.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T19:31:32.951Z] [2022-03-17T19:31:32.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:31:33.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T19:31:33.570Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T19:31:33.570Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T19:31:33.570Z] 04944245beec: Pulling fs layer [2022-03-17T19:31:33.570Z] 699f458cf7ca: Pulling fs layer [2022-03-17T19:31:33.570Z] 765212b225bb: Pulling fs layer [2022-03-17T19:31:33.570Z] f23df028b6ca: Pulling fs layer [2022-03-17T19:31:33.570Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T19:31:33.570Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T19:31:33.570Z] 765212b225bb: Waiting [2022-03-17T19:31:33.570Z] f23df028b6ca: Waiting [2022-03-17T19:31:33.570Z] d65c8cfc05b1: Waiting [2022-03-17T19:31:33.570Z] 2437ff75d9bd: Waiting [2022-03-17T19:31:33.570Z] 04944245beec: Verifying Checksum [2022-03-17T19:31:33.570Z] 04944245beec: Download complete [2022-03-17T19:31:33.570Z] 765212b225bb: Download complete [2022-03-17T19:31:33.570Z] f23df028b6ca: Verifying Checksum [2022-03-17T19:31:33.570Z] f23df028b6ca: Download complete [2022-03-17T19:31:33.570Z] d65c8cfc05b1: Download complete [2022-03-17T19:31:33.847Z] 699f458cf7ca: Verifying Checksum [2022-03-17T19:31:33.847Z] 699f458cf7ca: Download complete [2022-03-17T19:31:34.120Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T19:31:34.120Z] 8998bd30e6a1: Download complete [2022-03-17T19:31:36.748Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T19:31:36.748Z] 2437ff75d9bd: Download complete [2022-03-17T19:31:38.755Z] 8998bd30e6a1: Pull complete [2022-03-17T19:31:39.033Z] 04944245beec: Pull complete [2022-03-17T19:31:40.473Z] 699f458cf7ca: Pull complete [2022-03-17T19:31:40.746Z] 765212b225bb: Pull complete [2022-03-17T19:31:41.727Z] f23df028b6ca: Pull complete [2022-03-17T19:31:41.727Z] d65c8cfc05b1: Pull complete [2022-03-17T19:31:56.825Z] 2437ff75d9bd: Pull complete [2022-03-17T19:31:56.825Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T19:31:56.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T19:31:56.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T19:31:57.049Z] prd-ubuntu20.04-docker-arm64-4c-16g-7874 does not seem to be running inside a container [2022-03-17T19:31:57.142Z] $ 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/18 -v /w/workspace/go-mod-messaging/18:/w/workspace/go-mod-messaging/18:rw,z -v /w/workspace/go-mod-messaging/18@tmp:/w/workspace/go-mod-messaging/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-17T19:31:59.546Z] $ docker top af0a2ee359703e316b3065bce1cab376b97344e6bdd57e6e967245e596bf9550 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:00.457Z] ---> job-cost.sh [2022-03-17T19:32:00.457Z] lf-activate-venv: SKIPPING [2022-03-17T19:32:00.457Z] INFO: No Stack... [2022-03-17T19:32:00.729Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T19:32:01.716Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T19:32:02.386Z] + cat /w/workspace/go-mod-messaging/18/archives/cost.csv [2022-03-17T19:32:02.386Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T19:32:02.449Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] [2022-03-17T19:32:02.455Z] Resource [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] did not exist. Created. [2022-03-17T19:32:02.455Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T19:32:03.142Z] /w/workspace/go-mod-messaging/18@tmp/durable-5c4c98d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T19:32:03.825Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T19:32:03.855Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T19:32:03.899Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T19:32:03.905Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T19:32:03.932Z] $ docker stop --time=1 af0a2ee359703e316b3065bce1cab376b97344e6bdd57e6e967245e596bf9550 [2022-03-17T19:32:05.474Z] $ docker rm -f af0a2ee359703e316b3065bce1cab376b97344e6bdd57e6e967245e596bf9550 [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-03-17T19:32:05.930Z] provisioning config files... [2022-03-17T19:32:05.940Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/gexfoundry_go-mod-messaging_main@tmp/config9080447913304872568tmp [Pipeline] { [Pipeline] sh [2022-03-17T19:32:06.254Z] + set +x [2022-03-17T19:32:06.254Z] + curl -s https://codecov.io/bash [2022-03-17T19:32:06.254Z] + bash -s -- [2022-03-17T19:32:06.254Z] [2022-03-17T19:32:06.254Z] _____ _ [2022-03-17T19:32:06.254Z] / ____| | | [2022-03-17T19:32:06.254Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T19:32:06.254Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T19:32:06.254Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T19:32:06.254Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T19:32:06.254Z] Bash-1.0.6 [2022-03-17T19:32:06.254Z] [2022-03-17T19:32:06.254Z] [2022-03-17T19:32:06.254Z] ==> git version 2.25.1 found [2022-03-17T19:32:06.254Z] ==> 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-03-17T19:32:06.254Z] Release-Date: 2020-01-08 [2022-03-17T19:32:06.254Z] 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-03-17T19:32:06.254Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T19:32:06.254Z] ==> Jenkins CI detected. [2022-03-17T19:32:06.254Z] current dir:  /w/workspace/gexfoundry_go-mod-messaging_main [2022-03-17T19:32:06.254Z] project root: . [2022-03-17T19:32:06.254Z] --> token set from env [2022-03-17T19:32:06.254Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T19:32:06.254Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T19:32:06.254Z] ==> Python coveragepy not found [2022-03-17T19:32:06.254Z] ==> Searching for coverage reports in: [2022-03-17T19:32:06.254Z] + . [2022-03-17T19:32:06.254Z] -> Found 1 reports [2022-03-17T19:32:06.254Z] ==> Detecting git/mercurial file structure [2022-03-17T19:32:06.254Z] ==> Reading reports [2022-03-17T19:32:06.255Z] + ./coverage.out bytes=22143 [2022-03-17T19:32:06.255Z] ==> Appending adjustments [2022-03-17T19:32:06.255Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T19:32:06.515Z] + Found adjustments [2022-03-17T19:32:06.515Z] ==> Gzipping contents [2022-03-17T19:32:06.515Z] 8.0K /tmp/codecov.GNWkBA.gz [2022-03-17T19:32:06.515Z] ==> Uploading reports [2022-03-17T19:32:06.515Z] url: https://codecov.io [2022-03-17T19:32:06.515Z] query: branch=main&commit=66dc79061175e14a91b978425bc80dba9e95b8d2&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T19:32:06.515Z] -> Pinging Codecov [2022-03-17T19:32:06.515Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=main&commit=66dc79061175e14a91b978425bc80dba9e95b8d2&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T19:32:06.775Z] -> Uploading to [2022-03-17T19:32:06.775Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/F6E385568367DD0E4001BA4F8F1CB792/66dc79061175e14a91b978425bc80dba9e95b8d2/f87bec05-77aa-4ba6-aaf8-d5d1cf330b36.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T193206Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e85861c903ba15360c57b500c04012cf449cea052481e91c5e4f4576ff856897 [2022-03-17T19:32:06.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T19:32:06.775Z] Dload Upload Total Spent Left Speed [2022-03-17T19:32:07.041Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5459 0 0 100 5459 0 22841 --:--:-- --:--:-- --:--:-- 22841 [2022-03-17T19:32:07.041Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/66dc79061175e14a91b978425bc80dba9e95b8d2 [Pipeline] } [2022-03-17T19:32:07.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T19:32:07.306Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T19:32:07.316Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:07.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T19:32:07.615Z] [2022-03-17T19:32:07.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:07.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T19:32:07.921Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T19:32:07.921Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T19:32:07.921Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T19:32:07.921Z] de9db76c5a1d: Pulling fs layer [2022-03-17T19:32:07.921Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T19:32:07.921Z] 0d57e429df01: Pulling fs layer [2022-03-17T19:32:07.921Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T19:32:07.921Z] e1f770b5df2f: Pulling fs layer [2022-03-17T19:32:07.921Z] 85a0685a4137: Pulling fs layer [2022-03-17T19:32:07.921Z] e1f770b5df2f: Waiting [2022-03-17T19:32:07.921Z] 85a0685a4137: Waiting [2022-03-17T19:32:07.921Z] 4e4be7b47b0d: Waiting [2022-03-17T19:32:07.921Z] 0d57e429df01: Waiting [2022-03-17T19:32:07.921Z] de9db76c5a1d: Verifying Checksum [2022-03-17T19:32:07.921Z] de9db76c5a1d: Download complete [2022-03-17T19:32:07.921Z] 0ef7d3d256c8: Verifying Checksum [2022-03-17T19:32:07.921Z] 0ef7d3d256c8: Download complete [2022-03-17T19:32:07.921Z] 0d57e429df01: Download complete [2022-03-17T19:32:07.921Z] 4e4be7b47b0d: Verifying Checksum [2022-03-17T19:32:07.921Z] 4e4be7b47b0d: Download complete [2022-03-17T19:32:07.921Z] 188c0c94c7c5: Verifying Checksum [2022-03-17T19:32:07.921Z] 188c0c94c7c5: Download complete [2022-03-17T19:32:08.183Z] 188c0c94c7c5: Pull complete [2022-03-17T19:32:08.183Z] e1f770b5df2f: Verifying Checksum [2022-03-17T19:32:08.183Z] e1f770b5df2f: Download complete [2022-03-17T19:32:08.183Z] 0ef7d3d256c8: Pull complete [2022-03-17T19:32:08.183Z] de9db76c5a1d: Pull complete [2022-03-17T19:32:08.758Z] 0eba1c9be4d2: Verifying Checksum [2022-03-17T19:32:08.758Z] 0eba1c9be4d2: Download complete [2022-03-17T19:32:08.758Z] 85a0685a4137: Verifying Checksum [2022-03-17T19:32:08.758Z] 85a0685a4137: Download complete [2022-03-17T19:32:12.050Z] 0eba1c9be4d2: Pull complete [2022-03-17T19:32:12.050Z] 0d57e429df01: Pull complete [2022-03-17T19:32:12.051Z] 4e4be7b47b0d: Pull complete [2022-03-17T19:32:12.310Z] e1f770b5df2f: Pull complete [2022-03-17T19:32:15.597Z] 85a0685a4137: Pull complete [2022-03-17T19:32:15.597Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T19:32:15.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T19:32:15.597Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T19:32:15.660Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:32:15.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-03-17T19:32:17.816Z] $ docker top 0df7891e9fc1a3b43537e7dc98b1ac893376285685c8eaad50918dc6e49587a7 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T19:32:17.879Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T19:32:18.159Z] + set -o pipefail [2022-03-17T19:32:18.159Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T19:32:20.703Z] [2022-03-17T19:32:20.703Z] Monitoring /w/workspace/gexfoundry_go-mod-messaging_main (github.com/edgexfoundry/go-mod-messaging/v2)... [2022-03-17T19:32:20.703Z] [2022-03-17T19:32:20.704Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/d23208db-5112-4543-b346-0f70a18311f1/history/fca5dfd4-3c21-4423-b036-c0aa7168e807 [2022-03-17T19:32:20.704Z] [2022-03-17T19:32:20.704Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T19:32:20.704Z] [2022-03-17T19:32:20.704Z] [Pipeline] } [2022-03-17T19:32:20.746Z] $ docker stop --time=1 0df7891e9fc1a3b43537e7dc98b1ac893376285685c8eaad50918dc6e49587a7 [2022-03-17T19:32:22.126Z] $ docker rm -f 0df7891e9fc1a3b43537e7dc98b1ac893376285685c8eaad50918dc6e49587a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T19:32:22.692Z] + git log --format=format:%s -1 66dc79061175e14a91b978425bc80dba9e95b8d2 [Pipeline] sh [2022-03-17T19:32:22.990Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T19:32:22.991Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:23.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T19:32:23.289Z] . [Pipeline] withDockerContainer [2022-03-17T19:32:23.355Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:32:23.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T19:32:23.841Z] $ docker top 13ea6b62ea4936bdf62bea6163834477e14ee4417c31809b1205ac25f654b9fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T19:32:23.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T19:32:23.937Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T19:32:24.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T19:32:24.101Z] $ docker exec 13ea6b62ea4936bdf62bea6163834477e14ee4417c31809b1205ac25f654b9fc ssh-agent [2022-03-17T19:32:24.224Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcnonjj/agent.13 [2022-03-17T19:32:24.224Z] SSH_AGENT_PID=21 [2022-03-17T19:32:24.229Z] Running ssh-add (command line suppressed) [2022-03-17T19:32:24.384Z] Identity added: /w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_8744033292291584438.key (/w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_8744033292291584438.key) [2022-03-17T19:32:24.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T19:32:24.680Z] + git semver tag [2022-03-17T19:32:24.680Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T19:32:24.680Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.git [2022-03-17T19:32:24.680Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-messaging_main [2022-03-17T19:32:24.680Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T19:32:24.680Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T19:32:24.680Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T19:32:24.680Z] # $SEMVER_BRANCH = main [2022-03-17T19:32:24.680Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.semver [2022-03-17T19:32:24.680Z] # 66dc79061175e14a91b978425bc80dba9e95b8d2 HEAD [2022-03-17T19:32:24.680Z] # -> Force: false [2022-03-17T19:32:24.680Z] # b6eb4c69b8d4aff78abc40103e48d472e7ca0092 refs/tags/v2.2.0-dev.9 [Pipeline] } [2022-03-17T19:32:24.705Z] $ docker exec --env ******** --env ******** 13ea6b62ea4936bdf62bea6163834477e14ee4417c31809b1205ac25f654b9fc ssh-agent -k [2022-03-17T19:32:24.815Z] unset SSH_AUTH_SOCK; [2022-03-17T19:32:24.815Z] unset SSH_AGENT_PID; [2022-03-17T19:32:24.815Z] echo Agent pid 21 killed; [2022-03-17T19:32:24.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T19:32:25.122Z] + git semver [Pipeline] } [2022-03-17T19:32:25.151Z] $ docker stop --time=1 13ea6b62ea4936bdf62bea6163834477e14ee4417c31809b1205ac25f654b9fc [2022-03-17T19:32:26.443Z] $ docker rm -f 13ea6b62ea4936bdf62bea6163834477e14ee4417c31809b1205ac25f654b9fc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:26.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T19:32:26.823Z] [2022-03-17T19:32:26.823Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:27.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T19:32:27.125Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T19:32:27.125Z] ab5ef0e58194: Pulling fs layer [2022-03-17T19:32:27.125Z] 9712f1f96733: Pulling fs layer [2022-03-17T19:32:27.125Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T19:32:27.125Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T19:32:27.125Z] e9a5061849ea: Pulling fs layer [2022-03-17T19:32:27.125Z] d747dcd14b5f: Pulling fs layer [2022-03-17T19:32:27.125Z] 2de7ff778b66: Pulling fs layer [2022-03-17T19:32:27.125Z] e9a5061849ea: Waiting [2022-03-17T19:32:27.125Z] d747dcd14b5f: Waiting [2022-03-17T19:32:27.125Z] 0d9ebad4ef96: Waiting [2022-03-17T19:32:27.125Z] 2de7ff778b66: Waiting [2022-03-17T19:32:27.125Z] 9712f1f96733: Verifying Checksum [2022-03-17T19:32:27.125Z] 9712f1f96733: Download complete [2022-03-17T19:32:27.388Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T19:32:27.388Z] 63f879dbbcfc: Download complete [2022-03-17T19:32:27.650Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T19:32:27.650Z] 0d9ebad4ef96: Download complete [2022-03-17T19:32:27.650Z] d747dcd14b5f: Verifying Checksum [2022-03-17T19:32:27.650Z] d747dcd14b5f: Download complete [2022-03-17T19:32:27.650Z] e9a5061849ea: Verifying Checksum [2022-03-17T19:32:27.650Z] e9a5061849ea: Download complete [2022-03-17T19:32:27.650Z] ab5ef0e58194: Verifying Checksum [2022-03-17T19:32:27.650Z] ab5ef0e58194: Download complete [2022-03-17T19:32:27.909Z] 2de7ff778b66: Verifying Checksum [2022-03-17T19:32:27.909Z] 2de7ff778b66: Download complete [2022-03-17T19:32:31.207Z] ab5ef0e58194: Pull complete [2022-03-17T19:32:31.207Z] 9712f1f96733: Pull complete [2022-03-17T19:32:31.467Z] 63f879dbbcfc: Pull complete [2022-03-17T19:32:35.669Z] 0d9ebad4ef96: Pull complete [2022-03-17T19:32:35.669Z] e9a5061849ea: Pull complete [2022-03-17T19:32:35.669Z] d747dcd14b5f: Pull complete [2022-03-17T19:32:37.051Z] 2de7ff778b66: Pull complete [2022-03-17T19:32:37.051Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T19:32:37.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T19:32:37.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T19:32:37.114Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:32:37.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-17T19:32:39.213Z] $ docker top 481b756dfbd9c85e677d5a9e69c01746d8f5db26eebb60de0c8e878c70636b95 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T19:32:39.282Z] provisioning config files... [2022-03-17T19:32:39.290Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_go-mod-messaging_main@tmp/config5819671957213593817tmp [2022-03-17T19:32:39.301Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_go-mod-messaging_main@tmp/config2473077073308948493tmp [2022-03-17T19:32:39.310Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_go-mod-messaging_main@tmp/config5590940205467564636tmp [Pipeline] { [Pipeline] echo [2022-03-17T19:32:39.326Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:39.612Z] ---> sigul-configuration.sh [2022-03-17T19:32:39.612Z] gpg: directory `/root/.gnupg' created [2022-03-17T19:32:39.612Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T19:32:39.612Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T19:32:39.612Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T19:32:39.612Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T19:32:39.612Z] gpg: CAST5 encrypted data [2022-03-17T19:32:39.612Z] gpg: encrypted with 1 passphrase [2022-03-17T19:32:39.612Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T19:32:39.909Z] + mkdir /home/jenkins [2022-03-17T19:32:39.909Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T19:32:40.198Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-03-17T19:32:40.209Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:40.497Z] ---> sigul-install.sh [2022-03-17T19:32:40.497Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T19:32:40.788Z] + git tag --list [2022-03-17T19:32:40.788Z] v0.0.0 [2022-03-17T19:32:40.788Z] v0.1.0 [2022-03-17T19:32:40.788Z] v0.1.1 [2022-03-17T19:32:40.788Z] v0.1.10 [2022-03-17T19:32:40.788Z] v0.1.11 [2022-03-17T19:32:40.788Z] v0.1.12 [2022-03-17T19:32:40.788Z] v0.1.13 [2022-03-17T19:32:40.788Z] v0.1.14 [2022-03-17T19:32:40.788Z] v0.1.15 [2022-03-17T19:32:40.788Z] v0.1.16 [2022-03-17T19:32:40.788Z] v0.1.17 [2022-03-17T19:32:40.788Z] v0.1.18 [2022-03-17T19:32:40.788Z] v0.1.19 [2022-03-17T19:32:40.788Z] v0.1.2 [2022-03-17T19:32:40.788Z] v0.1.20 [2022-03-17T19:32:40.788Z] v0.1.21 [2022-03-17T19:32:40.788Z] v0.1.22 [2022-03-17T19:32:40.788Z] v0.1.23 [2022-03-17T19:32:40.788Z] v0.1.24 [2022-03-17T19:32:40.788Z] v0.1.25 [2022-03-17T19:32:40.788Z] v0.1.26 [2022-03-17T19:32:40.788Z] v0.1.27 [2022-03-17T19:32:40.788Z] v0.1.28 [2022-03-17T19:32:40.788Z] v0.1.29 [2022-03-17T19:32:40.788Z] v0.1.3 [2022-03-17T19:32:40.788Z] v0.1.30 [2022-03-17T19:32:40.788Z] v0.1.31 [2022-03-17T19:32:40.788Z] v0.1.4 [2022-03-17T19:32:40.788Z] v0.1.5 [2022-03-17T19:32:40.788Z] v0.1.6 [2022-03-17T19:32:40.788Z] v0.1.7 [2022-03-17T19:32:40.788Z] v0.1.8 [2022-03-17T19:32:40.788Z] v0.1.9 [2022-03-17T19:32:40.788Z] v2.0.0 [2022-03-17T19:32:40.788Z] v2.0.0-dev.1 [2022-03-17T19:32:40.788Z] v2.0.0-dev.10 [2022-03-17T19:32:40.788Z] v2.0.0-dev.11 [2022-03-17T19:32:40.788Z] v2.0.0-dev.12 [2022-03-17T19:32:40.788Z] v2.0.0-dev.13 [2022-03-17T19:32:40.788Z] v2.0.0-dev.14 [2022-03-17T19:32:40.788Z] v2.0.0-dev.15 [2022-03-17T19:32:40.788Z] v2.0.0-dev.16 [2022-03-17T19:32:40.788Z] v2.0.0-dev.2 [2022-03-17T19:32:40.788Z] v2.0.0-dev.3 [2022-03-17T19:32:40.788Z] v2.0.0-dev.4 [2022-03-17T19:32:40.788Z] v2.0.0-dev.5 [2022-03-17T19:32:40.788Z] v2.0.0-dev.6 [2022-03-17T19:32:40.788Z] v2.0.0-dev.7 [2022-03-17T19:32:40.788Z] v2.0.0-dev.8 [2022-03-17T19:32:40.788Z] v2.0.0-dev.9 [2022-03-17T19:32:40.788Z] v2.0.1 [2022-03-17T19:32:40.788Z] v2.0.1-dev.1 [2022-03-17T19:32:40.788Z] v2.0.2-dev.1 [2022-03-17T19:32:40.788Z] v2.0.2-dev.2 [2022-03-17T19:32:40.788Z] v2.0.2-dev.3 [2022-03-17T19:32:40.788Z] v2.0.2-dev.4 [2022-03-17T19:32:40.788Z] v2.0.2-dev.5 [2022-03-17T19:32:40.788Z] v2.0.2-dev.6 [2022-03-17T19:32:40.788Z] v2.0.2-dev.7 [2022-03-17T19:32:40.788Z] v2.0.2-dev.8 [2022-03-17T19:32:40.788Z] v2.1.0 [2022-03-17T19:32:40.788Z] v2.2.0-dev.1 [2022-03-17T19:32:40.788Z] v2.2.0-dev.2 [2022-03-17T19:32:40.788Z] v2.2.0-dev.3 [2022-03-17T19:32:40.788Z] v2.2.0-dev.4 [2022-03-17T19:32:40.788Z] v2.2.0-dev.5 [2022-03-17T19:32:40.788Z] v2.2.0-dev.6 [2022-03-17T19:32:40.788Z] v2.2.0-dev.7 [2022-03-17T19:32:40.788Z] v2.2.0-dev.8 [2022-03-17T19:32:40.788Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-17T19:32:41.080Z] + lftools sign git-tag v2.2.0-dev.9 [2022-03-17T19:32:41.653Z] Signing Git tag with Sigul... [2022-03-17T19:32:41.653Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-03-17T19:32:42.239Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:42.532Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T19:32:42.541Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T19:32:42.573Z] $ docker stop --time=1 481b756dfbd9c85e677d5a9e69c01746d8f5db26eebb60de0c8e878c70636b95 [2022-03-17T19:32:43.878Z] $ docker rm -f 481b756dfbd9c85e677d5a9e69c01746d8f5db26eebb60de0c8e878c70636b95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T19:32:44.286Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T19:32:44.286Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:44.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T19:32:44.581Z] . [Pipeline] withDockerContainer [2022-03-17T19:32:44.649Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:32:44.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T19:32:45.078Z] $ docker top 78ee4c77d1f6effcdd1c7f36999b8d495fe0b58504e665e1ac05ab4e82dab6c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T19:32:45.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T19:32:45.174Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T19:32:45.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T19:32:45.333Z] $ docker exec 78ee4c77d1f6effcdd1c7f36999b8d495fe0b58504e665e1ac05ab4e82dab6c1 ssh-agent [2022-03-17T19:32:45.443Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXepKKpH/agent.15 [2022-03-17T19:32:45.443Z] SSH_AGENT_PID=22 [2022-03-17T19:32:45.450Z] Running ssh-add (command line suppressed) [2022-03-17T19:32:45.575Z] Identity added: /w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_4653728137615089794.key (/w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_4653728137615089794.key) [2022-03-17T19:32:45.576Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T19:32:45.870Z] + git semver bump pre [2022-03-17T19:32:45.870Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T19:32:45.870Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.git [2022-03-17T19:32:45.870Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-messaging_main [2022-03-17T19:32:45.870Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T19:32:45.870Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T19:32:45.870Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T19:32:45.870Z] # $SEMVER_BRANCH = main [2022-03-17T19:32:45.870Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.semver [2022-03-17T19:32:45.870Z] 2.2.0-dev.10 [Pipeline] } [2022-03-17T19:32:45.894Z] $ docker exec --env ******** --env ******** 78ee4c77d1f6effcdd1c7f36999b8d495fe0b58504e665e1ac05ab4e82dab6c1 ssh-agent -k [2022-03-17T19:32:46.011Z] unset SSH_AUTH_SOCK; [2022-03-17T19:32:46.011Z] unset SSH_AGENT_PID; [2022-03-17T19:32:46.011Z] echo Agent pid 22 killed; [2022-03-17T19:32:46.010Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T19:32:46.315Z] + git semver [Pipeline] } [2022-03-17T19:32:46.342Z] $ docker stop --time=1 78ee4c77d1f6effcdd1c7f36999b8d495fe0b58504e665e1ac05ab4e82dab6c1 [2022-03-17T19:32:47.646Z] $ docker rm -f 78ee4c77d1f6effcdd1c7f36999b8d495fe0b58504e665e1ac05ab4e82dab6c1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T19:32:48.009Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T19:32:48.009Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:48.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T19:32:48.304Z] . [Pipeline] withDockerContainer [2022-03-17T19:32:48.370Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:32:48.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T19:32:48.782Z] $ docker top 13aad809f4a97888681ba38dbc890d7e7b26bbbd2c426e3893320d563a58c25b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T19:32:48.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T19:32:48.864Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T19:32:48.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T19:32:48.993Z] $ docker exec 13aad809f4a97888681ba38dbc890d7e7b26bbbd2c426e3893320d563a58c25b ssh-agent [2022-03-17T19:32:49.093Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDkGPff/agent.13 [2022-03-17T19:32:49.093Z] SSH_AGENT_PID=19 [2022-03-17T19:32:49.097Z] Running ssh-add (command line suppressed) [2022-03-17T19:32:49.217Z] Identity added: /w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_3525398002909226789.key (/w/workspace/gexfoundry_go-mod-messaging_main@tmp/private_key_3525398002909226789.key) [2022-03-17T19:32:49.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T19:32:49.509Z] + git semver push [2022-03-17T19:32:49.509Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T19:32:49.509Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.git [2022-03-17T19:32:49.509Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-messaging_main [2022-03-17T19:32:49.509Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T19:32:49.509Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T19:32:49.509Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T19:32:49.509Z] # $SEMVER_BRANCH = main [2022-03-17T19:32:49.509Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-messaging_main/.semver [Pipeline] } [2022-03-17T19:32:51.448Z] $ docker exec --env ******** --env ******** 13aad809f4a97888681ba38dbc890d7e7b26bbbd2c426e3893320d563a58c25b ssh-agent -k [2022-03-17T19:32:51.563Z] unset SSH_AUTH_SOCK; [2022-03-17T19:32:51.564Z] unset SSH_AGENT_PID; [2022-03-17T19:32:51.564Z] echo Agent pid 19 killed; [2022-03-17T19:32:51.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T19:32:51.866Z] + git semver [Pipeline] } [2022-03-17T19:32:51.893Z] $ docker stop --time=1 13aad809f4a97888681ba38dbc890d7e7b26bbbd2c426e3893320d563a58c25b [2022-03-17T19:32:53.188Z] $ docker rm -f 13aad809f4a97888681ba38dbc890d7e7b26bbbd2c426e3893320d563a58c25b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-03-17T19:32:53.705Z] + [ -d /w/workspace/gexfoundry_go-mod-messaging_main/archives ] [2022-03-17T19:32:53.705Z] + ls -al /w/workspace/gexfoundry_go-mod-messaging_main/archives [2022-03-17T19:32:53.705Z] total 16 [2022-03-17T19:32:53.705Z] drwxr-xr-x 3 root root 4096 Mar 17 19:24 . [2022-03-17T19:32:53.705Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 19:32 .. [2022-03-17T19:32:53.705Z] drwxr-xr-x 2 root root 4096 Mar 17 19:24 cost [2022-03-17T19:32:53.705Z] -rw-r--r-- 1 root root 86 Mar 17 19:24 cost.csv [2022-03-17T19:32:53.705Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-messaging_main/archives [2022-03-17T19:32:53.705Z] + ls -al /w/workspace/gexfoundry_go-mod-messaging_main/archives [2022-03-17T19:32:53.705Z] total 16 [2022-03-17T19:32:53.705Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 19:24 . [2022-03-17T19:32:53.705Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 19:32 .. [2022-03-17T19:32:53.705Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 19:24 cost [2022-03-17T19:32:53.705Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 19:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:54.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:54.865Z] ---> package-listing.sh [2022-03-17T19:32:54.865Z] ++ facter osfamily [2022-03-17T19:32:54.865Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T19:32:55.125Z] + OS_FAMILY=debian [2022-03-17T19:32:55.125Z] + workspace=/w/workspace/gexfoundry_go-mod-messaging_main [2022-03-17T19:32:55.125Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T19:32:55.125Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T19:32:55.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T19:32:55.125Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T19:32:55.125Z] + '[' /w/workspace/gexfoundry_go-mod-messaging_main ']' [2022-03-17T19:32:55.125Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T19:32:55.125Z] + case "${OS_FAMILY}" in [2022-03-17T19:32:55.125Z] + dpkg -l [2022-03-17T19:32:55.125Z] + grep '^ii' [2022-03-17T19:32:55.125Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T19:32:55.125Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T19:32:55.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T19:32:55.125Z] + '[' /w/workspace/gexfoundry_go-mod-messaging_main ']' [2022-03-17T19:32:55.125Z] + mkdir -p /w/workspace/gexfoundry_go-mod-messaging_main/archives/ [2022-03-17T19:32:55.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-messaging_main/archives/ [Pipeline] echo [2022-03-17T19:32:55.138Z] 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/gexfoundry_go-mod-messaging_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-17T19:32:55.419Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T19:32:55.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T19:32:55.978Z] . [Pipeline] withDockerContainer [2022-03-17T19:32:56.043Z] prd-ubuntu20.04-docker-8c-8g-7873 does not seem to be running inside a container [2022-03-17T19:32:56.091Z] $ 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/gexfoundry_go-mod-messaging_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-messaging_main -v /w/workspace/gexfoundry_go-mod-messaging_main:/w/workspace/gexfoundry_go-mod-messaging_main:rw,z -v /w/workspace/gexfoundry_go-mod-messaging_main@tmp:/w/workspace/gexfoundry_go-mod-messaging_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T19:32:56.324Z] $ docker top 839dcd0adcb415cc63afcede3ab0931c519dd3b62476b9ab1b1497d5ff616848 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T19:32:56.668Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T19:32:56.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T19:32:57.246Z] + ls /var/log/sa-host [2022-03-17T19:32:57.246Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T19:32:57.328Z] provisioning config files... [2022-03-17T19:32:57.339Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-messaging_main@tmp/config2901467379461653542tmp [Pipeline] { [Pipeline] echo [2022-03-17T19:32:57.355Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:57.644Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T19:32:57.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:57.980Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T19:32:57.990Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:58.277Z] ---> sudo-logs.sh [2022-03-17T19:32:58.277Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T19:32:58.315Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:58.603Z] ---> job-cost.sh [2022-03-17T19:32:58.603Z] lf-activate-venv: SKIPPING [2022-03-17T19:32:58.603Z] DEBUG: total: 0.2199999988079071 [2022-03-17T19:32:58.603Z] INFO: Retrieving Stack Cost... [2022-03-17T19:32:59.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T19:32:59.433Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T19:32:59.448Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T19:32:59.736Z] ---> logs-deploy.sh [2022-03-17T19:32:59.736Z] lf-activate-venv: SKIPPING [2022-03-17T19:32:59.736Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/main/18 [2022-03-17T19:32:59.736Z] INFO: archiving workspace using pattern(s): [2022-03-17T19:33:00.676Z] Archives upload complete. [2022-03-17T19:33:00.676Z] INFO: archiving logs to Nexus